Skip to main content

SurEau photosynthesis


source

solve_coupled_medlyn_fvcb

def solve_coupled_medlyn_fvcb(
    T_leaf, PAR, VPD, params
):

Medlyn-coupled FvCB operating point reproduces plantecophys Photosyn, except Rd uses a peaked Arrhenius (plantecophys uses Q10).

Solves the gs–A–Ci system analytically in one pass (no iteration): the Medlyn slope is baked into _getci’s quadratic,as in plantecophys. There is no CO₂ boundary layer (cs = Ca), matching the basic Photosyn path.

Parameters

T_leaf : float Leaf temperature [°C]. PAR : float Incident PAR [µmol m⁻² s⁻¹] (absorptance folded into alpha_j). VPD : float Leaf-to-air VPD [kPa]; floored at params.vpdmin. params : SurEauVegetationParams

Returns

An : Net photosynthesis [µmol CO₂ m⁻² s⁻¹] (= −Rd at night). ci : Intercellular CO₂ [µmol mol⁻¹]. cs : Leaf-surface CO₂ [µmol mol⁻¹] (= Ca; no boundary layer). gs_mol : Stomatal conductance to H₂O [mol m⁻² s⁻¹].


source

calculate_gs_medlyn

def calculate_gs_medlyn(
    fluxes:plant_hydraulics.parameter_classes.SurEauPlantFluxes,
    params:plant_hydraulics.parameter_classes.SurEauVegetationParams, clim:dict
)->plant_hydraulics.parameter_classes.SurEauPlantFluxes:

Medlyn et al. (2011) stomatal conductance coupled to FvCB photosynthesis.

Replacement for calculate_gs_jarvisstomatal conductance

SurEau’s hydraulic regulation gamma (compute_regul_fact, applied by compute_transpiration) is what turns it into the water-limited gs_lim, so this routine has no knowledge of psi.

Medlyn (Eq. 11): gs = g0 + 1.57 (1 + g1/sqrt(D)) * An / ca

Reads fluxes.leaf_temperature [°C], fluxes.leaf_VPD [kPa], clim[“PAR”] [µmol m⁻² s⁻¹]. Writes fluxes.gs_bound [mmol H₂O m⁻² s⁻¹], An, ci, cs.