Abstract
The Storm Water Management Model (SWMM) is a dynamic simulation engine of flow in
sewer systems developed by the USEPA. It has been successfully used for analyzing and designing
both storm water and waste water systems. However, despite including some interfacing functions,
these functions are insufficient for certain simulations. This paper describes some new functions that
have been added to the existing ones to form a library of functions (Toolkit). The Toolkit presented
here will allow the direct modification of network data during simulation without the need to access
the input file. To support the use of this library, a testing protocol was performed in order to evaluate
both calculation time and accuracy of results. Finally, a case study is presented. In this application,
this library will be used for the design of a sewerage network by using a genetic algorithm based on
successive iterations.