functionX_pW
Mass fraction for given water vapor pressure
Extends from Modelica.Icons.Function (Icon for functions).
Information
Function to compute the mass fraction for a given water vapor partial pressure.
Inputs
| Type | Name | Default | Description |
|---|---|---|---|
| Modelica.Units.SI.Pressure | p_w | Water vapor pressure | |
| Modelica.Units.SI.Pressure | p | 101325 | Total pressure |
Outputs
| Type | Name | Default | Description |
|---|---|---|---|
| Modelica.Units.SI.MassFraction | X_w | Species concentration at dry bulb temperature |
Revisions
-
February 14, 2021 by Ettore Zanetti:
Updated description. -
September 16, 2013 by Michael Wetter:
Added attributes to variablep_w. -
March 9, 2012 by Michael Wetter:
AddedsmoothOrder=99anddisplayUnitfor pressure. -
February 17, 2010 by Michael Wetter:
Renamed block fromHumidityRatio_pWattoX_pW. -
April 14, 2009 by Michael Wetter:
Converted model to block becauseRealInputare obsolete in Modelica 3.0. -
August 7, 2008 by Michael Wetter:
First implementation.