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