Allometry
Agate.Library.Allometry.allometric_palatability_unimodal — Method
allometric_palatability_unimodal(prey, predator)Unimodal allometric palatability based on predator–prey diameters.
1 / (1 + ($ratio$ - $opt$)²)$^σ$
where:
- $ratio$ = predator / prey diameter ratio
- $opt$ = optimum predator:prey diameter ratio
- σ = unimodal sharpness parameter (specificity)
Arguments
prey:PalatabilityPreyParameters(diameter, protection)predator:PalatabilityPredatorParameters(diameter, optimum_predator_prey_ratio, specificity)
Returns
A palatability value in [0, 1].
Agate.Library.Allometry.allometric_palatability_unimodal_protection — Method
allometric_palatability_unimodal_protection(prey, predator)Unimodal allometric palatability with prey protection.
Protection η reduces palatability as (1 - η) (so η=0 means no protection).
Agate.Library.Allometry.allometric_scaling_power — Method
allometric_scaling_power(a, b, diameter)Allometric scaling function using a power law on spherical cell volume.
$a$$V$$ᵇ$
where:
- $V$ = (4 / 3) * π * ($d$ / 2)³
- $a$ = scale
- $b$ = exponent
- $d$ = cell equivalent spherical diameter (ESD)
Arguments
a: scale parameterb: exponent parameterdiameter: cell equivalent spherical diameter (ESD)
Returns
a * V^b where V is the spherical volume computed from diameter.
Mortality
Agate.Library.Mortality.linear_loss — Method
linear_loss(P, rate)Linear mortality (loss) rate.
Arguments
P: plankton concentrationrate: mortality (loss) rate
Agate.Library.Mortality.quadratic_loss — Method
quadratic_loss(P, rate)Quadratic mortality (loss) rate.
Arguments
P: plankton concentrationrate: mortality (loss) rate
Nutrients
Agate.Library.Nutrients.liebig_minimum — Method
liebig_minimum(a, b, rest...)
liebig_minimum(values::NTuple)Return the minimum value among the given limitation factors.
Arguments
a, b, rest...: limitation factorsvalues: anNTupleof limitation factors
This is an explicit alias around LiebigMinimum() for clearer model code.
Agate.Library.Nutrients.monod_limitation — Method
monod_limitation(R, K)Monod (Michaelis–Menten) nutrient limitation.
Arguments
R: nutrient concentrationK: nutrient half-saturation constant
Photosynthesis
Agate.Library.Photosynthesis.geider_light_limitation — Method
geider_light_limitation(PAR, alpha, maximum_growth_rate, chlorophyll_to_carbon_ratio)Geider-style light limitation.
Arguments
PAR: photosynthetically active radiationalpha: photosynthetic slope αᶜʰˡmaximum_growth_rate: maximum growth rate Pᶜₘₐₓchlorophyll_to_carbon_ratio: chlorophyll-to-carbon ratio θᶜ
Agate.Library.Photosynthesis.geider_single_nutrient_growth — Method
geider_single_nutrient_growth(R, P, PAR, maximum_growth_rate, nutrient_half_saturation, alpha, chlorophyll_to_carbon_ratio)Single-nutrient photosynthetic growth with Monod nutrient limitation and Geider light limitation.
Arguments
R: nutrient concentrationP: plankton concentrationPAR: photosynthetically active radiationmaximum_growth_rate: maximum growth rate Pᶜₘₐₓnutrient_half_saturation: nutrient half-saturation kᵣalpha: photosynthetic slope αchlorophyll_to_carbon_ratio: chlorophyll-to-carbon ratio θᶜ
Agate.Library.Photosynthesis.geider_two_nutrient_growth — Method
geider_two_nutrient_growth(R1, R2, P, PAR, maximum_growth_rate, half_saturation_1, half_saturation_2, alpha, chlorophyll_to_carbon_ratio)Two-nutrient photosynthetic growth with Liebig limitation and Geider light limitation.
Arguments
R1: first nutrient concentrationR2: second nutrient concentrationP: plankton concentrationPAR: photosynthetically active radiationmaximum_growth_rate: maximum growth rate Pᶜₘₐₓhalf_saturation_1: half-saturation K₁half_saturation_2: half-saturation K₂alpha: photosynthetic slope αchlorophyll_to_carbon_ratio: chlorophyll-to-carbon ratio θᶜ
Agate.Library.Photosynthesis.smith_light_limitation — Method
smith_light_limitation(PAR, alpha, maximum_growth_0C)Smith (1936) formulation of light limitation.
Arguments
PAR: photosynthetically active radiationalpha: initial photosynthetic slope αmaximum_growth_0C: maximum growth rate μ₀ at T = 0 °C
Agate.Library.Photosynthesis.smith_single_nutrient_growth — Method
smith_single_nutrient_growth(R, P, PAR, maximum_growth_0C, nutrient_half_saturation, alpha)Single-nutrient photosynthetic growth with Monod nutrient limitation and Smith light limitation.
Arguments
R: nutrient concentrationP: plankton concentrationPAR: photosynthetically active radiationmaximum_growth_0C: maximum growth rate μ₀ at T = 0 °Cnutrient_half_saturation: nutrient half-saturation kᵣalpha: initial photosynthetic slope α
Predation
Agate.Library.Predation.holling_type_ii — Method
holling_type_ii(P, K)Holling (1959) type-II functional response.
Arguments
P: prey concentrationK: prey half-saturation (prey density at which predation is half its maximum)
Agate.Library.Predation.idealized_predation_gain — Method
idealized_predation_gain(P, Z, assimilation_efficiency, maximum_grazing_rate, half_saturation)Assimilated gain rate to predator Z feeding on prey P.
Arguments
P: prey concentrationZ: predator concentrationassimilation_efficiency: assimilation efficiency βmaximum_grazing_rate: maximum grazing rate gₘₐₓhalf_saturation: prey half-saturation K
Agate.Library.Predation.idealized_predation_loss — Method
idealized_predation_loss(P, Z, maximum_grazing_rate, half_saturation)Loss rate of prey P to predator Z using a squared Holling term.
Arguments
P: prey concentrationZ: predator concentrationmaximum_grazing_rate: maximum grazing rate gₘₐₓhalf_saturation: prey half-saturation K
Agate.Library.Predation.idealized_predation_unassimilated_loss — Method
idealized_predation_unassimilated_loss(P, Z, assimilation_efficiency, maximum_grazing_rate, half_saturation)Unassimilated fraction of idealized predation loss ("sloppy feeding").
Arguments
P: prey concentrationZ: predator concentrationassimilation_efficiency: assimilation efficiency βmaximum_grazing_rate: maximum grazing rate gₘₐₓhalf_saturation: prey half-saturation K
Agate.Library.Predation.preferential_predation_gain — Method
preferential_predation_gain(P, Z, assimilation_efficiency, maximum_grazing_rate, half_saturation, palatability)Assimilated preferential predation gain.
Arguments
P: prey concentrationZ: predator concentrationassimilation_efficiency: assimilation efficiency βmaximum_grazing_rate: maximum grazing rate gₘₐₓhalf_saturation: prey half-saturation Kpalatability: palatability η
Agate.Library.Predation.preferential_predation_loss — Method
preferential_predation_loss(P, Z, maximum_grazing_rate, half_saturation, palatability)Preferential predation loss from prey P to predator Z.
Arguments
P: prey concentrationZ: predator concentrationmaximum_grazing_rate: maximum grazing rate gₘₐₓhalf_saturation: prey half-saturation Kpalatability: palatability η
Agate.Library.Predation.preferential_predation_unassimilated_loss — Method
preferential_predation_unassimilated_loss(P, Z, assimilation_efficiency, maximum_grazing_rate, half_saturation, palatability)Unassimilated fraction of preferential predation loss ("sloppy feeding").
Arguments
P: prey concentrationZ: predator concentrationassimilation_efficiency: assimilation efficiency βmaximum_grazing_rate: maximum grazing rate gₘₐₓhalf_saturation: prey half-saturation Kpalatability: palatability η
Remineralization
Agate.Library.Remineralization.linear_remineralization — Method
linear_remineralization(D, rate)Idealized remineralization of detritus into dissolved nutrients.
Arguments
D: detritus concentrationrate: remineralization rate