functions_pTX
Return specific entropy of moist air as a function of pressure p, temperature T and composition X (only valid for phi<1)
Extends from Modelica.Icons.Function (Icon for functions).
Information
Specific entropy of moist air is computed from pressure, temperature and composition with X[1] as the total water mass fraction.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.SpecificEntropy | s | Specific entropy at p, T, X |
Revisions
2012-01-12 Stefan Wischhusen: Initial Release.
2019-05-14 Stefan Wischhusen: Corrected calculation.
2019-09-10 Stefan Wischhusen: Corrected pressure influence (p < p_ref).