How to Dynamically Link Agent Properties to Select Output in AnyLogic?
I’m working on a simulation in AnyLogic where I need to dynamically link a property of each agent to a Select Output block. The goal is for the property to vary for each agent as they enter the Select Output, influencing which path they take based on its value at that moment. I tried setting the property within the agent’s initialization and again just before the Select Output, using code like agent.property = uniform(0, 5);, but it seems the changes are not being consistently applied by the time they reach the Select Output.
Questions/Help: Simulation of Zombie Outbreak using Agent Based Modeling (AnyLogic)
I’m in a simulations class and my team (2 people) was given free reign to design any simulation. We decided to avoid the typical queue based simulations like airports or stores and go for something interesting. For the zombie apocalypse, we wanted to scope it down to just a small number of building that comprise of the school and assume that they are isolated from external influence. We plan on using Agent Based Modeling instead of SEIR like modeling. Below are a couple of the problems I need help with.