Latest version

US EPA SWMM5 and SWMM4 archived downloads and version. Latest Official Version of US EPA SWMM. Version: 5.1. Support files, example files, and release notes. There's a whole community to support you: Open SWMM. Get answers, suggest improvements, share modifications and more with the Knowledge Base and Code Viewer. I have put 13 working SWMM 5 water quality examples on that were translated from SWMM 3 and SWMM 4 to SWMM 5. I think they illustrate most of the buildup. Hi everybody does anyone know where can i find example applications and samples for getting more familier. You can also download 20 input files from the SWMM W3.

PCSWMM is advanced modeling software for EPA SWMM 5 stormwater, wastewater and watershed systems.

Last released:

SWMM5 calls from python

Project description

SWMM5 Python calling interface(c) Assela PathiranaReleased under GNU GPL v.3

Release History:

version first production (non-beta) release.

version version with new SWMM 5.1 version (instead of SWMM 5.0)



As of version SWMM5 is verified to work with Python 3 as well.

Now (as of version the package is provided as python Wheel too. This means for windows the following command should install SWMM5

Alternatively, use the SWMM5-x.y.z.k.win32.exe file downloaded from the repository for click and install.

If you have your own C compilers, then can be used to install as


Download can be used to install as

Or, just with,


New Interface:
One should always use the new interface. The old interface (below) is left only for backward compatibility. The key features of new interface are
  • More pythonic interface
  • A number of convenience functions

Import new interface and run SWMM

Example 1:Retrive simulation properties.
Example 2:Prints available entities
Example 3:Results
Example 4:Pollutant Concentration
Example 5:Tracking output files

Thread Safety

Calling SWMM5Simulation with input file as only argument (SWMM5Simulation willchoose the report and binary output file names) and subsequent use of the objectto retreive results is threadsafe to the degree I could verify.

There is a test in the test directory, which can be run to test this to some degree. It should be run as python

Legacy interface

Note:This is provided only for backward compatibility. Always use the new interface (above).

import swmm5 module

run a sample network

should return 0 if everything is OK (according to to swmm convension)

Now it is possible to retrive results.Open the swmm results file

How many time steps are there?


Let鈥檚 retrive rainfall in the system.Systems rainfall at fifth timestep

Project details

Release historyRelease notifications

5.1.12 pre-release pre-release pre-release pre-release pre-release pre-release pre-release

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for SWMM5, version 5.1.12
Filename, sizeFile typePython versionUpload dateHashes
Filename, size SWMM5-5.1.12-cp27-cp27m-win_amd64.whl (268.6 kB) File type Wheel Python version cp27 Upload dateHashes
Filename, size SWMM5-5.1.12-cp36-cp36m-win_amd64.whl (332.4 kB) File type Wheel Python version cp36 Upload dateHashes
Filename, size SWMM5-5.1.12-cp37-cp37m-win_amd64.whl (317.4 kB) File type Wheel Python version cp37 Upload dateHashes
Filename, size SWMM5-5.1.12.tar.gz (380.2 kB) File type Source Python version None Upload dateHashes
Filename, size (498.8 kB) File type Windows Installer Python version 2.7 Upload dateHashes
Filename, size (926.7 kB) File type Windows Installer Python version 3.6 Upload dateHashes

Hashes for SWMM5-5.1.12-cp27-cp27m-win_amd64.whl

Swmm Example Download

Hashes for SWMM5-5.1.12-cp27-cp27m-win_amd64.whl
AlgorithmHash digest

Hashes for SWMM5-5.1.12-cp36-cp36m-win_amd64.whl

Hashes for SWMM5-5.1.12-cp36-cp36m-win_amd64.whl
AlgorithmHash digest

Epa Swmm Manual

Hashes for SWMM5-5.1.12-cp37-cp37m-win_amd64.whl

Hashes for SWMM5-5.1.12-cp37-cp37m-win_amd64.whl
AlgorithmHash digest

Hashes for SWMM5-5.1.12.tar.gz

Hashes for SWMM5-5.1.12.tar.gz
AlgorithmHash digest

Hashes for

Hashes for
AlgorithmHash digest

Epa Swmm 5 Tutorial

Hashes for

Xp Swmm Download

Hashes for
AlgorithmHash digest