density

Returns density of ideal gas as a function of the thermodynamic state record

Information

This information is part of the Modelica Standard Library maintained by the Modelica Association.

Density is computed from pressure, temperature and composition in the thermodynamic state record applying the ideal gas law.

Syntax

d = density(state)

Inputs (1)

state

Type: ThermodynamicState

Description: Thermodynamic state record

Outputs (1)

d

Type: Density

Description: Density