Partially complete a simulation and review results and then opt to continue the simulation
Simulations often take a long time to run. I would like to be able to "pause" the simulation and review the results to check that the initialisation is correct, or that an RTC is working properly, and if I am happy then continue the simulation to completion.
The approach which we are looking to leverage here is one which deviates a little from the original request but gives the same ability to interrogate results part way through a simulation. After investigating options, the best appears to be to have a run for the total duration you are interested in, then set a state saving checkbox in the run and when you wish to interrogate simulation results stop the simulation. We will then make use of ICMLive developed concatenation of results to allow us to tie in the “continuation run” with the results which were stopped earlier. There is a lot more detail to this than I can add here, but it should meet the need.
Bradley Nissley commented
The ability to view results as they happen would be very helpful particularly when calibrating the model against a flow survey, initializing soil saturation, ensuring proper operation of an RTC and/or checking suitability of future network upgrades. If the simulation is going as expected, continue the simulation without lost time, otherwise, easy to see that something needs adjustment, make the change and re-run.
Having incremental data written to the results file could also ensure that the entirety of a long simulation is not lost in the event of a power failure or no free disk space remaining.