Giter Site home page Giter Site logo

sjqfy / matswmm Goto Github PK

View Code? Open in Web Editor NEW

This project forked from gandresr/matswmm

0.0 0.0 0.0 37.38 MB

An open-source toolbox for designing real-time control of urban drainage systems

Home Page: https://www.sciencedirect.com/science/article/pii/S1364815216301451

License: GNU General Public License v3.0

C++ 0.84% Python 1.81% C 93.82% Objective-C 0.03% MATLAB 3.15% LabVIEW 0.35%

matswmm's Introduction

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!

Resources

What is this repository for?

  • 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).

How do I get set up?

MatSWMM for Matlab
  1. Download the repo
  2. Select your toolbox DLL depending on your Matlab architecture (32bits or 64bits)
  3. Save the "swmm.dll" and the "swmm.h" files in the "SWMM Matlab" folder
  4. 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
MatSWMM for Python
  1. Download swmm.py and swmm.dll (Be careful saving the files, both have to be saved in the same folder)
  2. Import swmm.py

import swmm

Or import everything directly

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
MatSWMM for LabVIEW
  1. 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).
  2. 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.

Who do I talk to?

If you have any doubt or you want to fork the repo for new DLL functions, please send an email to:

matswmm's People

Contributors

gandresr avatar gandresr-pro avatar giap-uniandes avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.