From 86055315e51da476101caf57e5cb38eb402e5a51 Mon Sep 17 00:00:00 2001 From: Zhen Wu Date: Thu, 3 Oct 2024 14:10:48 -0400 Subject: [PATCH] change the default value in temperature regulation --- src/Plankton/CarbonMode/growth_kernels.jl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Plankton/CarbonMode/growth_kernels.jl b/src/Plankton/CarbonMode/growth_kernels.jl index 3362028b..8ab868c2 100644 --- a/src/Plankton/CarbonMode/growth_kernels.jl +++ b/src/Plankton/CarbonMode/growth_kernels.jl @@ -1,7 +1,7 @@ ##### temperature function for photosynthesis @inline function tempFunc_PS(temp, p) x = temp - p.Topt; xmax = p.Tmax - p.Topt - regT = shape_func_dec(x, xmax, 4.0f-2) + regT = shape_func_dec(x, xmax, 1.0f-1) k = exp(-p.Ea/(8.3145f0*(temp+273.15f0))) * regT k = max(0.0f0, k) OGT_rate = exp(-p.Ea/(8.3145f0*(p.Topt+273.15f0)))