Number of phases by pressure and specific enthalpy
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;