Saturday, August 3, 2013

SWMM 5 Clocktime RTC Rules for Pumps, Weirs and Orifices

Subject:  SWMM 5 Clocktime RTC Rules for PumpsWeirs and Orifices

You can use the Control or RTC rules in SWMM 5 to adjust the settings of the weirspumps and orifices based on the clock time each day of your simulation.  Here is an example that will adjust orifice height every ½ hour for 7 orifices at one time using two sets of rules.

RULE R1a 
; Half hour setting
IF SIMULATION CLOCKTIME = 0:30:00 
OR SIMULATION CLOCKTIME = 1:30:00  
OR SIMULATION CLOCKTIME = 2:30:00 
OR SIMULATION CLOCKTIME = 3:30:00 
OR SIMULATION CLOCKTIME = 4:30:00 
OR SIMULATION CLOCKTIME = 5:30:00 
OR SIMULATION CLOCKTIME = 6:30:00 
OR SIMULATION CLOCKTIME = 7:30:00 
OR SIMULATION CLOCKTIME = 8:30:00 
OR SIMULATION CLOCKTIME = 9:30:00 
OR SIMULATION CLOCKTIME = 10:30:00
OR SIMULATION CLOCKTIME = 11:30:00
OR SIMULATION CLOCKTIME = 12:30:00 
OR SIMULATION CLOCKTIME = 13:30:00  
OR SIMULATION CLOCKTIME = 14:30:00 
OR SIMULATION CLOCKTIME = 15:30:00 
OR SIMULATION CLOCKTIME = 16:30:00  
OR SIMULATION CLOCKTIME = 17:30:00 
OR SIMULATION CLOCKTIME = 18:30:00 
OR SIMULATION CLOCKTIME = 19:30:00 
OR SIMULATION CLOCKTIME = 20:30:00 
OR SIMULATION CLOCKTIME = 21:30:00 
OR SIMULATION CLOCKTIME = 22:30:00
OR SIMULATION CLOCKTIME = 23:30:00
THEN ORIFICE R1 SETTING = 0.90
AND  ORIFICE R2 SETTING = 0.90
AND  ORIFICE R3 SETTING = 0.90
AND  ORIFICE R4 SETTING = 0.90
AND  ORIFICE R5 SETTING = 0.90
AND  ORIFICE R6 SETTING = 0.90
AND  ORIFICE R7 SETTING = 0.90

RULE R1b
; hour setting
IF SIMULATION CLOCKTIME = 0:00:00
OR SIMULATION CLOCKTIME = 1:00:00
OR SIMULATION CLOCKTIME = 2:00:00
OR SIMULATION CLOCKTIME = 3:00:00
OR SIMULATION CLOCKTIME = 4:00:00
OR SIMULATION CLOCKTIME = 5:00:00
OR SIMULATION CLOCKTIME = 6:00:00
OR SIMULATION CLOCKTIME = 7:00:00
OR SIMULATION CLOCKTIME = 8:00:00
OR SIMULATION CLOCKTIME = 9:00:00
OR SIMULATION CLOCKTIME = 10:00:00
OR SIMULATION CLOCKTIME = 11:00:00
OR SIMULATION CLOCKTIME = 12:00:00 
OR SIMULATION CLOCKTIME = 13:00:00
OR SIMULATION CLOCKTIME = 14:00:00 
OR SIMULATION CLOCKTIME = 15:00:00
OR SIMULATION CLOCKTIME = 16:00:00
OR SIMULATION CLOCKTIME = 17:00:00
OR SIMULATION CLOCKTIME = 18:00:00 
OR SIMULATION CLOCKTIME = 19:00:00 
OR SIMULATION CLOCKTIME = 20:00:00 
OR SIMULATION CLOCKTIME = 21:00:00 
OR SIMULATION CLOCKTIME = 22:00:00 
OR SIMULATION CLOCKTIME = 23:00:00
THEN ORIFICE R1 SETTING = 0.5
AND  ORIFICE R2 SETTING = 0.5
AND  ORIFICE R3 SETTING = 0.5
AND  ORIFICE R4 SETTING = 0.5
AND  ORIFICE R5 SETTING = 0.5
AND  ORIFICE R6 SETTING = 0.5
AND  ORIFICE R7 SETTING = 0.5

