GetRelHumFromHumRatio {psychrolib} | R Documentation |
Return relative humidity given dry-bulb temperature, humidity ratio, and pressure.
Description
Return relative humidity given dry-bulb temperature, humidity ratio, and pressure.
Usage
GetRelHumFromHumRatio(TDryBulb, HumRatio, Pressure)
Arguments
TDryBulb |
A numeric vector of dry-bulb temperature in degreeF [IP] or degreeC [SI] |
HumRatio |
A numeric vector of humidity ratio in lb_H2O lb_Air-1 [IP] or kg_H2O kg_Air-1 [SI] |
Pressure |
A numeric vector of atmospheric Pressure in Psi [IP] or Pa [SI] |
Value
A numeric vector of relative humidity in range [0, 1]
References
ASHRAE Handbook - Fundamentals (2017) ch. 1
Examples
SetUnitSystem("IP")
GetRelHumFromHumRatio(80:100, 0.01, 14.175)
SetUnitSystem("SI")
GetRelHumFromHumRatio(20:30, 0.01, 95461.0)
[Package psychrolib version 2.5.2 Index]