Return density from p and h
function density_ph extends Modelica.Icons.Function; input AbsolutePressure p "Pressure"; input SpecificEnthalpy h "Specific enthalpy"; input ThermalSeparation.Media.Types.FixedPhase phase = 0 "2 for two-phase, 1 for one-phase, 0 if not known"; output Density d "Density"; end density_ph;