Return thermodynamic state record from p and T


function setState_pT_library
  extends Modelica.Icons.Function;
  input AbsolutePressure p "pressure";
  input Temperature T "temperature";
  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_pT_library;

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