function density_psX input SI.Pressure p "Pressure"; input Modelica.SIunits.SpecificEntropy s "Specific entropy"; input Modelica.SIunits.MassFraction X[nC] = reference_X "Mass fraction"; input Properties state; output Real d_out; end density_psX;