SWMM 5, InfoSWMM, H20MAP SWMM, InfoSewer for Water Quality,Hydrology, Hydraulics, 2D and RTC

Introduction

Stormwater Management Model (SWMM) Information for watershed water quality, hydrology and hydraulics modelers (not associated with the EPA)  We also cover modeling in general, InfoSWMM, InfoSewer, IWCS, IW ICM, Rainfall, Evaporation and general programming connected to the SWMM 5 program. If you enter a search word of phrase in the Custom Search Engine dialog below it will search just this site.
Another new and a method I really like is to search my Twitter Feed - Click Here to See An Example.
Search should be @RDICKINSON followed by a Keyword

All Forums

Sample code and example for link SWMM to Matlab

Hello folks, I was happy for the fact that I found this website but my excitement didnt last long! I read all of the dicussions here but I couldnt find a post which directly show me how to connect Matlab to SWMM. Yes, you do parallel processing and all of the fancy stuff with SWMM but I still don't know how call the SWMM! I may have missed something. I'm looking for a sample code to call SWMM from Matlab and do some changes to calibrate and essentially optimize the specific parameters. I think it would be great if someone could write up a little step by step manual and put some example code in this regard. Or even better, it would be awesome if you can make a folder of all the necessary files that are needed to do the job (i.e. swmm dll, example inp file, the m file that calls swmm, ...) and put it somewhere like dropbox for d0wnload. Hope to hear from you soon, Andrei

Read more…
0 Replies

Shape Curve Viewer

Hello everyone, I'm modeling a a simple sewer system. For that I need to define the specific geometry for each sewer of the system. However, when I introduce it, the shape curve viewer only show me the bottom half of my sewer. Is it simply a problem with the viewer or does SWMM ignore the upper half for certain a reason? I'm afraid this will have an influence on the storm water flow calculation.  In the linked picture, you can see on the right the sewer I would like to represent in SWMM and on the left what SWMM show me. I introduced the values manually in the Shape Curve Editor geometry.png Thanks for your help. Best, Nicolas

Read more…
0 Replies

Antecedent dry days for a single event and in a continuous simulation

Hi, i hope someone can help me about this misunderstanding:  considering a single precipitation event, i can not undestrand if i have to insert, as imput, the "initial build up" or the "antecedent dry days", or both of them. I guess i have to set only the "initial build up"  (because, knowing antecedent dry days, i can estimate it), is that so? Instead, in a continuos simulation, what should i do? I guess, in this case, that SWMM derives "antecedent dry days" directly from time series, and "initial build up" (before each event) considering the material's quantity not washed during the previous event... I'm sorry for my english, I hope I was clear, and that someone can explain this question

Read more…
0 Replies

Overland Flow length computation in ArcGIS

I tried to estimate the length of overland flow using Flow Direction and Flow Length tool in ArcGIS. But the problem is that my sub catchments are mostly of rectangular shape (i.e. not he originally delineated sub watershed).  I would like to make one more point that earlier I have taken the square root of sub-catchment area to estimate the width of the catchment. I am not sure about the applicability of any of  the aforementioned method for estimating the width of the catchment,  please write your opinions.  Any help will be highly appreciated.  

Read more…
0 Replies

Pond design in SWMM

Dear Bob I am trying to design a pond in SWMM where I want to maintain atleast 1m depth of water before allowing the discharge from the pond. For this I have given 1m initial depth of water in the pond and kept its height as 2.5 m, but while simulating it water is depleting below 1m depth, how is it possible? What could be the error in my model setup ? Please have a look in the result.

Read more…
0 Replies

How to model a side entry pit in SWMM?

Hi there users, I'm currently using SWMM V5 to model the drainage network for a small urban catchment. There are a few side entry pits along the road—these pits capture road runoff.  I was wondering, is there a way in SWMM to specify the inlet capacity of such pits?  In reality, such pits do not have "unlimited" inlet capacity and I would be keen to capture this in my model. Thanks, Matt.

Read more…
0 Replies

VARIABLE_STEP format

Hello everyone, I just started working with swwm 5.1 and I'l already stuck... I try a very simple model to understand how the software works and I can't run anything at all. Here is the example I'm working on (in fact it's simply the tutorial proposed by EPA) model.png When I try to compile it, I received the error message:   ERROR 211: invalid number 0,80 at line 31 of [OPTION] section:  VARIABLE_STEP However, no matter what I change in the option panel, I can't solve this error. It is said in the documentation that such an error is a wrong number format (negative number for instance). As it is a by default value I just don't know what to do. Does anyone has an idea how to proceed? Thanks in advance, Best, Nicolas

Read more…
11 Replies · Reply by Robert Dickinson Apr 15

MatLab and SWMM5

