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

New Information Slider about Blogs and Tweets

All Forums

Infiltration trench parameters

Hello, I am modifying the LID controls from the text editor to perform a sensitivity analysis What is the meaning of the fifth parameter assigned to infiltration trench surface layer and the fourth parameter to underdrain layer? [LID_CONTROLS];; Type/Layer Parameters;;-------------- ---------- ----------IT-0.5%   ITIT-0.5%   SURFACE   0            0          0.25       0.5      5IT-0.5%   STORAGE   2000    0.67    40          0 IT-0.5%   DRAIN        0            0.5       0            6 Thank you.

Read more…
5 Replies · Reply by Eugenia 8 hours ago

How do SWMM simulate the infiltration and exfiltration from a river ?

Hello, everyone, I study a area which always occurs infiltration in dry-weather and exfiltration in wet-weather, for there is a stream nearby the sewer. When the level of the stream is higher than that of the sewer, it happens the infiltration, otherwise the exfiltration happens.  So if there is a proper way to simulate the process of the infiltration and exfiltration ? I can set a pipe between the junction and the stream, but how to describe a stream in SWMM ? and how to set the level of the stream? Thank you!

Read more…
1 Reply · Reply by Robert Dickinson Feb 26

The SWMM 5 C Code for Most SWMM 5 Versions

The SWMM 5 C Code for Most SWMM 5 Versions The C code is in the zipped files - the prefix of the zip file denotes the version v13 for example is EPA SWMM 5.0.013 v3epaswmm5_engine.zip v5 epaswmm code  engine005b.zip v8epaswmm5_engine.zip v10epaswmm5_engine.zip v11epaswmm5_engine.zip v12epaswmm5_engine.zip v13epaswmm5_engine.zip v14epaswmm5_engine.zip v15epaswmm5_engine.zip v16epaswmm5_engine.zip v17epaswmm5_engine.zip v18epaswmm5_engine.zip v19epaswmm5_engine.zip v22epaswmm5_engine.zip swmm51001_engine.zip swmm51002_engine.zip swmm51003_engine.zip swmm51006_engine_0.zip swmm51007_engine_0.zip

Read more…
0 Replies

Time adjusted rule for orifice setting

I want to control opening and closing of an orifice depending on the flow in a downstream link. I want to close the orifice for 15min if the flow in the d/s exceeds say 50 LPS, after 15 min I want to check again the flow in the link and adjust the opening-closing of the orifice depending on the flow above-below 50LPS. How can I writet a rule which can solve this problem?

Read more…
3 Replies · Reply by MeHa Feb 26

Turbulence in simulation result

Hi, everyone,  I use dynamic wave to simulate a piece of pipe network, and I set up the outfall boundary to time series which I measured several months ago.  The outfall  boundary is surcharged when it rains. But after the simulation, I find the total inflow of the node nearby the outfall is violent turbulence. I wonder why it is caused and how can it be solved ?  figure 1  the depth of the node nearby the outfall, which is approach the measured value figure 2 the total inflow of the node in the node nearby the outfall, which is violent turbulence.  figure 3 the outfall boundary I set up, which is actual observed value.  anyone can help ?  thanks a lot . 

Read more…
2 Replies · Reply by Mingkai Zhang Feb 12

the successful way to combine MATLAB with SWMM

Hi everyone,  I found there were many questions about how to call SWMM in matlab, and this problem has bothered me for a long time.  Now I find a way to combine MATLAB with SWMM, it solve my problem, and I want to share with your guys .  The principle is to read and change .inp file of SWMM, and call swmm in MATLAB, then read the .rpt file to import data to matlab workspace.  The step and the main command are like below: 1. use  the command 'textscan' in matlab to read .inp file, the result will be a cell, then use  'strcmp' to find the exact section you care about, then use ' textscan' again to read the each line of the cell of the exact section which you want to change.   2. use 'fprintf' to rewrite the parameters into the .inp file. (Notice: format control, make sure the length of string is equal to the original ) 3.  ! swmm5.exe  test.inp  test.rpt ( this is a command to call external programs, you need change the name of the inp & rpt file into whatever you want )  4. the detial…

Read more…
0 Replies

InfoSWMM and H20Map SWMM and their Relationship to FEMA Approved SWMM 5 Engines

