Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

dot-get_ps

Saturation water vapour pressure (kPa)


Description

Saturation water vapour pressure (kPa)

Usage

.get_ps(Temp, P, unitless)

Arguments

Temp

Temperature in Kelvin

P

Atmospheric pressure in kPa

unitless

Logical. Should function use parameters with units? The function is faster when FALSE, but input must be in correct units or else results will be incorrect without any warning.

Details

Goff-Gratch equation (see http://cires1.colorado.edu/~voemel/vp.html)

This equation assumes P = 1 atm = 101.3246 kPa, otherwise boiling temperature needs to change

Value

Value in kPa of class units

References

Examples

T_leaf <- set_units(298.15, K)
P <- set_units(101.3246, kPa)
tealeaves:::.get_ps(T_leaf, P, FALSE)

tealeaves

Solve for Leaf Temperature Using Energy Balance

v1.0.5
MIT + file LICENSE
Authors
Chris Muir [aut, cre] (<https://orcid.org/0000-0003-2555-3878>)
Initial release
2020-06-17

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.