question

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

Why the AGV does not unload items when it first arrived at Quene2 ?

FlexSim 23.0.3
network node
temp2.fsm (41.7 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
1 Like"
Felix Möhlmann answered

The Event-Triggered Souce creates another token when the AGV arrives back at it after loading items from Queue1. Since more items enter Queue1 before the task executer arrives at Queue2, the load tasks for those items are generated earlier than the unload tasks and are thus also executed earlier.

You have a number of options to influence the order in which the operations are done:

- Don't use an Event-Triggered Source and instead use a single persistent token that loops through the process flow.

1677482148227.png

- Use a Resource or Zone to limit the number of tokens that give tasks to the AGV to one at a time.

1677482251677.png

- Do the same by making all tasks part of a single task sequence which has to be finished before another one can be started (except when preemption is used). Note that you would have to adjust the task executer/task sequence reference in the activities.

1677482351148.pngOut of those three I would suggest to use the first option, since the other two result in an ever increasing number of tokens because, as mentioned, the AGV in fact arrives at NN1 twice per cycle. The other two are mostly mentioned as reference for how task executers can be controlled through Process Flow as well.


1677482148227.png (32.3 KiB)
1677482251677.png (35.8 KiB)
1677482351148.png (35.2 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.

Write an Answer

Hint: Notify or tag a user in this post by typing @username.

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