MatSWMM is an open-source Matlab, Python, and LabVIEW-based software package for the analysis and design of real-time control (RTC) strategies in urban drainage systems (UDS). MatSWMM includes control-oriented models of UDS, and the storm water management model (SWMM) of the US Environmental Protection Agency (EPA), as well as systematic-system edition functionalities. Furthermore, MatSWMM is also provided with a population-dynamics-based controller for UDS with three of the fundamental dynamics, i.e., the Smith, projection, and replicator dynamics. The simulation algorithm, and a detailed description of the features of MatSWMM are presented in this wiki in order to illustrate the capabilities that the tool has for educational and research purposes.
Check out our last publication!
- Project: MatSWMM
- Version: 1.0
- Date: 06/23/14
- License: GNU General Public License v3.0
This is an open source toolbox with basic functions to compute cosimulation processes with SWMM. The main goal of this module is to allow its users to design optimization models and real time control systems, for drainage systems (e.g. it can be used to link SWMM with ArcGIS).
- Download the repo
- Select your toolbox DLL depending on your Matlab architecture (32bits or 64bits)
- Save the "swmm.dll" and the "swmm.h" files in the "SWMM Matlab" folder
- Create a SWMM object to use the functionalities
swmm = SWMM;
- Check the example file, run it and learn its structure to develop a new project with SWMM for Matlab
- Download swmm.py and swmm.dll (Be careful saving the files, both have to be saved in the same folder)
- Import swmm.py
import swmm
from swmm import *
* You got set up! If you need help read the documentation of the module and its functions * Try the demo - example.py
- Download all the files from the LabVIEW module folder, (if your system is Win32 download the appropiate DLL for your system and replace the one that you downloaded from the LabVIEW module folder with it).
- Open the SWMM_toolkit project file and check the functionalities that are available.
- That's all, with the downloaded files you can now run the example.vi file.
If you have any doubt or you want to fork the repo for new DLL functions, please send an email to:
- Gerardo Riaño Briceño - ga.riano949@uniandes.edu.co