GetRelHumFromVapPres {psychrolib} | R Documentation |
Return relative humidity given dry-bulb temperature and vapor pressure.
GetRelHumFromVapPres(TDryBulb, VapPres)
TDryBulb |
A numeric vector of dry-bulb temperature in degreeF [IP] or degreeC [SI] |
VapPres |
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
SetUnitSystem("IP")
GetRelHumFromVapPres(70:80, 0.0149)
SetUnitSystem("SI")
GetRelHumFromVapPres(20:30, 12581)