Sample code and example for link SWMM to Matlab

Hello folks, I was happy for the fact that I found this website but my excitement didnt last long! I read all of the dicussions here but I couldnt find a post which directly show me how to connect Matlab to SWMM. Yes, you do parallel processing and all of the fancy stuff with SWMM but I still don't know how call the SWMM! I may have missed something. I'm looking for a sample code to call SWMM from Matlab and do some changes to calibrate and essentially optimize the specific parameters. I think…

Read more…
0 Replies

Re: parallel swmm and matlab

Hi Ive been running an optimization of swmm using matlab. I was hoping to use the multistart and ga algorithms in parallel mode so I could make use of a multicore PC. I havent been able to get this running  (serial optimization is ok), since parallel calls are being made to SWMM and something is being overwritten.. What Ive tried is: - rename SWMM5.exe in matlab folder to SWMM5_1,2,3 corresponding to the core no. - assign the current .inp file to the current core number - cycle through the…

Read more…
4 Replies · Reply by Dave Morgan Mar 2

editing subcatchment, node and conduit parameters using swmm5 interface commands

Hi there, I am going to edit some parameters in swmm5 input file through swmm5 interface commands. Is it possible to do that or not? I can find some commands to read results for example GetSingleResult to view simulation results for particular parameters but I can not find any commands to change some particular parameters as an new input file. I think this can be done for Epanet2 through epanet toolkit.  Please tell me if it is possible to change input file parameters (for example…

Read more…
2 Replies · Reply by yasert Mar 5, 2013

How can MATLAB change some parameters in SWMM5 inp file?

Dear all,I want to use MATLAB and SWMM5 for optimal calibration. In doing so:1) MATLAB has to generate some random values (decision variables) as inputs for SWMM5 (here is width of subcatchments2)Previous subcatchment widths replaced with New ones. So it is necessary that MATLAB reads inp file and replaces older subcatchment widths with generated values.3)SWMM5 has to run in DOS version (swmm54)MATLAB has to read rpt file and picks some result to calculate objective function5) generate other…

Read more…
7 Replies · Reply by Robert Dickinson Apr 8, 2013

linking SWMM5 GUI to MATLAB

Hi every body I want to design urban drainage system using optimization technique. Decision variable is for example ( pipe diameter).  My optimization code develops in MATLAB. How can I link MATLAB with SWMM5 so that in each iteration pipe diameters are chosen and SWMM is run. Objective function are then  determined and next iteration will be started  the same as previous iteration. I have a question about above mentioned problem: Can I link MATLAB with SWMM5 GUI or not? If yes, How? If no, is…

Read more…
28 Replies · Reply by zahra zahmatkesh Jun 28, 2013

How to Make an Excel Fixed Width File from SWMM 5

How to Make an Excel Fixed Width File from SWMM 5 You can use this macro for MATLAB or some other DOS based program by using the Tools command of SWMM 5 and configuring the EXCEL file option.  If you use the EXCEL tool then your SWMM 5 input file will be opened up in EXCEL and you can use this macro to make a fixed format file for SWMM 5.  Note, SWMM 5 does not use fixed format but other programs may need it for reading,  You adjust the column widths in the macro for your program. Here…

Read more…
0 Replies

SWMM5 Forums

Shape Curve Viewer

Hello everyone, I'm modeling a a simple sewer system. For that I need to define the specific geometry for each sewer of the system. However, when I introduce it, the shape curve viewer only show me the bottom half of my sewer. Is it simply a problem with the viewer or does SWMM ignore the upper half for certain a reason? I'm afraid this will have an influence on the storm water flow calculation.  In the linked picture, you can see on the right the sewer I would like to represent in SWMM and on…

Read more…
0 Replies

Overland Flow length computation in ArcGIS

I tried to estimate the length of overland flow using Flow Direction and Flow Length tool in ArcGIS. But the problem is that my sub catchments are mostly of rectangular shape (i.e. not he originally delineated sub watershed).  I would like to make one more point that earlier I have taken the square root of sub-catchment area to estimate the width of the catchment. I am not sure about the applicability of any of  the aforementioned method for estimating the width of the catchment,  please write…

Read more…
0 Replies

Pond design in SWMM

Dear Bob I am trying to design a pond in SWMM where I want to maintain atleast 1m depth of water before allowing the discharge from the pond. For this I have given 1m initial depth of water in the pond and kept its height as 2.5 m, but while simulating it water is depleting below 1m depth, how is it possible? What could be the error in my model setup ? Please have a look in the result.

Read more…
0 Replies

VARIABLE_STEP format

