Isentropic specific enthalpy from p,s and good guesses of d and T


function dynamicIsentropicEnthalpy
  extends Modelica.Icons.Function;
  input SI.Pressure p "Pressure";
  input SI.SpecificEntropy s "Specific entropy";
  input SI.Density dguess "Good guess density, e.g., from adjacent volume";
  input SI.Temperature Tguess "Good guess temperature, e.g., from adjacent volume";
  input Integer phase = 0 "2 for two-phase, 1 for one-phase, 0 if not known";
  output SI.SpecificEnthalpy h "Specific enthalpy";
end dynamicIsentropicEnthalpy;

Generated at 2023-11-20T01:32:44Z by OpenModelicaOpenModelica 1.22.0 using GenerateDoc.mos