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 2023-10-02T00:32:21Z by OpenModelicaOpenModelica 1.22.0~dev.02-2-ge84afdd using GenerateDoc.mos