Friday, November 4, 2011

Three Hidden Secrets to Speeding up your SWMM 5, H2OMAP SWMM or InfoSWMM Model


Three Hidden Secrets to Speeding up your SWMM 5, H2OMAP SWMM or InfoSWMM Model

by dickinsonre
  
Minimum Time Step               Average Time Step        Maximum Time Step

Minimum Time Step (sec)             0.984
Average Time Step (sec)              9.071
Maximum Time Step (sec)            30.000
Percent in Steady State (%)          0.000
Average Iterations per Time Step  4.821
Use a maximum time that will lower your average iterations per time step to speed up the simulation,decrease the maximum time step to lower the number of iterations, use equivalent conduit lengthening to increase the minimum time step, the model is fastest if the minimum and maximum time steps are not too small or large compared to the average time step.  Adjust the stopping tolerance and the number of iterations if you can to speed up your model You can also decrease the number of iterations or the stopping tolerance to speed up the model or improve the continuity error of themodel.   If you are doing a continuous simulation then you can have a reduced graphical output data set to speedup the simulation
  
If you have a duo or quad core computer another option to speed up the simulations is to use 1, 2, 3 or 4 cores for the simulation 

Elevation Interpolation from a Contour in H2OMAP SWMM

Subject:  Elevation Interpolation from a Contour in H2OMAP SWMM

Elevation Interpolation from a Contour in H2OMAP SWMM

by dickinsonre
Subject:  Elevation Interpolation from a Contour in H2OMAP SWMM

The node invert elevation or the node maximum depth can be interpolated if you use the Elevation Interpolation Tool inH2OMAP SWMM.

Steps
Action
1.   Make a Contour Plot of the Node Invert Elevations.
2.   The Created Contours are now a layer inH2OMAP SWMM.
3.   Recreate the Invert Elevation from the Contourby using the Value Field and Interpolate Field.
4.   You can  also estimate the Maximum Depth of the Node from the Contour and the known Node Invert Elevation.

Wednesday, November 2, 2011

How to see what you have in the various scenarios of InfoSWMM

Subject:  How to see what you have in the various scenarios of InfoSWMM
  

How to see what you have in the various scenarios of InfoSWMM

by dickinsonre
Subject:  How to see what you have in the various scenarios of InfoSWMM
How to see what you have in the various scenarios – a tool I use a lot is Scenario Explorer which shows you how to see thevarious datasets associated with a data set along with the relationship between the Base and Various Child Scenarios.
 

Friday, October 21, 2011

How to see the effect of the Pump Setting in the RTC Rules of InfoSWMM and H20MAP SWMM

Subject:  How to see the effect of the Pump Setting in the RTC Rules of InfoSWMM and H20MAP SWMM

Step 1.   Pump Startup and Shutoff Depth

Depths to turn the Pump On and turn the Pump Off.  In this example, the pump will be off when the Wet Well Depth is less than 2 feet, the Pump will be off between a Wet Well Depth between 2 and 5.75 feet if the Pump is currently Off and the Pump will be On between a Wet Well Depth between 5.75 and 2 feet.

Step 2.   RTC Rule for the Pump Setting when the Wet Well Depth is less than 6.25 feet.  We need to add the AND statement so that the setting is only reset when the Pump is On.   You do not want the pump setting to be reset when the pump should be off.

Result 1:  The Pump Speed Ratio tells you the Pump Setting

Result 2:  RTC Control Rules in the RPT File if you click on Show Control Actions

Result 3:   The depth at the Wet Well and the Flow in the Pump

 Result 4:  A mixed graph of the Wet Well Depth and Pump Flow shows the effect of the RTC.

Result 5:  The RTC Rule can also been seen flow to the Pump Curve.



Monday, October 17, 2011

Variable Time Step in SWMM 5


Variable Time Step in SWMM 5



v  The goal of the link lengthening in SWMM 5 it to meet the CFL time step condition for the full link depth and full link velocity at the chosen lengthening time step.  If the link does not meet the CFL condition then this means the time step needed is smaller than your selected lengthening time step.  SWMM 5 will make an hydraulically equivalent longer link with a smaller roughness but the same full flow velocity as the shorter link.

