GetHumRatioFromVapPres {psychrolib} | R Documentation |
Return humidity ratio given water vapor pressure and atmospheric pressure.
Description
Return humidity ratio given water vapor pressure and atmospheric pressure.
Usage
GetHumRatioFromVapPres(VapPres, Pressure)
Arguments
VapPres |
A numeric vector of partial pressure of water vapor in moist air in Psi [IP] or Pa [SI] |
Pressure |
A numeric vector of atmospheric pressure in Psi [IP] or Pa [SI] |
Value
A numeric vector of humidity ratio in lb_H2O lb_Air-1 [IP] or kg_H2O kg_Air-1 [SI]
References
ASHRAE Handbook - Fundamentals (2017) ch. 1 eqn 20
Examples
SetUnitSystem("IP")
GetHumRatioFromVapPres(seq(0.4, 0.6, 0.01), 14.175)
SetUnitSystem("SI")
GetHumRatioFromVapPres(seq(3000, 4000, 100), 95461)
[Package psychrolib version 2.5.2 Index]