Block to compute the water vapor concentration based on
pressure, temperature and relative humidity.
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.
Contents
Name | Description |
---|
Medium | Medium model |
- November 3, 2017 by Filip Jorissen:
Converted (initial) algorithm section into (initial) equation section.
See #847.
- July 24, 2014 by Michael Wetter:
Added assert
to verify that Medium.nX==2
as the implementation is only valid for such media.
- April 26, 2013 by Michael Wetter:
Set the medium model to AixLib.Media.Air
.
This was required to allow a pedantic model check in Dymola 2014.
- August 21, 2012 by Michael Wetter:
Added function call to compute water vapor content.
-
February 22, 2010 by Michael Wetter:
Improved the code that searches for the index of 'water' in the medium model.
-
February 17, 2010 by Michael Wetter:
Renamed block from MassFraction_pTphi
to X_pTphi
-
February 4, 2009 by Michael Wetter:
First implementation.
Generated at 2024-11-21T19:25:40Z
by OpenModelicaOpenModelica 1.24.2 using GenerateDoc.mos