Agent Cubes Model

Modeling the Flu: Agent Model

Back to Overveiw Page

Agent Model: AgentCubes


download image

Description

This agent cubes model demonstrates how the Flu might spread through a population. There are many different strains of the flu, and they all have different infection rates, but the flu I am modeling, is a more aggressive strain that is more infectious.

The first AgentCubes model I did is based of of the original Healthy-Sick model, but I added a new feature to model how quarantine would impact the spread of an infectious disease like the Flu. As well as quarantine, there are doctors that can turn sick people back into healthy people.

I also made an additional AgentCubes model because I wanted to incorporate a diffusion style model in AgentCubes, which I learned how to do in this block. This model shows how infectious the air/space around a person with an airborne infectious disease might be.

Plan

Before starting this model I did a lot of research to make my model as accurate as possible. I did some background research to get a general idea for infection and recovery rates of the Flu. I also planned out all the steps for my Agents Cube model to make the planning part as smooth as possible.

Click this link to see view a Google Doc containing all the research I did.

HLD

Quarantine Model Story

Healthy move randomly on the world. At the age of 100 Healthy erase. If a Healthy bumps into a Sick, there is a 50% chance that is will turn into a Sick. Sick move randomly on the world. At the age of 20 a Sick will erase. If a Sick bumps into a Doctor, the Sick will turn into a Healthy. Doctors move randomly on the world. Hospitals sit in place in the world. If a Sick bumps into a Hospital, the Sick will become a Quarantined. A Quarantined erases immediately. Counter1 sits in place. Every 5 seconds it generates a new Healthy. Counter2 sits in place. Every 10 seconds it generates a new Sick with a 50% chance of success.

Agents and Shapes

World

World - White

Counter

Counter1 - Pink
Counter2 - Purple

Hospital

Hospital - Gray

Person

Doctor - Light Blue
Healthy - Green
Sick - Red
Quarantined - Dark Blue

How to open the model:

To use these models click the link below. It will take you to the AgentCubes webpage. Click the "play" button to watch the model in action.

If you want adjust parameters, click "edit" instead of 'play". Then go to the small gear shaped button at the top of the page and click "show simulation properties". Then, choose the values you would like to use for the healthy lifespan, the sick lifespan, and the rate of infection.

Link to Model

Quarantine Model
Infection Diffusion

Analysis

In this model the quarantine removes sick people from the world, which lowers the chances that healthy people will be infected. The model suggests that removing or separating sick people from a population is a effective tool in preventing disease spread. Increasing the lifespan of sick people allows them to move around in the world longer after they become sick, this gives them more time to infect healthy people. If the infection rate of the disease is too high, it wil infect healthy people very quickly, if people die soon after becoming sick, the disease could die off because it kills all its hosts.