v  If you are running a simulation in which all of the pipes are exactly full – no surcharge in any pipe – and the variable time step then there would be no need for SWMM 5 to use anything other than the minimum of the routing or lengthening time step.  However, since most real networks have a mixture of partial flow, surcharged flow and pressure flow, the actual time step depth, velocity/Froude Number is different than the assumed full depth and full flow velocity.  For example, the depth can be higher at one end of the pipe and the velocity higher than full flow velocity due to the water surface slope being higher than the bed slope.  The only way SWMM 5 can now satisfy the CFL time step condition since the modified length is fixed is to lower the variable time step.

Saturday, September 24, 2011

Reading the Output of Older SWMM 5 versions in Newer SWMM 5 Versions

Subject:   Reading the Output of Older SWMM 5 versions in Newer SWMM 5 Versions

It is very easy to read the output graphs and output text file from older versions of SWMM 5 in newer versions of SWMM 5 as long as the rules are followed:

1.   You need to have the RPT file for the InputFileName or InputFileName.RPT
2.   You need to have the OUT file for the InputFileName or InputFileName.OUT
3.   The File Size for InputFileName.RPT is greater than 0
4.   The Run Status for InputFileName.OUT is true based on the tests in CheckRunStatus
a.       // Starting from end of file, read byte offsets of file's sections
b.       // Read # time periods, error code & file signature
c.       // Read file signature & version number from start of file
d.       // Check if run was completed
e.       // Check if results were saved for 1 or more time periods
f.        // Check if correct version was used
g.       // Check if error messages were generated

Figure 1.   The RPT File or OUT File is not saved unless you 1st save the Current Simulation Results.

Figure 2.   The binary output file of SWMM 5.0.013 in SWMM 5.0.022

Reading the Output of Older SWMM 5 versions in Newer SWMM 5 Versions

by dickinsonre
Subject:   Reading the Output of Older SWMM 5 versions in Newer SWMM 5 Versions

It is very easy to read the output graphs and output text file from older versions of SWMM 5 in newer versions of SWMM 5 as long as the rules are followed:

1.   You need to have the RPT file for the InputFileName or InputFileName.RPT
2.   You need to have the OUT file for the InputFileName or InputFileName.OUT
3.   The File Size for InputFileName.RPT is greater than 0
4.   The Run Status for InputFileName.OUT is true based on the tests in CheckRunStatus
a.       // Starting from end of file, read byte offsets of file's sections
b.       // Read # time periods, error code & file signature
c.       // Read file signature & version number from start of file
d.       // Check if run was completed
e.       // Check if results were saved for 1 or more time periods
f.        // Check if correct version was used
g.       // Check if error messages were generated

Figure 1.   The RPT File or OUT File is not saved unless you 1st save the Current Simulation Results.

Figure 2.   The binary output file of SWMM 5.0.013 in SWMM 5.0.022


Saturday, September 17, 2011

All Possible Culverts Example Model in SWMM5

Note:  Attached is an example SWMM 5 model that has all 57 culvert types possible in SWMM 5 in one model.  The culverts are 57 small individual networks consisting of an inflow node, an upstream open channel, upstream node for the culvert, culvert link with culvert code, downstream node of the culvert, downstream open channel and finally an outfall node.  The culvert code and the shape of the culvert determine which FHWA equation is used to determine the flow INTO the Culvert during the simulation:
 1.   The flow from the St Venant Equation or
2.   The flow from the FHWA equation
 The minimum flow is used by the program. 



all_culverts.inp Download this file

All Possible Culverts Example Model in SWMM5

by dickinsonre
Note:  Attached is an example SWMM 5 model that has all 57 culvert types possible in SWMM 5 in one model.  The culverts are 57 small individual networks consisting of an inflow node, an upstream open channel, upstream node for the culvertculvert link with culvert code, downstream node of the culvert, downstream open channel and finally an outfall node.  The culvert code and the shape of the culvert determine which FHWA equation is used to determine the flow INTO the Culvert during the simulation:
1.   The flow from the St Venant Equation or
2.   The flow from the FHWA equation
The minimum flow is used by the program. 

