powered by
Return relative humidity given dry-bulb temperature and vapor pressure.
GetRelHumFromVapPres(TDryBulb, VapPres)
A numeric vector of dry-bulb temperature in degreeF [IP] or degreeC [SI]
A numeric vector of partial pressure of water vapor in moist air in Psi [IP] or Pa [SI]
A numeric vector of relative humidity in range [0, 1]
ASHRAE Handbook - Fundamentals (2017) ch. 1 eqn 12, 22
# NOT RUN { SetUnitSystem("IP") GetRelHumFromVapPres(70:80, 0.0149) SetUnitSystem("SI") GetRelHumFromVapPres(20:30, 12581) # }
Run the code above in your browser using DataLab