Subject: Help with Sequential Queue Loading and Automatic Backfilling Using AGVs in FlexSim
Dear Support or FlexSim Expert,
I hope this message finds you well.
I am currently working on a FlexSim model where I would like to implement the following logic using AGVs and multiple queues. I would greatly appreciate your insight or advice on whether my current logic is appropriate, and how I might implement the desired functionality more effectively.
What I am trying to do
Initial Item Loading:
When an item enters Queue1, I want an AGV to transport it sequentially into the next available queue, starting from Queue5, then Queue4, and so on.
For example: First item → Queue5, second → Queue4, third → Queue3…
Current Problem:
The first token executes correctly, and the item is placed in Queue5 using the AGV.
However, the second token does not proceed, and the simulation stalls after the first transport.
I suspect the issue might be in the Decide logic or the flow control.
What I want to implement next
Automatic Backfilling:
I plan to add a second AGV.
When an item in Queue5 is sent to the Sink, I want the AGV to:
Move the item from Queue4 → Queue5,
Queue3 → Queue4, and so on,
Essentially "pulling forward" each item one step to fill any empty space.
My Request
Could you please confirm whether my Decide logic is correctly implemented for the sequential queue loading?
Also, what would be a good approach to implement the automatic backfilling logic (when items leave Queue5)?
I appreciate your time and any guidance you can offer!