Friday, August 2, 2013

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

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.

Wednesday, July 31, 2013

Tributary Area to a Node in SWMM 5 or InfoSWMM

Note:  Tributary Area to a Node in SWMM 5 or InfoSWMM

Here are the steps you neeed to take to calculate the tributary area of a node in InfoSWMM:

Step 1:  Use the DB Editor to get the total area in your model using the Data Statistics Tool.



Step 2:  Use the Process options in InfoSWMM to ONLY simulate surface runoff and flow routing.


Step 3. Copy the Node name and Total Inflow Volume from the Juntion Summary Output Table to Excel


Step 4:  Find the Total Wet Weather Flow during the simulation from the Wet Weather Inflow Row in the Flow Continuity Table.

Dry Weather Inflow   0.000  0.000
Wet Weather Inflow  0.782   0.255

Step 5. Make a new column in Excel to calculate the tributary area.

The Tributary Area of a Node = Total Inflow Volume / Total Wet Weather Flow * Total Subcatchment Area from Step 1.

You will now have the tributary area for each node.  You can verify this number = the total tributary area at the outfalls should equal the Total Subcatchment Areafrom Step 1.


Maximum
Maximum
Lateral
Total
Time
of
Lateral
Total
Tributary
Inflow
Inflow
Occurrence
Volume
Inflow
Inflow
Area
Node
Type
CFS
CFS
days
hr:min
10^6 gal
10^6 gal
acres
P001
JUNCTION
5.54
10.86
0
2:27
0.1
0.255
14.74
P005
JUNCTION
2.14
7.42
0
2:26
0.039
0.155
8.96
P009
JUNCTION
5.78
5.78
0
2:25
0.106
0.106
6.13
P011
JUNCTION
0.7
0.7
0
2:34
0.01
0.01
0.58
OUTLET
OUTFALL
0
10.84
0
2:28
0
0.255
14.74

How to Set Up an InfoSWMM 2D Simulation Polygon and Mesh


Subject: How to Set Up an InfoSWMM 2D Simulation Polygon and Mesh

Step 1: Create the 2D Database



Step 2: Verify the Creation of the 2D Database



Step 3: Create the background Simulation Polygon for the 2D simulation


Step 4: Create the Mesh on the 2D Simulation Polygon


Step 5: Run the combination 1D and 2D network


Step 6: Simulating the network uses up to the number of cores on your computer for the 2D flow.


Step 7: 2D plot of the flooded mesh points.



Drainage Wells or a Vertical Exfiltration Trench in InfoSWMM

Subject:  Drainage Wells or a Vertical Exfiltration Trench in InfoSWMM

Note, this is just one way to model an Exfiltration Trench.  The source for the image below is Rice Creek Watershed

You can make a storage node to simulate the trench with the following characteristics:

·         Functional or Shape Curve to describe the shape of the trench,
·         Infiltration parameters to simulate the infiltration flow out of the bottom or sides of the trench,


Step 1:  Define the shape and geometrical characteristics of the Infiltration Trench


Step 2: Define the soil infiltration characteristics of the trench


Step 3:  Run the simulation.  The Storage Volume Summary tells you the volume infiltrated and the average outflow.


Step 4:  Output Manager will also show the infiltration  outflow, the depth and the volume of the infiltration/storage node.


Step 4:    Infiltration losses out the side and bottom of the orifice.


AI Rivers of Wisdom about ICM SWMM

Here's the text "Rivers of Wisdom" formatted with one sentence per line: [Verse 1] 🌊 Beneath the ancient oak, where shadows p...