Re-Implementation of the Classical SALMO Model
Status: work in progress (alpha)
The current implementation employs the Gujer-Petersen Matrix notation and the R package rodeo to generate fast Fortran code, that is then solved as initial value problem using the deSolve package in R.
The current version implements a single layer, which could be useful for shallow lakes. It could also serve as a starting point for a 1D version coupled to a hydrophysical driver or for further work on the biogeochemical process descriptions.
Installation and Getting started
- Install the prerequisites
Install a recent version of R, e.g. 4.4.x or newer and the development toolchain (compilers), e.g. RTools on Windows or the r-base-dev package on Linux/Ubuntu (sudo apt-get install r-base-dev
).
- Install the package:
install.packages("remotes")
remotes::install_github("tpetzoldt/salmoRodeo")
Read the Get started-vignette.
Perform some simulations.
Give feedback to the package authors.