Skip to contents

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

  1. 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).

  1. Install the package:
install.packages("remotes")
remotes::install_github("tpetzoldt/salmoRodeo")
  1. Read the Get started-vignette.

  2. Perform some simulations.

  3. Give feedback to the package authors.