question

shanice.c avatar image
0 Likes"
shanice.c asked Eric M answered

AGV traveling and executing tasks priority

In my model, there are Processors and Queues. Queues are for putting both unfinished product and finished good. There are 2 CPs at each Queues and Processors, as AGV can load and unload directly to Queues and Processors. But I need AGV always unload box to Processors first, if Processors are all unavailable, then AGV unload at Queues.

My problem is how can I give these moving requirements(boxes) their priority. These priorities well be used for selecting one AGV task. From AGVs point of view, there are load tasks and unload tasks, loading requirements has priority over loading requirements; unloading at Processor has priority over Queues. Furthermore, how do AGV select one task in process flow? If I add some fields into List, how can I determine the task AGV is going to execute.

AGV priority.fsm

FlexSim 21.1.4
agvflexsim 21.1.4priority
agv-priority.fsm (29.8 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

Eric M avatar image
0 Likes"
Eric M answered

Hi @Fiona C, here's a simple example of how setting the priorities might work. I use a fixed resource list with the Processor and Queues 2 and 3 set to be the initial content (in the general tab of the list). I then added a field to the list called Priority and gave the destinations a Priority label (1 or 0). In the Pull from List activity, I pull the highest priority (processor) if it's available. I also added triggers to the destinations that would push their value back to the list when they were available again to receive items.

In the AGV process flow template, the AGV uses the NextWorkPoint loop to determine it's tasks. It will loop around the path checking if there's an item to load or unload at each control point it gets to. When it's load capacity is full, it will just go to unload destination without checking for more work. Of course, all of this is customizable and you can change how it's working / choosing what tasks to accomplish next. Here's some info from the manual that explains a little more.

AGV priority drop off.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.