GetVaporPressureDeficit {psychrolib}R Documentation

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

Description

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

Usage

GetVaporPressureDeficit(TDryBulb, HumRatio, Pressure)

Arguments

TDryBulb

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

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 vapor pressure deficit in Psi [IP] or Pa [SI]

References

Oke (1987) eqn 2.13a

Examples

SetUnitSystem("IP")
GetVaporPressureDeficit(80:100, 0.01, 14.175)

SetUnitSystem("SI")
GetVaporPressureDeficit(20:30, 0.01, 95461.0)


[Package psychrolib version 2.5.2 Index]