A_supply function

CO2 supply and demand function (mol / m^2 s)

CO2 supply and demand function (mol / m^2 s)

This function is not intended to be called by users directly.

A_supply(C_chl, pars, unitless = FALSE, use_legacy_version = FALSE) A_demand(C_chl, pars, unitless = FALSE)

Arguments

  • C_chl: Chloroplastic CO2 concentration in Pa of class units
  • pars: Concatenated parameters (leaf_par, enviro_par, and constants)
  • unitless: Logical. Should units be set? The function is faster when FALSE, but input must be in correct units or else results will be incorrect without any warning.
  • use_legacy_version: Logical. Should legacy model (<2.1.0) be used? See NEWS for further information. Default is FALSE.

Returns

Value in mol / (m^2 s) of class units

Details

Supply function:

A=gtc(CairCchl)A=gtc(CairCchl) A = g_\mathrm{tc} (C_\mathrm{air} - C_\mathrm{chl})A = g_tc (C_air - C_chl)

Demand function:

A=(1Γ/Cchl)min(Wcarbox,Wregen,Wtpu)RdA=(1Γ/Cchl)min(Wcarbox,Wregen,Wtpu)Rd A = (1 - \Gamma* / C_\mathrm{chl}) \mathrm{min}(W_\mathrm{carbox}, W_\mathrm{regen}, W_\mathrm{tpu}) - R_\mathrm{d}A = (1 - \Gamma* / C_chl) min(W_carbox, W_regen, W_tpu) - R_d
SymbolRDescriptionUnitsDefault
AAAphotosynthetic rateμ\mu mol CO2 / (m^2 s)calculated
gtcg_tcg_tctotal conductance to CO2μ\mu mol CO2 / (m 2^2 s Pa)calculated
CairC_airC_airatmospheric CO2 concentrationPa41
CchlC_chlC_chlchloroplastic CO2 concentrationPacalculated
RdR_dR_dnonphotorespiratory CO2 releaseμ\mu mol CO2 / (m 2^2 s)2
Γ\Gamma*gamma_starchloroplastic CO2 compensation pointPa3.743

Examples

bake_par = make_bakepar() constants = make_constants(use_tealeaves = FALSE) enviro_par = make_enviropar(use_tealeaves = FALSE) leaf_par = make_leafpar(use_tealeaves = FALSE) leaf_par = bake(leaf_par, enviro_par, bake_par, constants) # Or bake with piping (need library(magrittr)) # leaf_par %<>% bake(enviro_par, bake_par, constants) enviro_par$T_air = leaf_par$T_leaf pars = c(leaf_par, enviro_par, constants) C_chl = set_units(350, umol/mol) A_supply(C_chl, pars) A_demand(C_chl, pars)
  • Maintainer: Chris Muir
  • License: MIT + file LICENSE
  • Last published: 2024-11-24