#1 (permalink)  
Old 09-27-2003, 05:36 PM
fankhauser
Member
 
Posts: n/a
SWMM-USERS

Dear SWMMers

As a beginner I would be happy to have more examples for the following topics:

- modelling off- and on-line storage tanks in EXTRAN (no quality)
- how to use the RAIN block with user defined rainfall data files

I have already modelled a CSO overflow with a side weir in EXTRAN. But I had to insert a small storage volume at the weir node to prevent instabilities during surcharge and flooding. Is there another workaround to prevent instabilities (I tried to reduce time step to 1 sec or to choose another calculation method but without success. Only inserting storage volume helped)?

I am using PCSWMM. Thanks in advance for any help.

Regards,

Rolf
fankhauser@EAWAG.CH
Reply With Quote
  #2 (permalink)  
Old 09-27-2003, 05:37 PM
heinemanmc
Member
 
Posts: n/a
Re: SWMM-USERS

Rolf - An example of using user-defined rain data is shown in:
http://www.computationalhydraulics.com/swmmqa56.html There are several
other discussions of RAIN input in the SWMM-USERS archives. Here's
another example. It reads 5 minute data in decimeters and converts to
millimeters for two gages:

* #blocks RAIN
SW 2 15 16 17 16
MM 4 11 12 13 14
@ 15 h19.txt
@ 16 rain.int
@ 17 k08.txt
$RAIN
A1 rainfall
A1 2000-2001
B0 0 0 1 *delete old rainfall file
* IFORM ISTA IDECID IYBEG IYEND IYEAR ISUM MIT NPTS IFILE A
NOSTAT
B1 3 1 1 0 0 0 0 12 20 0 0 10
* THISTO METRIC KUNIT FIRMAT CONV F1 - F7
B2 5 1 1 '(5x,i5,4i3,f7.4)' 100 0 1 2 3 4 5 6 7
*
$RAIN
A1 rainfall
A1 2000-2001
* IFORM ISTA IDECID IYBEG IYEND IYEAR ISUM MIT NPTS IFILE A
NOSTAT
B1 3 2 1 0 0 0 0 12 20 0 0 10
* THISTO METRIC KUNIT FIRMAT CONV F1 - F7
B2 5 1 1 '(5x,i5,4i3,f7.4)' 100 0 1 2 3 4 5 6 7
*
$ENDP

Here's a snippet from H19.TXT:

4 2001 2 25 17 50 0.0500
4 2001 2 25 19 55 0.0500
4 2001 2 25 20 35 0.0500
4 2001 2 25 20 40 0.2500
4 2001 2 25 20 45 0.3000

Regards,
Mitch Heineman, P.E.
HeinemanMC@CDM.COM
Reply With Quote
  #3 (permalink)  
Old 09-27-2003, 05:38 PM
rsprenger
Member
 
Posts: n/a
Re: SWMM-USERS

Rolf;

You have handled the weir instability correctly. I have heard of others who had some success with reduced time steps but that never worked for me, if 1 sec didn't help going to 0.1 sec wouldn't solve it either.

One trick I have often had limited success with is massaging the slope of the pipe runs - just minor slope adjustments generally to a straight line slope for the entire run. This sometime solves instabilities which don't occur until the step into surcharge which doesn't seem logical but it works. Probably because it impacts the timing of the number of nodes stepping into surcharge simultaneously. The problem with this trick is that it is fragile - a small change in the model will cause new instability.

The reason that weirs are unstable is because they transfer flow according to the head raised to the exponent 1.5 while the pipes delivering or accepting the flow have capacity according to the square root of the head. Thus weirs transfer much more water in a time step than can be delivered or accepted by adjoining pipes. This causes water levels to fluctuate. Thus your tank trick dampens down the fluctuations and restores stability. If the damper volume is not large then accuracy should be acceptable. In an old version of SWMM I coded weirs to have a maximum flow within a certain percent of the incoming pipe which was very stable but not available in the new versions. Also only works for single connecting pipe.

Another option that works only if the weir doesn't experience any backwater is to manually compute a rating curve for the weir and enter it as a Type 4 pump. I used this twice and once it was perfectly stable and the other time it was unstable - the stable simulation had a large trunk pipe connecting to it and perhaps the storage helped.

I haven't tried this but - orifices have a damper built in called ORATE which allows the user to set the time from closed to open. Perhaps you could try a rectangular orifice and experiment with ORATE. Here you must have a rating curve to compare results and ensure accuracy.

Reinhard Sprenger
rsprenger@UMAGROUP.COM
Winnipeg, Manitoba
Canada
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


All times are GMT. The time now is 07:45 PM.