question

Martin C10 avatar image
0 Likes"
Martin C10 asked Martin C10 commented

To have elevators only service certain floors

How to let elevators only service certain floors without separate elevator banks, I have tried ussing barrier, but it doesn't work, my elevator bank is adding multiple lifts, I want to let each elevator service certain floors.47945-1643010296023.png

FlexSim 20.0.10
elevator bank
5 |100000

Up to 12 attachments (including images) can be used with a maximum of 23.8 MiB each and 47.7 MiB total.

1 Answer

Felix Möhlmann avatar image
0 Likes"
Felix Möhlmann answered Martin C10 commented

This isn't possible without essentially rebuilding the elevator bank object. The attached model demonstrates one possible workaround.

Depending on the current and target position, the person is first send to a floor spot in front of an elevator bank. This way, that elevator bank is the closest connection to the other grids and will be used. Which elevator gets chosen is determined by two things: Does the elevator service the current and target floor and which of the possible elevators is currently the least utilized.

The first is controlled by a label array on the elevator banks. A one signifies that it can stop at the respective floor, a zero that it can't. Only if both the value for the current and target floor (floors numbered 1-3) are 1 can the elevator be chosen.

The utilization is determined by two things: The state of the elevator inside the bank (if it is currently idle it will be chosen without checking others) and a second label that tracks the number of travellers set to use that elevator. It is incremented each time a person is send to a corresponding floor spot and decremented in the "On Traveler Continue" trigger on the elevator bank.

ChooseElevatorbank.fsm


· 5
5 |100000

Up to 12 attachments (including images) can be used with a maximum of 23.8 MiB each and 47.7 MiB total.