functionh_pTX
Return specific enthalpy of moist air as a function of pressure p, temperature T and composition X
Extends from Modelica.Icons.Function (Icon for functions).
Information
Specific enthalpy of moist air is computed from pressure, temperature and composition with X[1] as the total water mass fraction. The fog region is included for both, ice and liquid fog.
This function is only valid for a mass fraction of air X[Air] > 1e-4. Otherwise, when the mixture is fully composed of water, the ratio between steam and liquid water cannot be determine since the pressure p and the temperature T remains constant whatever the ratio.
Inputs
| Type | Name | Default | Description |
|---|---|---|---|
| SI.Pressure | p | Pressure | |
| SI.Temperature | T | Temperature | |
| SI.MassFraction[:] | X | Mass fractions of moist air |
Outputs
| Type | Name | Default | Description |
|---|---|---|---|
| SI.SpecificEnthalpy | h | Specific enthalpy at p, T, X |