Tuesday, January 28, 2014

Snippet of 25 Water Quality Constituents for SWMM 5

This is for students of SWMM 5 who want to quickly have many water quality constituents in their model.  You can copy and paste this snippet to your SWMM5.INP file and change the coverages sections to have 25 Pollutants with Buildup and Washoff Sections.  I hope this helps you in your water quality modeling.

[POLLUTANTS]
;;               Mass   Rain       GW         I&I       Decay     Snow Co-Pollut.       Co-Pollut. DWF
;;Name           Units Concen.   Concen.   Concen.   Coeff.     Only Name             Fraction   Concen.
;;-------------- ------ ---------- ---------- ---------- ---------- ----- ---------------- ---------- ----------
AmmonicalNitrogenNH3-N MG/L   1         0         0         0         NO   *               0         0
BiochemicalOxygenDemand(BOD) MG/L   1         0         0         0         NO   *               0         0
CalciumHardness MG/L   1         0         0         0         NO   *               0         0
ChemicaOxygenDemandCOD MG/L   1         0         0         0         NO   *               0         0
ChorideasCL     MG/L   1         0         0         0         NO   *               0         0
Colour           uG/L   1         0         0         0         NO   *               0         0
Conductivity     MG/L   1         0         0         0         NO   *               0         0
DissolvedPhosporus mg/l   1         0         0         0         NO   *               0         0
FecalColiform   UG/L   1         0         0         0         NO   *               0         0
FlavourThresholdTest uG/L   1         0         0         0         NO   *               0         0
MagnesiumHardness MG/L   1         0         0         0         NO   *               0         0
Odor             uG/L   1         0         0         0         NO   *               0         0
Oil&Grease       MG/L   1         0         0         0         NO   *               0         0
pH               MG/L   1         0         0         0         NO   *               0         0
Sulfide         MG/L   1         0         0         0         NO   *               0         0
TotalColiform   #/L   1         0         0         0         NO   *               0         0
TotalDissolvedSolids MG/L   1         0         0         0         NO   *               0         0
TotalHardness   MG/L   1         0         0         0         NO   *               0         0
TotalNitrogen   mg/l   1         0         0         0         NO   *               0         0
TotalPhosporus   MG/L   1         0         0         0         NO   *               0         0
TotalSolids     MG/L   1         0         0         0         NO   *               0         0
TotalSuspendedSolids(TSS) MG/L   1         0         0         0         NO   *               0         0
Turbidity       MG/L   1         0         0         0         NO   *               0         0

[LANDUSES]
;;               Cleaning   Fraction   Last
;;Name           Interval   Available Cleaned
;;-------------- ---------- ---------- ----------
Residential     1         0         0
Commercial       1         0         0
MixedUse         1         0         0

[COVERAGES]
;;Subcatchment   Land Use         Percent
;;-------------- ---------------- ----------
Thaltej         Residential     39.23
Thaltej         Commercial       3.23
Thaltej         MixedUse         9.35
Bodakdev         Residential     29.29
Bodakdev         Commercial       6.88
Bodakdev         MixedUse         5.67
Memnagar         Residential     53.77
Memnagar         Commercial       1.99
Memnagar         MixedUse         18.41
Vastrapur       Residential     49.85
Vastrapur       Commercial       5.51
Vastrapur       MixedUse         13.2
Prahladnagar     Residential     42.92
Prahladnagar     Commercial       4.96
Prahladnagar     MixedUse         15.7
Makarba         Residential     26.66
Makarba         Commercial       1.61
Makarba         MixedUse         8.7

[LOADINGS]
;;Subcatchment   Pollutant       Loading
;;-------------- ---------------- ----------

