Tuesday, November 15, 2011

Qfull in SWMM 5 for various levels of y/yFull in a Circular Pipe

Subject:  Qfull in SWMM 5 for various levels of y/yFull in a Circular Pipe


Here is a table that shows the value of Q/Qfull for various levels of y/yFull or d/D in SWMM5.  The full flow if you loop off the top of a circular pipe at the 0.83 level would be about 1.01 times Qfull for the whole pipe.  Figure 1 shows how the flows are calculated at various values, Table 1 and Figure 2 show the values of a/aFull, r/rFull and q/qFull for various values of y/yFull.

Figure 1.   How Qfull and Qmax are calculated in  SWMM 5 based on the roughness, slope and a lookup table for area and hydraulic radius for a circular pipe.



y/yFull
a/aFull
r/rFull
Q/qFull
0.00000
0.00000
0.01000
0.00000
0.02000
0.00471
0.05280
0.00066
0.04000
0.01340
0.10480
0.00298
0.06000
0.02445
0.15560
0.00707
0.08000
0.03740
0.20520
0.01301
0.10000
0.05208
0.25400
0.02089
0.12000
0.06800
0.30160
0.03058
0.14000
0.08505
0.34840
0.04211
0.16000
0.10330
0.39440
0.05556
0.18000
0.12236
0.43880
0.07066
0.20000
0.14230
0.48240
0.08753
0.22000
0.16310
0.52480
0.10612
0.24000
0.18450
0.56640
0.12630
0.26000
0.20665
0.60640
0.14805
0.28000
0.22920
0.64560
0.17121
0.30000
0.25236
0.68360
0.19583
0.32000
0.27590
0.72040
0.22172
0.34000
0.29985
0.75640
0.24893
0.36000
0.32420
0.79120
0.27733
0.38000
0.34874
0.82440
0.30662
0.40000
0.37360
0.85680
0.33702
0.42000
0.39878
0.88800
0.36842
0.44000
0.42370
0.91760
0.40009
Table 1.   Table  of y/yFull and Q/Qfull based on a/aFull and r/rFull


Figure 2.   Graph of values in Table 1

Sunday, November 13, 2011

How is the Mass Balance Calculated in the SWMM 5 Groundwater Component?

Subject:   How is the Mass Balance Calculated in the SWMM 5 Groundwater Component?

How is the Mass Balance Calculated in the SWMM 5 Groundwater Component?

by dickinsonre
Subject:   How is the Mass Balance Calculated in the SWMM 5 Groundwater Component?

The groundwater component of SWMM 5 is found in the gwater.c code.  It (as is all of SWMM 5) is excellently written in small functions by Lew Rossman of the EPA during the SWMM 5 development process.  However, code being code sometimes it is easier to see how the code is functioning.  This blog or note tries to show the mass balance local function updateMassBal

The groundwater component consists of groundwater data (gw in the equation) and aquifer data (a) in the equation.  The equation for the groundwater mass balance is shown in Figure 1.   The infiltration, evaporation occur only over the perviousarea but the percolation out the bottom of the aquifer occurs over the whole Subcatchment.

Figure 1.  Groundwater Mass Balance

Make study more effective, the easy way

Make study more effective, the easy way

