SWMM5 - Stormwater Management Model

SWMM 5, Watersheds, Water Quality,Hydrology, Hydraulics - Watersheds

Minor Losses 5.0.009

Under dynamic wave flow routing, both SWMM 4 and 5 treat conduit entrance and exit losses as an average energy loss spread over the entire length of the conduit, analagous to the way that the friction head loss is treated. However, rather than using “average” values for hydraulic variables as is done for friction loss, the entrance loss is based on values at the upstream end of the conduit while the exit loss uses values from the downstream end. It appears that hydraulic results obtained using this approach violate the Bernoulli energy equation for steady, subcritical flow conditions where conservation of energy should apply. We illustrate this point with a simple example and suggest a modification to the code that improves the energy balance obtained.


The figure below shows a simple 3 channel system with a fixed downstream boundary condition. Each channel is rectangular, with a width of 2 ft, a maximum height of 1 ft. and a roughness value of 0.01. A steady inflow of 2 cfs is introduced at the upstream end. The steady water profile that results when there are no local losses is shown in the figure.


Because the flow is steady, the Bernoulli energy equation should be satisfied across each channel link where subcritical flow conditions occur. This equation states that the total energy head at the upstream end of the channel minus any energy losses ocurring within the channel must equal the total energy head at the downstream end of the channel. For the middle channel between nodes 2 and 3 with no entrance or exit losses this equation would be:



where Hi = elevation head at node i, Vi = velocity in channel at node i, g = acceleration of gravity, and hf = friction head loss in the channel. The latter term can be computed from the Manning equation:



where L = channel length, n = Manning roughness, V = average velocity in the channel and R = average hydraulic radius in the channel.

For the conditions shown in Figure 1, a SWMM 5 run using dynamic wave routing with inertial terms included gives the following results:


Upstream Conditions

Downstream Conditions

Average Conditions

H2 = 4.4035 ft

H3 = 2.2681 ft

Q = 2.0000 cfs

Y2 = 0.4035 ft

Y3 = 0.2681 ft

Y = 0.3358 ft

A2 = 0.8070 ft2

A3 = 0.5362 ft2

A = 0.6716 ft2

V2 = 2.4783 ft/sec

V3 = 3.7300 ft/sec

V = 2.9780 ft/sec

L = 800 ft

n = 0.01

R = 0.2514 ft

V22/2g = 0.0954 ft

V32/2g = 0.2160 ft

hf = 2.0140 ft


And the Bernoulli equation is satisfied as follows:


LHS: 4.4035 + 0.0954 – 2.0140 = 2.485

RHS: 2.2681 + 0.2160 = 2.484


Now consider what happens when an entrance loss with coefficient value of 10 is applied to the middle conduit. The Bernoulli equation is modified to include the additional loss term on the RHS:



When this entrance loss is added to the middle channel in the current version of SWMM the resulting energy balance looks as follows:


Upstream Conditions

Downstream Conditions

Helev = 4.5070 ft

Helev = 2.2681 ft

Hveloc = 0.0604 ft

Hveloc = 0.2160 ft

Hfric = 1.3212 ft

Htotal = 2.484 ft

Hent = 0.6041 ft


Htotal = 2.642 ft



These SWMM results no longer satisfy the Bernoulli equation:


If instead we introduce an exit loss with coeffcient of 10 to the middle channel the discrepancy is even worse:


Upstream Conditions

Downstream Conditions

Helev = 4.6131 ft

Helev = 2.2681 ft

Hveloc = 0.0413 ft

Hveloc = 0.2160 ft

Hfric = 0.9057 ft

Htotal = 2.484 ft

Hexit = 2.1603 ft


Htotal = 1.588 ft



We believe that the problem lies in how the entrance/exit loss value, KVe2/2g, is embedded into the finite difference form of the momentum equation. The latter equation includes the Manning equation for the standard friction slope term:



which is a loss per unit length along the channel, with k given by g(n/1.49)2. By analogy with this term, the entrance/exit loss is also expressed as an energy slope term as follows:



where the subscript e represents either the channel entrance or exit location. When the conservation of mass and momentum equations are expressed in finite difference form, the following result for flow Q at time t+t is obtained:



where has been factored out of the expressions for hf and he.


Neither SWMM 4 or 5 currently contains the (A/Ae) factor when computing the entrance/exit loss term. When this term was introduced into SWMM 5, the following Bernoulli equation results were obtained for the test problem with entrance and exit losses, respectively:


Entrance Loss Example

Upstream Conditions

Downstream Conditions

Helev = 4.4859 ft

Helev = 2.2681 ft

Hveloc = 0.0658 ft

Hveloc = 0.2160 ft

Hfric = 1.4338 ft

Htotal = 2.484 ft

Hent = 0.6577 ft


Htotal = 2.460 ft



Exit Loss Example

Upstream Conditions

Downstream Conditions

Helev = 4.9136 ft

Helev = 2.2681 ft

Hveloc = 0.0186 ft

