Agent Model

Full Model

The full model can be found by CLICKING HERE. This model was built on AgentCubes. No download software or account is required to run this model.

The Model

Picture of Agent Model from AgentCubes

The Graph of the Model

Picture of the Graph of an Agent Model from AgentCubes

Description

Model's Story

There is a 30 by 30 world called NYC. There are 2 agents, “Person” and “World.” The agent, “world” is the platform of the main world for other agents and shapes to move and complete actions on. This agent has no tasks. There are many randomly scattered “person” agents in the world. The agent has 3 methods total, setup, while-running, and run. Run is the main method where all the rules are found. One rule is how these agents all move randomly around the world. There is 1 infected agent, which is a shape of the Person agent, that moves randomly in the world, but slowly. If a healthy agent is next to an infected agent there is a 21 percent change that the healthy agent changes into an infected one, spreading the virus. Each timestep of the world runs is calculated by the attribute “Steps.” All agents are assigned 1 step at the before the model is played, and has to go through “setup” to get steps if it doesn’t have them already. Each time any one of the agents moves, no matter how slow or how quick they do, a step is to be added to their step count. If a healthy agent remains in the world after 60 timesteps, there is a 75% chance they will remain static and not move to simulate quarantine. If an infected agent remains in the world after 15 timesteps, there is a 95% chance they will remain static in the world. After 72 steps and onwards, there is a 10% for the infected agent to become an Immune agent and recover, and a 2% chance that the infected will become a Dead agent and die. Immune agents move freely on the world, but 50% slower, without the risk of getting reinfected. There is a counter with the shape of a ladybug that counts the number of infected and dead agents, and graphs them on a pop-up graph.

Agents and Shapes

Person
- Person (Healthy - Green)
- Infected (Purple)
- Dead (Red)
- Immune (Yellow)

World

Notes

  • This model is not to scale if it was scaled by any number, the results of the model would not have been accurate.

  • The death rate and infection rate were slightly modified to suit the population of healthy people in the model.

  • The graph only shows the current number of people infected or dead. This is why the trend on the line graph goes up and down, in order to suit the actual amount of people infected and/or dead.

Version Control

The version control for each of the versions of this Agent Model can be found under my account on AgentCubes. My account username is akhilp. To get to my account and all of its projects, CLICK HERE. The NYCCovid projects are numbered by how much they have been modified, with 0 being the least modified and 6 being the current version.