leaf_temperature
def leaf_temperature(
physcon:plant_hydraulics.parameter_classes.PhysCon, # Physical constants:
# - tfrz : float
# Freezing point of water (K).
# - mmh2o : float
# Molecular mass of water (kg/mol).
# - sigma : float
# Stefan-Boltzmann constant (W/m2/K4).
atmos:plant_hydraulics.parameter_classes.Atmos, # Atmospheric forcing variables:
# - patm : float
# Atmospheric pressure (Pa).
# - cpair : float
# Specific heat of air at constant pressure (J/mol/K).
# - tair : float
# Air temperature (K).
# - eair : float
# Vapor pressure of air (Pa).
leaf:plant_hydraulics.parameter_classes.Leaf, # Leaf parameters:
# - emiss : float
# Leaf emissivity (-).
# - tleaf : float
# Leaf temperature (K). Used as initial guess on input
# - stomata_distribution : int
# 1 (hypostomatous) or 2 (amphistomatous)
flux:plant_hydraulics.parameter_classes.Flux, # Flux variables with the following inputs:
# - gbh : float
# Leaf boundary layer conductance for heat (mol/m2 leaf/s).
# - gbv : float
# Leaf boundary layer conductance for H2O (mol H2O/m2 leaf/s).
# - gs : float
# Leaf stomatal conductance (mol H2O/m2 leaf/s).
# - qa : float
# Leaf radiative forcing (W/m2 leaf).
)->plant_hydraulics.parameter_classes.Flux: # Updated flux object with the following attributes:
- tleaf : float
Leaf temperature (K). Updated to energy-balance solution on output.
- rnet : float
Leaf net radiation (W/m2 leaf).
- lwrad : float
Longwave radiation emitted from leaf (W/m2 leaf).
- shflx : float
Leaf sensible heat flux (W/m2 leaf).
- lhflx : float
Leaf latent heat flux (W/m2 leaf).
- etflx : float
Leaf transpiration flux (mol H2O/m2 leaf/s).Calculate leaf temperature and energy fluxes.
The leaf temperature model implemented here is a steady state meaning that Rn - H - λE = 0. This implies that the leaf temperature is always in equilibrium with its environment, so there is no thermal lag. In other words, this model assumes no heat storage.
The leaf energy balance is solved by using Newton-Raphson iteration to find the temperature that balances radiative forcing against longwave emission, sensible heat flux, and latent heat flux.
Parameters:
PhysCon: Physical constants
- tfrz: Freezing point of water (K).
- mmh2o: Molecular mass of water (kg/mol).
- sigma: Stefan-Boltzmann constant (W/m2/K4).
Atmos: Atmospheric forcing variables:
- patm: Atmospheric pressure (Pa).
- cpair: Specific heat of air at constant pressure (J/mol/K).
- tair: Air temperature (K)
- eair: Vapor pressure of air (Pa).
Leaf: Leaf parameters
- emiss: Leaf emissivity (-).
- tleaf: Leaf temperature (K). Used as initial guess on input
- stomata_distribution: 1 (hypostomatous) or 2 (amphistomatous)
Flux: variables with the following inputs:
- gbh: Leaf boundary layer conductance for heat (mol/m2 leaf/s).
- gbv: Leaf boundary layer conductance for H2O (mol H2O/m2 leaf/s).
- gs: Leaf stomatal conductance (mol H2O/m2 leaf/s).
- qa: Leaf radiative forcing (W/m2 leaf).
Returns:
Flux: Updated flux object with the following attributes:
- tleaf: Leaf temperature (K). Updated to energy-balance solution on output.
- rnet: Leaf net radiation (W/m2 leaf).
- lwrad: Longwave radiation emitted from leaf (W/m2 leaf).
- shflx: Leaf sensible heat flux (W/m2 leaf).
- lhflx: Leaf latent heat flux (W/m2 leaf).
- etflx: Leaf transpiration flux (mol H2O/m2 leaf/s).
Parameters
physcon : PhysCon Physical constants: - tfrz : float Freezing point of water (K). - mmh2o : float Molecular mass of water (kg/mol). - sigma : float Stefan-Boltzmann constant (W/m2/K4). atmos : Atmos Atmospheric forcing variables: - patm : float Atmospheric pressure (Pa). - cpair : float Specific heat of air at constant pressure (J/mol/K). - tair : float Air temperature (K). - eair : float Vapor pressure of air (Pa). leaf : Leaf Leaf parameters: - emiss : float Leaf emissivity (-). - tleaf : float Leaf temperature (K). Used as initial guess on input - stomata_distribution : int 1 (hypostomatous) or 2 (amphistomatous)
flux : Flux Flux variables with the following inputs: - gbh : float Leaf boundary layer conductance for heat (mol/m2 leaf/s). - gbv : float Leaf boundary layer conductance for H2O (mol H2O/m2 leaf/s). - gs : float Leaf stomatal conductance (mol H2O/m2 leaf/s). - qa : float Leaf radiative forcing (W/m2 leaf).
Returns
flux : Flux Updated flux object with the following attributes: - tleaf : float Leaf temperature (K). Updated to energy-balance solution on output. - rnet : float Leaf net radiation (W/m2 leaf). - lwrad : float Longwave radiation emitted from leaf (W/m2 leaf). - shflx : float Leaf sensible heat flux (W/m2 leaf). - lhflx : float Leaf latent heat flux (W/m2 leaf). - etflx : float Leaf transpiration flux (mol H2O/m2 leaf/s).