alex anderson, logan coulson, michael herold, nick lister, will mcgowan
DESCRIPTION
Simulation of Infected Cows. Alex Anderson, Logan Coulson, Michael Herold, Nick Lister, Will McGowan. SML Definition File … - PowerPoint PPT PresentationTRANSCRIPT
Alex Anderson, Logan Coulson, Michael Herold,Nick Lister, Will McGowan
Simulation of Infected Cows
Environment
WorldObject
Animal StatefulAnimal
«interface»Displayable
«interface»Environment
GridEnvironment
World
EnvironmentObject
1
1
1
1..*
1
1..*
«extends»
«extends»
«extends»
GridCell
EnvCell EnvGrid
«interface»GridInterface
1
1..*
11..*
1
1..*
«extends»
1
1
1..*1..*
1..*1..*
EnginesSimulation
Animal
Decision Engine
Actions State
Dec
isio
nsD
eref
eren
ce L
ist
Decision
sDereference List
Track Desires
Find
(n) Lookups
Desires
(n+1)
EventsSimulation
EventQueue
EventController
ReportWriter
ReportFile
ReportReader
World
Viewer
Generated Event
Requested Event
Query of a State
Event
IOWrite IORead
Event Listening
InitiateEvent
Release
Event
Listening
InitiateEvent
Release
Simulation
SMLLoader ObjectDatabase
Simulation
World
Animal
SimulationEvent
Environment EnvironmentObject
EquationsEnvironmentAttributesActions
Animal Specifications
CreatesSe
nd Upd
ates
Creates
Sent toDefines
Trac
ks
Defines
Updates
Defines
Updates
Creates
Contains
SML Definition File…<ObjectType> <Name>Barn</> <Locations> <Polygon>400,400;440,400;440,440; 400,440</> <Polygon>400,200;420,200;420,350;400,350</></><Properties> <Attribute>BarnAttributes</> <Attribute>WoodAttributes</> <Equation>BarnEquations</> <Equation>WoodSurfaceEquations</> <Action>WallActions</> <Action>BarnActions</> <Action>WoodActions</></>...
ProblemFarmers often struggle with containing disease within their farms. The Disease Ecology and Computer Modeling Laboratory (DECML) wants to help farmers by providing a way for them to discover the main reasons for disease spread on their farms.
Controller Screenshot
AnimalAnimals are the core of the simulation. They make use of decision engines, which use a chain of user-defined equations and variables to control how Animals act. There are currently a handful of Engines that use various values in different ways to determine how Animals “think.” These Engines can be swapped in and out of Animals. This interchangeability allows for multiple Animals of the same “type” to act differently due to different methods of thinking.
Viewer Screenshot
WorldThe simulation functions by creating a chain of “Events” that represent everything that is going to happen in a time step. These events are strung together and then passed to anything that is listening for the Events, which ranges from a Logger to the World.
The World handles modifying the Environment based on the changes described within the Events. Because the World responds to Events, the simulation can be removed and Events can either be created manually or read from a report and passed into a World to view the results of a simulation.
AcknowledgementsWe would like to extend a thank you to Dr. Rebecca Garabed, for sponsoring this project. Also, thank you to Dr. Tom Bihari for his guidance and Dr. Rajiv Ramnath for connecting us with Dr. Garabed.
SML Object Database
GoalCreate an extensible, agent-based model of cow behavior that enables researchers to track disease transmittance on user-defined farm environments.