GetVapPresFromHumRatio {psychrolib}R Documentation

Return vapor pressure given humidity ratio and pressure.

Description

Return vapor pressure given humidity ratio and pressure.

Usage

GetVapPresFromHumRatio(HumRatio, Pressure)

Arguments

HumRatio

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

Pressure

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

Value

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

References

ASHRAE Handbook - Fundamentals (2017) ch. 1 eqn 20 solved for pw

Examples

SetUnitSystem("IP")
GetVapPresFromHumRatio(seq(0.02, 0.03, 0.001), 14.175)

SetUnitSystem("SI")
GetVapPresFromHumRatio(seq(0.02, 0.03, 0.001), 95461)


[Package psychrolib version 2.5.2 Index]