I am trying to simulate pedestrian movement in a building with an elevator but when I use the Anylogic pedElevator block the pedestrians pile up in front of the elevator door. The agents have entered the elevator block and can be counted via elevatorQueueSize() but I cannot find how to limit the capacity of this integrated queue.

Can anyone help how to limit the number of waiting pedestrians in a pedElevator block?

More Pieter Bons's questions See All
Similar questions and discussions