phase as a function of pressure and specific enthalpy
function phase_ph extends Modelica.Icons.Function; input Units.SI.Pressure p "pressure"; input Units.SI.SpecificEnthalpy h "specific enthalpy"; output Integer phase "true if in liquid or gas or supercritical region"; end phase_ph;