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