Description Usage Arguments Details Value Author(s) See Also
Defines a simple growth model, which is used in the exercises for the Eawag Summer School in Environmental Systems Analysis.
1 | model.growth(par,L)
|
par |
named vector of parameters |
L |
observation layout |
Calculates the growth of micro-organisms on a substrate in a batch reactor:
dC_M/dt = mu * C_S/(K+C_S) * C_M - b*C_M
dC_S/dt = -(mu/Y) * C_S/(K+C_S) * C_M
State variables are:
C_M | concentration of micro-organisms in the reactor |
C_S | concentration of substrate in the reactor |
Parameters are:
mu | maximum growth rate of micro-organisms |
K | half-concentration of growth rate with respect to substrate |
b | rate of death and respiration processes of micro-organisms |
Y | yield of growth process |
C_M_ini | initial concentration of micro-organisms |
C_S_ini | initial concentration of substrate |
The observation layout L
contains the variable names and time points at which the model is to be evaluated. L
should be a data frame with two columns. The first column contains the names of the variables to be evaluated, and the second column contains the time points (or other evaluation steps) for the model. See function checkLayout
in package bayesBias
for more details. For example, for the growth model:
var | t |
C_M | 1 |
C_M | 2 |
C_M | 3 |
... | ... |
C_S | 1 |
C_S | 2 |
C_S | 3 |
... | ... |
Returns a named vector of model output (concentrations). Names consist of the variable name and evaluation point (time), separated by an underscore (for example C_M_1
).
Peter Reichert <peter.reichert@eawag.ch>, Lukas M. Weber
model.monod
, model.monod.external
, and function checkLayout
in package bayesBias
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.