functionX_pSatpphi
Humidity ratio for given water vapor pressure
Extends from Modelica.Icons.Function (Icon for functions).
Information
Function to compute the water vapor concentration based on saturation pressure, absolute pressure and relative humidity.
Inputs
| Type | Name | Default | Description |
|---|---|---|---|
| Modelica.Units.SI.AbsolutePressure | pSat | Saturation pressure | |
| Modelica.Units.SI.Pressure | p | Pressure of the fluid | |
| Real | phi | Relative humidity |
Outputs
| Type | Name | Default | Description |
|---|---|---|---|
| Modelica.Units.SI.MassFraction | X_w | Water vapor concentration per total mass of air |
Revisions
-
August 21, 2012 by Michael Wetter:
First implementation.