[BUILDUP]
;;LandUse       Pollutant       Function   Coeff1     Coeff2     Coeff3     Normalizer
;;-------------- ---------------- ---------- ---------- ---------- ---------- ----------
Residential     Colour           NONE       0.15       0.5       0         AREA
Residential     Odor             NONE       0.15       0.5       0         AREA
Residential     FlavourThresholdTest NONE       0.15       0.5       0         AREA
Residential     Conductivity     NONE       0.15       0.5       0         AREA
Residential     TotalSolids     NONE       0.15       0.5       0         AREA
Residential     TotalDissolvedSolids NONE       0.15       0.5       0         AREA
Residential     TotalSuspendedSolids(TSS) NONE       0.15       0.5       0         AREA
Residential     ChorideasCL     NONE       0.15       0.5       0         AREA
Residential     Oil&Grease       NONE       0.15       0.5       0         AREA
Residential                                                            
Residential     TotalHardness   NONE       0.15       0.5       0         AREA
Residential     CalciumHardness NONE       0.15       0.5       0         AREA
Residential     MagnesiumHardness NONE       0.15       0.5       0         AREA
Residential     Sulfide         NONE       0.15       0.5       0         AREA
Residential     pH               NONE       0.15       0.5       0         AREA
Residential     AmmonicalNitrogenNH3-N NONE       0.15       0.5       0         AREA
Residential     ChemicaOxygenDemandCOD NONE       0.15       0.5       0         AREA
Residential     BiochemicalOxygenDemand(BOD) NONE       0.15       0.5       0         AREA
Residential     TotalColiform   NONE       0.15       0.5       0         AREA
Residential     FecalColiform   NONE       0.15       0.5       0         AREA
Residential     TotalPhosporus   NONE       0.15       0.5       0         AREA
Residential     DissolvedPhosporus NONE       0.15       0.5       0         AREA
Residential     TotalNitrogen   NONE       0.15       0.5       0         AREA
Commercial       Colour           NONE       0.15       0.5       0         AREA
Commercial       Odor             NONE       0.15       0.5       0         AREA
Commercial       FlavourThresholdTest NONE       0.15       0.5       0         AREA
Commercial       Conductivity     NONE       0.15       0.5       0         AREA
Commercial       TotalSolids     NONE       0.15       0.5       0         AREA
Commercial       TotalDissolvedSolids NONE       0.15       0.5       0         AREA
Commercial       TotalSuspendedSolids(TSS) NONE       0.15       0.5       0         AREA
Commercial       ChorideasCL     NONE       0.15       0.5       0         AREA
Commercial       Oil&Grease       NONE       0.15       0.5       0         AREA
Commercial                                                              
Commercial       TotalHardness   NONE       0.15       0.5       0         AREA
Commercial       CalciumHardness NONE       0.15       0.5       0         AREA
Commercial       MagnesiumHardness NONE       0.15       0.5       0         AREA
Commercial       Sulfide         NONE       0.15       0.5       0         AREA
Commercial       pH               NONE       0.15       0.5       0         AREA
Commercial       AmmonicalNitrogenNH3-N NONE       0.15       0.5       0         AREA
Commercial       ChemicaOxygenDemandCOD NONE       0.15       0.5       0         AREA
Commercial       BiochemicalOxygenDemand(BOD) NONE       0.15       0.5       0         AREA
Commercial       TotalColiform   NONE       0.15       0.5       0         AREA
Commercial       FecalColiform   NONE       0.15       0.5       0         AREA
Commercial       TotalPhosporus   NONE       0.15       0.5       0         AREA
Commercial       DissolvedPhosporus NONE       0.15       0.5       0         AREA
Commercial       TotalNitrogen   NONE       0.15       0.5       0         AREA
MixedUse         Colour           NONE       0.15       0.5       0         AREA
MixedUse         Odor             NONE       0.15       0.5       0         AREA
MixedUse         FlavourThresholdTest NONE       0.15       0.5       0         AREA
MixedUse         Conductivity     NONE       0.15       0.5       0         AREA
MixedUse         TotalSolids     NONE       0.15       0.5       0         AREA
MixedUse         TotalDissolvedSolids NONE       0.15       0.5       0         AREA
MixedUse         TotalSuspendedSolids(TSS) NONE       0.15       0.5       0         AREA
MixedUse         ChorideasCL     NONE       0.15       0.5       0         AREA
MixedUse         Oil&Grease       NONE       0.15       0.5       0         AREA
MixedUse                                                                
MixedUse         TotalHardness   NONE       0.15       0.5       0         AREA
MixedUse         CalciumHardness NONE       0.15       0.5       0         AREA
MixedUse         MagnesiumHardness NONE       0.15       0.5       0         AREA
MixedUse         Sulfide         NONE       0.15       0.5       0         AREA
MixedUse         pH               NONE       0.15       0.5       0         AREA
MixedUse         AmmonicalNitrogenNH3-N NONE       0.15       0.5       0         AREA
MixedUse         ChemicaOxygenDemandCOD NONE       0.15       0.5       0         AREA
MixedUse         BiochemicalOxygenDemand(BOD) NONE       0.15       0.5       0         AREA
MixedUse         TotalColiform   NONE       0.15       0.5       0         AREA
MixedUse         FecalColiform   NONE       0.15       0.5       0         AREA
MixedUse         TotalPhosporus   NONE       0.15       0.5       0         AREA
MixedUse         DissolvedPhosporus NONE       0.15       0.5       0         AREA
MixedUse         TotalNitrogen   NONE       0.15       0.5       0         AREA