Hello everyone, I just started working with swwm 5.1 and I'l already stuck... I try a very simple model to understand how the software works and I can't run anything at all. Here is the example I'm working on (in fact it's simply the tutorial proposed by EPA) model.png When I try to compile it, I received the error message:   ERROR 211: invalid number 0,80 at line 31 of [OPTION] section:  VARIABLE_STEP However, no matter what I change in the option panel, I can't solve this error. It is said…

Read more…
11 Replies · Reply by Robert Dickinson Apr 15

Simulating Leaf Gates

I am trying to determine the best way to represent "leaf" gates in SWMM5.  The gate consists of two panels that overlap each other.  The top gate serves as an overflow weir and drops as the upstream water level rises.  If the top gate is fully lowered and the upstream water level is still rising, then both gates would be lifted up to create an underflow outlet.  This would then eliminate the overflow aspect.   My thought is to model two separate gates.  The overflow gate would need some kind of…

Read more…
1 Reply · Reply by Peter deGolian Mar 17

SWMM5.EXE

Could someone help me how to create SWMM5.EXE to run SWMM5 from DOS command? I downloaded source code from EPA site < Source code for the SWMM 5.0.022 computational engine> and followed the instruction given in readme.txt file under "makefiles\VC6_CON" directory.   When I give the command <nmake /f SWMM5-CON.MAK> it gives an error message:  'nmake' is not recognized as an internal, or external command, operable program or batch file.

Read more…
2 Replies · Reply by Krishna Mar 14

SWMM5 Blogs

Modeling "Leaf" Gates

I am trying to determine the best way to represent "leaf" gates in SWMM5.  The gate consists of two panels that overlap each other.  The top gate serves as an overflow weir and drops as the upstream water level rises.  If the top gate is fully…

Read more…

Diversion Sturctures and SSO events in SWMM 5

I'm a new user to SWMM and i'm currently trying to model SSO events at a waste water treatment plant. I've been using dynamic routing and I've been having trouble modeling the diversion structure. Currently I have a storage node acting as a wet…

Read more…
Comments: 1

Running SWMM5 Using .bat files

Hi Robert,

I have a folder with many inp files representing different urbanization scenarios for a watershed in VA. I would like to automate the processing of this files because it is something I'll most probably will have to do…

Read more…
Comments: 1

Large data output extraction in SWMM

Hi,

I have developed a model with 33 subcatchments using 1 year hourly  rainfall data. The problem is when I try to get the runoff for all the subcatchments it says '' too many objects to display".

It would be really…

Read more…
Comments: 1

hi,

i have every 1h of total 12h rainfall time series data and run for 12h . so i got total precipitation in status report is 108 mm but when i sum up total time series is 112mm which is grater then report.

moreover when i…

Read more…
Comments: 1

thanks bob for your reply, can you tell me another issues like total precipitation in status report how it is calculated? i am using time series rainfall for 10 minute interval as intensity. total precipitation value and depth in status are not…

Read more…
Comments: 2

flood Volume in canal system

hi, how to calculate the volume spilled from
the Khals in SWMM 5.0?
can anyone help on this issue?
In Status report of SWMM, final storage volume is shown after simulation. is this value  my required value? please help on this…

Read more…
Comments: 3

Forum Categories

The Forum Categories are greatly expanded.  If you go to the Menu Item Forums you can get discussions on Matlab and DOS SWMM5, SWMM5, InfoSWMM, InfoSewer, Hydrology in SWMM5, Hydraulics in SWMM5, Water Quality and SWMM 5 LID's.  The Blogs and the Forums now have either categories of Tab Linked Searches for SWMM5,  Hydrology, LID, RDII, InfoSWMM etc.
                           SWMM 5 Forums InfoSWMM Forums
                           Hydrology Forums InfoSewer Forums
                           Hydraulics Forums Water Quality Forums

SWMM5 Forum Hydrology Forum Hydraulics Forum Hydraulics Forum Hydraulics Forum Water Quality MATLAB/DOS SWMM5 LID Forum
SWMM5 Forum Hydrology Forum Hydraulics Forum InfoWWMM Forum InfoSewer Forum Water Quality MATLAB/DOS SWMM5 LID Forum

Welcome

If you just want to read you do not need to sign in but if you want to add a discussion or blog then you need to sign in as a Ning user.  If you do not want to do either then you can send me an email to robert.dickinson@gmail.com or robert.dickinson@innovyze.com and I will do my best to answer your questions.  Thanks for visiting and I hope you found something useful! Read here for reasons you should make a profile.  

We also have a blogspot blog for SWMM5, InfoSWMM and InfoSewer which has a local and Google Search option so it is easier to find tagged information on  SWMM5.NET and the Wordpress Site SWMM5.ORG  You can also see my recent posts on Twitter and the Official Innovyze Blog which also has great information on ICM and IWCS.

