SWMM5-Python
From assela Pathirana
Jump to navigationJump to search
This is a python module for running SWMM5 model via python and extract results as python objects.
Download
Install and Test
Linux
- Make sure gcc and ld are available.
- Install python (2.6 or 2.7), python-dev, numpy, matplotlib.
- Install swig
- as root run: python setup.py install
Windows
- Install python 2.6 or 2.7, numpy, matplotlib
- Copy _swmm5.pyd and swmm5.py to <python installation root>/Lib/site-packages directory
Testing
- Run swmm5_test.py in src directory.