question

Felix Möhlmann avatar image
2 Likes"
Felix Möhlmann asked Jordan Johnson answered

AGV stuck due to failed transfer allocation

Hi everyone,

we encountered a problem (and potential bug) in our latest project. Attached is an example model that reproduces the issue.

In the model, AGVs are dispatched to transport items between locations. Accumulation is used to keep a certain distances between the AGVs. After they finish a task, they start to travel back to their charging station, if they couldn't pull a new task immediately (in the example model they always start the travel).

Beforehand, a child token is created that tries to pull a new task while the AGV is still travelling to the charging station. If it succeeds, the travel is preempted (and aborted) by generating a new task sequence for the item transport.

1669200249462.png

In (somewhat) rare cases, an AGV will fail to allocate the transfer cluster when leaving their charging spot for a new task for seemingly no reason (no other AGV nearby, no allocations of the path point in the tree). (Second stop time at 1510s in the model)

1669200350385.png

This seems to happen when the AGV was previously preempted just as it was about to enter the spur to its charging point. (First stop time at 1340s in the model)

It also seems to be connected to the fact that the charging spurs are two-way paths that force the AGV to change its orientation to driving backwards due to the angle at which it enters. We couldn't observe this issue when replacing the spurs with one-way loops. At least not within a model time of 2 weeks. That version of the model is also attached for reference.

1669200627021.png


We'd be grateful for any feedback on why this might be happening and/or how to work around it, apart from not allowing the travel preemption near the charging station.

AGV_Becoming_Stuck_After_Preempt_22_2.fsm

AGV_Becoming_Stuck_After_Preempt_NoTwoWay_22_2.fsm

FlexSim 22.2.2
agvbugagvnetworkpreemptionallocation
· 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.

Sebastian Hemmann avatar image Sebastian Hemmann commented ·
@Jordan Johnson does anybody have an idea?
0 Likes 0 ·

1 Answer

Jordan Johnson avatar image
0 Likes"
Jordan Johnson answered

In the particular case of getting stuck at time 1504, the issue is resolved by changing all the spurs to have no accumulation. In this model, the spurs don't need accumulation. Accumulation is something to avoid unless you need it.

Another helpful note: as far as I know, a two way path should never be marked accumulating.

5 |100000

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