Density as function of pressure and specific enthalpy
function density_ph extends Modelica.Icons.Function; input AbsolutePressure p "pressure"; input SpecificEnthalpy h "specific enthalpy"; input Integer phase = 0 "2 for two-phase, 1 for one-phase, 0 if not known"; output Density d "density"; end density_ph;