Skip to Content
PlaygroundLift Simulator

Lift Simulator

Compare two views with the same passenger arrivals. Only the two selected policy combinations run, and the results table compares those views. On smaller screens, switch between views using the tabs.

Only the two selected combinations run, with identical passengers. Changing a policy restarts both views.

0.0s

View 1

Floor 0Target 10.0 f/s
5
4
3
2
1
0

View 2

Floor 0Target 00.0 f/s
5
4
3
2
1
0
Selected combinations Β· average wait measures passengers who have boarded
ViewWhen emptyWhen occupiedAverage floor waitLongest current waitWaitingTrips
View 1PatrolNearest destinationβ€”0.0s00
View 2Nearest callNearest destinationβ€”0.0s00

Policies

Choose one policy for an empty lift and another for an occupied lift. Changing either selector restarts both views and clears their results so the comparison begins together. If paused, it stays paused.

When empty

PolicyBehaviourTie breaker
PatrolTravel up/down between the end floors. With Every floor, stop at each floor; otherwise stop where passengers are waiting.β€”
Nearest callGo directly to the nearest floor with waiting passengers.Oldest waiting passenger.
Oldest callGo directly to the floor of the longest-waiting passenger.First passenger in the queue.

Nearest call and Oldest call stay idle when nobody is waiting. Passengers arriving during a journey do not change its target.

When occupied

PolicyTargetTie breakerStop rule
Every floorContinue up/down between the end floors, ignoring onboard destinations when choosing a direction.β€”Stop at every floor.
Nearest destinationNearest onboard destination.First rider to board.Stop at the target destination.
Popular directionDirection wanted by most onboard riders, then the nearest destination that way.First rider to board, for both direction and distance ties.Stop at the target destination.
Continue directionNearest onboard destination in the current direction; reverse only when none remain ahead.First rider to board.Stop at the target destination.

At any stop, passengers can board if there is space, regardless of their direction. Occupied lifts using Nearest destination, Popular direction or Continue direction do not make extra stops for waiting passengers along the route.

Last updated on