GetRelHumFromVapPres {psychrolib}R Documentation

Return relative humidity given dry-bulb temperature and vapor pressure.

Description

Return relative humidity given dry-bulb temperature and vapor pressure.

Usage

GetRelHumFromVapPres(TDryBulb, VapPres)

Arguments

TDryBulb

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

VapPres

A numeric vector of partial pressure of water vapor in moist air in Psi [IP] or Pa [SI]

Value

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

References

ASHRAE Handbook - Fundamentals (2017) ch. 1 eqn 12, 22

Examples

SetUnitSystem("IP")
GetRelHumFromVapPres(70:80, 0.0149)

SetUnitSystem("SI")
GetRelHumFromVapPres(20:30, 12581)


[Package psychrolib version 2.5.2 Index]