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
| Type | Name | Default | Description |
|---|---|---|---|
| Modelica.Blocks.Interfaces.RealInput | T | Dry bulb temperature | |
| Modelica.Blocks.Interfaces.RealInput | X_w | Water vapor mass fraction per unit mass total air | |
| Modelica.Blocks.Interfaces.RealInput | p | Pressure | |
| Modelica.Blocks.Interfaces.RealOutput | d | Density |
Revisions
-
August 19, 2015, by Michael Wetter:
Corrected default component name. -
February 24, 2015, by Michael Wetter:
First implementation.