question

SudheerReddy avatar image
0 Likes"
SudheerReddy asked Jason Lightfoot commented

Dynamic Barrier Management is failing in few occasions

AccumulatingPath_3.fsm

Used two way aisles and non accumulating paths

In Below situation TE1 and TE3 are in deadlock. TE3 can backup and give space to TE1. But it is not doing.
Is there any reason why it is failing in such scenarios.


1695660976747.png


FlexSim 23.2.1
dynamic barriers
· 3
5 |100000

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

Vinay S avatar image Vinay S commented ·
When I run your model. Its running without any error.
0 Likes 0 ·
SudheerReddy avatar image SudheerReddy Vinay S commented ·

Around time 17 to 17.36 it is giving below error. I am using 23.2.1 version

Even if the below pop is not coming for you

you can see the all TE's blocked by one another and not able to move to its final destination

1695835678968.png

0 Likes 0 ·
1695835678968.png (119.9 KiB)
Jason Lightfoot avatar image Jason Lightfoot ♦ commented ·

Hi @SudheerReddy, was our answer helpful? If so, please click the "Accept" button at the bottom of their answer. Or if you still have questions, add a comment and we'll continue the conversation.

If we haven't heard back from you within 3 business days we'll auto-accept an answer, but you can always comment back to reopen your question.

0 Likes 0 ·

1 Answer

·
Jason Lightfoot avatar image
0 Likes"
Jason Lightfoot answered Jason Lightfoot edited

There are I think two things here that you should consider.

1) The logic you're using was intended for the kiva system in which, for most of the control points, there are 4 possible directions by which a te can travel. This means there are many options for rerouting around any blockages due to deadlock.

2) In your model the TE that is chosen to preempt and reroute is always TE1 with the current random stream setting. The layout you've created hems in taskexecuter1 such that if it is the chosen TE to preempt and reroute, it cannot possibly do so since the two control points either side of it are blocked.

The line of code that chooses the TE is line 25 of the Deadlock event's 'Recalculate Route if Needed' custom code.

1696447205505.png

If you choose a different stream and it happens to choose TE2 or 3 then the task executers may reach their final destinations. You could also experiment to try other selection strategies that may give you better results.


1696447205505.png (6.7 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.

Write an Answer

Hint: Notify or tag a user in this post by typing @username.

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