GetRelHumFromVapPres: Return relative humidity given dry-bulb temperature and vapor...

Description Usage Arguments Value References Examples

Description

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

Usage

1
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

1
2
3
4
5
SetUnitSystem("IP")
GetRelHumFromVapPres(70:80, 0.0149)

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

psychrolib documentation built on May 29, 2021, 9:11 a.m.