GetHumRatioFromRelHum {psychrolib}R Documentation

Return humidity ratio given dry-bulb temperature, relative humidity, and pressure.

Description

Return humidity ratio given dry-bulb temperature, relative humidity, and pressure.

Usage

GetHumRatioFromRelHum(TDryBulb, RelHum, Pressure)

Arguments

TDryBulb

A numeric vector of dry-bulb temperature in degreeF [IP] or degreeC [SI]

RelHum

A numeric vector of relative humidity in range [0, 1]

Pressure

A numeric vector of atmospheric Pressure in Psi [IP] or Pa [SI]

Value

A numeric vector of humidity ratio in lb_H2O lb_Air-1 [IP] or kg_H2O kg_Air-1 [SI]

References

ASHRAE Handbook - Fundamentals (2017) ch. 1

Examples

SetUnitSystem("IP")
GetHumRatioFromRelHum(80:100, 0.5, 14.175)

SetUnitSystem("SI")
GetHumRatioFromRelHum(20:30, 0.5, 95461.0)


[Package psychrolib version 2.5.2 Index]