The purpose of this note is to show how InfoSWMM is related to various SWMM 5 engines. InfoSWMM is a ESRI Arc Map Interface to the properties of the SWMM 5 engine using model development tools created by Innovyze for InfoWater and InfoSewer. It uses a recompiled SWMM 5 engine for the purposes of integration with Arc GIS but the underlying engine code is the EPA SWWM 5 code. InfoSWMM has very good import and export tools for reading and writing SWMM 5 files. InfoSWMM does not have to be on the official FEMA list as it uses and exports the FEMA approved current SWMM 5 engine. SWMM 5 has been approved by FEMA since 2005. Figure 1 shows the versions of SWMM that have been approved by FEMA. It is approval that continues each time a new EPA SWMM 5 is released. Innovyze InfoSWMM and H2OMap SWMM use a recompiled SWMM 5 engine based on the current version of EPA SWMM (Figure 2). The match between the EPA Engine and InfoSWMM is shown in Figure 2. EPA SWMM 5.x was produced by the Water Supply…

Read more…
0 Replies

Water Quality Example in SWMM5 for BOD5 and Temperature

This is a complete working example [TITLE] ;;Project Title/Notes BOD5 linked to Temperature [OPTIONS] ;;Option Value FLOW_UNITS CMS INFILTRATION CURVE_NUMBER FLOW_ROUTING DYNWAVE LINK_OFFSETS DEPTH MIN_SLOPE 0 ALLOW_PONDING YES SKIP_STEADY_STATE NO START_DATE 01/01/1988 START_TIME 00:00:00 REPORT_START_DATE 01/01/1988 REPORT_START_TIME 00:00:00 END_DATE 01/01/1988 END_TIME 06:00:00 SWEEP_START 01/01 SWEEP_END 12/31 DRY_DAYS 0.000000 REPORT_STEP 00:05:00 WET_STEP 00:15:00 DRY_STEP 01:00:00 ROUTING_STEP 0:00:05 INERTIAL_DAMPING NONE NORMAL_FLOW_LIMITED BOTH FORCE_MAIN_EQUATION H-W VARIABLE_STEP 0.75 LENGTHENING_STEP 5 MIN_SURFAREA 12.566000 MAX_TRIALS 8 HEAD_TOLERANCE 0.001000 SYS_FLOW_TOL 5 LAT_FLOW_TOL 5 [EVAPORATION] ;;Evap Data Parameters ;;-------------- ---------------- CONSTANT 0.600000 DRY_ONLY NO [JUNCTIONS] ;;Junction Invert MaxDepth InitDepth SurDepth Aponded ;;-------------- ---------- ---------- ---------- ---------- ---------- 10309 101.600000 9.400000 0.000000 0.000000…

Read more…
0 Replies

Wash-off equation

Hi evrybody, Is it possible to introduce in SWMM a new was-off equation or I can only choose from the equation that there are inside? Imagine any type of equation. Polynomial, or logarithmic, anything. Does SWMM allow the user to include any equation? Does the question I need to answer. Thank you in advance. Angela

Read more…
0 Replies

Area of each unit - Modelling rain barrels in SWMM 5

Does the 'area of each unit' when modelling rain barrels in SWMM represent the area of the impervious area contributing run-off into the rain barrel (for example the roof area) or the cross sectional area of the rain barrel itself? SWMM user manual and 'help' interprets this as the 'surface area devoted to each replicate unit'. However, it is still not out rightly clear. Feedback and discussion on this are most welcome.

Read more…
0 Replies

MatLab and SWMM5

the successful way to combine MATLAB with SWMM

Hi everyone,  I found there were many questions about how to call SWMM in matlab, and this problem has bothered me for a long time.  Now I find a way to combine MATLAB with SWMM, it solve my problem, and I want to share with your guys .  The principle is to read and change .inp file of SWMM, and call swmm in MATLAB, then read the .rpt file to import data to matlab workspace.  The step and the main command are like below: 1. use  the command 'textscan' in matlab to read .inp file, the result…

Read more…
0 Replies

open .out file

Hello everyone, I would like to read the .out file in a text editor created after a simulation in SWMM5. However I can't get anything readable when I open the file in notepad or some equivalent software. As I would like to combine SWMM and Matlab, I need to see and understand the structure of the .out file... Anyone knows how to do that? Thanks, Nicolas

Read more…
4 Replies · Reply by deville May 27, 2014

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…
2 Replies · Reply by Robert Dickinson Nov 22, 2014

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, 2014

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

SWMM5 Forums

