question

Halil Ibrahim Sahin avatar image
0 Likes"
Halil Ibrahim Sahin asked Ryan Clark commented

The problem of transporting AGV

Hello. One of the AGVs (TaskExecuter3) in my simulation is having trouble transporting the yellow and blue boxes. AGV takes yellow and blue boxes one by one instead of in multi. Also, the AGV discharges the boxes after a few rounds. I want the AGV to complete its mission in one turn. I will be very happy if you help.


Project 4.fsm

FlexSim 21.2.4
agv
project-4.fsm (85.7 KiB)
· 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.

Ryan Clark avatar image Ryan Clark commented ·

Hi @Halil_ibrahim S2, was Felix Möhlmann's answer helpful? If so, please click the "Accept" button at the bottom of their answer. Or if you still have questions, add a comment and we'll continue the conversation.

If we haven't heard back from you within 3 business days we'll auto-accept an answer, but you can always unaccept and comment back to reopen your question.

0 Likes 0 ·

1 Answer

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

What happens is the following: Whenever the AGV loads an item, a check is done whether another item is waiting to be loaded. If a yellow item is loaded and the next one waiting is a blue item, the AGV will first move to pick up the blue item and not stop to unload the yellow item.

By default, the task sequences are also done in FIFO order, meaning if the first item to appear was a yellow one, the AGV will drive past the first queue, even if blue items entered in the mean time.

There are some options ("Break To" and "Queue Strategy" on the AGV, "Priority" and "Preemption" on the queues) that influence this behaviour.

However, achieving the desired outcome with these options would probably require some coding, so the best compromise between results and complexity might be to use a process flow to control the AGV.

In the attached model, the items are pushed to a list in the "Use Transport" option of the queues. In the process flow, a single token controls the AGV. It waits until there is any entry on the list, then drives to the first queue. It then repeatedly pulls items of Type 3 (blue) from the list and loads them, until either the capacity is reached or the queue is empty. It then proceeds to the second queue and repeats this. Afterwards all items are unloaded before the token loops back to the beginning.

project-4_autosave.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.

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.