.Modelica.Media.Air.MoistAir.s_pTX

Information

Specific entropy of moist air is computed from pressure, temperature and composition with X[1] as the total water mass fraction.

Interface

function s_pTX
  extends Modelica.Icons.Function;
  input SI.Pressure p "Pressure";
  input SI.Temperature T "Temperature";
  input SI.MassFraction X[:] "Mass fractions of moist air";
  output SI.SpecificEntropy s "Specific entropy at p, T, X";
end s_pTX;

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


Generated at 2020-06-05T21:39:08Z by OpenModelica 1.16.0~dev-442-g2e5bc9f