question

Keter avatar image
0 Likes"
Keter asked Jeanette F commented

How to trigger AGV allocation failed based on priority value

Hello, is it possible to trigger AGV allocation failed based on priority value of the agv label?

I want to trigger and create the token that the priority value on AGV is smaller.


redirectagvtosiding-v23.fsm

FlexSim 23.2.0
agvdeadlockagv deadlocksiding
· 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.

Jeanette F avatar image Jeanette F ♦♦ commented ·

Hi @Keter, was Felix Möhlmann's 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

Felix Möhlmann avatar image
1 Like"
Felix Möhlmann answered

When the failed allocation results in a deadlock, the event offers the deadlock cycle in array form as a parameter that you assign to the token. (AGV A wants to allocate CP X which is held by AGV B that wants to allocate CP Y which is held by AGV A)

You can loop through this array to find the involved AGV with the lower priority and then send that one to the siding.

redirectagvtosiding-v23-prio.fsm


5 |100000

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