Number of phases by pressure and entropy
function getPhase_ps extends Modelica.Icons.Function; input Modelica.Units.SI.Pressure p "pressure"; input Modelica.Units.SI.SpecificEntropy s "specific entropy"; output Integer phase "number of phases"; end getPhase_ps;