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

TypeNameDefaultDescription
SI.PressurepPressure
SI.TemperatureTTemperature
SI.MassFraction[:]XMass fractions of moist air
SI.PressureSlopedpDerivative of pressure
SI.TemperatureSlopedTDerivative of temperature
Real[nX]dXDerivative of mass fractions

Outputs

TypeNameDefaultDescription
RealdsSpecific 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).