Play n Tools

Free tools & games for everyone

Free · No sign-up · No accounts

Elevator dispatch tournament

Run a busy building's lifts with four dispatch rules and see which one keeps people waiting least. Morning rush, lunch, evening or mixed traffic.

How to use

  1. Describe the building and the day: the traffic pattern, floors, lifts, places per lift, how many people arrive each minute and for how long.
  2. In Watch one rule, choose a dispatch rule and press Play. Orange dots are people waiting; the number on each lift is how many are inside.
  3. Open the Tournament to run the same day through all four rules and compare waits, journeys and how far the lifts travelled.
  4. Change the seed for a new set of passengers, or press New day after changing the building.

Keyboard and touch

TabMove between boxes, tabs, lists and buttons
Enter in a boxStart a new day
Arrow keys on the speed sliderRun faster or slower

Tips

  • "Nearest lift" sounds sensible but often loses: the nearest lift may be heading the other way with a car full of stops.
  • "Everyone shares every call" often gives short waits, but every free lift heads for the same caller, so the lifts travel much further: more energy and more wear. Compare the floors travelled.
  • Zones keep each lift near its own floors, which saves travel, but a busy zone can wait while another lift stands idle.
  • Average wait hides the unlucky few: check the longest wait and the share who waited over a minute too.
  • Too many people per minute for the lifts and the queues grow without end. Add a lift or more places and see the queue melt.

About this simulation

Time moves in steps of one second. Each second, with a chance set by the people per minute, one person appears with a start and a destination floor drawn from the chosen pattern (for example, in the morning 80 % go from the lobby up, 10 % come down and 10 % travel between upper floors). A lift needs 2 seconds per floor and 6 seconds for every stop. At each floor it lets out its riders for that floor and takes in waiting people who are assigned to it (or anyone, under the shared rule) while it has room. It keeps going in its direction while it has stops ahead, then turns to the nearest stop.

The rules decide who answers a new call: nearest lift picks the lift on the closest floor; best estimated arrival adds the travel time to the caller (including a detour to finish the current direction) and 6 seconds per stop already planned; shared assigns nobody, and every lift heads for every call; zones splits the upper floors between the lifts. Real controllers use more information, such as destination keypads in the lobby. The run is seeded, so the same seed gives the same people. Everything runs in your browser.

See you tomorrow!

A fresh daily puzzle every morning, and new tools added every month.

Browse every product