urban runoff simulation using hotfile.

i am doing a simulation on urban runoff. my work requires that i save simulation every 15 minutes and then use that simulated results as my input file for the next simulation. 
How can I use hotstart file for saving simulation and using for the next step ?
I also need the result file for every 15 minute simulation as it will be used  in another program. 
Thanks in advance .

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

Email me when people reply –

Replies

  • Hi Sir ,

    I tried with your advice on the command prompt :

    SWMM5.EXE    inputfile  outputfile   - save the hotstart file at the end of the 15 minute simulation

    COPY OUTPUTFILE to a New Name

    SWMM5.EXE    inputfile  outputfile   - use the hotstart file just created and save a new hotstart file at the end of the 15 minute simulation

    COPY OUTPUTFILE to a New Name

    SWMM5.EXE    inputfile  outputfile   - use the hotstart file just created and save a new hotstart file at the end of the 15 minute simulation

     
    I managed to get the report file but I am not able to find any hotstart file in the directory . 
    I am using the command SAVE HOTSTART  "HOTFILE1.hsf" in the input file. 
    Please help in this regard. Thanks.
    • PS : I am getting a .hsf file when i run the file>>export>>hotstart command in the GUI> but not getting this when running the same .INP file through command prompt.

  • Hi, I was not sure you could do this in SWMM 5 but you can both USE and SAVE the same name Hot Start File,  thus you can use the last hotstart file from the previous run as long as you SAVE it again at the end of the current run3293156434?profile=original

  •  Thanks Robert.


  • SWMM 5 Interface Guide Tips
    SWMM 5 has a Interfacing guide on http://www.epa.gov/nrmrl/wswrd/wq/models/swmm/#Downloads for creating a VB, Delphi or command line C program to both run and printout some of the output file results from SWMM 5. The readme file is self explanatory in the file http://www.epa.gov/nrmrl/wswrd/wq/models/swmm/swmm5_iface.zip but here are a few tips for those of you who want to compile the InterFaceGuide C code in a Executable file for Windows.
    1. The first step is to make a new console program in Visual Studio
    image007.png.scaled.500.jpg
    2. The second step is to add the files swmm5.h, swmm5_iface.h, swmm5_iface.c, test.c to the project header and source files.
    3. Next add the file swmm5.lib as an additional dependency along with the directory name.
    4. If you want to save the .out and .rpt files then you must comment out the remove statements at the end of test.c
    image006.png.scaled.500.jpg
    5. You need to make a batch file to both run and save the input and output files from SWMM 5,
    6. The file swmm5.dll must be in the same directory as the created interface executable file,
    7. It will help you see the intermediate output if you add a pause statement in the batch file to hold the fprintf statements on the screen for you to view.
    image004.png.scaled.500.jpg
    image005.png.scaled.500.jpg
    image003.png.scaled.500.jpg image002.png
  • It is probably going to your Users folder, add a specific directory or hard drive to your input and output files

    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

    Image003


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

  •  Thank You sir for your help . Actually i am doing this on windows DOS command prompt . But one problem I am facing is that the output file is cannot be seen anywhere though the DOS window shows that the simulation is successfully completed. 

    Thanks.
  • If you use the Console or DOS SWMM 5 program and not the GUI then you can do the following in Matlab or with a batch file:

     

    SWMM5.EXE    inputfile  outputfile   - save the hotstart file at the end of the 15 minute simulation

    COPY OUTPUTFILE to a New Name

    SWMM5.EXE    inputfile  outputfile   - use the hotstart file just created and save a new hotstart file at the end of the 15 minute simulation

    COPY OUTPUTFILE to a New Name

    SWMM5.EXE    inputfile  outputfile   - use the hotstart file just created and save a new hotstart file at the end of the 15 minute simulation

     

    I hope this helps.

This reply was deleted.