This page was automatically generated by NetLogo 1.3. Questions, problems? Contact feedback@ccl.northwestern.edu.

created with NetLogo

view/download model file: Fire03.nlogo

WHAT IS IT?
-----------
This project simulates the spread of a fire through a room.


HOW TO USE IT
-------------
Click the SETUP button to set up the people (multi-colored) and fire (red on the left-hand side).

Click the GO button to start the simulation. The simulation will stop when all possible squares have burned.

Click the STEP button to execute one step of the model.

Click the BATCH-RUN button to execute the model for length-of-runs timesteps, number-of-runs, this is the only button which will update average-dead-people.

THINGS TO NOTICE
----------------
The blue "walls" prevent the fire from spreading off the edges of the screen. The fire spreads with rate fireSpread, which can be controlled by the slider. Agents are initially scattered randomly across the grid and remain stationary unless they are next to a fire or they have been yelled at or nudged (as explained below). If they know there is a fire in the room, then they move directly towards the exit, unless the fire stands in their way, in which case they turn to the right 10 degrees and try and move in that direction. This continues for a full circle, if they are surrounded by the fire they remain stationary.

Number-of-runs controls the number of times the model is run when the BATCH-RUN button is pressed.

Length-of-runs controls the number of steps the model is executed for when BATCH-RUN is pressed.

If Conisderate-people? is turned on, then agents will either Yell or Nudge other agents to let them know a fire is coming.

If Yell? is turned on and Considerate-people? is turned on then agents set a variable in the current patch, called fire-coming to 1 and this variable diffuses throughout the grid.

If Yell? is turned off but Considerate-people? is turned on then agents will nudge any agents that they pass by (are in the same patch) on their way to the exit.

Dead-people is the number of agents that have been consumed by the fire.

Avg-dead-people is the average over multiple runs and is only calculated when the batch-run button is pressed.

EXTENDING THE MODEL
-------------------

NETLOGO FEATURES
-----------------

CREDITS AND REFERENCES
----------------------
Based on the forest fire model developed by Resnick and WIlensky, as listed below.

This model was developed at the MIT Media Lab. See Resnick, M. (1994) "Turtles, Termites and Traffic Jams: Explorations in Massively Parallel Microworlds." Cambridge, Ma: MIT Press. Adapted to StarLogoT, 1997, as part of the Connected Mathematics Project. Adapted to NetLogo, 2000, as part of the Participatory Simulations Project.

To refer to this model in academic publications, please use: Wilensky, U. (1998). NetLogo Fire model. http://ccl.northwestern.edu/netlogo/models/Fire. Center for Connected Learning and Computer-Based Modeling, Northwestern University, Evanston, IL.