.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 2024-04-23T18:15:56Z by OpenModelicaOpenModelica 1.22.3 using GenerateDoc.mos