blockHumidityRatioVaporPressure
Humidity ratio for given water vapor pressure
Extends from Modelica.Blocks.Icons.Block (Basic graphical layout of input/output block).
Information
Partial Block to compute the relation between humidity ratio and water vapor partial pressure.
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 | true | Get the pressure from the input connector |
| Modelica.Units.SI.Pressure | p | 101325 | Fixed value of pressure |
Connectors
| Type | Name | Default | Description |
|---|---|---|---|
| Modelica.Blocks.Interfaces.RealInput | p_in | Atmospheric Pressure |
Revisions
-
March 11, 2024, by Michael Wetter:
Corrected use ofHideResult.
This is for #1850. -
May 29, 2014, by Michael Wetter:
Removed undesirable annotationEvaluate=true. -
April 14, 2009 by Michael Wetter:
First implementation.