Eight fans, eight bus seats. Why might some fans still be left waiting?
After a match in Galway, eight fans want to catch a shuttle. Two buses have four seats free each. That sounds like enough seats for everyone. But what if some of those seats leave on the first bus before the fans arrive?
You already know how to allocate seats for one departure. If six fans are waiting and four seats are free, four fans can board. Subtract those four from the queue. Two fans are still waiting when the bus leaves.
Start with an empty queue. Add the new arrivals. To find how many board, take the smaller of the number waiting and the number of free seats. Subtract those who board. When the bus leaves, carry the remaining queue forward. These rules form a simplified model of the shuttle queue.
Two fans are still waiting after the first bus leaves. Three more arrive before the next bus, which also has four free seats. How many fans are still waiting just after that bus leaves? Pick an answer.
A simulation applies the model's rules at each departure. You can take the smaller count and subtract it in one update. Or board fans one at a time until the bus is full or the queue is empty. Both give the same totals, but a list can also track who boards.
Start with an empty queue. Six arrive before bus one. Four board, leaving two. Before bus two, add two arrivals to those two still waiting. That makes four. All four board, so the queue is empty after the second departure.
Start with nobody waiting. This time, two fans arrive before bus one and six arrive between buses. Each bus has four free seats. How many fans are still waiting just after bus two leaves? Pick an answer.
With four seats per bus, six then two arrivals leaves two waiting, then zero. Four then four leaves zero after both buses. Two then six leaves zero, then two. With more fans and departures, a computer can quickly repeat these rules for many patterns to find when capacity is a problem.
On the left, you assume each bus has four free seats. At the real stop, a bus might have fewer. On the right, the model leaves two fans waiting when two arrive early and six arrive later. Treating that result as a guarantee about the real stop is a mistake.
If asked to state one assumption, give four free seats per bus. To test five instead, rerun the same patterns and compare final queues. The first two patterns still leave nobody waiting. For two then six, the final queue falls from two to one, so one extra seat helps in that case.