Running SWMM5 Using .bat files

Hi Robert,

I have a folder with many inp files representing different urbanization scenarios for a watershed in VA. I would like to automate the processing of this files because it is something I'll most probably will have to do again. From my research it looks like something that can be done through .bat files but I have no idea how it would work. maybe there is a reference you can share or you have addressed this issue in previous blogs.

Thank you for all your help!

SDH

E-mail me when people leave their comments –

You need to be a member of SWMM 5 or SWMM or EPASWMM and SWMM5 in ICM_SWMM to add comments!

Join SWMM 5 or SWMM or EPASWMM and SWMM5 in ICM_SWMM

Comments


  • Note: This is how you use the batch file in SWMM 5 to make a Detailed 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
    ---------------------------------------------------------------------------------
    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

This reply was deleted.