Decades old research into how memory works should have revolutionised University teaching. It didn’t.
If you’re a student, what I’m about to tell you will let you change how you study so that it is more effective, more enjoyable and easier. If you work at a University, you – like me – should hang your head in shame that we’ve known this for decades but still teach the way we do.
There’s a dangerous idea in education that students are receptacles, and teachers are responsible for providing content that fills them up. This model encourages us to test students by the amount of content they can regurgitate, to focus overly on statements rather than skills in assessment and on syllabuses rather than values in teaching. It also encourages us to believe that we should try and learn things by trying to remember them. Sounds plausible, perhaps, but there’s a problem. Research into the psychology of memory shows that intention to remember is a very minor factor in whether you remember something or not. Far more important than whether you want to remember something is how you think about the material when you encounter it.
A classic experiment by Hyde and Jenkins (1973) illustrates this. These researchers gave participants lists of words, which they later tested recall of, as their memory items. To affect their thinking about the words, half the participants were told to rate the pleasantness of each word, and half were told to check if the word contained the letters ‘e’ or ‘g’. This manipulation was designed to affect ‘depth of processing’. The participants in the rating-pleasantness condition had to think about what the word meant, and relate it to themselves (how they felt about it) – “deep processing”. Participants in the letter-checking condition just had to look at the shape of the letters, they didn’t even have to read the word if they didn’t want to – “shallow processing”. The second, independent, manipulation concerned whether participants knew that they would be tested later on the words. Half of each group were told this – the “intentional learning” condition – and half weren’t told, the test would come as a surprise – the “incidental learning” condition.
I’ve made a graph so you can see the effects of these two manipulations
As you can see, there isn’t much difference between the intentional and incidental learning conditions. Whether or not a participant wanted to remember the words didn’t affect how many words they remembered. Instead, the major effect is due to how participants thought about the words when they encountered them. Participants who thought deeply about the words remembered nearly twice as many as participants who only thought shallowly about the words, regardless of whether they intended to remember them or not.
The implications for how we teach and learn should be clear. Wanting to remember, or telling people to remember, isn’t effective. If you want to remember something you need to think about it deeply. This means you need to think about what you are trying to remember means, both in relationship to other material you are trying to learn, and to yourself. Other research in memory has shown the importance of schema – memory patterns and structures – for recall. As teachers, we try and organise our course material for the convenience of students, to best help them understand it. Unfortunately, this organisation – the schema – for the material then becomes part of the assessment and something which students try to remember. What this research suggests is that, merely in terms of remembering, it would be more effective for students to come up with their own organisation for course material.
If you are a student the implication of this study and those like it is clear : don’t stress yourself with revision where you read and re-read textbooks and course notes. You’ll remember better (and understand much better) if you try and re-organise the material you’ve been given in your own way.
If you are a teacher, like me, then this research raises some disturbing questions. At a University the main form of teaching we do is the lecture, which puts the student in a passive role and, essentially, asks them to “remember this” – an instruction we know to be ineffective. Instead, we should be thinking hard, always, about how to create teaching experiences in which students are more active, and about creating courses in which students are permitted and encouraged to come up with their own organisation of material, rather than just forced to regurgitate ours.
Reference: Hyde, T. S., & Jenkins, J. J. (1973). Recall for words as a function of semantic, graphic, and syntactic orienting tasks. Journal of Verbal Learning and Verbal Behavior, 12(5), 471–480.

How is the Volume Calculated in the SWMM 5 Groundwater Component?

Subject:   How is the Volume Calculated in the SWMM 5 Groundwater Component?

How is the Volume Calculated in the SWMM 5 Groundwater Component?

by dickinsonre
Subject:   How is the Volume Calculated in the SWMM 5 Groundwater Component?
 The groundwater component of SWMM 5 is found in the gwater.c code.  It (as is all of SWMM 5) is excellently written in small functions by Lew Rossman of the EPA during the SWMM 5 development process.  However, code being code sometimes it is easier to see how the code is functioning.  This blog or note tries to show that function. 
 The groundwater component consists of groundwater data (gw in the equation) and aquifer data (a) in the equation.  The equation for the groundwater volume is shown in Figure 1.   The volume is the water content (theta) times the upper depth and the porosity of the aquifer times the lower depth (Figure 2).
 Figure 1.  Groundwater Volume Calculations
 
 Figure 2.  Lower and Upper Depth of the Groundwater Compartrment
 


Saturday, November 12, 2011

Aquifer and Groundwater Objects in SWMM 5

Subject:   Aquifer and Groundwater Objects in SWMM 5

Aquifer and Groundwater Objects in SWMM 5

