Traffic Unit for StarLogo Nova

Posted April 28, 2017 by sgibbs
Traffic image from Project GUTS webpage

Original author

Project GUTS

Resource type

Content area

Use type



This unit engages students in the use of agent-based modeling to look into why we have traffic jams and test ideas to try to improve traffic flow, and demonstrates the use of simulation to solve difficult engineering problems.  Specifically we focus on the problem of traffic bottleneck congestion.  A secondary goal is to further students’ understanding of the network concept as a way to model real world flows of data and matter.  An alternative pacing guide, using most of the same off-line activities but different coding challenges, is also attached below.

Unit Structure:

Link to Weekly Progress Monitors (instructions for students to help with programming)

Lesson 1: Introduction to Traffic Simulation

  • Use CAST diagram to think about roads as complex systems (attached below).
  • Decode the Base Model with Road and add and scatter cars.  Discuss abstractions of the model.

Lesson 2: Cars moving without passing

Lesson 3: Cars moving without passing (cont.) and Roadblock/Traffic light

Lesson 4: Car Breakdown causing a traffic jam


  • Discuss or model how computer driven cars might change these assumptions or models?  How can they be better than human drivers?  What challenges do they present?
  • What if you gave different moods (emotional states) to different drivers? How would you model drivers talking on cell phones or distracted by other activities like eating or applying make-up?
Log in or register to view attachments and related links, and/or join the discussion