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.
Name | Description |
---|---|
Medium | Medium model |
assert
to verify that Medium.nX==2
as the implementation is only valid for such media.
Buildings.Media.Air
.
This was required to allow a pedantic model check in Dymola 2014.
MassFraction_pTphi
to X_pTphi