Python Wrapper for Stormwater Management Model (SWMM5)
- Documentation
- http://pyswmm.readthedocs.io/en/latest/
- Development
- https://github.com/OpenWaterAnalytics/pyswmm/
- PySWMM Wiki
- https://github.com/OpenWaterAnalytics/pyswmm/wiki/
US EPA SWMM Introduction. EPA's Storm Water Management Model (SWMM) is used throughout the world for planning, analysis and design related to stormwater runoff, combined and sanitary sewers, and other drainage systems in urban areas. There are many applications for drainage systems in non-urban areas as well.
Build status
Project information
YouTube Examples
- Stream Results and Adjust Weir Setting
Overview
PySWMM is a Python language software package for the creation,manipulation, and study of the structure, dynamics, and function of complex networks.
With PySWMM you can load and manipulate USEPA Stormwater Management Models.With the development of PySWMM, control algorithms can now be developed exclusivelyin Python which allows the use of functions and objects as well as storing andtracking hydraulic trends for control actions.
Who uses PySWMM?
PySWMM is used by engineers, modelers, and researchers who want to streamlinestormwater modeling optimization, controls, and post-processing results.
Goals
PySWMM is intended to provide
- tools for the study of the structure anddynamics within USEPA SWMM5,
- a standard programming interface and graph implementation that is suitablefor many applications,
- a rapid development environment for collaborative, multidisciplinaryprojects,
- an interface to USEPA SWMM5,
- development and implementation of control logic outside of native EPA-SWMM Controls,
- methods for users to establish their own node inflows,
- a coding interface to binary output files,
- new modeling possibilities for the SWMM5 Community.
Download
Get the latest version of PySWMM fromhttps://pypi.python.org/pypi/pyswmm/
To get the git version do
Usage
A quick example that steps through a simulation:
Examples:
Intialize using with statement. This automatically cleans upafter a simulation
Initialize the simulation and execute. This style does not allowthe user to interact with the simulation. However, this approachtends to be the fastest.
Intialize a simulation and iterate through a simulation. Thisapproach requires some clean up.
Bugs
Our issue tracker is at https://github.com/OpenWaterAnalytics/pyswmm/issues.Please report any bugs that you find. Or, even better, fork the repository onGitHub and create a pull request. All changes are welcome, big or small, and wewill help you make the pull request if you are new to git(just ask on the issue).
License
![Download Epa Swmm Download Epa Swmm](/uploads/1/2/3/7/123736495/958363826.png)
Distributed with a BSD2 license; see LICENSE.txt:
Powered By
- EmNet LLC:
- Open Storm:
Acknowledgements
- Tim Cera
- Assela Pathirana