Subject: Runoff Routing Options Example in SWMM 5 There are six options for runoff routing in SWMM 5: All Runoff to an Outlet Node All Runoff to another Subcatchment All Runoff to the Pervious Area of the Subcatchment or other Subcatchment All Runoff to the Impervious Area of the Subcatchment. National Risk Management Research Laboratory. Downloads between August 2011 and January 2012. Examples of SWMM 5’s Versatility. 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.
Latest versionLast released:
SWMM5 calls from python
Project description
SWMM5 Python calling interface(c) Assela PathiranaReleased under GNU GPL v.3
Release History:
version 1.0.0.1 first production (non-beta) release.
version 1.1.0.1 version with new SWMM 5.1 version (instead of SWMM 5.0)
Installation:
Windows: |
---|
![Download Download](/uploads/1/2/6/0/126031052/962843138.jpg)
As of version 1.0.0.1 SWMM5 is verified to work with Python 3 as well.
Now (as of version 1.0.0.1) 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 SWMM5-x.y.z.k.zip can be used to install as
Linux: |
---|
Download SWMM5-x.y.z.k.zip can be used to install as
Or, just with,
Usage:
New Interface: |
---|
- 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 test_multithreading.py in the test directory, which can be run to test this to some degree. It should be run as python test_multithreading.py.
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
5.1.0.102
5.1.0.10
1.1.0.3
1.1.0.2
1.1.0.2dev pre-release
1.1.0.1dev pre-release
1.0.0.1
1.0.0.1dev pre-release
1.0.0.0dev pre-release
0.4.1.0
0.4.1.0dev pre-release
0.4.0.0dev pre-release
0.3.3.0dev pre-release
0.3.2.0
0.3.1.0
0.3.0.0
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Filename, size | File type | Python version | Upload date | Hashes |
---|---|---|---|---|
Filename, size SWMM5-5.1.12-cp27-cp27m-win_amd64.whl (268.6 kB) | File type Wheel | Python version cp27 | Upload date | Hashes |
Filename, size SWMM5-5.1.12-cp36-cp36m-win_amd64.whl (332.4 kB) | File type Wheel | Python version cp36 | Upload date | Hashes |
Filename, size SWMM5-5.1.12-cp37-cp37m-win_amd64.whl (317.4 kB) | File type Wheel | Python version cp37 | Upload date | Hashes |
Filename, size SWMM5-5.1.12.tar.gz (380.2 kB) | File type Source | Python version None | Upload date | Hashes |
Filename, size SWMM5-5.1.12.win-amd64-py2.7.exe (498.8 kB) | File type Windows Installer | Python version 2.7 | Upload date | Hashes |
Filename, size SWMM5-5.1.12.win-amd64-py3.6.exe (926.7 kB) | File type Windows Installer | Python version 3.6 | Upload date | Hashes |
Hashes for SWMM5-5.1.12-cp27-cp27m-win_amd64.whl
Algorithm | Hash digest |
---|---|
SHA256 | caa300b08f686561434afd1d6e6bc209aff37b15d0bf47d4787f84f9ac12c850 |
MD5 | 6b036338b042f273df5093561093f8e8 |
BLAKE2-256 | 2418225632a715d4914f14961a4e0f1d4f2cb6afb5b68f343a6effcbac12bddf |
Hashes for SWMM5-5.1.12-cp36-cp36m-win_amd64.whl
Algorithm | Hash digest |
---|---|
SHA256 | ab7aa5811304402f895d6ac8071fdfa3d3aace8f21220353a39fb639fb9bf2aa |
MD5 | f789acaac389f31a9bc0324bcefe02ff |
BLAKE2-256 | aa9578f54417ae29d3914032e65ad0fda7a5c60aeac8d9305e3b2e4b1af6aa3c |
Hashes for SWMM5-5.1.12-cp37-cp37m-win_amd64.whl
Algorithm | Hash digest |
---|---|
SHA256 | e84b510a7b1f1f799e430c4c422d62e7f62c7af3b1242f6724f4beba6cd13833 |
MD5 | ae5f57e4092c6a1c68df8b286da871fb |
BLAKE2-256 | 02931ec984329707b280e06e738f073575e7cec6de21cff39778549e3129f45b |
Hashes for SWMM5-5.1.12.tar.gz
Algorithm | Hash digest |
---|---|
SHA256 | 3fa15cd518953f886bf3640b42dd5e893c95d5583c87eabd55fb306f7e7cc7d9 |
MD5 | 2cdd6ab7e0f2ee59f319085ed014aefb |
BLAKE2-256 | 5c508ace58a5729654c44a80b60549ae1738803c6ecd8b400348abb76cb2855f |
Hashes for SWMM5-5.1.12.win-amd64-py2.7.exe
Algorithm | Hash digest |
---|---|
SHA256 | 8615bdc7f71958ec0a397cca21acd5417865a7c8e66d7edc57037f5b36a31674 |
MD5 | 6009177ff96064d8aba70230ef7b41cb |
BLAKE2-256 | bf460269cf7b96657ef5c1db00fef2a0ac7f2649982f80f37d9cd90ab92e4a88 |
Hashes for SWMM5-5.1.12.win-amd64-py3.6.exe
Excel Pivot Table Example Download
Algorithm | Hash digest |
---|---|
SHA256 | bf2eed52bd456764209ea85ed0c5df988509b945862cef63b495f7550b0e1117 |
MD5 | ce048b6537bee0e2531dc981444d1a1c |
BLAKE2-256 | d6c80489f0768fcf2f6a28a86bda8233ff2d8a7774b3f540137f1fa960673012 |