Learn R Programming

psychrolib (version 2.5.2)

GetHumRatioFromTDewPoint: Return humidity ratio given dew-point temperature and pressure.

Description

Return humidity ratio given dew-point temperature and pressure.

Usage

GetHumRatioFromTDewPoint(TDewPoint, Pressure)

Arguments

TDewPoint

A numeric vector of dew-point 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 13

Examples

Run this code
# NOT RUN {
SetUnitSystem("IP")
GetHumRatioFromTDewPoint(50:80, 14.175)

SetUnitSystem("SI")
GetHumRatioFromTDewPoint(20:30, 95461.0)

# }

Run the code above in your browser using DataLab