question

Felix Möhlmann avatar image
1 Like"
Felix Möhlmann asked Felix Möhlmann commented

AGV not finishing travel on code generated path grid

I was doing tests with creating a grid of AGV paths via code and the new "addAllocationPoint" method added 23.0.

I ran into an issue with AGVs not completing their travel tasks at certain points, when travelling in a certain direction (y- in the model). They either travel to their destination control point and stop but do not complete the task and keep the previous control point allocated as well.

Or they stop at the penultimate control point, allocate the next, final one but do not resume their travel.

1673863344871.png

When looking at the event list, I can see that in both cases neither a preArrival event, nor a traversal event are created.

1673863510021.png

(Normal behaviour, the traversal event of the current control point and the preArrival event for the next one are visible)

1673863571746.png

(Only the traversal event is pending, no event for the next control point)

Any idea what might be causing this? I was testing how to add additional allocation points to account for different AGV geometry (see TaskExecuter1 and its onBuildTravelPath trigger). So it's possible that I accidently screwed up something in the AGV logic. However the same issue happens in a fresh model that uses the same code to generate the grid and on a different PC as well.

AGV_gridfromcode_travelbug.fsm

FlexSim 23.0.1
agvbugtravelagv code
· 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.

1 Answer

Jordan Johnson avatar image
0 Likes"
Jordan Johnson answered Felix Möhlmann commented

Sorry for the delay. I just opened this in 23.0.4 to investigate, and the issue seems not to happen. Both AGVs are able to travel to their final destination, and both tokens move to the delay activity. Can you confirm that this issue is resolved on your side?

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