question

hikel avatar image
0 Likes"
hikel asked hikel edited

How to customize Barrier in A* network to allow for multi direct

I am trying to create a rule for controlling forklift traffic in a warehouse aisle.

1737657475800.png The aisle is unidirectional by default but can temporarily allow two-way traffic under certain conditions. Specifically, I want to implement the following logic:

  1. When there are no forklifts in the aisle, it can become two-directional to allow a forklift to enter from the opposite direction. like number 2 above
  2. Once a second forklift enters the aisle, it should revert to being unidirectional again to avoid congestion or deadlock with two way. like number 1 above
  3. Here is another example answer by @Jason Lightfoot but this one is using time which is not the case here. @Felix Möhlmann do you have suggestion or solution to this problem. Thank you!

Here is my model loading-1.fsm

FlexSim 24.2.2
warehousea star navigationtaskexecutorsbarriers
1737657475800.png (446.4 KiB)
loading-1.fsm (104.1 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.

1 Answer

Felix Möhlmann avatar image
0 Likes"
Felix Möhlmann answered hikel edited

You could use the same logic I utilize in the article I just posted to let turning cars wait for oncoming traffic. A control area is placed over the aisle. When a request is made, the logic determines in which direction the transporter wants to travel based on its current position. If the area is empty or currently in the correct 'mode', the transporter can enter. Otherwise it has to wait until the area becomes empty.

For this to work properly, you have to make sure that the transporters never turn around inside the aisle and that they leave enough space for other transporters to exit while waiting to be allowed to enter. In the attached model I force them to drive a small loop at the end of the aisle to achieve this.

loading-2.fsm


loading-2.fsm (116.9 KiB)
· 9
5 |100000

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