powered by
Return partial pressure of water vapor as a function of relative humidity and temperature.
GetVapPresFromRelHum(TDryBulb, RelHum)
A numeric vector of dry-bulb temperature in degreeF [IP] or degreeC [SI]
A numeric vector of relative humidity in range [0, 1]
A numeric vector of partial pressure of water vapor in moist air in Psi [IP] or Pa [SI]
ASHRAE Handbook - Fundamentals (2017) ch. 1 eqn 12, 22
# NOT RUN { SetUnitSystem("IP") GetVapPresFromRelHum(77, seq(0.1, 0.8, 0.1)) SetUnitSystem("SI") GetVapPresFromRelHum(20, seq(0.1, 0.8, 0.1)) # }
Run the code above in your browser using DataLab