[WASHOFF]
;;                                                             Cleaning   BMP
;;Land Use       Pollutant       Function   Coeff1     Coeff2     Effic.     Effic.
;;-------------- ---------------- ---------- ---------- ---------- ---------- ----------
Residential     Colour           EMC       1         0         0         0
Residential     Odor             EMC       1         0         0         0
Residential     FlavourThresholdTest EMC       1         0         0         0
Residential     Conductivity     EMC       1         0         0         0
Residential     TotalSolids     EMC       1         0         0         0
Residential     TotalDissolvedSolids EMC       1         0         0         0
Residential     TotalSuspendedSolids(TSS) EMC       1         0         0         0
Residential     ChorideasCL     EMC       1         0         0         0
Residential     Oil&Grease       EMC       1         0         0         0
Residential                                                            
Residential     TotalHardness   EMC       1         0         0         0
Residential     CalciumHardness EMC       1         0         0         0
Residential     MagnesiumHardness EMC       1         0         0         0
Residential     Sulfide         EMC       1         0         0         0
Residential     pH               EMC       1         0         0         0
Residential     AmmonicalNitrogenNH3-N EMC       1         0         0         0
Residential     ChemicaOxygenDemandCOD EMC       1         0         0         0
Residential     BiochemicalOxygenDemand(BOD) EMC       1         0         0         0
Residential     TotalColiform   EMC       1         0         0         0
Residential     FecalColiform   EMC       1         0         0         0
Residential     TotalPhosporus   EMC       1         0         0         0
Residential     DissolvedPhosporus EMC       1         0         0         0
Residential     TotalNitrogen   EMC       1         0         0         0
Commercial       Colour           EMC       1         0         0         0
Commercial       Odor             EMC       1         0         0         0
Commercial       FlavourThresholdTest EMC       1         0         0         0
Commercial       Conductivity     EMC       1         0         0         0
Commercial       TotalSolids     EMC       1         0         0         0
Commercial       TotalDissolvedSolids EMC       1         0         0         0
Commercial       TotalSuspendedSolids(TSS) EMC       1         0         0         0
Commercial       ChorideasCL     EMC       1         0         0         0
Commercial       Oil&Grease       EMC       1         0         0         0
Commercial                                                              
Commercial       TotalHardness   EMC       1         0         0         0
Commercial       CalciumHardness EMC       1         0         0         0
Commercial       MagnesiumHardness EMC       1         0         0         0
Commercial       Sulfide         EMC       1         0         0         0
Commercial       pH               EMC       1         0         0         0
Commercial       AmmonicalNitrogenNH3-N EMC       1         0         0         0
Commercial       ChemicaOxygenDemandCOD EMC       1         0         0         0
Commercial       BiochemicalOxygenDemand(BOD) EMC       1         0         0         0
Commercial       TotalColiform   EMC       1         0         0         0
Commercial       FecalColiform   EMC       1         0         0         0
Commercial       TotalPhosporus   EMC       1         0         0         0
Commercial       DissolvedPhosporus EMC       1         0         0         0
Commercial       TotalNitrogen   EMC       1         0         0         0
MixedUse         Colour           EMC       1         0         0         0
MixedUse         Odor             EMC       1         0         0         0
MixedUse         FlavourThresholdTest EMC       1         0         0         0
MixedUse         Conductivity     EMC       1         0         0         0
MixedUse         TotalSolids     EMC       1         0         0         0
MixedUse         TotalDissolvedSolids EMC       1         0         0         0
MixedUse         TotalSuspendedSolids(TSS) EMC       1         0         0         0
MixedUse         ChorideasCL     EMC       1         0         0         0
MixedUse         Oil&Grease       EMC       1         0         0         0
MixedUse                                                                
MixedUse         TotalHardness   EMC       1         0         0         0
MixedUse         CalciumHardness EMC       1         0         0         0
MixedUse         MagnesiumHardness EMC       1         0         0         0
MixedUse         Sulfide         EMC       1         0         0         0
MixedUse         pH               EMC       1         0         0         0
MixedUse         AmmonicalNitrogenNH3-N EMC       1         0         0         0
MixedUse         ChemicaOxygenDemandCOD EMC       1         0         0         0
MixedUse         BiochemicalOxygenDemand(BOD) EMC       1         0         0         0
MixedUse         TotalColiform   EMC       1         0         0         0
MixedUse         FecalColiform   EMC       1         0         0         0
MixedUse         TotalPhosporus   EMC       1         0         0         0
MixedUse         DissolvedPhosporus EMC       1         0         0         0
MixedUse         TotalNitrogen   EMC       1         0         0        

