Skip to main content
Version: 🚧 Alpha 🚧

Incremental Model

This tutorial builds a simple epidemic model in seven steps. It introduces agent behavior, charts, GIS data, graph-based movement, 3D displays, multi-level modeling and differential equations. All the files related to this tutorial (images and models) are available in the Models Library (project Tutorials/Incremental Model).

Model Overview​

The models represent infection spreading among people agents in a city. Later steps add building and road agents.

We made the following modeling choice:

  • Simulation step: 1 minute.
  • People are moving on the roads from building to building.
  • People use the shortest path to move between buildings.
  • All people have the same speed and move at a constant speed.
  • When an agent has reached a building, its stay is modeled before it chooses another target.
  • The staying time depends on the current hour (lower at 9h - go to work - at 12h go to lunch - at 18h - go back home).
  • Infected people are never cured.

Final display of the tutorial: Incremental model.

Step List​

The seven steps correspond to models in the Models Library project Tutorials/Incremental Model. Each page introduces a model change and shows the corresponding GAML.

  1. Simple SI Model
  2. Charts
  3. Integration of GIS Data
  4. Movement on Graph
  5. Visualizing in 3D
  6. Multi-Level
  7. Differential Equations