Disable visualization to speed up simulation #1122
Replies: 2 comments 1 reply
-
See also #693, which has a description on how to run the model without the visualization. |
Beta Was this translation helpful? Give feedback.
-
Thanks. I had in mind a different usecase. The simulation I have in mind would greatly benefit from visualization. The simulation is also very long, and it could last hours. I won't be in front of the computer the whole time, and during that time it's useless (and computationally expensive) have the server draw the graphics. I wanted to "interactively" disable visualization, maybe through a checkbox or shortcut. |
Beta Was this translation helpful? Give feedback.
-
Hi, I am just getting started with mesa (great work btw!), so pardon me if my question is trivial. I am trying to understand if it's possible to disable the visualization (e.g with a shortcut/a button). With really dense simulations, we might just want to compute the model state with python, and only visualize it every once in a while, in order to speed up simulations when no graphics is needed.
I have taken a look at the code and it's not obvious to me how to do that. I understand that the tornado part of the code wait for a response from the server before initiating the next step (or resetting the environment), so probably I need to act on that part somehow. Any suggestions?
Thanks
Beta Was this translation helpful? Give feedback.
All reactions