Sunday, January 26, 2014

How InfoSewer and InfoSWMM are Extensions in Arc Map with Add On Extensions with Applications


A Possible Arc Map Extensions
B Possible InfoSWMM Add On Extensions to the basic Arc Map Program
C Applications such as InfoSWMM 2D, RDII Analyst and Risk Assessment Manager that work alongside of InfoSWMM or InfoSewer

 


Return Periods Using The SWMM 5 Statistics Tool

Return Periods Using The  SWMM 5 Statistics Tool

A great feature in SWMM 5 is the Statistics tool which allows you compute the long term statistics for 10, 25, 50, 100, 500 or 1000 years (and probably longer).  You run the simulation, pick a parameter to analyze then compute the:
A. Return Period of all of the Events,
B. Based on the Overall Time Series of Results, and
C. The Frequency Graph of the Found Events.

The Return Period is normally the Simulation Length + 1, For example, a 100 year simulation has a return period of 101 years.  Or in terms of the SWMM 5 Delphi Code

K := E^.Rank;
R := (Results.Duration + 1 - 2*Stats.PlotParameter)/(K - Stats.PlotParameter);

where the PlotParameter is normally zero so the value for R ends up being

R := (Results.Duration + 1 )/(K);

Return Periods in SWMM 5 Statistics

Saturday, January 25, 2014

New Box Folder containing the SWMM 4 Fortran Files from 2004

The SWMM4 Fortran Connection to the EPA Water Quality Program WASP

The SWMM4 Fortran Connection to the EPA Water Quality Program WASP for future developers and those who want to connect SWMM5 to WASP

For @mmjay27 from @PCSWMM All models are wrong, so honest modellers report their uncertainty first and foremost

Did you ever wonder how to Twitter efficiently? Use a twitter name and a keyword to find the tweets

Thursday, January 23, 2014

The Life-Cycle of a Single Water Drop, in a Pop-Up Book Animated in Stop-Motion

From Maria Popova

The Life-Cycle of a Single Water Drop, in a Pop-Up Book Animated in Stop-Motion

