pieterbons
pieterbons

Reputation: 1724

Is there a way to limit the queue size of a pedElevator block in AnyLogic

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?

Upvotes: 0

Views: 36

Answers (1)

Benjamin
Benjamin

Reputation: 12795

Put a normal Queue block from the process modelling library in front of your block and limit it there.

(You can mix and match blocks from the ped library and the process flow library)

Upvotes: 0

Related Questions