.ThermofluidStream.Media.XRGMedia.R1234yf_ph.getPhase_ph

Information

This function computes the number of phases for R1234yf depending on the inputs for absolute pressure and specific enthalpy. It makes use of cubic spline functions for liquid and vapor specific enthalpy.

Interface

function getPhase_ph
  extends Modelica.Icons.Function;
  input Modelica.Units.SI.Pressure p "pressure";
  input Modelica.Units.SI.SpecificEnthalpy h "specific enthalpy";
  output Integer phase "number of phases";
end getPhase_ph;

Generated at 2024-12-17T19:26:02Z by OpenModelicaOpenModelica 1.24.3 using GenerateDoc.mos