Skip to contents

Set up a model configuration

Usage

configure_model(
  params,
  state,
  name = "unnamed",
  DOMuptake = "MM",
  POMdecomp = "MM",
  MBdecay = "LM"
)

Arguments

params

data.table containing the following columns: parameter, value, and units.

state

a vector of the initial state values, must be named

name

string name of the model configuration, default set to "MEND".

DOMuptake

string indicating the dynamics used to model microbial decomposition of DOM, one of the following "MM", "RMM", or "ECA"

POMdecomp

string indicating the dynamics used to model microbial decomposition of POM, one of the following "MM", "RMM", "ECA", or "LM"

MBdecay

string indicating microbial decay, one of the following ""LM" or "DD"

See also

Other helper functions: update_params(), update_state()