This package is developed manly for teaching purposed at TUHH. The students should learn process modelling features and the complexity of the wastewater treatment system. The modelica language was a very fruitful approach, because the students can develop a complex model and don’t have to worry about the numerical methods to solve their equation. To give the student a sustainable tool, open source software was required. Thank’s to Lund University to publish the OpenModelica platform ( that included the modelica library. The basic constructs are working perfectly but many libraries (as well as third party libraries) are leading to frustration, because they have a limited documentation and have buggs in OpenModelica.

The Wastewater package, originally developed by Gerald Reichl were adopted to Dymola, (C) Dassault Systèmes(R), where the free version is not able to solve these amount on equations.
In Modelica a concept of “connector” exist that is relaxed in Dymola. Another argument is to develop a wastewater library for wastewater professional/student to make use in practise and
education. The original approach was more adopted to controll engineering and matlab/simulik.

Gerald Reichl took a lot of work to make nice icons, that are recycled in this approach. He made models for ASM 1,2d, and 3 and different clarifier models. Here we are focusing on the ASM1 only and a simplifierd clarifier model and the model of Takács only. The clarifier model have a minor effect to the result and one model gives a good base for further development. In addition, a suldge treatment in involved, with thickener and centrifuge as well as anaerobic digester. The anaerobic digster model ADM is mainly developed for sludge digestion. The implementation was mainly done by Moritz Liedke in the frame of his master thesis at TUHH. In the frame of this documentation the wastewater models are not explained. Please refer following references:

Henze M., Grady Jr C.P.L., Gujer W., Marais G.v.R. and Matsuo T. (1986): Activated sludge model No.1, IAWQ Scientific and Technical Report No.1, IAWQ, London. IWA Task Group for Mathematical Modelling. Activated Sludge Models. IWA Publishing

D.J. Batstone et al. (2002): The IWA Anaerobic Digestion Model No.1 (ADM1). Water Science and Technology

IWA Task Group for Mathematical Modelling of Anaerobic Digestion Processes. Anaerobic Digestion Model No.1 (ADM1). IWA Publishing, 2002 read at May 3 2019 at May 3 2019