powered by
Return vapor pressure given humidity ratio and pressure.
GetVapPresFromHumRatio(HumRatio, Pressure)
A numeric vector of humidity ratio in lb_H2O lb_Air-1 [IP] or kg_H2O kg_Air-1 [SI]
A numeric vector of atmospheric pressure in Psi [IP] or Pa [SI]
A numeric vector of partial pressure of water vapor in moist air in Psi [IP] or Pa [SI]
ASHRAE Handbook - Fundamentals (2017) ch. 1 eqn 20 solved for pw
# NOT RUN { SetUnitSystem("IP") GetVapPresFromHumRatio(seq(0.02, 0.03, 0.001), 14.175) SetUnitSystem("SI") GetVapPresFromHumRatio(seq(0.02, 0.03, 0.001), 95461) # }
Run the code above in your browser using DataLab