The SWMM 5 C Code for Most SWMM 5 Versions

The SWMM 5 C Code for Most SWMM 5 Versions The C code is in the zipped files - the prefix of the zip file denotes the version v13 for example is EPA SWMM 5.0.013 v3epaswmm5_engine.zip v5 epaswmm code  engine005b.zip v8epaswmm5_engine.zip v10epaswmm5_engine.zip v11epaswmm5_engine.zip v12epaswmm5_engine.zip v13epaswmm5_engine.zip v14epaswmm5_engine.zip v15epaswmm5_engine.zip v16epaswmm5_engine.zip v17epaswmm5_engine.zip v18epaswmm5_engine.zip v19epaswmm5_engine.zip v22epaswmm5_engine.zip…

Read more…
0 Replies

External Input File for SWMM

I have 8 subcatchments in a watershed and all these 8 subcatchments have 8 different curve number values(infiltration model).I want to vary the curve number values and look at the change in the associated hydrograph. Can you kindly suggest me in which programming language I should write the code so that it is possible to vary the Curve number values through that code instead of manually changing each subcatchemnt values.The total iterations of vhange in curve number values will be 256 so…

Read more…
3 Replies · Reply by Robert Dickinson Nov 22, 2014

Excessive Continuity Errors in node (SWMM5)

Hi, I am trying to model an infiltration pond in SWMM and get excessive (90%+) continuity errors for the pond node.  The overall flow routing continuity error is zero for the site.  The pond is set up to have a high flow bypass for a continuous model such that the majority of the analyzed storm events infiltrate and never pond to the bypass.  Has anybody run into an issue like this before?   Thank.

Read more…
1 Reply · Reply by Robert Dickinson Oct 23, 2014

Baseline/sanitary flow variation outside of typical parameters

Hello! I am working on a SWMM 5 continuous model.  I have a sanitary DWF that varies every three days due to an industrial discharge, so none of the pre-set flow variation patterns (hourly, daily, monthly)  will vary the flow appropriately.  Is there a method where I can enter a the dwf in an external file and have the node look to the file for the inflow?  Thanks - Erin

Read more…
5 Replies · Reply by Erin Moore Sep 15, 2014

LID area and impervious runoff calculations

Hi users, Just a query regarding LID's in SWMM. Let's say that impervious sub-catchmant A has a total area of 100 m2.  Let's say that I deploy a LID into sub-catchment A (a rain barrel) and set its surface area as 10 m2 (thus it occupies 10% of sub-catchment in A). In doing this, does SWMM therefore calculate the runoff from sub-catchment A using an 'adjusted' area of 90 m2? Cheers, Matt. 100SM.inp

Read more…
5 Replies · Reply by Robert Dickinson Sep 4, 2014

"Edit Object" window won't open

Since yesterday my the "edit object" button won't open anymore. Also right click and chosing properties won't give information about the object. I have been working with SWMM for a few months now. I already tried to uninstall and install SWMM a few times. Can anyone give a suggestion on how to solve this problem?

Read more…
13 Replies · Reply by Anna Sep 9, 2014

Pollutant removal (treatment) - Setting a constant concentration as the result of the treatment expression

Hello there, I am trying to set a constant outflow concentration as the result for a treatment-equation, i.e. BOD: C=50.Unfortunately, setting a constant value for the concentration does not work, the result of the effluent concentration would be just the same. However, I want the concentration to be exactly the value I selected in the treatment-expression. Moreover, it seems like every treament-expression with C=... leads to invalid results... What can I do to fix this? Defining an additional…

Read more…
3 Replies · Reply by Robert Schleifenbaum Aug 26, 2014

Having issues with a storage basin drain down simulation

Hi, I'm having issues with an  attenuation feature. I've simulated the rainfall event (24 hours) and now I'm looking to see how long it will take to drain down using outlets with Head/flow relationships (simulated vortex controls e.g hydrobrake). Problem is that the storage unit doesn't want to drain down after 24 hours - even though in the map view I can see flows out of the feature in the subsequent days. Its stuck at the same level and volume. Any ideas? Ian

Read more…
2 Replies · Reply by Ian Griffin Aug 21, 2014

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 InfoWorks ICM and ICM SE.

InnovyzeRobert Widget

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.  I do a lot of tweeting so looking at my tweet activity will show most of my recent activity. My twitter name is RDICKINSON
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

Important News about the current SWMM 5.1

Activity

