modelX_pSatpphi
Model to test X_pSatpphi function
Extends from Modelica.Icons.Example (Icon for runnable examples).
Information
This example computes the water content of air for a relative humidity between 0 and 100%, a temperature of 20°C and atmospheric pressure.
Parameters
| Type | Name | Default | Description |
|---|---|---|---|
| Modelica.Units.SI.Temperature | T | 293.15 | Temperature |
| Modelica.Units.SI.Pressure | p | 101325 | Pressure of the fluid |
| Real | conv | 1 | Conversion factor |
Components
| Type | Name | Default | Description |
|---|---|---|---|
| Modelica.Units.SI.AbsolutePressure | pSat | Saturation pressure | |
| Real | phi | Relative humidity | |
| Modelica.Units.SI.MassFraction | X_w | Water vapor concentration per total mass of air |
Contents
| Name | Description |
|---|---|
| Medium model |
Revisions
-
October 4, 2014, by Michael Wetter:
Added conversion factor to avoid a unit error. -
August 21, 2012, by Michael Wetter:
First implementation.