baranyi_diff_without_Nmax: The differential form of the predictive growth model...

Description Usage Arguments Details Value Examples

View source: R/baranyi_diff_without_Nmax.R

Description

The differential form of the predictive growth model developed by Baranyi & Roberts in 1994, to predict microbial growth in food environments.

Usage

1

Arguments

t

time vector

state

initial values of y and Q for the first time value.

parameters

parameter list

Details

\begin{equation}\mathrm{d} \mathrm{Q}=\mathrm{mu_{max}}^{*} \mathrm{Q}\end{equation}

\begin{equation}d y=(Q /(1+Q))^{*} \operatorname{mu_{max}}^{*} y\end{equation}

Value

dQ, dy

Examples

1
2
3
4
5
6
7
8
9
library(deSolve)
K=9.21
Q=1/((1/exp(-K))-1)
state<-c(Q=Q,y=15)
time<-seq(0,70, 1)
parameters<- c(mumax=1)
out_baranyi_without_lag<-ode(y = state, times = time, func = baranyi_diff_without_Nmax,
parms = parameters)
plot(time,log10(out_baranyi_without_lag[,"y"]),lty=1,col='red')

Ghayabh/bacterial-growth documentation built on Dec. 31, 2020, 12:04 p.m.