How Dry Weather Flow is Used in InfoSWMM at a Node

Note:   How Dry Weather Flow is Used in InfoSWMM at a Node



How Dry Weather Flow is Used in InfoSWMM at a Node

by dickinsonre
Note:   How Dry Weather Flow is Used in InfoSWMM at a Node
 There are four components to the Dry Weather Flow (DWF) in InfoSWMM:
 1.       The mean flow in user units at the node,
2.      The DWF Allocation Code – if you are using the DWF Allocator
3.      The Pattern for Weekday, Weekend etc for the mean flow.
 The data is entered or entered for you in the Node Inflow Icon or the Operations Tab of the Attribute Browser 
Node Inflow Icon and Associated Data
 Operation Tab Patterns
 You can also make global changes to your DWF using the Node DWF DB Table Under Extended Element Modeling Data


SWMM5 Weir Rules, Head Calculations and Weir HGL Plots

Note:  SWMM5 Weir Rules and Head Calculations

This note attempts to explain both how the head upstream and the head downstream of a weir in SWMM 5 is calculated compared to the weir crest elevation and also to explain how the weir is presented in the HGL plot of SWMm 5.  There has been confusion in the past concering how the weir is shown compared to the actual weir calculations.  The node head is calculated obviously at both ends of the weir but the head over the weir is always based on H1-Crest or H2-Crest (Figure 1) and hence the weir should look flat – to the weir the downstream head is important but NOT the downstream node invert so the weir really is flat and should look flat in the HGL Profile across the weir (Figure 2).    The crest elevation is always relative to the upstream node invert elevation NOT the downstream node invert elevaation

Figure 1.  How the Head across a Weir is calculated in SWMM 5

Figure 2.   HGL Profile across a Weir in SWMM 5.0.022.  The black line should be shown flat.


Weir and Orifice Flow Equations for a Weir in SWMM 5

by dickinsonre
Note:  Weir and Orifice Flow Equations for a Weir in SWMM 5
If you use a weir in SWMM 5 then two flow equations are used
1.       The weir uses the weir flow equation when the head at the weir is between the invert elevation of the weir and the crown of the weir and
2.      An orifice equation when the head is above the weir crown or the weir is submerged.


Saturday, September 3, 2011

Time Step Approximation based on Link Lengths

Note:  A rough approximation of the time step you need for an InfoSWMM or H2OMAP SWMM model can be found by finding the mean link length using the field statistics tool for the length in the Conduit DB Table and then estimating the time step from the mean length, mean full depth velocity and mean full depth wave celerity.

The time step actually used during the simulation is related to this velocity and the safety adjustment factor.  The larger the safety adjustment factor the larger the mean time step listed in the Routing Time Step Suggestion.




Stream Names in the USA

Stream Names in the USA from http://derekwatkins.wordpress.com/2011/07/25/generic-stream-terms/
Map of generic toponyms for streams in the contiguous US
Generic place names (or toponyms) such as Cumberland Gap or Mount Rainier provide general categorical descriptions of a geographic feature, in contrast to specific toponyms, which provide a unique identifier: Lake Huron. This map taps into the place names contained in the USGS National Hydrography Dataset to show how the generic names of streams vary across the lower 48. Creeksand rivers are symbolized in gray due to their ubiquity (although the etymology behind the American use of creek is interesting), while bright colors symbolize other popular toponyms.
Lite-Brite aesthetic notwithstanding, I like this map because it illustrates the range of cultural and environmental factors that affect how we label and interact with the world. Lime green bayous follow historical French settlement patterns along the Gulf Coast and up Louisiana streams. The distribution of the Dutch-derived term kill (dark blue) in New York echoes the colonial settlement of “New Netherland” (as well as furnishing half of a specific toponym to the Catskill Mountains). Similarly, the spanish-derived terms rioarroyo, and cañada (orange hues) trace the early advances of conquistadors into present-day northern New Mexico, an area that still retains some unique cultural traitsWashes in the southwest reflect the intermittent rainfall of the region, while streams named swamps (desaturated green) along the Atlantic seaboard highlight where the coastal plain meets the Appalachian Piedmont at the fall line.

