question

Keter avatar image
0 Likes"
Keter asked Felix Möhlmann answered

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
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
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.