SUCCEED

   

modeling 2011
Shodor > SUCCEED > Workshops > Archive > modeling 2011

In this workshop students developed a simple SIR (sick, infected and recovered) model using NetLogo. In the beginning of the class, Alexandra talked a lot about the differences between NetLogo and other modeling programs such as AgentSheets and Vensim. Some of the differences are that AgentSheets and Vensim are more visually oriented and NetLogo is developed more by hard coding and AgentSheets and NetLogo are agent-based models, while Vensim is systems-based. Alexandra enlisted Neal to help demonstrate, through a small game, what the agent would do for certain commands given in NetLogo. An agent in NetLogo is called a turtle. For example: in NetLogo, you have to ask a turtle to do something so Alexandra would ask the turtle to complete a specified action such as move forward 1. When the students tried having the turtle dance, Neal did nothing. The students learned that they needed to define that action before it could be executed. After this activity, they immediately moved on to building a peanut butter sandwich to test how well they could define the actions necessary for the task. Alexandra would ask questions if she did not understand what something meant. This showed the students how specific they have to be while defining their agent's characteristics. Then the class moved on to their computers and actually started coding their agents in NetLogo. Since NetLogo is object oriented they coded each object separately. They learned how to change the depiction of their agents as well as the colors and numbers in addition to the actual behaviors. The class went on to finish a simple SIR model with minimal errors.