by dickinsonre
Subject:   Aquifer and Groundwater Objects in SWMM 5
 There are two types of data objects in SWMM 5 to describe the Groundwater flow component.  There is a Groundwater data object associated with a Subcatchment that describes flow equations, the interaction between the Subcatchment infiltration and the Groundwater component and an Aquifer data object that describes the characteristics of the Aquifer that may span one or more Subcatchments.  The Groundwater data is specific to one Subcatchment but the Aquifer may
  

Hierarchy of Your Network in InfoSWMM and H2OMAP SWMM

Subject: Hierarchy of Your Network in InfoSWMM and H2OMAP SWMM

Hierarchy of Your Network in InfoSWMM and H2OMAP SWMM

by dickinsonre
Subject:  Hierarchy of Your Network in InfoSWMM and H2OMAP SWMM

In both InfoSWMM and H2OMAP SWMM you can run a subset of the network by using the Facility Manager to make part of thenetwork inactive and not solved.  You can make the output files smaller if you are performing a continuous simulation and save only the results of All, the Domain Only or a Selection Set to the graphical output file (Figure 1).   Figure 2 shows a few ways to query, view, graph and perform statistics for the model run. 

Figure 1.  Options for saving the Active Network Data to the Graphical Output Data Set.

Figure 2.  Output View, Query and Graphical Options.c.
al Options.

Import of Sections from SWMM 5 into InfoSWMM and H2oMAP SWMM

Subject:   Import of Sections from SWMM 5 into InfoSWMM and H2oMAP SWMM

Import of Sections from SWMM 5 into InfoSWMM and H2oMAP SWMM

by dickinsonre
Subject:   Import of Sections from SWMM 5 into InfoSWMM and H2oMAP SWMM

A very useful hidden feature of the import SWMM 5 to InfoSWMM and H2OMAP SWMM is the ability to import all of the data or just one section.  For example, you can import the LID data, DWF patterns, control rules, pollutants, transects and other data that is transferable between different networks.

 

History of SWMM to the Year 2005

Subject:   History of SWMM to the Year 2005



History of SWMM to the Year 2005

by dickinsonre
Subject:   History of SWMM to the Year 2005 
Note on the symbols:  The Gator is the University of Florida and the Beaver is Oregon State University.  The connection is they are both associated with water and Dr Wayne Huber. 





 


Wednesday, November 9, 2011

SWMM 5 Loss Term Values for various velocities and K values

Subject:   SWMM 5 Loss Term Values for various velocities and K values

SWMM 5 has three loss terms available for each link:  Entrance, Exit and Other losses.  The Entrance loss uses the upstream link velocity, the  Other loss uses the center link velocity and the Exit loss uses the downstream link velocity.  The general form of the loss term in the St. Venant equation is K*V^2/2g Table 1 shows the loss in feet of head for various combinations of velocity and K value.  If you want to  simulate a little loss of head at each node then a small value of K should be used otherwise the cumulative loss in the whole networks will be many feet of head.

  Loss Term units equals K * V^2/2g = ft/sec * ft/sec * sec^2/ft = ft

Table 1:  Loss in feet of head for various combinations of velocity and K values.

Velocity (ft/sec)
K
K
K
K
K
K
0.050
0.100
0.250
0.500
0.750
1.000
1
0.001
0.002
0.004
0.008
0.012
0.016
2
0.003
0.006
0.016
0.031
0.047
0.062
3
0.007
0.014
0.035
0.070
0.105
0.140
4
0.012
0.025
0.062
0.124
0.186
0.248
5
0.019
0.039
0.097
0.194
0.291
0.388
6
0.028
0.056
0.140
0.280
0.419
0.559
7
0.038
0.076
0.190
0.380
0.571
0.761
8
0.050
0.099
0.248
0.497
0.745
0.994
8
0.050
0.099
0.248
0.497
0.745
0.994
9
0.063
0.126
0.314
0.629
0.943
1.258
10
0.078
0.155
0.388
0.776
1.165
1.553

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