asselapathirana / epanettools

EPANET calling API for python.
Other
16 stars 13 forks source link

Error 302 #38

Open NatFarias opened 4 years ago

NatFarias commented 4 years ago

Hello! In my code, I've done some iterations with the Epanet simulation, using epanettools and at the end of each iteration I've programmed to save all the new data in the same inp file, just changing it. If I ask for less than 70 iterations, the code run with no problems, but if I ask for more than 70 iterations, this Error 302 appears. Can someone explain why this error is occurring and how to solve it? I need more than 70 iterations in the code. Thank you!

mxfeinberg commented 4 years ago

@NatFarias I'm new to this package as well, but one thing that I've noticed is that you cannot run a quality analysis over a time horizon that is greater than your hydraulic horizon. Increasing the time horizon of your hydraulic analysis (perhaps directly in your *.inp file) will may solve your issue.