.ExternalMedia.Media.BaseClasses.ExternalTwoPhaseMedium.setState_ps

Return thermodynamic state record from p and s

Interface

function setState_ps
  extends Modelica.Icons.Function;
  input AbsolutePressure p "pressure";
  input SpecificEntropy s "specific entropy";
  input FixedPhase phase = 0 "2 for two-phase, 1 for one-phase, 0 if not known";
  output ThermodynamicState state;
end setState_ps;

Generated at 2025-04-03T18:24:42Z by OpenModelicaOpenModelica 1.24.5 using GenerateDoc.mos