Model variables¶
ADELM organizes runtime variables into a small set of formal container types. The goal is to keep process code, model outputs, and API documentation aligned around a consistent variable system.
Tensor dimensions¶
All runtime tensors share a common batch dimension called n_entities,
which indexes the locations being simulated simultaneously - flux tower
sites, grid cells, or any other set of spatial units. The other common
dimensions are:
Symbol |
Meaning |
|---|---|
|
number of locations (sites, grid cells, …) in the batch |
|
number of time steps |
|
number of soil layers |
For example, a driver tensor has shape [n_entities, n_time] and a soil
moisture state tensor has shape [n_entities, n_layers].
Note on input files: ADELM reads NetCDF input files that use a site
dimension. Internally this dimension is always referred to as n_entities
so that the same model code works equally for point sites, regional grids,
or other spatial discretisations.
Variable containers¶
driversExternal forcing data. These can vary in time, but they are not modified by the model itself.attrisStatic location characteristics (e.g. climate indices, soil texture, vegetation cover fractions) used as input features for thenn_feature_basedneural parameterization. Not modified during simulation.statesPrognostic variables advanced in time by the model.fluxesMass, energy, or carbon exchange rates diagnosed by model processes.diagnosDerived timestep-wise variables used by the calculation chain, but not advanced by time integration. In practice,diagnosis used for process variables that are part of the model calculation chain or are treated as standard process diagnostics in outputs.paramsTime-invariant model parameters controlling process behaviour.constsPhysical constants, unit-conversion constants, and a small number of numerical constants.errorsResidual and conservation diagnostics used to check numerical and physical consistency.
ADELM also supports a system-level debugs output container.
debugsis not part of the formal variable registrydebugsvariables are therefore not listed in the variable tables belowusers and developers can write custom analysis variables directly in
processesorparameterizationcode using a simple pattern such asdebugs["my_variable"] = valuein practice,
debugsis used for explanatory quantities that help interpret a calculation but are not consumed downstream
Drivers¶
External dynamic forcing data used by the model. Drivers may vary from timestep to timestep, but the model does not update them.
See also
States¶
Prognostic model state that evolves through time and is advanced by the model.
See also
Name |
Units |
Description |
Relations |
|---|---|---|---|
|
|
Liquid water stored on wet canopy surfaces. |
Produced by: |
|
|
Snow water equivalent stored on the canopy. |
Produced by: |
|
|
Snow water equivalent stored in the surface snowpack. |
Produced by: |
|
|
Volumetric water content of each soil layer. |
Produced by: |
Fluxes¶
Mass, energy, or carbon exchange rates computed by model processes.
See also
Name |
Units |
Description |
Relations |
|---|---|---|---|
|
|
Water flux evaporated from wet canopy surfaces. |
Produced by: |
|
|
Liquid water flux intercepted by the canopy. |
Produced by: |
|
|
Longwave radiative flux absorbed by the canopy. |
Produced by: |
|
|
Net radiative flux at the canopy surface. |
Produced by: |
|
|
Shortwave radiative flux absorbed by the canopy. |
Produced by: |
|
|
Snow water flux intercepted by the canopy. |
Produced by: |
|
|
Water flux sublimated from snow intercepted on the canopy. |
Produced by: |
|
|
Snow water flux released from the canopy. |
Produced by: |
|
|
Water flux from the soil column to the atmosphere through plants. |
Produced by: |
|
|
Gross primary productivity. |
Produced by: |
|
|
Downward water flux leaving each soil layer under gravity. |
Produced by: |
|
|
Incoming photosynthetically active radiation at the canopy top. |
Produced by: |
|
|
Water flux entering each soil layer from above. |
Produced by: |
|
|
Latent heat flux associated with evaporation and sublimation. |
Produced by: |
|
|
Photosynthetically active radiation absorbed by leaf surfaces. |
Produced by: |
|
|
Downward longwave radiation below the vegetation canopy. |
Produced by: |
|
|
Upward longwave radiation above the vegetation canopy. |
Produced by: |
|
|
Upward longwave radiation below the vegetation canopy. |
Produced by: |
|
|
Net longwave radiative flux absorbed by the land surface. |
Produced by: |
|
|
Net shortwave radiative flux absorbed by the land surface. |
Produced by: |
|
|
Liquid precipitation reaching the canopy top. |
Produced by: |
|
|
Water flux extracted from each soil layer by roots. |
Produced by: |
|
|
Water flux leaving the land surface as runoff. |
Produced by: |
|
|
Water flux sublimated from the ground snowpack. |
Produced by: |
|
|
Solid precipitation reaching the canopy top. |
Produced by: |
|
|
Total snowfall reaching the ground, including direct throughfall and canopy unloading. |
Produced by: |
|
|
Water flux released from the snowpack by melting. |
Produced by: |
|
|
Water flux evaporated from the top soil layer. |
Produced by: |
|
|
Longwave radiative flux absorbed by the soil surface. |
Produced by: |
|
|
Net radiative flux at the soil surface. |
Produced by: |
|
|
Shortwave radiative flux absorbed by the soil surface (visible plus near-infrared). |
Produced by: |
|
|
Liquid precipitation reaching the soil surface without canopy interception. |
Produced by: |
|
|
Total evapotranspiration water flux to the atmosphere. |
Produced by: |
|
|
Downward water flux leaving the base of the soil column. |
Produced by: |
Diagnostics¶
Derived timestep-wise variable used in model calculations, reporting, or output, but not advanced by time integration.
This container is used for variables that remain part of the runtime
process description, even when they are not prognostic states. Internal
limitation factors, split numerators and denominators, and similar
analysis-only quantities are better placed in debugs.
See also
Name |
Units |
Description |
Relations |
|---|---|---|---|
|
|
Aerodynamic conductance for water vapour transport from the canopy top to the reference height. |
Produced by: |
|
|
Mass of air per unit volume. |
Produced by: |
|
|
Molar concentration of air. |
Produced by: |
|
|
Effective aerodynamic conductance for water vapour transport between the canopy and the atmosphere. |
Produced by: |
|
|
Average inverse optical depth for diffuse radiation. |
Produced by: |
|
|
Upscatter parameter for diffuse radiation in the near-infrared band. |
Produced by: |
|
|
Upscatter parameter for diffuse radiation in the visible band. |
Produced by: |
|
|
Optical depth of the direct beam per unit leaf and stem area index. |
Produced by: |
|
|
Upscatter parameter for direct beam radiation in the near-infrared band. |
Produced by: |
|
|
Upscatter parameter for direct beam radiation in the visible band. |
Produced by: |
|
|
Single-scattering albedo of the canopy in the near-infrared band. |
Produced by: |
|
|
Single-scattering albedo of the canopy in the visible band. |
Produced by: |
|
|
Canopy-scale stomatal conductance to water vapour. |
Produced by: |
|
|
Effective ground albedo for diffuse radiation in the near-infrared band, accounting for snow cover. |
Produced by: |
|
|
Effective ground albedo for diffuse radiation in the visible band, accounting for snow cover. |
Produced by: |
|
|
Effective ground albedo for direct beam radiation in the near-infrared band, accounting for snow cover. |
Produced by: |
|
|
Effective ground albedo for direct beam radiation in the visible band, accounting for snow cover. |
Produced by: |
|
|
Ratio of dynamic viscosity to air density. |
Produced by: |
|
|
Energy required to vaporize one kilogram of liquid water. |
Produced by: |
|
|
Bulk conductance for water vapour across the laminar boundary layer of canopy leaves. |
Produced by: |
|
|
Atmospheric demand for evaporation from wet canopy surfaces. |
Produced by: |
|
|
Atmospheric demand for sublimation of solid-phase water stored on the canopy. |
Produced by: |
|
|
Maximum water vapour flux from canopy leaves to the atmosphere. |
Produced by: |
|
|
Atmospheric demand for sublimation from the ground snowpack. |
Produced by: |
|
|
Atmospheric demand for evaporation from the snow-free soil surface. |
Produced by: |
|
|
Ratio of sensible to latent heat flux for a wet surface at constant pressure. |
Produced by: |
|
|
Mean soil water potential of the root zone. |
Produced by: |
|
|
Rate of change of saturation vapour pressure with temperature. |
Produced by: |
|
|
Fraction of the ground surface covered by snow. |
Produced by: |
|
|
Aerodynamic conductance for water vapour transport between the soil surface and the canopy air. |
Produced by: |
|
|
Effective hydraulic conductivity of each soil layer. |
Produced by: |
|
|
Soil surface conductance to water vapour. |
Produced by: |
|
|
Difference between soil-surface vapour pressure and near-surface air vapour pressure. |
Produced by: |
|
|
Soil water potential across all soil layers. |
Produced by: |
|
|
Total vegetation area index: one-sided leaf area index plus stem area index. |
Produced by: |
|
|
Fraction of total root water uptake in each soil layer. |
Produced by: |
|
|
Molecular diffusivity of water vapour in air. |
Produced by: |
Parameters¶
Time-invariant model parameter controlling process behaviour.
See also
fixed: Parameter value fixed during a run and supplied as a scalar in
parameterization.parameters.<name>.value.data: Static parameter value loaded from
data.mapping.params. For parameters registered with sourcedata, the mapping must be provided when parameter files are used.pft_based: Parameter value computed as a PFT-fraction-weighted average from the fractional vegetation cover data (
fcover) andPFT_LOOKUP.txt. Requires fcover input to be provided.derived: Parameter value computed from other parameters by a physics-based routine (e.g. pedotransfer functions deriving hydraulic properties from soil texture).
nn_global: Globally shared trainable parameter. A single value is learned during calibration and applied uniformly across all locations. Declared in
config.yamlwithparameterization.parameters.<name>.source: nn_global.nn_feature_based: Location-specific trainable parameter predicted by a multi-layer perceptron (MLP) from location attributes. One value is produced per location. Declared with
parameterization.parameters.<name>.source: nn_feature_based.
The nn_global and nn_feature_based source types must be declared explicitly in the
parameterization.parameters block of config.yaml. They are not inferred from the registry.
Each parameter has exactly one active source. If you specify a parameter in Configuration, that explicit source overrides the registry default source for that parameter. A parameter must not be assigned multiple sources at the same time.
data parameters
Name |
Units |
Description |
Relations |
|---|---|---|---|
|
|
Geographic latitude of the site. |
|
|
|
Geographic longitude of the site. |
|
|
|
Bulk density of the soil. |
|
|
|
Clay mass fraction of the soil. |
|
|
|
Organic matter fraction of the soil. |
|
|
|
Sand mass fraction of the soil. |
derived parameters
Name |
Units |
Description |
Relations |
|---|---|---|---|
|
|
Normalised root fraction per soil layer. |
Produced by: |
|
|
Air-entry pressure coefficient in the Brooks-Corey soil water retention curve. |
Produced by: |
|
|
Pore-size distribution index in the Brooks-Corey soil water retention curve. |
Produced by: |
|
|
Brooks-Corey air-entry (bubbling) water potential of the soil. |
Produced by: |
|
|
Volumetric soil moisture content at field capacity. |
Produced by: |
|
|
Saturated hydraulic conductivity. |
Produced by: |
|
|
Saturated volumetric soil moisture content. |
Produced by: |
|
|
Volumetric soil moisture content at wilting point (1500 kPa). |
Produced by: |
fixed parameters
Name |
Value |
Units |
Description |
Relations |
|---|---|---|---|---|
|
|
|
Maximum liquid water the canopy can hold per unit leaf area index. |
|
|
|
|
Maximum snow water equivalent the canopy can hold per unit vegetation area index. |
Used by: |
|
|
|
Fraction of incoming shortwave radiation that is direct beam. |
Used by: |
|
|
|
Upper bound on leaf stomatal conductance to water vapour. |
Used by: |
|
|
|
Lower bound on leaf stomatal conductance to water vapour. |
Used by: |
|
|
|
Quadratic sensitivity of stomatal conductance to air temperature departure from the optimum. |
Used by: |
|
|
|
Air temperature at which stomatal conductance reaches its temperature-response maximum. |
Used by: |
|
|
|
Soil water potential at which stomatal conductance is reduced by half. |
Used by: |
|
|
|
Steepness of the sigmoid stomatal response to soil water potential. |
Used by: |
|
|
|
Efficiency of converting leaf-absorbed photosynthetically active radiation into gross carbon assimilation. |
Used by: |
|
|
|
Leaf-scale photosynthetic assimilation capacity at optimum temperature. |
Used by: |
|
|
|
Colimitation curvature of photosynthesis by light and diffusion capacity. |
Used by: |
|
|
|
Shape parameter of the photosynthesis temperature response. |
Used by: |
|
|
|
Upper temperature bound of the photosynthesis temperature response. |
Used by: |
|
|
|
Optimum temperature of the photosynthesis temperature response. |
Used by: |
|
|
|
Characteristic snow water equivalent at which half the ground surface is snow-covered. |
Used by: |
|
|
|
Degree-day snowmelt coefficient: melt per degree above the freeze threshold per day. |
Used by: |
|
|
|
Snow-covered surface albedo in the near-infrared band. |
Used by: |
|
|
|
Single-scattering albedo of intercepted canopy snow in the near-infrared band. |
Used by: |
|
|
|
Snow-covered surface albedo in the visible band. |
Used by: |
|
|
|
Single-scattering albedo of intercepted canopy snow in the visible band. |
Used by: |
|
|
|
Sharpness of the temperature-driven freeze reduction of soil hydraulic conductivity. |
Used by: |
|
|
|
Temperature threshold below which freezing reduces soil hydraulic conductivity. |
Used by: |
|
|
|
Shape parameter of the variable infiltration capacity curve. |
Used by: |
|
|
|
Snow-free soil albedo in the near-infrared band. |
Used by: |
|
|
|
Aerodynamic roughness length for momentum over soil. |
Used by: |
|
|
|
Exponential sensitivity coefficient of soil surface resistance to top-layer soil moisture. |
|
|
|
|
Snow-free soil albedo in the visible band. |
Used by: |
|
|
|
Broadband thermal infrared emissivity of the soil or snow surface. |
Used by: |
|
|
|
Fraction of incoming shortwave radiation in the visible (400-700 nm) band. |
Used by: |
pft_based parameters
Name |
Units |
Description |
Relations |
|---|---|---|---|
|
|
Canopy height. |
Used by: |
|
|
Characteristic leaf width. |
Used by: |
|
|
Absorbed PAR at which the stomatal radiation response reaches half its maximum. |
Used by: |
|
|
Sensitivity of stomatal conductance to vapour pressure deficit. |
Used by: |
|
|
Leaf angle distribution index, ranging from -1 (vertical leaves) to +1 (horizontal leaves). |
Used by: |
|
|
Leaf reflectance in the near-infrared band. |
Used by: |
|
|
Leaf transmittance in the near-infrared band. |
Used by: |
|
|
Leaf reflectance in the visible band. |
Used by: |
|
|
Leaf transmittance in the visible band. |
Used by: |
|
|
Minimum leaf water potential below which soil-plant water transport ceases. |
|
|
|
Shape parameter of the exponential vertical root-fraction distribution. |
Used by: |
|
|
One-sided stem area index. |
Used by: |
|
|
Stem reflectance in the near-infrared band. |
Used by: |
|
|
Stem transmittance in the near-infrared band. |
Used by: |
|
|
Stem reflectance in the visible band. |
Used by: |
|
|
Stem transmittance in the visible band. |
Used by: |
Constants¶
Constant value used by the model that does not change during simulation.
See also
physical: Physical laws or well-established physical ratios (e.g. latent heat of vaporization, Stefan-Boltzmann constant).
model: Structural constants specific to the model formulation (e.g. discretization counts, fixed scaling coefficients).
model constants
Name |
Value |
Units |
Description |
Relations |
|---|---|---|---|---|
|
|
|
Small numerical protection constant. |
Used by: |
|
|
|
Number of seconds in one day. |
Used by: |
physical constants
Name |
Value |
Units |
Description |
Relations |
|---|---|---|---|---|
|
|
|
Zero degrees Celsius expressed in Kelvin. |
Used by: |
|
|
|
Atmospheric O2 mole fraction. |
Used by: |
|
|
|
Conversion factor from carbon mass to micromoles of carbon. |
Used by: |
|
|
|
Rubisco Michaelis constant for CO2 at 25 degrees Celsius. |
Used by: |
|
|
|
Activation energy of the Rubisco Michaelis constant for CO2. |
Used by: |
|
|
|
Temperature at which water freezes. |
Used by: |
|
|
|
Photorespiratory CO2 compensation point at 25 degrees Celsius. |
Used by: |
|
|
|
Activation energy of the photorespiratory CO2 compensation point. |
Used by: |
|
|
|
Ratio of CO2 to H2O molecular diffusivity in the leaf boundary layer. |
Used by: |
|
|
|
Ratio of CO2 to H2O molecular diffusivity through stomata. |
Used by: |
|
|
|
Latent heat of sublimation of water at 0°C. |
Used by: |
|
|
|
Conversion factor from micromoles of carbon to carbon mass. |
Used by: |
|
|
|
Rubisco Michaelis constant for O2 at 25 degrees Celsius. |
Used by: |
|
|
|
Activation energy of the Rubisco Michaelis constant for O2. |
Used by: |
|
|
|
Partial molar volume of water at 20°C. |
|
|
|
|
Specific heat capacity of air. |
Used by: |
|
|
|
Reference air pressure. |
|
|
|
|
Stefan–Boltzmann constant. |
Used by: |
|
|
|
Universal gas constant. |
Used by: |
|
|
|
Von Karman constant. |
Used by: |
Errors¶
Residual diagnostics used to check conservation properties and numerical consistency.
See also
Name |
Units |
Description |
Relations |
|---|---|---|---|
|
|
Residual of liquid canopy interception storage balance closure. |
Produced by: |
|
|
Residual of solid canopy interception storage balance closure. |
Produced by: |
|
|
Residual of longwave energy balance closure. |
Produced by: |
|
|
Residual of shortwave energy balance closure. |
Produced by: |
|
|
Residual of snow water storage balance closure. |
Produced by: |
|
|
Residual of soil water storage balance closure. |
Produced by: |