WOLFRAM SYSTEM MODELER

density

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

Wolfram Language

In[1]:=
SystemModel["Modelica.Media.Air.MoistAir.density"]
Out[1]:=

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 (kg/m³)

Description: Density