an agent-based epidemic model brendan greenley period 3
DESCRIPTION
Why Agent-Based? Originally tried System Dynamics Agent-Based Modeling makes more sense –Individual behavior differs and can greatly affect the course of an epidemic outbreak –A user can observe an agent over time –Children can inherit values from two parents –Continuous visual representation of populationTRANSCRIPT
![Page 1: An Agent-Based Epidemic Model Brendan Greenley Period 3](https://reader036.vdocuments.site/reader036/viewer/2022062909/5a4d1ba87f8b9ab0599c9b69/html5/thumbnails/1.jpg)
An Agent-Based Epidemic Model
Brendan GreenleyPeriod 3
![Page 2: An Agent-Based Epidemic Model Brendan Greenley Period 3](https://reader036.vdocuments.site/reader036/viewer/2022062909/5a4d1ba87f8b9ab0599c9b69/html5/thumbnails/2.jpg)
Why An Epidemic Model?• Epidemics have been
responsible for great losses of like and have acted as a population control (Black Plague, Spanish Influenza)
• Epidemics are still a cause of concern today and in the future (SARS, Avian Flu)
• Analyzing certain characteristics of an epidemic outbreak or response can help shape plans in case of a real outbreak.
![Page 3: An Agent-Based Epidemic Model Brendan Greenley Period 3](https://reader036.vdocuments.site/reader036/viewer/2022062909/5a4d1ba87f8b9ab0599c9b69/html5/thumbnails/3.jpg)
Why Agent-Based?• Originally tried System
Dynamics• Agent-Based Modeling
makes more sense– Individual behavior differs and
can greatly affect the course of an epidemic outbreak
– A user can observe an agent over time
– Children can inherit values from two parents
– Continuous visual representation of population
![Page 4: An Agent-Based Epidemic Model Brendan Greenley Period 3](https://reader036.vdocuments.site/reader036/viewer/2022062909/5a4d1ba87f8b9ab0599c9b69/html5/thumbnails/4.jpg)
Scope of project• Population/environment bounds dictated
by computer resources• ~10,000 agents maximum• All about maintaining a population balance• Unrealistic assumptions are made
– Mating– Interactions– Movement
![Page 5: An Agent-Based Epidemic Model Brendan Greenley Period 3](https://reader036.vdocuments.site/reader036/viewer/2022062909/5a4d1ba87f8b9ab0599c9b69/html5/thumbnails/5.jpg)
Up, up, and away…
![Page 6: An Agent-Based Epidemic Model Brendan Greenley Period 3](https://reader036.vdocuments.site/reader036/viewer/2022062909/5a4d1ba87f8b9ab0599c9b69/html5/thumbnails/6.jpg)
Extinction
![Page 7: An Agent-Based Epidemic Model Brendan Greenley Period 3](https://reader036.vdocuments.site/reader036/viewer/2022062909/5a4d1ba87f8b9ab0599c9b69/html5/thumbnails/7.jpg)
NetLogo
• Still using NetLogo• Programming language (Northwestern)• Allows for System Dynamics & Agent
Based Modeling• Crossplatform support
– Windows, *Nix, Mac• Depends on Java• Free!
![Page 8: An Agent-Based Epidemic Model Brendan Greenley Period 3](https://reader036.vdocuments.site/reader036/viewer/2022062909/5a4d1ba87f8b9ab0599c9b69/html5/thumbnails/8.jpg)
Procedure
• Agent’s To-Do List:– Move in a random direction– Check for potential mate– Check for possible
exposure to disease– Age++
• Starting populations, immunity, and original % infected are set by user
![Page 9: An Agent-Based Epidemic Model Brendan Greenley Period 3](https://reader036.vdocuments.site/reader036/viewer/2022062909/5a4d1ba87f8b9ab0599c9b69/html5/thumbnails/9.jpg)
BehaviorSpace
• Allows me to export data to Excel
• Can incrementally increase specified values as the model runs
• Useful for post-run data analysis
Sample Run of Epidemic Model
0
500
1000
1500
2000
2500
0 1000 2000 3000 4000 5000 6000 7000 8000 9000 10000
Ticks
Peop
le count turtles
infected
Moving Average (# Alive)
Moving Average (# Infected)
![Page 10: An Agent-Based Epidemic Model Brendan Greenley Period 3](https://reader036.vdocuments.site/reader036/viewer/2022062909/5a4d1ba87f8b9ab0599c9b69/html5/thumbnails/10.jpg)
Timeline
• First Quarter– Used System Dynamics Modeling
• Second Quarter– Late Dec: Switched to Agent-Based Modeling– Jan:
• Implemented susceptibility distribution• Implemented more realistic mating/children
characteristics• Learned how to use BehaviorSpace
![Page 11: An Agent-Based Epidemic Model Brendan Greenley Period 3](https://reader036.vdocuments.site/reader036/viewer/2022062909/5a4d1ba87f8b9ab0599c9b69/html5/thumbnails/11.jpg)
Timeline (Continued)• February
– Implement quarantine– Have agent’s epidemic state affect behavior– Create children a bit after mating
• March– Possibly allow for drugs/vaccines to counter disease– As time increases, have agents use their past experience with
epidemics to make smarter decisions (increase the amount they limit contact with others when a disease is widespread, etc.)
• April/May/June– Allow myself extra time, as the previously mentioned tasks may take
longer than expected– Use BehaviorSpace to collect data and analyze multiple situations– Work on interpreting the data for my final project
presentation/poster/etc.
![Page 12: An Agent-Based Epidemic Model Brendan Greenley Period 3](https://reader036.vdocuments.site/reader036/viewer/2022062909/5a4d1ba87f8b9ab0599c9b69/html5/thumbnails/12.jpg)
Project Evolution
• System Dynamics -> Agent Based
• Short-term -> Long-term• Predetermined equations
-> more complex individual agent decisions
• Graphs highlight changes
Sample Run of Epidemic Model
0
500
1000
1500
2000
2500
0 1000 2000 3000 4000 5000 6000 7000 8000 9000 10000
Ticks
Peop
le count turtles
infected
Moving Average (# Alive)
Moving Average (# Infected)