system.thermo.if97.specificEnthalpy
Calculates specific enthalpy.
Syntax
system.thermo.if97.specificEnthalpy(p, s) # Pressure and Entropy
system.thermo.if97.specificEnthalpy(p, t) # Pressure and Temperature
system.thermo.if97.specificEnthalpy(p, x) # Pressure and Vapor Fraction (Quality)
system.thermo.if97.specificEnthalpy(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 | s | Specific Entropy (J/(kg·K)) |
Double | t | Temperature (K) |
Double | x | Vapor Fraction (Quality) (0 to 1) |
Returns
Double - Specific Enthalpy (J/kg)
The total energy per unit mass of a substance, including both internal energy and flow work.
Scope
Gateway, Designer, Client, Perspective Session
Example
Pressure and Temperature
p = 101325
t = 373.15
result = system.thermo.if97.specificEnthalpy(p=p, t=t)
print result
Result
2675584.85341