Skip to content
Open
Show file tree
Hide file tree
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
43 changes: 30 additions & 13 deletions src/standalone/Vegetation/Canopy.jl
Original file line number Diff line number Diff line change
Expand Up @@ -220,9 +220,10 @@ end
function PModel{FT}(
domain,
toml_dict::CP.ParamDict;
is_c3 = clm_photosynthesis_parameters(domain.space.surface).is_c3,
is_c3 = nothing,
cstar = toml_dict["pmodel_cstar"],
β = toml_dict["pmodel_β"],
β_c3 = toml_dict["pmodel_β_c3"],
β_c4 = toml_dict["pmodel_β_c4"],
temperature_dep_yield = true,
ϕ0_c3 = toml_dict["pmodel_ϕ0_c3"],
ϕ0_c4 = toml_dict["pmodel_ϕ0_c4"],
Expand All @@ -236,26 +237,30 @@ end
) where {FT <: AbstractFloat}

Constructs a P-model (an optimality model for photosynthesis) using default parameters.
If `is_c3` is not provided, the constructor uses the spatial `c3_fraction` field from
the CLM artifact when available, and otherwise falls back to the dominant-pathway flag.

The following default parameters (from the TOML file) are used:
- cstar = 0.41 (unitless) - 4 * dA/dJmax, assumed to be a constant marginal cost (Wang 2017, Stocker 2020)
- β = 146 (unitless) - Unit cost ratio of Vcmax to transpiration (Stocker 2020)
- β_c3 = 146 (unitless) - Unit cost ratio of Vcmax to transpiration for C3 plants (Stocker 2020)
- β_c4 = 146/9 ≈ 16.222 (unitless) - Unit cost ratio of Vcmax to transpiration for C4 plants (pyrealm)
- ϕ0_c3 = 0.052 (unitless) - constant intrinsic quantum yield. Skillman (2008)
- ϕ0_c4 = 0.057 (unitless) - constant intrinsic quantum yield. Skillman (2008)
- ϕa0_c3 = 0.352*0.087 (unitless) - constant term in quadratic intrinsic quantum yield (Stocker 2020)
- ϕa1_c3 = 0.022*0.087 (K^-1) - first order term in quadratic intrinsic quantum yield (Stocker 2020)
- ϕa2_c3 = -0.00034*0.087 (K^-2) - second order term in quadratic intrinsic quantum yield (Stocker 2020)
- ϕa0_c4 = 0.352*0.087 (unitless) - constant term in quadratic intrinsic quantum yield (Scott and Smith, 2022)
- ϕa1_c4 = 0.022*0.087 (K^-1) - first order term in quadratic intrinsic quantum yield (Scott and Smith, 2022)
- ϕa2_c4 = -0.00034*0.087 (K^-2) - second order term in quadratic intrinsic quantum yield (Scott and Smith, 2022)
- ϕa0_c3 = 0.044 (unitless) - constant term in quadratic intrinsic quantum yield (pyrealm/Bernacchi et al., 2003)
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think these all need to be updated in both parameter toml files

- ϕa1_c3 = 0.00275 (K^-1) - first order term in quadratic intrinsic quantum yield (pyrealm/Bernacchi et al., 2003)
- ϕa2_c3 = -0.0000425 (K^-2) - second order term in quadratic intrinsic quantum yield (pyrealm/Bernacchi et al., 2003)
- ϕa0_c4 = -0.008 (unitless) - constant term in quadratic intrinsic quantum yield (pyrealm/Cai and Prentice, 2020)
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this value is very odd to me - it means when T = 0C, quantum yield is negative...but I guess it is from an empirical fit with uncertainty...

- ϕa1_c4 = 0.00375 (K^-1) - first order term in quadratic intrinsic quantum yield (pyrealm/Cai and Prentice, 2020)
- ϕa2_c4 = -0.000058 (K^-2) - second order term in quadratic intrinsic quantum yield (pyrealm/Cai and Prentice, 2020)
- α = 0.933 (unitless) - 1 - 1/T where T is the timescale of Vcmax, Jmax acclimation. Here T = 15 days. (Mengoli 2022)
"""
function PModel{FT}(
domain,
toml_dict::CP.ParamDict;
is_c3 = clm_photosynthesis_parameters(domain.space.surface).is_c3,
is_c3 = nothing,
cstar = toml_dict["pmodel_cstar"],
β = toml_dict["pmodel_β"],
β_c3 = toml_dict["pmodel_β_c3"],
β_c4 = toml_dict["pmodel_β_c4"],
temperature_dep_yield = true,
ϕ0_c3 = toml_dict["pmodel_ϕ0_c3"],
ϕ0_c4 = toml_dict["pmodel_ϕ0_c4"],
Expand All @@ -267,9 +272,21 @@ function PModel{FT}(
ϕa2_c4 = toml_dict["pmodel_ϕa2_c4"],
α = toml_dict["pmodel_α"],
) where {FT <: AbstractFloat}
c3_fraction = if isnothing(is_c3)
photosynthesis_parameters = clm_photosynthesis_parameters(domain.space.surface)
(
hasproperty(photosynthesis_parameters, :c3_fraction) ?
photosynthesis_parameters.c3_fraction :
photosynthesis_parameters.is_c3
)
else
is_c3
end

parameters = ClimaLand.Canopy.PModelParameters(
cstar,
β,
β_c3,
β_c4,
temperature_dep_yield,
ϕ0_c3,
ϕ0_c4,
Expand All @@ -282,7 +299,7 @@ function PModel{FT}(
α,
)

return PModel{FT}(is_c3, toml_dict, parameters)
return PModel{FT}(c3_fraction, toml_dict, parameters)
end


Expand Down
1 change: 1 addition & 0 deletions src/standalone/Vegetation/optimal_lai.jl
Original file line number Diff line number Diff line change
Expand Up @@ -557,6 +557,7 @@ function call_update_optimal_LAI(p, Y, t, current_date; canopy, dt, local_noon)
P_air,
p.canopy.biomass.vpd_gs,
ca,
is_c3,
),
)

Expand Down
Loading
Loading