Sunday, July 28, 2013

SWMM5 Runoff and Depth Relationships

Note:  The surface runoff is a non linear function of the independent depth in both the pervious and impervious areas of the subcatchments.   No surface runoff occurs until the depth over either the impervious or pervious area is greater than the respective depression storage (Figure's 1, 2, 3 and 4).

Figure 1:  Surface RunoffDepth and  Depression Storage Relationship.

Figure 2:  Subcatchment Runoff and Depth over time with a Subcatchment Width of 500 feet.
Figure 3:  Subcatchment Runoff and Depth in a Scatter Graph with a Subcatchment Width of 500 feet.


Figure 4:  Subcatchment Runoff and Depth in a Scatter Graph with a Subcatchment Width of 2000 feet.

InfoSWMM and H2OMap SWMM Batch Simulation Manager


Note:  How to load Scenario Output into the Report Manager of H2OMAP SWMM and InfoSWMM after they have been run in a Batch File.

 





How to Make a New Project INI file for InfoSewer

Note:  How to Make a New Project INI file for InfoSewer

Step 1: Make a new InfoSewer Project as a New Empty Map and use the ArcGIS Default as the spatial reference.


Step 2:  Save your new empty model.



Step 3:  Copy your old model DB folder to the new MyEmptyModel DB folder




Step 4:  Open up  the mxd file MyEmptyModel and Initialize it – it should be a valid model now.

InfoSWMM and H2oMAP SWMM Map of the Maximum Surcharge Depth Over Highest Pipe Crown

Note:  You can copy and paste information from the Junction Output Summary to a newly created Junction Information DB Column so that you can use Map Display to visually see the newly saved output variable.

Step 1:  Run the model and then go to the Junction Summary in Report Manager and select all of the nodes in your model.


Step 2:  Copy the Maximum Surcharge Height over Highest Pipe Crown Column

 

Step 3:  Make and Insert a New Editable Field in the Junction Information Table by Pasting the information you just copied from the Junction Summary  Output Column.


Step 4:  Use the Map Display Command and use Existing DB as the Source and the newly created variable Junction_Surcharge_Depth


Step 5:  Use the Option Show Label Properties and adjust the Font to show the maximum surcharge depth.



SWMM5 Groundwater Flow Components

Note:  There are three sub flow components in the calculation of the groundwater flow from a SWMM 5 Subcatchment. 

1st ComponentFlow = Groundwater Flow Coef. * (LowerDepth – Aquifer Bottom to Node Invert) ^ Groundwater Flow Exponent

2 nd ComponentFlow = SurfaceWater Flow Coef. * (Aquifer Bottom to Water Surface – Aquifer Bottom to Node Invert) ^ SurfaceWater Flow Exponent

3rd ComponentFlow = SurfaceWater-Groundwater Flow Coef. * (Aquifer LowerDepth * Aquifer Bottom to Node Invert)

The total flow is the sum of all three components.

SWMM 5 Subcatchment Runoff and Depth Relationship

Note:  The surface runoff is a non linear function of the independent depth in both the pervious and impervious areas of the subcatchments.   No surface runoff occurs until the depthover either the impervious or pervious area is greater than the respective depression storage (Figure's 1, 2, 3 and 4).

Figure 1:  Surface RunoffDepth and  Depression Storage Relationship.

Figure 2:  Subcatchment Runoff and Depth over time with a Subcatchment Width of 500 feet.
Figure 3:  Subcatchment Runoff and Depth in a Scatter Graph with a Subcatchment Width of 500 feet.


Figure 4:  Subcatchment Runoff and Depth in a Scatter Graph with a Subcatchment Width of 2000 feet.

Three Types of Surfaces in each Subcatchment of SWMM 5

Note:  There are Three Types of Surfaces in each Subcatchment of SWMM 5.  The overall depth in a subcatchment is the weighted average of the impervious without depression storage area, the impervious with depression storage area and the pervious area depth.  The depths on each type of area are independent of each other. 



Figure 1:  The processes that occur on each type of Subcatchment Area.

Figure 2:  The three independent Depths on a Subcatchment.  The SWMM 5 reported Depth is the weighted average of the three depths.


The total flow from a Subcatchment in SWMM 5

Note:  The total flow from a Subcatchment is the sum of the flow from the impervious area with and without depression storage and the pervious area with depression strorage.  The same width, slope but different roughness applies to the impervious and pervious portions of the subcatchment.
 

Saturday, July 27, 2013

Link Depth and Node Depth Relationship in SWMM 5

Note:  The depth in a manhole or node in SWMM 5 can be higher than the depth in the connecting links if the link is surcharged.  Typically the upstream link depth is equal to the upstream node depth (if there is not link offsets) and the downstream link depth is equal to the downstream node depth (if there is no offsets) until the link is surcharged and then thenode surcharge depth algorithm is used in SWMM 5 and point iteration equation is used to calculate the surcharge depth in the node.

Simulating a Blocked Pipe in SWMM 5 and InfoSWMM

Note:  For example, you can use the Simulation Elapsed time as the Premise and a complete closure of the orifice as the action to simulate a blockage in a portion of the network.  A circular orifice can be used to simulate a circular pipe and of course a rectangular orifice can simulate a rectangular pipe.

Average Number of Node Iterations in SWMM 5 Dynamic Wave Solution

Subject:  SWMM 5 will iterate for the new node depth at each time for a minimum of 2 iterations to a maximum of 8 iterations based on the Node Continuity equation.  If you plot the average number of iterations over time then typically the number of iterations go up as the Inflow increases.  The nodes with the most iterations changes over time as the peak flow moves through the network as shown in this plan view.  The iterations used during the simulation is a function of the node stop tolerance which has a default value of 0.005 feet in SWMM 5.


Export from WeatherUnderground using the CSV File Export Option to InfoSWMM

Note:  Export from WeatherUnderground using the CSV File Export Option to InfoSWMM

 Weather Underground is a site that provides excellent local weather information in the form of graphs, tables and csv files. You can use the data very easily in InfoSWMM by copying from Excel to a time series in InfoSWMM. Here is the rainfall for a storm event in Tampa, Florida in September 11, 2010
Step 1: Export from WeatherUnderground using the CSV File Export Option


Step 2: The data imported from the csv file to Excel and after the text to columns tool is used looks like this in Excel. The data is now ready to be imported into InfoSWMM after the time column is adjusted to fall on even 5 minute intervals. In Excel you can use the formula @ROUND((B2)/"0:05:00",0)*"0:05:00" to round all of the time values to 5 minutes. If you do not do this step then you will have problems in InfoSWMM due to the rainfall interval not being equal to the defined raingage interval.



Step 3: You will need to format the new rounded time as a time format for import into a InfoSWMM time  series.  The time series is created in the operation tab of the attribute browser.



Step 4: Open up and make a new time series in InfoSWMM.



Step 5Copy and then paste the date, rounded time column and rainfall column into the InfoSWMM time series columns.


 Step 6:  Make a raingage in the DB Table in InfoSWMM that will use the time series you just made.  In the case of the Weather Undergrounddata we will use inches, intensity, a rainfall interval of 5 minutes, time series and the name of the time series.  SCF should be 1 for Snow conversion and do not need to include a Filename or Station name as we are not using an external file.



SWMM 5 Interface Guide Tips

SWMM 5 Interface Guide Tips

SWMM 5 has a Interfacing guide on http://www.epa.gov/ednnrmrl/models/swmm/index.htm#Downloads for creating a VB, Delphi or command line C program to both run and printout some of the output file results from SWMM 5.   The readme file is self explanatory in the file http://www.epa.gov/ednnrmrl/models/swmm/swmm5_iface.zip but here are a few tips for those of you who want to compile the InterFaceGuide C code in a Executable file for Windows.

1.   The first step is to make a new console program in Visual Studio

2.   The second step is to add the files swmm5.h, swmm5_iface.h, swmm5_iface.c, test.c to the project header and source files.
3.   Next add the file swmm5.lib as an additional dependency along with the directory name.



4.   If you want to save the .out and .rpt files then you must comment out the remove statements at the end of test.c


5.   You need to make a batch file to both run and save the input and output files from SWMM 5,
6.   The file swmm5.dll must be in the same directory as the created interface executable file,
7.   It will help you see the intermediate output if you add a pause statement in the batch file to hold the fprintf statements on the screen for you to view.





Create Watersheds Using InfoSWMM Subcatchment Manager

Subject:  Create Watersheds Using InfoSWMM Subcatchment Manager


The Subcatchment Manager of InfoSWMM will  help calculate most of the  physical parameters associated with a Watershed or Subcatchment in SWMM 5 from a Digital Elevation Data (Step 1).  The Subcatchments area created from a Flow Direction Raster (Step 2) and a Flow Accumulation Raster (Step 4) after filling in any Sinks in the DEM (Step 3).  The created watersheds (Step 5).   The physical parameters estimated from the DEM are shown in Figure 1.

Figure 1.  Physical Data Estimated from a DEM using the Subcatchment Manager in InfoSWMM.


Step 1.  Find, Create or Otherwise Locate a TIN, DEM or DTM for the project area with elevation data that you can  use with the InfoSWMMSubcatchment Manager.


Step 2.   Create a Flow Direction Raster using the Watershed Command.


Step 3.   Check to see if there are Sinks in the Elevation Data that have to be filled using the Filled Sink Command.


Step 4.   Create a Flow Accumulation Raster


Step 5.   Create the Watersheds from the Flow Direction and Flow Accumulation Rasters.



Display Feature Options for InfoSewer and InfoSWMM

Display Feature Options for InfoSewer and InfoSWMM

Or, how to manage your active and inactive network in a scenario

Display Feature Options for InfoSewer and InfoSWMM

How to Make a New Geodatabase for InfoSWMM and InfoSewer in Arc Map

How to Make a New Geodatabase for InfoSWMM and InfoSewer in Arc Map

How to Make a New Geodatabase for InfoSWMM and InfoSewer in Arc Map



Introduction to Scenarios in ICM

### Introduction to Scenarios in ICM In network modeling software like InfoWorks ICM, scenarios are a powerful feature that allows users to ...