Anyone know why I am getting the following (attached) rpt file containing ERROR 173, for the attached input file?
ERROR 173: Time Series TSS1 has its data out of sequence at JAN-01-2010 00:45:30.
Anyone know why I am getting the following (attached) rpt file containing ERROR 173, for the attached input file?
ERROR 173: Time Series TSS1 has its data out of sequence at JAN-01-2010 00:45:30.
You need to be a member of SWMM 5 or SWMM or EPASWMM and SWMM5 in ICM_SWMM to add comments!
Replies
Hi Upaka,
You have duplicate values for some of the points in your times series. You either need to delete one of the values of duplicate values or change the time value of one of the duplicate values - see here for one example
Hi,
Thanks a lot for the clarification.
I think I should explain the problem in depth.
I generate the SWMM 5.0 input file using C++ and then analyse it using swmm5_iface.c and swmm5.lib. Then the results are used to for my research work.
Here are the codes that I used to generate the particular section shown above.
fprintf (f1, "TSS1 00:43:00 360.00\n");
fprintf (f1, "TSS1 00:45:30 350.00\n");
fprintf (f1, "TSS1 00:48:00 340.00\n");
It can be clearly seen the time values are different to each other from the codes. However, at generated input file the third line is automatically changed exactly to the second line, and made duplicate values.
I couldn't understand the reason, but I tried with the following codes by changing 350.00 at 00:45:30 to 351.00. It worked for me. No error was occurred in this case and generated the time series with 00:48:00 time value.
fprintf (f1, "TSS1 00:43:00 360.00\n");
fprintf (f1, "TSS1 00:45:30 351.00\n");
fprintf (f1, "TSS1 00:48:00 340.00\n");
Any idea for this case?
Thanks again.