Documentation of pause/resume

Now I am using Pause/Resume in BehaviorSpace, I realize that the documentation is not clear about conditions for resuming.

From the documentation my idea was that I could pause a simulation, stop the computer, and then resume the job after restarting NetLogo the next day.
Resuming does not even work after opening the model again, without closing NetLogo.
This is not a bug of NetLogo 7.0. Version 6.4.0 does the same.

My guess is that this is intended behavior, and that my idea was too far-fetched. Could you please extend the documentation in this respect?

1 Like

Hi Mark,

Unfortunately, you are correct that this is the intended behavior. If I recall correctly, we decided not to save experiment state to the model file because it seemed a bit risky to rely on users properly retaining partially completed output files in between sessions of NetLogo. It occurs to me now that we could theoretically store the partial output files in the embedded resources section of the model file, but that isn’t a great solution either, because it could result in massive model files that take ages to load and save.

But regardless, thank you for the heads up about the documentation, we can definitely be more clear about that in the next release! If it would be helpful, we can also show a warning dialog if you try to close a model with unsaved experiments, similar to the one that appears if you have unsaved changes to the model.

Isaac B.

1 Like

Hi Isaac,

Thank you for confirming that this is not a bug of the program.
It was my misconception about the functionality, probably because I have encountered something like that elsewhere.

For the documentation, it is always difficult to decide if something is a “bug” or another issue. This seemed the most appropriate category.
Thank you for adapting the documentation.

A warning when closing a model with an open simulation would be helpful, yes.

From my experience with maintaining other software, I would definitely not save simulation state in the model file.
If anyone wants to discuss this further, please open another topic outside Bug Reports. (What about Feature Requests or Miscellaneous?)

Mark

1 Like