Thursday, January 27, 2011

Steps in converting a Arc GIS 10 Model to a Arc GIS 9.3 Model in InfoSWMM or InfoSewer

Note:  Steps in converting a Arc GIS 10 Model to a Arc GIS 9.3 Model in InfoSWMM or InfoSewer

Step 1.  Make an empty Arc GIS 9.3 model in InfoSWMM using the Arc GIS Default when initializing the model,
Step 2.  Save the empty model and then copy and paste the files from the Arc GIS 10 ISDB folder to the Arc GIS 9.3 folder, but not the MAP sub directory,
Step 3.  Open the Arc GIS 9.3 mxd file and then use the Tool Update Map from DB after Initialization,
Step 4.  Zoom to the model extents and then set data frame to the model view so it can be used more efficiently in the future before saving the model.


An alternative Method

Note:  Steps in converting a Arc GIS 10 Model to a Arc GIS 9.3 Model in InfoSWMM or InfoSewer

1.    You have a Arc GIS 10 file from another computer that was created with Arc GIS 10+

2.     1. Using Windows Explorer 
2.   Delete the mxd file and make a blank mxd file with the same name as the IEDB folder or in this case fm_sample.mxd
3.    Click on the new file and you now have Arc GIS 9.3 model without any copying and pasting needs.
4.   The model will look like a small dot on the screen so you need to
5.    Zoom to the model extents and then set data frame to the model view so it can be used more efficiently in the future before saving the model.

Friday, January 21, 2011

Cutoff Divider in the SWMM 5 Kinematic Wave Solution

Subject: Cutoff Divider in the SWMM 5 Kinematic Wave Solution

A divider node in the SWMM 5 Kinematic Wave solution will divide the inflow to a node for two downstream links based on three criteria:

1. Cutoff Divider,
2. Tabular Divider, and
3. Weir Divider

The rule for a Cutoff Divider is that the flow up to the Cutoff Flow will flow down the undiverted link and any flow over the cutoff flow will go down the diverted link. If the total inflow to a node the current flow in the undiverted link then the extra flow will go down the diverted link even though the flow in the undiverted link is not equal to the cutoff flow.

Figure 1.  How the Cutoff Divider Works in SWMM 5

Thursday, January 20, 2011

SWMM 5 Slope Rules

Note: SWMM 5 Slope Rules

The relationship between the upstream and downstream node invert and offset elevations, the input conduit length and the slope used in the SWMM 5 simulation are shown in Figure 1.
SWMM 5 Slope Rules

A rise in Pipe Inverts Across a SWMM 5 Node

Subject:  This is how SWMM 5 handles  jumps in pipe invert across a node. 
The water surface in the node determines the flow in the link, as the depth increases due to upstream inflow eventually the downstream link will start flowing.
A rise in Pipe Inverts Across a SWMM 5 Node


Adverse sloped links in SWMM 5 or InfoSWMM

Subject:  Adverse sloped links in SWMM 5 or InfoSWMM

This is how an adverse sloped link is treated in SWMM 5 or InfoSWMM – the link is reversed so that the link now has a positive slope and the original upstream node is now the downstream node. The flow in the reversed link is now negative as it moves from the original Node A to Node B and the flow is positive if the flow moves from the original node B to Node A.

Figure 1.  How Adverse Sloped Links are Treated in SWMM 5.

Monday, January 17, 2011

Sunday, January 16, 2011

Saturday, January 15, 2011

SWMM 5 Input Sections

Figure 1.  SWMM 5 Input Sections

Subcatchment Pathways in SWMM 5

Figure 1. SWMM 5 Subcatchment Pathways

Weather Underground Temperature Data and SWMM 5

Subject:  Weather Underground Temperature Data and SWMM 5

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 SWMM 5 by copying from Excel to a time series in SWMM 5 and then use either the wind speed, precipitation or temperature in a model. 

Figure 1. Weather Underground Temperature Data
Figure 2.  Save the Data to Excel by using the Comma Delimited File Command.


Figure 3. CSV File Exported to Excel
Figure 4:  Make a SWMM 5 Time Series to Copy and Paste the Temperature from the CSV File.

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 SWMM 5 as is by copying and pasting from Excel to a SWMM 5 time series file.  You need to perform the following steps:

1.     Make a new SWMM 5 Time Series,
2.     Copy and Paste the Temperature data from Excel to the SWMM 5 Time Series,
3.     Use the Climatelogy Data Tab and select the new Temperature Time Series as the source of the simulation temperature,
4.     You can see the simulated temperature by graphing the System Temperature.

