Derivatives of SALMO

Description

Main model function to be called from ode solvers (Fully mixed one-box version).

Usage

1
2
3
salmo_1box(time, x, p, inputs, ndx)

salmo_2box(time, x, p, inputs, ndx)

Arguments

time

simulation time (days)

x

state vector in correct order

p

list containing constant model parameters

inputs

input vector (environmental conditions)

ndx

hashtable (environment) of indexes and counters

Value

list, first element contains the derivatives, other elements can contain optional outputs

Want to suggest features or report bugs for rdrr.io? Use the GitHub issue tracker.