Return density as a function of pressure p, temperature T and composition X
function rho_pTX extends Modelica.Icons.Function; input Modelica.SIunits.AbsolutePressure p "Pressure"; input Modelica.SIunits.Temperature T "Temperature"; input Modelica.SIunits.MassFraction X[:] = Modelica.Media.Air.ReferenceMoistAir.reference_X "Mass fractions"; output Modelica.SIunits.Density d "Density"; end rho_pTX;