powered by
Return humidity ratio given water vapor pressure and atmospheric pressure.
GetHumRatioFromVapPres(VapPres, Pressure)
A numeric vector of partial pressure of water vapor in moist air in Psi [IP] or Pa [SI]
A numeric vector of atmospheric pressure in Psi [IP] or Pa [SI]
A numeric vector of humidity ratio in lb_H2O lb_Air-1 [IP] or kg_H2O kg_Air-1 [SI]
ASHRAE Handbook - Fundamentals (2017) ch. 1 eqn 20
# NOT RUN { SetUnitSystem("IP") GetHumRatioFromVapPres(seq(0.4, 0.6, 0.01), 14.175) SetUnitSystem("SI") GetHumRatioFromVapPres(seq(3000, 4000, 100), 95461) # }
Run the code above in your browser using DataLab