question

Razvan H avatar image
0 Likes"
Razvan H asked Felix Möhlmann edited

Prioritize AGV by distance using a Dispatcher

Hello
I have a project where I use 20 AGV`s responsible for transporting aprox. 100 materials . The materials are consumed by Processors and ordered once the process is ready . I have built the simulation standard(no process flow) using a dispatcher with prioritizing by distance .

What I am expecting from the simulation and it does not happen is that the AGV once it unloads a material to re-evaluate his current position and go load the material closest to him .

Does anybody know how to solve it in the current format ? I have already spent a lot of time finishing building the model and the only problem is this travelling .

I am attaching a simplified model as an example .

AGV distance.fsm

FlexSim 20.1.3
agv
agv-distance.fsm (35.5 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

The dispatcher first determines which task sequence will be dispatched next based on the 'Queue Strategy'. It then decides which task executer will receive the sequence.

In your case you want to first see which task executer is receiving a task sequence and then decide which one that should be.

This is easier done by pushing all task sequences onto a list. ('Use Transport' option -> Use List -> Push to Task Sequence List). A simple process flow reacts to the task executer becoming available (On Resource Available). The token then pulls the best task sequence for that AGV from the list and dispatches it.

If there are more than one AGV waiting for a new task, the 'Back Order Queue Strategy' of the list allows the AGV closest to a new task to pull it, regardless of which token entered the activity first.

agv-distance_list-fm.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.