New Photos

Important News about the current SWMM 5.1

Activity

Dave Morgan updated their profile
yesterday
MeHa posted a discussion
Which Computer power (CPU) is adequater for long term modelling?
If a distributed SWMM model is used to model a decade(s) long timeseries including water quality on a Windows 7 OS, which computer power is necessary? 2.7 GHz?, 3.4 GHz? How many cores? CPU or GPU? Please share your experiences? Especially if Montec…
yesterday
Andrei Bratan posted a discussion
Sample code and example for link SWMM to Matlab
Hello folks,I was happy for the fact that I found this website but my excitement didnt last long! I read all of the dicussions here but I couldnt find a post which directly show me how to connect Matlab to SWMM. Yes, you do parallel processing and a…
Tuesday
Robert Dickinson left a comment for Andrei Bratan
"Welcome Andrie!"
Tuesday
Andrei Bratan is now a member of SWMM5 - Stormwater Management Model
Tuesday
deville posted a discussion
Shape Curve Viewer
Hello everyone,I'm modeling a a simple sewer system. For that I need to define the specific geometry for each sewer of the system. However, when I introduce it, the shape curve viewer only show me the bottom half of my sewer.Is it simply a problem w…
Tuesday
lau posted a discussion
Can anyone tell me how to download the attached files by other people?
Hi, can anyone tell me how to download the attached files by other people?In this post:http://swmm2000.com/forum/topics/swmm-calibration-using-pestThanks a lot. I just want to learn the pest to calibrate SWMM MODEL.
Monday
Robert Dickinson liked Robert Dickinson's article Seven Types of LID controls in SWMM 5.1 in One Image
Sunday
Robert Dickinson’s article was featured
Seven Types of LID controls in SWMM 5.1 in One Image
Seven Types of LID controls in SWMM 5.1 in one Image - the graphics are fantastic in my opinion. Seven Types of LID controls in SWMM 5.1
Sunday
Robert Dickinson published an article
Seven Types of LID controls in SWMM 5.1 in One Image
Seven Types of LID controls in SWMM 5.1 in one Image - the graphics are fantastic in my opinion. Seven Types of LID controls in SWMM 5.1
Sunday
Kexuan Wang replied to Ivan Marco H. Centeno's discussion ERROR 173: Time series has its data out of sequence.
"I succeed running your file! Yet I find that the formatting of my data from 2010-2012 have some problem, that's why I cannot run my model before. Thank you so much for making me understand and reply so quickly on weekends!"
Sunday
Robert Dickinson replied to Ivan Marco H. Centeno's discussion ERROR 173: Time series has its data out of sequence.
"Try this example,  SWMM5 can handle thousands of years as long as the rainfall is in a file and not a time series.  I will email both to you."
Sunday
Kexuan Wang replied to Ivan Marco H. Centeno's discussion ERROR 173: Time series has its data out of sequence.
"I set the rainfall file like this: CDS-51 2000 10 3 20 0 0.112659 And then I save the excel file as dat file and try to input it into rain gage like the following picture. The problem now is when I try to select my file, another error pop up…"
Saturday
Robert Dickinson replied to Ivan Marco H. Centeno's discussion ERROR 173: Time series has its data out of sequence.
"CDS-51 2000 10 3 16 0 0CDS-51 2000 10 3 17 0 0CDS-51 2000 10 3 18 0 0CDS-51 2000 10 3 19 0 0CDS-51 2000 10 3 20 0 0.112659131CDS-51 2000 10 3 21 0 0.112659131CDS-51 2000 10 3 22 0 0.242022606CDS-51 2000 10 3 23 0 0.158352171CDS-51 2000 10 4 0 0 0.15…"
Saturday
Kexuan Wang replied to Ivan Marco H. Centeno's discussion ERROR 173: Time series has its data out of sequence.
"Thanks for the reply!  I can get what you mean by time intervals and I format them like this: 2000 10 1 1 0 0 0 The columns represent year, month, date, hour, minute, second and rainfall respectively. Yet I am a little bit confused about wher…"
Saturday
Robert Dickinson replied to Ivan Marco H. Centeno's discussion ERROR 173: Time series has its data out of sequence.
"Here is the format for a user defined rainfall in SWMM5 When a rain gage is designated as receiving its rainfall data from a file, the user must supply the name of the file and the name of the recording station referenced in the file. For the standa…"
Saturday
More…

Twitter

YouTube

InfoSWMM2D
Flow Dividers in SWMM5
SWMM5 Watermark Background Inage
InfoSWMMReading_Simple_SWMM5_Model
SWMM5 Simple Model
InfoSWMM Suite
InfoSWMM
Storage Nodes in InfoSWMM 2D

Notes