function density_pTX_state extends Modelica.Icons.Function; input AbsolutePressure p "Pressure"; input Temperature T "Temperature"; input MassFraction X[nX] "Mass fractions"; input ThermodynamicState state; output Density d "Density"; end density_pTX_state;