variables: Specify the variables of the virtual crop

View source: R/julia_interface.R

variablesR Documentation

Specify the variables of the virtual crop

Description

Specify the variables of the virtual crop

Usage

variables(
  pars,
  nleaf = 4,
  wleaf = 100,
  SLA = 300,
  kN = 0.4,
  f_Ncmn = 0.1,
  f_Ncmx = 0.3,
  pf_Nc = 4,
  f_Nrmn = 0.2,
  f_Nrmx = 0.6,
  pf_Nr = 2
)

Arguments

pars

Parameters as generated by the parameters

nleaf

Canopy nitrogen content (g N/m2)

wleaf

Canopy (leaf) biomass as dry weight (g/m2)

SLA

Specific leaf area (cm2/g)

kN

Extinction coefficient of leaf nitrogen within the canopy

f_Ncmn

Minimum fraction of N allocated to chlorophyll

f_Ncmx

Maximum fraction of N allocated to chlorophyll

pf_Nc

Scaling constant for fraction of N allocated to chlorophyll

f_Nrmn

Minimum fraction of N allocated to Rubisco

f_Nrmx

Maximum fraction of N allocated to Rubisco

pf_Nr

Scaling constant for fraction of N allocated to Rubisco

Value

A Julia object with all the variables required to perform the simulations:

Nmin

Minimum leaf nitrogen content (mol/m2)

GLAI

Green leaf area index (limited by nleaf or wleaf)

Nlmax

Leaf nitrogen content on top of the canopy (mol/m2)

kN

Extinction coefficient of leaf nitrogen within the canopy

f_Ncmn

Minimum fraction of N allocated to chlorophyll

f_Ncmx

Maximum fraction of N allocated to chlorophyll

pf_Nc

Scaling constant for fraction of N allocated to chlorophyll

f_Nrmn

Minimum fraction of N allocated to Rubisco

f_Nrmx

Maximum fraction of N allocated to Rubisco

pf_Nr

Scaling constant for fraction of N allocated to Rubisco

Examples

pars = parameters()
vars = variables(pars)
vars$GLAI

AleMorales/RMultilayerCanopy documentation built on June 11, 2022, 8:41 p.m.