.get_H {tealeaves}R Documentation

H: sensible heat flux density (W / m^2)

Description

H: sensible heat flux density (W / m^2)

Usage

.get_H(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

H=Pacpgh(TleafTair)H = P_\mathrm{a} c_p g_\mathrm{h} (T_\mathrm{leaf} - T_\mathrm{air})

Symbol R Description Units Default
cpc_p c_p heat capacity of air J / (g K) 1.01
ghg_\mathrm{h} g_h boundary layer conductance to heat m / s calculated
PaP_\mathrm{a} P_a density of dry air g / m^3 calculated
TairT_\mathrm{air} T_air air temperature K 298.15
TleafT_\mathrm{leaf} T_leaf leaf temperature K input

Value

Value in W / m2^2 of class units

See Also

.get_gh, .get_Pa

Examples


library(tealeaves)

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

T_leaf <- set_units(298.15, K)

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


[Package tealeaves version 1.0.6 Index]