layeraverage: Merges canopy air layers and calculates average properties

View source: R/misc.R

layeraverageR Documentation

Merges canopy air layers and calculates average properties

Description

Merges canopy airlayers and calculates average molar conductances, vapour, temperature, leaf area etc

Usage

layeraverage(lmm, tc, hgt, gha, gt, zla, z, Vo, ea, X, vden, pk, PAI, TT)

Arguments

lmm

list of layers to merge as returned by layermerge()

tc

air temperature of unmerged canopy layers (dec C)

hgt

height of canopy (m)

gha

molar heat conductance between leaf and air (mol / m^2 / sec)

gt

molar heat conductance between air layers due to turbulent convection (mol / m^2 / sec)

zla

mean leaf-air distance (m)

z

height above ground of canopy nodes (m)

Vo

mole fraction of water vapour in air in previous time-step (mol / mol)

ea

vapur pressure in current timestep

X

temperature to add during timestep (deg C)

vden

Volumetric density of vegetation (m^3 / m^3.

pk

air pressure (kPa)

PAI

Vector of Plant Area Indices for each canopy layer

TT

Cumulative conductivity time to each canopy node (s)

Value

A list of average values for merged canopy layers of the following components:

tc air temperature (deg C)

gha molar heat conductance between leaf and air (mol / m^2 / sec)

gt molar heat conductance between air layers due to turbulent convection (mol / m^2 / sec)

zla mean leaf-air distance (m)

z height above ground of canopy nodes (m)

ph molar density of air layers (mol / m3)

cp specific heat of air layer at constant pressure (J / mol / K)

Vo mole fraction of water vapour in air (mol / mol)

ea vapur pressure in current time step (kPa)

lambda Latent heat of vapourization of water (J / mol)

X Heat to add during time step (deg C)

vden Volumetric density of vegetation (m^3 / m^3.

m number of merged canopy layers

PAI Plant Area Index (m^2 / m^2)

TT Cumulative conductivity time to each canopy node (s)


ilyamaclean/microctools documentation built on Jan. 25, 2023, 5:29 a.m.