powered by
Return relative humidity given dry-bulb temperature, humidity ratio, and pressure.
GetRelHumFromHumRatio(TDryBulb, HumRatio, Pressure)
A numeric vector of dry-bulb temperature in degreeF [IP] or degreeC [SI]
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 relative humidity in range [0, 1]
ASHRAE Handbook - Fundamentals (2017) ch. 1
# NOT RUN { SetUnitSystem("IP") GetRelHumFromHumRatio(80:100, 0.01, 14.175) SetUnitSystem("SI") GetRelHumFromHumRatio(20:30, 0.01, 95461.0) # }
Run the code above in your browser using DataLab