-
Notifications
You must be signed in to change notification settings - Fork 883
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
Support for ABMSimulator and DEVSSimulator in SolaraViz #2428
Comments
Thinking about this a bit more, and in light of some of the recent PRs on SolaraViz, it might be quite easy to support this. The key thing that changes is the |
Sounds good! Would be great if it works as you described, it would show the benefit of the modular approach (just exchaning the model controller) |
Exactly, it's the realization of how nicely modular SolaraViz is that makes this quite easy to do now. I hope to have some time in the coming 2 weeks to put in a PR for this, which in turn would allow #2364 to progress further. |
I started working on this but I am running into 3 issues:
|
Thanks for working on this, if you need any specific input let us know. |
Just really quick response, without going into too much details. The main trigger for updates is calling |
At the moment, it's not possible to use SolaraVis for models that use the experimental event scheduling functionality. This is because SolaraViz expects a model and does all control of the model via
model.step
.The issue can be addressed in at least 2 ways: (1) change event scheduling to not use a simulator and a model but turn the simulator into e.g., a mixin for a model; (2) expand SolaraViz to work with either a model or a (model, simulator).
The text was updated successfully, but these errors were encountered: