Repository navigation
Conversation
This branch has not been deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Adds the stomatal conductance model of Buckley et al. (2026), "A Simple Stomatal Model That Unifies the Metabolic and Hydraulic Control of Carbon and Water Flux", Global Change Biology 32: e70999, https://doi.org/10.1111/gcb.70999.
g_s = β s b (ψ_soil − ψ_c) / (1 + s b D_s / K_plant), with b = J/4 − R_d − A + b_o
Changes
stomatalconductance
Buckley2026coefficients {s, K_plant_at_25C, b_o, psi_c}with the same setters as the other models (all primitives, UUIDs, material label) and a species library (setBuckley2026CoefficientsFromLibrary,getBuckley2026CoefficientsFromLibrary): Almond, Elderberry, Cowpea, EasternRedbud, Grape, Olive, Pistachio.model_parameters,vapor_pressure_deficit).plant_hydraulic_conductancewhen present; otherwise the coefficient is scaled to leaf temperature by the fluidity of water (Buckley et al. 2026, Section 2.2).buckley2026_stomatal_model_enabled= 1, which makes the photosynthesis and plant hydraulics plug-ins write the inputs below. Missingnet_photosynthesis,electron_transport_rate, ordark_respirationis an error; a missingsoil_water_potentialfalls back to −0.1 MPa with a warning.photosynthesis
electron_transport_rate(J) anddark_respiration(R_d) for the Farquhar model, also written automatically when the global data above is set.evaluateElectronTransportAndRespiration(), now also used byevaluateCi_Farquhar()(results unchanged).planthydraulics
outputPlantConductancePrimitiveData(): writesplant_hydraulic_conductance(K_plant = root, stem, and leaf conductances in series, per unit leaf area) andsoil_water_potential, also automatically when the global data above is set.soil_water_potentialis written only for plants whose value was set withsetSoilWaterPotentialOfPlant(), so a value set directly is not replaced.Species library
Fitted to diurnal LI-600 porometer surveys (corrected per Rizzo & Bailey) with the first measured stem water potential of each day as ψ_soil, and ψ_c from the pressure-volume turgor loss point (fitted for eastern redbud). A, J, and R_d were computed with the Helios Farquhar library entry of each species, so each entry should be used with that entry. Fit statistics are in the documentation table.
Testing