question

student-loging avatar image
0 Likes"
student-loging asked Felix Möhlmann answered

AGV delivery problems

Hello FlexSim community,

I have a problem with my model and would appreciate some help. I'm trying to get the AGV1 to deliver the item to the sink, travel back to the node, wait for the next box and repeat. Now the robot only travel back and fourth, and picks up the same item. I would like it to pick up a new item according to the priority until the inventory is empty. I'll attach the model.

Testfile 22.03.fsm

FlexSim 24.0.0
agv delivery problems
testfile-2203.fsm (82.4 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.

1 Answer

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

"priority" can't be assigend to "priority" if it does not exist yet. What you want to do is assign the label value of the item (token.item.priority)

1742809203648.png

And in the Pull from List activity that pulls from "List2" you assign the pulled value to "pulled" but continue to use "item" later. Which is why the robot moves the same item again. Because the label never changes.


1742809203648.png (7.1 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.