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