dot-get_L: L: Latent heat flux density (W / m^2)

Description Usage Arguments Details Value Examples

Description

L: Latent heat flux density (W / m^2)

Usage

1
.get_L(T_leaf, pars, unitless)

Arguments

T_leaf

Leaf temperature in Kelvin

pars

Concatenated parameters (leaf_par, enviro_par, and constants)

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

L = h_vap g_tw d_wv

Symbol R Description Units Default
d_wv d_wv water vapour gradient mol / m ^ 3 calculated
h_vap h_vap latent heat of vaporization J / mol calculated
g_tw g_tw total conductance to H2O (μmol H2O) / (m^2 s Pa) calculated

Value

Value in W / m^2 of class units

Examples

1
2
3
4
5
6
7
8
9
library(tealeaves)

cs <- make_constants()
ep <- make_enviropar()
lp <- make_leafpar()

T_leaf <- set_units(298.15, K)

tealeaves:::.get_L(T_leaf, c(cs, ep, lp), FALSE)

muir-lab/tleavesMC documentation built on July 5, 2020, 12:23 a.m.