Examples tagged with agent-basedllms.txt

Select an example to explore it in the playground.

Beginner - Introductory Models
Intermediate - Classic Dynamics
Advanced - Complex Simulations

Phantom Traffic Jam

Why a highway jams with no crash and no bottleneck: past a critical reaction time, one brake tap becomes a phantom stop-and-go wave that creeps backward.

Level: Advanced

trafficagent-basedemergencetime-delaycontrolbalancing-loop

  • Stocks: speed of each car, gap to the car ahead
  • Flows: acceleration, gap change
  • Feedback Loops: headway control (balancing), reaction delay (makes that loop overshoot)
  • Probes: speed_spread, slowest_car, min_gap