Replies

  • I had problems with the files, here they are

    • swmm5.exe D:\swmm5.0.022\urban.inp D:\swmm5.0.022\urban.rpt
      pause

  • Do you have the following section in your model input file?

    [REPORT]
    INPUT NO
    CONTROLS NO
    SUBCATCHMENTS ALL
    NODES ALL
    LINKS ALL

    Here are the files I use and output which you can compare to your output

  • How to change the dates and times in a SWMM 5 input file in batch mode

    You can just use the start and stop dates and times to start and end your simulation.  

    Use VBA to make an input file with hotstart SAVE and USE

    Run the SWMM 5 DOS program saving the Link and Node information,

    Use VBA to read the output and make a new input file with new dates and times with the USE and SAVE Hotstart files switched 

    Repeat


    • This is how you use the batch file in SWMM 5 to make a Report 


      Step 1:  You make a bat file - here is a sample file that uses the swmm5.exe program 


      swmm5.exe Example1.inp  D:\swmm5.0.021\bob.rpt

      pause  



      Step 2:  Set up the Report Data in the input file


      [REPORT]

      CONTROLS NO

      NODES   ALL

      LINKS   ALL


      Step 3:  Run the program 




      Step 4:  Look at the RPT Output file for the node and link



        <<< Link 14 >>>

        ---------------------------------------------------------------------------------

                                   Flow  Velocity     Depth   Percent       TSS      Lead

        Date        Time            CFS    ft/sec      feet      Full      MG/L      UG/L

        ---------------------------------------------------------------------------------

        JAN-01-1998 01:00:00      0.000     0.000     0.000       0.0     0.000     0.000

        JAN-01-1998 02:00:00      0.302     3.835     0.157      15.7    83.361    16.672

        JAN-01-1998 03:00:00      0.648     4.791     0.228      22.8    65.616    13.123

        JAN-01-1998 04:00:00      1.487     6.071     0.350      35.0    50.235    10.047

        JAN-01-1998 05:00:00      1.081     5.559     0.296      29.6    54.180    10.836

        JAN-01-1998 06:00:00      0.410     4.222     0.181      18.1    71.439    14.288

        JAN-01-1998 07:00:00      0.039     2.194     0.057       5.7   144.040    28.808

        JAN-01-1998 08:00:00      0.001     0.000     0.008       0.8     1.282     0.256

        JAN-01-1998 09:00:00      0.000     0.000     0.005       0.5     0.031     0.006

        JAN-01-1998 10:00:00      0.000     0.000     0.004       0.4     0.002     0.000

        JAN-01-1998 11:00:00      0.000     0.000     0.003       0.3     0.000     0.000

        JAN-01-1998 12:00:00      0.000     0.000     0.002       0.2     0.000     0.000

        JAN-01-1998 13:00:00      0.000     0.000     0.002       0.2     0.000     0.000

      • I can't get the same result, I'll like to retrive the information as you have shown (by date and time). But I can only see kind of a summary report after the simulation, doing exactly what you suggest. I'm usign the last version of EPA SWMM, do this change something?

  • Note: How to Get the SWMM 5 GUI to recognize an already existing Report and Output File

    I found a way to see your results in SWMM 5.0.013. You need an ini file with the results flag turned on. The ini file can be very small - just three lines but once you have the Saved=1 flag on then when you open the GUI the graphs and output file icons will be turned on. An alternate method would be to have the flag automatically turned on the SWMM 5 GUI in FMAIN.PAS but you would have to recompile the GUI.

    // Reset status flags

    Uglobals.HasChanged := False;

    Uglobals.UpdateFlag := False;

    Uglobals.ResultsSaved := True; // This is normally False

     

    Here is the three line ini file that you need.

    [Results]

    Saved=1

    Current=1

    You will have to make an ini file for each input file name and each one will have an ini file extension

    The SWMM 5 GUI will

    · open up your input file,

    · find the results flag,

    · check for existence of the rpt and out files and then

    · find out the SWMM 5 version of the output file.

     

  • Subject: How to use SWMM 5 DOS to make an Output Table in the RPT file

    You can make tables of the node, link and Subcatchment output data in SWMM 5 if you use the DOS SWMM 5 program but not the Windows DLL. Step 1 is to create the DOS batch file, Step 2 is to select the nodes, links and subcatchments, Step 3 is to run the batch file and Step 4 is to view the RPT tables or extract the data to Excel. You can do this directly in the InfoSWMM and H2OMAP SWMM graphical user interfaces by using Run Manager, Step 5 to select the nodes, links and subcatchments andStep 6 to view the tables in the browser.

    Step 1. Make a Batch File to call the DOS SWMM 5

    swmm5.exe Example1.inp D:\swmm5.0.022\bob.rpt
    pause

    Step 2. Add the nodes, links and subcatchments tables you want to generate in the RPT file

    [REPORT]
    CONTROLS NO
    LINKS ALL
    NODES ALL
    SUBCATCHMENTS ALL

    Step 3. Run the Batch file

    Step 4. Extract the Tables from the RPT File of SWMM 5

    <<< Node 17 >>>
    ---------------------------------------------------------------------------------
    Inflow Flooding Depth Head TSS Lead
    Date Time CFS CFS feet feet MG/L UG/L
    ---------------------------------------------------------------------------------
    JAN-01-1998 01:00:00 0.000 0.000 0.000 980.000 0.000 0.000
    JAN-01-1998 02:00:00 5.910 0.000 0.608 980.608 26.065 5.213
    JAN-01-1998 03:00:00 11.935 0.000 0.887 980.887 22.826 4.565
    JAN-01-1998 04:00:00 18.291 0.000 1.143 981.143 21.176 4.235
    JAN-01-1998 05:00:00 12.640 0.000 0.916 980.916 22.426 4.485
    JAN-01-1998 06:00:00 3.925 0.000 0.493 980.493 27.578 5.516
    JAN-01-1998 07:00:00 0.388 0.000 0.161 980.161 38.134 7.627
    JAN-01-1998 08:00:00 0.067 0.000 0.071 980.071 26.937 5.387
    JAN-01-1998 09:00:00 0.029 0.000 0.048 980.048 1.878 0.376

    Step 5. InfoSWMM and H2OMAP SWMM dialog for selecting nodes, links and subcatchments for generating a detailed RPT filetable.

    Step 6. Sample InfoSWMM and H2OMAP SWMM RPT Tables if Report Options is used.

  • I mean running a model with different rain gages and facilitate user to compare graphical results of multiple simulations.
This reply was deleted.