SWMM5-Python

From assela Pathirana
Revision as of 20:11, 21 April 2012 by Root (talk | contribs)
Jump to navigationJump to search
QT4Agg Swmm5 python.png

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.