system.thermo.if97.specificEntropy
Calculates specific entropy.
Syntax
system.thermo.if97.specificEntropy(p, h) # Pressure and Enthalpy
system.thermo.if97.specificEntropy(p, t) # Pressure and Temperature
system.thermo.if97.specificEntropy(p, x) # Pressure and Vapor Fraction (Quality)
system.thermo.if97.specificEntropy(t, x) # Temperature and Vapor Fraction (Quality)
info
This function must be called with named parameters.
Parameters
Type | Parameter | Description |
---|---|---|
Double | p | Absolute Pressure (Pa) |
Double | h | Specific Enthalpy (J/kg) |
Double | t | Temperature (K) |
Double | x | Vapor Fraction (Quality) (0 to 1) |
Returns
Double - Specific Entropy (J/(kg·K))
The measure of the disorder or randomness in a thermodynamic system.
Scope
Gateway, Designer, Client, Perspective Session
Example
Pressure and Temperature
p = 101325
t = 373.15
result = system.thermo.if97.specificEntropy(p=p, t=t)
print result
Result
7354.52819068