If STRUCIDS has been populated with a list of STRUCNAMES corresponding with the conduits read from the SWMM Result file, this routine will compile summary statistics for each conduit into the table _CSOStats. It is useful for compiling long-term CSO statistics.
STRUCIDS
NPDES |
STRUCNAME |
FULLNAME |
RECSTREAM |
RAIN GAUGE ID |
Acres |
UsePositiveFlow |
CSO 002 |
PMH28W |
|
|
|
0 |
Yes |
CSO 004 |
PMH456W |
|
|
|
0 |
Yes |
_CSOStats
Outfall |
VolMG |
Hours |
Events |
CSO 002 |
0.24 |
2 |
1 |
CSO 004 |
0.39 |
50 |
6 |
The procedure is as follows:
1. _OutfallHydrographs is populated with totaled flow at each timestep for each NPDES ID according to the query Append_OutfallHydrographs
2. _OutfallHydrographs is updated with event numbers based on the user-specified interevent time for each NPDES location using a looped procedure.
3. Event totals for each NPDES ID are compiled into _ModelOutfallStatsByFlow using a query in the program code.
4. Summary statistics for the period of interest are compiled into _CSOStats using a query in the program code.