function density_phX input Modelica.SIunits.Pressure p; input Modelica.SIunits.SpecificEnthalpy h; input Real X[nC] = reference_X; output Modelica.SIunits.Density d_out; input Properties state; input MultiPhaseMixture.Templates.ExternalObjects.ExternalMediaObject eo "External object"; end density_phX;