Hveloc = 0.2160 ft

Hfric = 0.3887 ft

Htotal = 2.484 ft

Hexit = 2.1603 ft


Htotal = 2.383 ft



These results are closer to meeting an energy balance but are still not perfect. One other issue to consider is how the average area A and hydraulic radius R are computed within a conduit when computing the friction head loss. This is an old topic that has seen different approaches used within various versions of SWMM. Currently, both SWMM 4 and 5 compute A and R using a depth equal to the average of the upstream and downstream depths. One alternative method is to take the average of the A and R values computed at the depths at each end of the conduit. When this method was utilized in SWMM 5 the Bernoulli results for the two test cases were as follows:


Entrance Loss Example

Upstream Conditions

Downstream Conditions

Helev = 4.4894 ft

Helev = 2.2681 ft

Hveloc = 0.0648 ft

Hveloc = 0.2160 ft

Hfric = 1.4142 ft

Htotal = 2.484 ft

Hent = 0.6483 ft


Htotal = 2.492 ft



Exit Loss Example

Upstream Conditions

Downstream Conditions

Helev = 4.9340 ft

Helev = 2.2681 ft

Hveloc = 0.0178ft

Hveloc = 0.2160 ft

Hfric = 0.3703 ft

Htotal = 2.484 ft

Hexit = 2.1603 ft


Htotal = 2.421 ft



These results come even closer to satisfying the energy balance. However, redefining the way that SWMM computes an average A and R would likely change flow and depth results for many existing models that do not include entrance/exit losses. The subsequent confusion that would occur does not seem worth the slight improvements in energy closure achieved. Therefore it is recommended that only the (A/Ae) correction be applied to the SWMM 5 code.

Last updated by Robert E Dickinson Apr. 22, 2008.

Latest Activity

tian tian and Hussam joined SWMM5 - Stormwater Management Model
1 hour ago
5 hours ago
Robert E Dickinson added a blog post
MWH Soft Releases InfoWorks and FloodWorks Version 11 New Version Available for Industry-Leading Workgroup Management Modeling Software for Wastewater, Stormwater, Drinking Water, and River Systems Broomfield, Colorado USA, September 8, 2010 MWH Sof…
16 hours ago
mohammed A Alim is now a member of SWMM5 - Stormwater Management Model
yesterday
Robert E Dickinson added a blog post
Creating Clearer Climate Computer Codes by Eli Kintisch on 3 September 2010, 12:01 PM | Permanent Link | 2 Comments EmailPrint|More PREVIOUS ARTICLE NEXT ARTICLE British software engineers Nick Barnes and David Jones have spent the past 3 years t…
on Sunday
Robert E Dickinson just checked out the RSS pages...
(via RSS Pages)
on Friday
August 31
Antony Manoharan is now a member of SWMM5 - Stormwater Management Model
August 31
Robert E Dickinson added a blog post
MWH Soft Releases InfoSewer Version 6.0 for ArcGIS 10 New Version of the Leading Wastewater Modeling and Management Package Leverages Newest Esri Software Broomfield, Colorado USA, August 31, 2010 — MWH Soft, a leading global innovator of wet in…
August 31
------------------------ Build 5.0.020 (08/23/10) ------------------------ Engine Updates 1. A refactoring bug that prevented SWMM from reading rainfall data from external rainfall files was fixed. See gage.c.
August 23
lia almila and Dr. MVRL Murthy joined SWMM5 - Stormwater Management Model
August 22
There are 152 members on SWMM5 - Stormwater Management Model
August 19
SWMM5 - Stormwater Management Model now has leaderboards
August 19
August 17
David Jones is now a member of SWMM5 - Stormwater Management Model
August 17
Robert E Dickinson added a blog post
From the NYT In Weather Chaos, a Case for Global Warming The collective answer of the scientific community can be boiled down to a single word: probably. “The climate is changing,” said Jay Lawrimore, chief of climate analysis at the National Clima…
August 17
You should still adjust the width individually for each subcatchment but compare the peak flows for the combined flows to your monitored data. Unless you want to model S1, S2 and S3 together then you are best off estimating the width for each subcat…
August 15
Thank you for your help. However, the flow measurement was only taken at the outlet of the whole catchment (Out 1). if i want to calibrate the runoff quantity, how can i obtain the width of the whole catchment? Am i combine the total width of subcat…
August 15
Originally, when SWMM was developed the width parameter was the collection length of the subcatchment. For example, it would be the gutter length on a street going to an inlet. In your case one easy way to estimate the Width for the subcatchment goi…
August 14
Chow Ming Fai added a blog post
Hello,I am not familiar on using SWMM for quantity and quality modeling. i need some helps here.I have a problem on calibrating the total width of catchment in SWMM quantity modeling. Figure shown below is my studied catchment. the surface runoff is…
August 14

© 2010   Created by Robert E Dickinson.   Powered by .

Badges  |  Report An Issue | SWMM 5 Blog  |  Terms of Service