by 
Nature’s rhythms in masterful paper engineering.
Given my soft spot for pop-up books, I was instantly taken with this collaboration between paper engineer extraordinaire Helen Friel (who brought us those amazing 3D paper sculptures of Euclid’s elements), photographerChris Turner, and animator Jess Deacon, visualizing the life-cycle of a single drop of water as a pop-up book animated in stop-motion, nearly a year in the making:

Sunday, January 19, 2014

How to Diagnose a SWMLive Model using InfoSWMM

Introduction to Running SWMMLive from @Innovyze

Introduction to Running SWMMLive from @Innovyze

A new product from Innovyze is SWMMLive which combines our InfoSWMM or H2OMap SWMM engine with the power and features of ICMLive and the ICM Interface.  This will be a continuation of my blogs on SWMMLive and for this blog we will discuss the basics of getting an InfoSWMM model to run in SWMMLive.   The 1st step is to use the Add On extension in InfoSWMM and H2OMap SWMM from the tools menu (Figure 1).  This will start the SWMMLive Manager where you can export your InfoSWMM or H2OMap  SWMM model to SWMMlive (which is a different Innovyze product) and Diagnose the SWMMLive Model if needed (Figure 2).    Once you have exported the InfoSWMM model then you can import the model to SWMMLive as the network in the Live Group of your Master Group (Bullet 1 in Figure 3).   You run the model using the ICM like Run Manager but using the InfoSWMM engine (currently based on SWMM 5.0.022) as you can see in Bullet 2 of Figure 3.    You can run multiple scenarios in a run (Bullet 3 in Figure 3) along with many of the ICMLive features such as Ground Tin's,  Queries,  Spatial Databases and Selection lists (Bullet 4 in Figure 3).   Once you run the model you can use the ICM tools to select (Bullet 5),  Select (Bullet 6) and View the Graphs or Grid Views (Bullet 7).  In the next blogs we will show how to set up Alerts and Other More Advanced Features. 

Figure 1  SWMMLIve is an Add On Extension to H2OMap SWMM and InfoSWMM

Figure 2.   In InfoSWMM and H2oMap SWMM you export a file to SWMMLIVE using the SWMMLive Manager
Figure 3.  An Introduction to Running SWMMLive

How SWMM5 uses zero Subcatchment Slope in its Runoff Calculations

This is just a note on how SWMM5 uses zero Subcatchment Slope in its Runoff Calculations:
1. If the slope is zero then the engine will NOT calculate Runoff as the WCON parameter is zero (Bullet 4 in Figure 1)
2. If you do want Runoff from all of your Subcatchments then you need to check the slope value in your Hydrology by doing a data query (Bullet 2 in Figure 2)
3. If you want to use the zero slope as a facility manager in your models then you can use a zero slope and have no Runoff. it is a way to deactivate a portion or section of your model.

Figure 1.  How SWMM5 Uses Zero Subcatchment Slope



Saturday, January 18, 2014

Graphical and Database Tools for Checking your InfoSWMM, H2OMap SWMM and SWMM 5 Models

If you are running a large InfoSWMM, H2OMap SWMM or SWMM 5 model is it often hard to see all of the details for the Runoff Hydrology at one glance.  A few quick checks on the overall balance sometimes help speed up the model greatly for new runs:

1. Check the Overall Runoff Balance (Bullet 1 in Figure 1)
2. Check the overall Hydraulic Balance (Bullet 2 in Figure 1)
3. Check the average time step (Bullet 3 in Figure 1). If the average time step is much less than the Maximum time step the Maximum time step should be reduced in the next run.
4. Do have pervious infiltration in every Subcatchment?  (Bullet 4 in Figure 1)
5. The Min, Mean and Max Infiltration Rate can be found with the DB Statistics Tool.
6. A Scatter Plot of Runoff Coefficient versus Infiltration for all the Subcatchments to show any outlying Subcatchments - this can show an improper setup for the Infiltration in InfoSWMM DB Table (Figure 2).

Figure 1. Mass Balance Items to Check in the InfoSWMM or H2OMap SWMM Output Run Manager
Figure 2.  A Scatter Plot of Runoff  Coefficient versus Infiltration can also Show Outlying Subcatchments

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...