Return density from p, h, and X or Xi
function density_phX extends Modelica.Icons.Function; input AbsolutePressure p "Pressure"; input SpecificEnthalpy h "Specific enthalpy"; input MassFraction X[:] = reference_X "Mass fractions"; output Density d "Density"; end density_phX;