model.monod: Example: Monod model

Description Usage Arguments Details Value Author(s) See Also

View source: R/models.R

Description

Defines a simple Monod model, which is used in the exercises for the Eawag Summer School in Environmental Systems Analysis.

Usage

1

Arguments

par

named vector of parameters

L

observation layout

Details

The Monod model calculates the growth rate as a function of substrate concentration:

r = r_max*C / (K + C)

Parameters are:

r_max maximum growth rate
K half-saturation concentration

The observation layout L contains the concentrations C at which the growth rate 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 Monod model:

var C
r 0.1
r 0.2
r 0.3
... ...

Value

Returns a named vector of model output (growth rates). Names consist of the variable name and evaluation point (concentration), separated by an underscore (for example r_0.1).

Author(s)

Peter Reichert <peter.reichert@eawag.ch>, Lukas M. Weber

See Also

model.monod.external, model.growth, and function checkLayout in package bayesBias


baccione-eawag/EawagSchoolTools documentation built on Dec. 19, 2021, 6:38 a.m.