Bus Bunching Lab

Bus Bunching

You wait a long time for a bus. Then two turn up together. How can that happen on an evenly spaced route?

Imagine a few extra people waiting at one stop. Their bus takes longer to board them. During that delay, more riders arrive at the stops ahead. The following bus finds shorter queues, spends less time boarding, and catches up. That feedback is how buses bunch.

Watch a gap open

Press Play. Four buses circle twelve stops clockwise. In this run, passengers arrive at random and take rides of different lengths. Follow one bus and the gap behind it for a few laps. Pause or step back a minute to see where a pair first draws close.

Random arrivals

What keeps the buses apart?

Give each stop one new passenger every twenty seconds, and give everyone a four-stop ride. Now each bus finds the same workload as its peers. They board, travel, and stop in step.

Watch the rider counts during the first twenty minutes. The buses start empty and fill together, each reaching 53 riders at 18:04 and 54 at 21:04. The counts rise and fall as people board and leave, but all four buses carry the same number of riders at the same moment. That’s the equilibrium you can see on the map: each bus stays three stops behind the one ahead.

Try it. Choose Max speed and let hundreds or thousands of minutes pass. Pause at any point and check the largest gap.

Fixed arrivals

Four seconds is enough.

Start with the same route and let the buses fill together again. We wait until minute 25 so you can see them keeping even spacing with passengers aboard. At 25:36, all four buses are carrying 54 riders. Bus 1 now leaves Stop 8. Its road travel to the next stop takes 44 seconds instead of the usual 40. After that one segment, it returns to its usual pace.

Four seconds can put an extra passenger at the door. Boarding that rider costs a little more time. The bus behind can catch up, leaving a wider gap behind itself. Farther back, another bus meets the queues that grew in that gap.

Follow the ripple. Watch Bus 1 after minute 25, then follow the other three. Which pair closes up first? Compare the gaps around minute 60 with the convoy around minute 90.

One delayed segment

Can a dispatcher break up the bunch?

Holding the following bus lets the gap ahead of it open again. In many cases, holding gives riders the shortest trip on average. That can feel unfair when you’re on an on-time bus, waiting out a delay you didn’t cause.

Letting the late bus skip stops feels more natural. It regains ground without holding another bus. But someone it passes may wait until the next bus, a much bigger loss than a brief hold. When does skipping save enough time to outweigh that extra wait, and who bears the cost? Read the stop-skipping analysis.

Try the recovery scenarios and compare the time passengers spend waiting and riding.

Explore the Bus Bunching Lab