function pressure_phX input Modelica.SIunits.AbsolutePressure p "pressure"; input Modelica.SIunits.SpecificEnthalpy h "specific enthalpy"; input Modelica.SIunits.MassFraction X[nC] = reference_X "Mass fraction"; input Properties state; output Real p_out; end pressure_phX;