.ExternalMedia.Media.IncompressibleCoolPropMedium.setState_pT_library

Return thermodynamic state record from p and T

Interface

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 2025-12-24T19:13:54Z by OpenModelicaOpenModelica 1.26.0 using GenerateDoc.mos