Skip to content
blosloos edited this page Apr 13, 2023 · 6 revisions

Description

The R-package SSM is a catchment-based micropollutant routing model for sewage treatment plants. It calculates local and cumulated loads and concentrations of a compound in a river network, following release from human intake and subsequent elimination in sewage treatment plants (STPs) and any lakes in-between or downstream of those STPs.

Available functions

Function calc_load() is the workhorse of this package, and its documentation should be consulted first to understand what this package does. make_topology() is merely an internal helper function for calc_load().

In turn, function wrap_table() is a wrapper function to calc_load(). It uses a table input to calculate minimum and maximum loads and concentrations, as well as different fractions of STP effluent in the river network. It also allows to run simulations for different scenarios years.

Clone this wiki locally