rho_pTX

Return density as a function of pressure p, temperature T and composition X

Syntax

d = rho_pTX(p, T, X)

Inputs (3)

p

Type: AbsolutePressure (Pa)

Description: Pressure

T

Type: Temperature (K)

Description: Temperature

X

Default Value: Modelica.Media.Air.ReferenceMoistAir.reference_X

Type: MassFraction[:]

Description: Mass fractions

Outputs (1)

d

Type: Density (kg/m³)

Description: Density