USEPA / EPANET-legacy-user-interface

4 stars 12 forks source link

Bug - graphing non-existent parameters causes error #4

Open katiejacobsen opened 5 years ago

katiejacobsen commented 5 years ago

Is this the correct place to submit a bug report?

When I inadvertently attempt to graph a non-existent parameter, I get an error (see attached screenshot). Error text: Access violation at address 0049CCE7 in module 'Epanet2w.exe'. Write of address 06020000."

Sometimes I am able to close the faulty graph and continue working. Other times, the EPANET file is damaged and unable to be used/reopened. I did not track what I was doing when my file became damaged, but it has happened twice in the past few days.

Example situation: I run an extended period model and I attempt to graph a time-series graph of the head for a tank. The pipes connected to the tank were closed in the simulation, so no head was computed for the tank. This causes an error (see attached screenshot).

Other times, I have had multiple graphs open already from previous runs, have changed elements and re-run the model, causing some of the graphs to become faulty, and experienced similar error results.

In another instance, I had several graphs open for various elements. I used Options>Times>Statistic and chose 'Maximum'. This caused many errors that kept popping up continuously until I used Task Manager to shut down EPANET. I just tried this again to replicate the problem, and when I re-ran the model, EPANET shut down itself without giving me any error. The file was able to be reopened.

Computer: running Windows 10 Pro (version 1903), 64-bit operating system, x64-based processor EPANET Build 2.00.12

Please let me know if you need more information, or if this should be submitted elsewhere.

Graph non-existent parameter

katiejacobsen commented 5 years ago

Similar issue when attempting to graph flow for an FCV. Error text: "Invalid pointer operation." Model continues to run after dismissing error.

Flow for FCV_error