Eugenia replied to Eugenia's discussion Infiltration trench parameters
"Thank you for reply , the fifth parameter is the  swale side slope.
This is not available in the LID CONTROL editor. I must modify it in the text file, thanks.
/ Data Structures//----------------------------------------------------------------------…"
8 hours ago
Robert Dickinson left a comment for Shyam Shakya
"Welcome Shyam!"
8 hours ago
Shyam Shakya is now a member of SWMM5 - Stormwater Management Model
9 hours ago
Robert Dickinson replied to Eugenia's discussion Infiltration trench parameters
"Thanks, that was interesting about the canOverflow logic - it was something I missed viewing the code before.  I am adding a collage image of the LID possibilities"
9 hours ago
Eugenia replied to Eugenia's discussion Infiltration trench parameters
"Thank you very much, I found the following description on the executable file lid.c
(https://github.com/OpenWaterAnalytics/swmm/blob/master/src/lid.c)
Infiltration trench: the fifth parameter is designated as "canOverflow"
and
Underdrain: the fourth…"
10 hours ago
Robert Dickinson replied to Eugenia's discussion Infiltration trench parameters
"The parameters for the Surface layer for LID modeling in SWMM 5 (the numbers are the column number on the input line):"
yesterday
Robert Dickinson replied to Eugenia's discussion Infiltration trench parameters
"The parameters for the Underdrain layer for LID modeling in SWMM 5 (the numbers are the column number on the input line):"
yesterday
Eugenia posted a discussion
Hello, I am modifying the LID controls from the text editor to perform a sensitivity analysisWhat is the meaning of the fifth parameter assigned to infiltration trench surface layer and the fourth parameter to underdrain layer?[LID_CONTROLS];; Type/…
Monday
Eugenia updated their profile
Sunday
Eugenia is now a member of SWMM5 - Stormwater Management Model
Sunday
Robert Dickinson replied to Mingkai Zhang's discussion How do SWMM simulate the infiltration and exfiltration from a river ?
"SWMM 5 does have exfiltration from the river reaches but it exfiltrates over the whole depth of the river.  You want to have to have two outlet links at different depths to flow in and flow out of the river.  You can insert a node in the river reach."
Feb 26
Mingkai Zhang posted a discussion
Hello, everyone,I study a area which always occurs infiltration in dry-weather and exfiltration in wet-weather, for there is a stream nearby the sewer.When the level of the stream is higher than that of the sewer, it happens the infiltration, otherw…
Feb 26
Robert Dickinson posted a discussion
The SWMM 5 C Code for Most SWMM 5 Versions
The C code is in the zipped files - the prefix of the zip file denotes the version
v13 for example is EPA SWMM 5.0.013
v3epaswmm5_engine.zip
v5 epaswmm code  engine005b.zip
v8epaswmm5_engine.zip
v10epaswmm5…
Feb 26
MeHa replied to MeHa's discussion Time adjusted rule for orifice setting
"Thanks Robert for the example. But what will happen , say at 0:31, wouldn't the setting of the orifice be changed again to 1.0, even if the FLOW in the link is greater than 10?"
Feb 26
Robert Dickinson replied to MeHa's discussion Time adjusted rule for orifice setting
"[TITLE];;Project Title/Notes
[OPTIONS];;Option ValueFLOW_UNITS CFSINFILTRATION GREEN_AMPTFLOW_ROUTING DYNWAVELINK_OFFSETS ELEVATIONMIN_SLOPE 0ALLOW_PONDING NOSKIP_STEADY_STATE NO
START_DATE 01/01/1988START_TIME 00:00:00REPORT_START_DATE 01/01/1988RE…"
Feb 25
Robert Dickinson liked MeHa's discussion Time adjusted rule for orifice setting
Feb 25
More…

Twitter

YouTube

LID vs No LID Scenario Comparison in InfoSWMM for Optimized Sustain LID Controls
Scenario Management in InfoSWMM and H2OMap SWMM
Node Exfiltration and Link Seepage in InfoSWMM and H2OMMap SWMM
Transects in InfoSWMM, H20Map SWMM and SWMM5
EPANET and SWMM 5 Direct Downloads and Links Now from the Innovyze www innovyze com Website
Introduction to the SWMM 5 GUI Code for Students Delphi Interface
Introduction to the SWMM 5 Source Code for Students
InfoSWMM SFEM Basin Generation, SFEM is Sewer Flow Estimating Model

Notes