GetVapPresFromRelHum {psychrolib} | R Documentation |
Return partial pressure of water vapor as a function of relative humidity and temperature.
Description
Return partial pressure of water vapor as a function of relative humidity and temperature.
Usage
GetVapPresFromRelHum(TDryBulb, RelHum)
Arguments
TDryBulb |
A numeric vector of dry-bulb temperature in degreeF [IP] or degreeC [SI] |
RelHum |
A numeric vector of relative humidity in range [0, 1] |
Value
A numeric vector of partial pressure of water vapor in moist air in Psi [IP] or Pa [SI]
References
ASHRAE Handbook - Fundamentals (2017) ch. 1 eqn 12, 22
Examples
SetUnitSystem("IP")
GetVapPresFromRelHum(77, seq(0.1, 0.8, 0.1))
SetUnitSystem("SI")
GetVapPresFromRelHum(20, seq(0.1, 0.8, 0.1))
[Package psychrolib version 2.5.2 Index]