functions_pTX_der
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 | |
| SI.PressureSlope | dp | Derivative of pressure | |
| SI.TemperatureSlope | dT | Derivative of temperature | |
| Real[nX] | dX | Derivative of mass fractions |
Outputs
| Type | Name | Default | Description |
|---|---|---|---|
| Real | ds | 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).