Forest Fire Model

(Description at the bottom)

Key:
Burning/Burning Tree
Tree
Burnt Tree
Time steps elapsed:
Frames per second:
Air Temperature
Relative Humidity
Number of rows:
Number of columns:
Cell width (pixels):
Cell height (pixels):
Initial number of Burning Trees:
Initial number of Trees:

Model Description

Initial State

In a rectangular world, there are cells and two types of agents: sick people and healthy people. Initially, and each time the model is reset, the world is created. A certain number of sick and healthy people are randomly placed in the cells. At no point during the simulation can two agents occupy the same cell. The state of the model is initially drawn on the screen.

During Each Time Step

During each time step of the simulation,

  1. each sick person looks for healthy people in the 4 nearest-neighboring cells. If it finds one, it infects it;
  2. all agents move randomly to one of their empty, nearest-neighboring cells;
  3. the current state of the model is drawn on the screen.

Final State

The simulation runs indefinitely, until the stop button is clicked.

© Shodor 2017