Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Web/Jupyter UI: Allow users to replay cached simulation result #1393

Closed
rht opened this issue Jul 24, 2022 · 3 comments
Closed

Web/Jupyter UI: Allow users to replay cached simulation result #1393

rht opened this issue Jul 24, 2022 · 3 comments

Comments

@rht
Copy link
Contributor

rht commented Jul 24, 2022

What's the problem this feature will solve?
For heavy simulations that may take hours+, exploring the outcome for given parameters set via the GUI would be extremely slow.

Describe the solution you'd like
We should be able to save the simulation result for a range of parameters, in a cache file, so that it can be replayed quickly for smooth exploration/demo in the GUI.

@tpike3 tpike3 added this to the Mesa 2.0 milestone Nov 10, 2022
@Logende
Copy link

Logende commented Nov 10, 2022

I'm intending to work on this topic in the close future.

@Logende
Copy link

Logende commented Dec 21, 2022

See my current implementation regarding this issue here: https://github.com/Logende/mesa/blob/main/mesa/modelcachable.py
The tests (which also demonstrate the functionality and how it can be used) can be found here: https://github.com/Logende/mesa/blob/main/tests/test_modelcachable.py

@rht
Copy link
Contributor Author

rht commented Dec 30, 2022

projectmesa/mesa-examples#14 is an example of Mesa-Replay. Follow up discussions/feature requests should be opened in https://github.com/Logende/mesa-replay.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants