blockpW_X
Water vapor pressure for given humidity ratio
Extends from Buildings.Utilities.Psychrometrics.BaseClasses.HumidityRatioVaporPressure (Humidity ratio for given water vapor pressure).
Information
Block to compute the water vapor partial pressure for a given humidity ratio.
If use_p_in is false (default option), the p parameter
is used as atmospheric pressure,
and the p_in input connector is disabled;
if use_p_in is true, then the p parameter is ignored,
and the value provided by the input connector is used instead.
Parameters
| Type | Name | Default | Description |
|---|---|---|---|
| Boolean | use_p_in (from HumidityRatioVaporPressure) | true | Get the pressure from the input connector |
| Modelica.Units.SI.Pressure | p (from HumidityRatioVaporPressure) | 101325 | Fixed value of pressure |
Connectors
| Type | Name | Default | Description |
|---|---|---|---|
| Modelica.Blocks.Interfaces.RealInput | p_in (from HumidityRatioVaporPressure) | Atmospheric Pressure | |
| Modelica.Blocks.Interfaces.RealInput | X_w | Water concentration at dry bulb temperature | |
| Modelica.Blocks.Interfaces.RealOutput | p_w | Water vapor pressure |
Components
| Type | Name | Default | Description |
|---|---|---|---|
| Modelica.Units.SI.MassFraction | x_w | Water mass fraction per mass of dry air |
Revisions
-
October 3, 2014, by Michael Wetter:
Changed assignment of nominal value to avoid in OpenModelica the warning alias set with different nominal values. -
February 17, 2010 by Michael Wetter:
Renamed block fromVaporPressure_XtopW_X. -
April 14, 2009 by Michael Wetter:
Converted model to block becauseRealInputare obsolete in Modelica 3.0. -
August 7, 2008 by Michael Wetter:
First implementation.