Return thermodynamic state record from p and h


function setState_ph_library
  extends Modelica.Icons.Function;
  input AbsolutePressure p "pressure";
  input SpecificEnthalpy h "specific enthalpy";
  input Integer phase = 1 "2 for two-phase, 1 for one-phase, 0 if not known";
  input String name "name and mass fractions";
  output ThermodynamicState state;
end setState_ph_library;

Generated at 2024-06-19T18:15:56Z by OpenModelicaOpenModelica 1.22.4 using GenerateDoc.mos