Figure 5. SWMM 5 Climatology Tab and the resultant System Variable Graph of the Temperature.

Saturday, January 8, 2011

Conduit Types in SWMM 5.0.021


Subject:  Conduit Types in SWMM 5.0.021

Figure 1.  24 Conduit Shapes in SWMM 5.1.002

Types of SWMM 5 Curves


Subject:  Types of SWMM 5 Curves

There are ten types of curves in SWMM 5.0.021 in seven categories accessible through the Data Tab and the Attribute Browser – including four types of Pump Curves:

  1. Storage
  2. Diversion
  3. Rating
  4. Tidal
  5. Control
  6. Shape
  7. Pump
    1. Pump1
    2. Pump2
    3. Pump3
    4. Pump4
Figure 1: Curve Types in SWMM 5


Diversion LInks in SWMM 5 and 5.0.021


Subject:  Diversion Links in SWMM 5 and 5.0.021

Diversion links in SWMM 5 are Pumps (5 types), Orifices (2 types), Weirs (4 types) and Outlets (3 types).
  
Figure 1.  Diversion Links in SWMM 5

Types of Nodes and Links in SWMM 5


Subject:  Types of Nodes and Links in SWMM 5

The main objects in a SWMM 5 drainage network are the nodes and links. Nodes are Junctions,  Storages,  Dividers and  Outfalls.  Links are Conduits, Pumps, Orifices, Weirs and Outlets.  There is one type of junction but 5 types of Oufalls, 3 types of Storages and 4 types of Dividers. The dividers can be used in the dynamic wave solution of SWMM 5 but only divide the flow in the kinematic wave solution.

Figure 1.  Node and Link Objects in SWMM 5
Figure 2:  Node Objects in SWMM 5

SWMM 5.0.021 has 16 Overall Modeling Objects

Subject:  SWMM 5.0.021 has 16 Overall Modeling Objects

SWMM 5.0.021 has 16 Overall Modeling Objects divided into 4 categories:

1.   General
2.   Subcatchments
3.   Nodes
4.   Links

The objects in the General category can be applied to more than one category. For example, you can simulate pollutants either at a node or at the subcatchment level.

The objects are:
1.           Gage
2.           Links
3.           Shape
4.           Transect
5.           Nodes
6.           Unit Hydrograph
7.           Time Pattern
8.           Subcatchments
9.           Snowmelt
10.                Aquifer
11.                LID
12.                Landuse
13.                Pollut
14.                Curves
15.                Time Series
16.                Controls
Figure 1.  Modeling Objects in SWMM 5.0.021



Friday, January 7, 2011

How to Import a File from SWMM5 toH20MAP SWMM

Subject:  How to Import a File from SWMM5 toH20MAP SWMM

Step 1:  Make a new H2oMAP SWMM Network

Figure 1.  New Network Dialog.

Step 2:  Use the Exchange Tool / Import EPA SWMM 5
Figure 2. Exchange Tool in H20MAP SWMM

Step 3:  Import your EPA SWMM data file after locating it using the browser.  Click on Import.
Figure 3.  Import Dialog in H2OMAP SWMM.


Step 4:  Use the Attribute Browser,  DB Editor and Run Manager to see your data and network after import.
Figure 4.  The imported network in H2oMAP SWMM.


Tributary Area to a Node in InfoSWMM

Note:  Tributary Area to a Node in 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 Area from 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


Tuesday, January 4, 2011

How to add a volume variable to SWMM 5

Subject:  How to add a volume variable to SWMM 5


The purpose of this email is to explain how to add another print variable to the DOS version of SWMM 5 so that it can saved in a table in the text output file (after you recompile the modified C code).  The changes have no impact on the SWMM 5 GUI or the SWMM 5 DLL engine.

It is relatively simple five step procedure:

Step 1:  Add a new variable LINK_VOLUME at the end of the link variables in enums.h This is much easier if you just add a report variable that already is part of the link or node structure in objects.h  Your only restriction is that is should be added before the water quality variables.
 // increase by 1 the value of Max  Results in enums.h 
#define MAX_LINK_RESULTS
 7    
enum LinkResultType {
      LINK_FLOW,              // flow rate
      LINK_DEPTH,             // flow depth
      LINK_VELOCITY,          // flow velocity
      LINK_FROUDE,            // Froude number
      LINK_CAPACITY,          // ratio of depth to full depth
      
LINK_VOLUME, // current volume of the conduit - august 2007
      LINK_QUAL};             // concentration of each pollutant
 
