question

Steven Chen avatar image
0 Likes"
Steven Chen asked Ryan Clark commented

Rule for choosing elevator bank

Hello,

How do I create a rule that defines the conditions of choosing elevator bank.

For example, if operator is loaded then use elevatorBankA, if operator is empty then use elevatorBankB. Those elevator banks are separated at different locations.

FlexSim 20.2.3
flexsim 20.2.3elevator 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.

Cliff King avatar image
0 Likes"
Cliff King answered Cliff King edited

@steven.chen The way I have controlled who uses which elevators with the people module elevator that uses A* navigator is with conditional rules on a divider I put across the paths leading to the elevators. Just remember when creating the rules, that you're defining a condition for the divider to be a barrier. In other words, if the condition returns true, then the divider will be a barrier to the traveler; otherwise if the condition is false, the divider will not be a barrier, and will therefore allow passage through the barrier.

Hopefully, you will be able to achieve what you want with a little creativity in where you place your conditional dividers and what rules you define for them. Here's a screenshot showing how to create a "Barrier Condition" and select it as the rule in the Divider's "Condition" field. You can actually add a new condition either in the drop down list for the Divider's Condition field, or using the plus button on the "Barrier Conditions" tab of the A* Navigator's quick properties window.



1607470659298.png (70.2 KiB)
5 |100000

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

Tomi Kosunen avatar image
0 Likes"
Tomi Kosunen answered Ryan Clark commented

@Steven Chen did you find a good way to choose the ElevatorBank? I find the suggested divider difficult as I have ~hundred of elevators in the building.


· 1
5 |100000

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

Ryan Clark avatar image Ryan Clark commented ·
@Tomi Kosunen, were you able to find an answer to your question? If not, could you please make a separate post for your question, so we can help you more effectively? Thanks!
0 Likes 0 ·
Benjamin W2 avatar image
0 Likes"
Benjamin W2 answered Steven Chen commented

Hi @steven.chen,


There are several ways you could do this. Process flow is the easiest. Decides will be your best friend.


Check out this example model.


Decide.fsm


decide.fsm (43.5 KiB)
· 1
5 |100000

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

Steven Chen avatar image Steven Chen commented ·

I mean elevator bank from people module. I don't understand how traveler chooses elevator, it looks like traveler will choose the shortest path, but not exactly sometimes. How can I redirect traveler to specific elevator bank?

MultipleElevatorBanks_v20.2.fsm

0 Likes 0 ·