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

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.