Stormwater-Management-Model icon indicating copy to clipboard operation
Stormwater-Management-Model copied to clipboard

*.rpt Link Flow Summary wrong column for weir results in GUI

Open mel-meng opened this issue 4 years ago • 2 comments

This is possible bug in the EPA SWMM 5.1 GUI. After running the model below, go to "Report->Summary->Topic: Link Flow" model_full_features.inp

For the weir "C3" the last value 0.47 should be the last column. Instead it is displayed as max. vel.

A review of the *.rpt file showed that, for weir, the values of "max. vel" and "max. full flow" were omitted in the the line. A quick check the of "Tokenize" procedure in "Uutils.pas line 889 showed that the routine doesn't consider such situation, it assumes no values are omitted.

  ********************
  Link Flow Summary
  ********************
  
  -----------------------------------------------------------------------------
                                 Maximum  Time of Max   Maximum    Max/    Max/
                                  |Flow|   Occurrence   |Veloc|    Full    Full
  Link                 Type          CFS  days hr:min    ft/sec    Flow   Depth
  -----------------------------------------------------------------------------
  C1:C2                CONDUIT      7.22     2  09:59     18.36    0.90    0.50
  C2                   PUMP         9.41     0  10:00                          
  C3                   WEIR        12.12     0  10:00                      0.47

mel-meng avatar Mar 24 '20 00:03 mel-meng

swmm_rpt_error

mel-meng avatar Mar 25 '20 13:03 mel-meng

Or course this is a Delphi reading problem with the RPT file. In the actual report file, it does seem like the weir depth is in the right place. I would test the other conduit types such as outlets and orifices to see if there is a similar problem. It is a table generation issue in Delphi and not an engine problem.

dickinsonre avatar Mar 25 '20 14:03 dickinsonre

Addressed in #56 .

cbuahin avatar Jul 14 '23 16:07 cbuahin