function liquidComposition_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 Y[nC]; end liquidComposition_phX;