projectmesa / mesa

Mesa is an open-source Python library for agent-based modeling, ideal for simulating complex systems and exploring emergent behaviors.
https://mesa.readthedocs.io
Apache License 2.0
2.54k stars 892 forks source link

Model Interventions #851

Open sohamxi opened 4 years ago

sohamxi commented 4 years ago

Does the mesa framework as any provision of providing runtime parameters to the model as if showing the effects of interventions in the model?

tpike3 commented 4 years ago

@sohamxi I am not sure I understand your question. What I am understanding is that you would want to inject an intervention (e.g. new methods, values) at a certain point in the model to show the impact of the intervention. Typically you would just code this in to occur/trigger when a specific condition is met such as a step number or say a specific number of agents have met some condition (e.g. infection or poverty). Is this what you are looking for?