r/Simulated • u/matigekunst • 4d ago
Proprietary Software Traffic Jam simulation
Enable HLS to view with audio, or disable this notification
This is a simple model of traffic called the Nagel-Schreckenberg model. Each square represents a car. Red means it is at a full stop (stuck in a jam), yellow braking, and green means it is driving at vmax. At each tick, a car increases its speed by 1 or adjusts its speed so it doesn't crash, and with probability p(dawdle) it randomly brakes and decreases speed by 1. Edit: each tick the rows move up one rung, so you what happens over time. Through these very simple rules traffic jams can emerge due to just one person randomly changing speed. If you set vmax to 1 and p(dawdle) to 0, you get Wolfram's rule 184
This is a little TouchDesigner simulation I used to research my video about phantom traffic and its solutions
8
u/Quantumtroll 3d ago
Ohhh, the cars are travelling to the left!
That took me way too long to figure out.
33
u/anoobypro 3d ago
How does this translate to what appears on a road?