.Modelica.Media.Air.MoistAir.s_pTX_der

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_der
  extends Modelica.Icons.Function;
  input SI.Pressure p "Pressure";
  input SI.Temperature T "Temperature";
  input SI.MassFraction X[:] "Mass fractions of moist air";
  input Real dp(unit = "Pa/s") "Derivative of pressure";
  input Real dT(unit = "K/s") "Derivative of temperature";
  input Real dX[nX](each unit = "1/s") "Derivative of mass fractions";
  output Real ds(unit = "J/(kg.K.s)") "Specific entropy at p, T, X";
end s_pTX_der;

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-05T07:38:22Z by OpenModelica 1.16.0~dev-420-gc007a39