Skip to content
Bryant E. McDonnell edited this page Jan 2, 2017 · 5 revisions

Welcome to the Stormwater-Management-Model wiki!

Abstract

In support of the OpenWaterAnalytics open source initiative, the PySWMM project encompasses the development of a Python interfacing wrapper to SWMM5 with parallel ongoing development of the USEPA Stormwater Management Model (SWMM5) application programming interface (API). The SWMM5 Extended API is being developed to enable wrapper to access the SWMM5 data model to facilitate rapid prototyping enabling users to observe simulated values during simulation time, change controllable features, such as weir and pump settings, as well as load externally generated inflows to a node during simulation time. The over-arching goal is to provide the community with a complete collection of low-level interfacing functions through which the user can access the entire data model as well as make modifications (getters and setters). Until the recent work on the extended SWMM5-API, complex control configurations required special non-connected hydraulic units known generally as ''widgets'' that had to be incorporated to track state systems (e.g. WWF, DWF, ramping up, ramping down). With the development of PySWMM, control algorithms can now be developed exclusively in Python which allows the use of functions and objects as well as storing and tracking hydraulic trends (running averages). Enabling complex controls rules opens the door to faster prototyping for basin-wide coordinated control frameworks such as agent-based modeling or market-based optimization and more easily facilitates the implementation of machine learning techniques such as a support vector machine to be used as forecasting tools. Some of these tools are demonstrated within. Allowing users to programmatically assign inflow rate values to nodes provides a framework for making model run faster. Models can run faster by replacing a tributary pipe network with a trained neural network. As the project evolves, the SWMM-API will provide a complete interfacing framework that gives full access to the SWMM data model, active simulation results and stability, and simulated output values.

Clone this wiki locally