Thursday, August 25, 2011

The Cheerful World Of Japanese Manhole Covers

From the Dish and Andrew Sullivan “The Cheerful World Of Japanese Manhole Covers”


The Cheerful World Of Japanese Manhole Covers


by Maisie Allison
Michelle Aldredge introduces us to a minor feat in public art:
One of my favorite book discoveries this summer is Drainspotting
 by Remo Camerota. The book celebrates an array of fascinating manhole cover designs from Japan. According to Camerota, nearly 95% of the 1,780 municipalities in Japan have their very own customized manhole covers. The country has elevated this humble, practical object to its own art form. The designs depict everything from local landmarks and folk tales to flora and fauna and images created by school children. Camerota explains the evolution of these custom covers in Drainspotting  http://www.gwarlingo.com/2011/drainspotting-61-amazing-manhole-covers-from-japan/
In the 1980s as communities outside of Japan’s major cities were slated to receive new sewer systems these public works projects were met with resistance, until one dedicated bureaucrat solved the problem by devising a way to make these mostly invisible systems aesthetically appreciated aboveground: customized manhole covers.

Sunday, August 7, 2011

Map Display of LID Usage in SWMM 5

Subject:   Map Display of LID Usage in SWMM 5

A new Map Display feature in SWMM 5.0.022 is the LID Usage parameter which shows you whether a Subcatchment has LID’s or not.   You use it by using Map Display and choosing LID Usage as the Map Display.  LID - Low Impact Development.

 Map Display of LID Usage in SWMM 5




Friday, August 5, 2011

Example VSP Pump in SWMM 5 - Version 1

Subject:   Example VSP Pump in SWMM 5 - Version 1

Here is one way to model multiple pumps between the same downstream and upstream nodes using the pump curves and the Real Time Control Rules (RTC) in SWMM 5.  Here are the steps:

1.   Enter the data for three pumps in the browser by using the Add Pump Icon
2.   Enter three Pump Head/Flow Curves so that the 2nd and 3rd Pump Curves are the sum of the flows in the 1st and 2nd Pumps together and the sum of the flows in the 1st, 2nd and 3rd respectively for the 2nd and 3rd Pump Curves

3.   Enter a RTC Rule in the Control Editor so that when the 1st Pump is turned on – the 2nd and 3rd Pump is turned off
4.   Enter a RTC Rule in the Control Editor so that when the 2nd  Pump is turned on – the 1st  and 3rd Pump is turned off
5.   Enter a RTC Rule in the Control Editor so that when the 3rd  Pump is turned on – the 1st and 2nd Pump is turned off

Using these rules you can see that for the 1st Pump turns on when the Node WetWell has a depth below 2 feet, the 2nd Pump turns on when the Node is between a depth of 2 to 5 feet and the 3rd Pump turns on when the Node Depth is above 5 feet.

RULE Pump1
IF Node WetWell Depth <= 2
THEN PUMP PUMP2 STATUS = OFF
AND PUMP PUMP3 STATUS = OFF
Priority 1

RULE Pump2
IF Node WetWell Depth > 2
AND Node WetWell Depth <= 5
THEN PUMP PUMP1 STATUS = OFF
AND PUMP PUMP3 STATUS = OFF
Priority 2

RULE Pump3
IF Node WetWell Depth > 5
THEN PUMP PUMP1 STATUS = OFF
AND PUMP PUMP2 STATUS = OFF
Priority 3


The Goal of SWMM5 Input Files

 ðŸŒŸ SWMM5 (Storm Water Management Model 5) is a widely used urban hydrology and hydraulic modeling software developed by the United States E...