.ExternalMedia.Media.BaseClasses.ExternalTwoPhaseMedium.pressure_hs

Information

Return pressure from h and s

Interface

function pressure_hs
  extends Modelica.Icons.Function;
  input SpecificEnthalpy h "Specific enthalpy";
  input SpecificEntropy s "Specific entropy";
  input FixedPhase phase = 0 "2 for two-phase, 1 for one-phase, 0 if not known";
  output AbsolutePressure p "Pressure";
end pressure_hs;

Generated at 2024-11-26T19:26:15Z by OpenModelicaOpenModelica 1.24.2 using GenerateDoc.mos