blockDensity_pTX

Block to compute the density for given pressure, dry bulb temperature and moisture mass fraction

Extends from Modelica.Blocks.Icons.Block (Basic graphical layout of input/output block).

Information

Block to compute the mass density of air for given pressure, temperature and water vapor mass fraction.

Note that the water vapor mass fraction must be in kg/kg total air, and not dry air.

Connectors

TypeNameDefaultDescription
Modelica.Blocks.Interfaces.RealInputTDry bulb temperature
Modelica.Blocks.Interfaces.RealInputX_wWater vapor mass fraction per unit mass total air
Modelica.Blocks.Interfaces.RealInputpPressure
Modelica.Blocks.Interfaces.RealOutputdDensity

Revisions

  • August 19, 2015, by Michael Wetter:
    Corrected default component name.
  • February 24, 2015, by Michael Wetter:
    First implementation.