Step 2:  Add the report index for LINK_VOLUME to procedure output_open in ouput.c

k = LINK_VOLUME; 
fwrite(&k, sizeof(int), 1, Fout.file);
for (j=0; j<nPolluts; j++)


Step 3: Save the link new volume to the binary output file in procedure link_get_results in link.c.  The new volume of the link has already been saved in the already existing variable newVolume in the Link Structure.

x[LINK_CAPACITY] = (float)c;
x[
LINK_VOLUME]   = (float)Link[j].newVolume;

Step 4. Modify report.c to include the new report variable in procedure report_links

fprintf(Frpt.file, "\n  %11s %8s  %9.3f %9.3f %9.3f %9.1f %9.1f",                          theDate, theTime, LinkResults[LINK_FLOW], LinkResults[LINK_VELOCITY], LinkResults[LINK_DEPTH]  LinkResults[LINK_CAPACITY]* 100.0,
LinkResults[LINK_VOLUME]);
Step 5.  Modify procedure report_LinkHeader in report.c to show the new variable volume:

fprintf(Frpt.file,
"\n                             Flow  Velocity     Depth   Percent   
   Volume");
");
 

Sunday, January 2, 2011

Rain Barrel LID Summary

Subject:  Rain Barrel LID Summary
Rain Barrel LID Summary



Rain Barrel LID Fluxes in SWMM 5.0.021


Subject:  Rain Barrel LID Fluxes in SWMM 5.0.021

The fluxes are limited in a Rain Barrel Low Impact Development (LID) control in SWMM 5.  The fluxes only include (Figure 1 and Figure 2):

1.      Total Inflow,
2.      Surface Outflow,
3.      Drain Outflow and
4.      Final Storage

The fluxes are also listed in the LID Performance Summary Table in the output text file.

  ***********************
  LID Performance Summary
  ***********************


  ----------------------------------------------------------------------------------------------------------
                                   Total      Evap     Infil   Surface    Drain      Init.     Final     Pcnt.
                                  Inflow      Loss      Loss   Outflow   Outflow   Storage   Storage     Error
  Subcatchment      LID Control       in        in        in        in        in        in        in
  -----------------------------------------------------------------------------------------------------------
  S1                RainBarrels    110.95      0.00      0.00     62.95     28.15      0.00     23.11    -2.94
Figure 1. Flux Pathways for a Rain Barrel LID

Figure 2. Rain Barrel LID Fluxes


Rain Barrel LID Drain Outflow in SWMM 5.0.021


Subject:  Rain Barrel LID Drain Outflow in SWMM 5.0.021

 The drain outflow in a Rain Barrel LID is defined by the user defined drain coefficient and drain exponent and the simulation storage depth  The storage outflow does not occur until it has been dry for at least the drain delay time in hours.
Figure 1.  Storage Outflow or Drain Outflow for a Rain Barrel LID

Figure 2. You can see the effect of the Drain Delay in the output file for LID Simulation.



Saturday, January 1, 2011

Rain Barrel LID Storage Depth in SWMM 5.0.021


Subject:  Rain Barrel LID Storage Depth in SWMM 5.0.021

The storage depth in a Rain Barrel LID is limited by the user defined maximum rain barrel height in inches or millimeters.  A rain barrel is one of the new LID features in SWMM 5.0.021
Figure 1.  Storage Depth in a Rain Barrel LID

Link and Node Basics in SWMM 5


Subject:  Link and Node Basics in SWMM 5
Figure 1. Link and Node Basics in SWMM 5

What are Hours Above Full Normal Flow in SWMM 5?


Subject:  What is Hours Above Full Normal Flow in SWMM 5?

The Conduit Surcharge Summary Table in the Report text file or Status Report lists a column of results called “Hours above Full Normal Flow”.  This is the number of hours the flow in the link was above the REFERENCE full flow as calculated by Manning’s equation.  The flow in the link can be above full flow even if the link is not a full depth if the head difference across the link is high enough.  The head difference is the water surface elevation at the upstream end of the link minus the water surface elevation at the downstream end of the link.  The capacity or d/D of the link varies from 0 to 1 with 1 being a full pipe or link.
Figure 1.  Hours above Normal Flow in SWMM 5 Links

Figure 2. Flow versus Full Flow in SWMM 5

Hidden features of the 1D St Venant solution for SWMM5, InfoSWMM, and ICM SWMM Networks

1/ There is also an ArcEngine version of InfoSWMM call InfoSWMM SA. I will SA to show some hidden features of the 1D St Venant solution f...