I have linked SWMM 5.0 with an optimization module and using C++.
I wanted to print some results from the simulation to an external text file.
I've used the following codes, however, I can't get the results printed. Instead of that I am just getting printed "STO" inside the text file.
Could anyone help me on this issue?
for(t=1; t<=1; t++)
GetSwmmResult(3, 0, 12, t, &STO);
fprintf (f4, "STO");
Is this the correct way to print results in an external file?
Thanks a lot.