View source: R/geeraerd_model.R
dGeeraerd_model | R Documentation |
Calculates the first derivative of the Geeraerd's model at a given time for the model parameters provided and the environmental conditions given.
dGeeraerd_model(t, x, parms, temp_profile)
t |
numeric vector indicating the time of the experiment. |
x |
list with the values of the variables at time t. |
parms |
parameters for the secondary model. No explicit check of their validity is performed (see section Model Parameters). |
temp_profile |
a function that provides the temperature at a given time. |
This function is compatible with the function
predict_inactivation
.
A list with the value of the first derivatives of N and C_c at time
t
.
dN/dt = - N * k_max * α * γ
dC_c/dt = - C_c * k_max
α = 1/(1+C_c)
γ = 1 - N_res/N
k_max = 1/D_T
log(D_T) = log(D_R) + (T_R-T)/z
temp_ref: Reference temperature for the calculation,
D_R: D-value at the reference temperature,
z: z value,
N_min: Minimum value of N (defines the tail).
To define the Geeraerd model without tail, assign N_min = 0
.
For the model without shoulder, assign C_0 = 0
predict_inactivation
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.