function density_phX_der 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; input MultiPhaseMixture.Templates.ExternalObjects.ExternalMediaObject eo "External object"; input Real p_der "Pressure total derivative wrt to time"; input Real h_der "Specific enthalpy total derivative wrt to time"; input Modelica.SIunits.MassFraction X_der[nC] "Mass fraction"; output Real d_der "Density total derivative wrt to time"; end density_phX_der;