Learn R Programming

psychrolib (version 2.5.2)

GetHumRatioFromTWetBulb: Return humidity ratio given dry-bulb temperature, wet-bulb temperature, and pressure.

Description

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

Usage

GetHumRatioFromTWetBulb(TDryBulb, TWetBulb, Pressure)

Arguments

TDryBulb

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

TWetBulb

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

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 eqn 33 and 35

Examples

Run this code
# NOT RUN {
SetUnitSystem("IP")
GetHumRatioFromTWetBulb(80:100, 77.0, 14.175)

SetUnitSystem("SI")
GetHumRatioFromTWetBulb(20:30, 19.0, 95461.0)

# }

Run the code above in your browser using DataLab