question

Jotam C avatar image
0 Likes"
Jotam C asked Felix Möhlmann commented

AGV Park/Staging location with a task dispatcher

I am working on a much more complex simulation model, but I have attached a very small example of what I am trying to accomplish. After the package is delivered by the AGV as assigned by the dispatcher, I want the AGV to go to a staging/parking location different than the sink, and wait there until a new object has been created. At time, I will also want the AGV to go back to its home position while waiting. In my bigger model, I used dispatchers because I wanted to assign specific routes to each AGV. Please let me know if this can be accomplished. Thanks!

AGV Staging location.fsm

FlexSim 21.2.4
agvagvnetworkparking point
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 Felix Möhlmann commented

You can use the 'On Resource Available' trigger to have a task executer travel to a specified location (such as a certain control point) after finishing a task and becoming idle.

1655107736679.png

Also note that the 'NextWorkPoint' connections are not actually needed when you are not using the predefined AGV process flow.

agv-staging-location-fm.fsm


· 2
5 |100000

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

Jotam C avatar image Jotam C commented ·
This works very well! I do have a question though. If a part is not completed by the time the AGV starts traveling, the task executer will go to the staging location and completely ignore the pickup call until it loops around. Is there any way to prioritize the pickup call over the on resource available trigger?
0 Likes 0 ·
Felix Möhlmann avatar image Felix Möhlmann Jotam C commented ·

You can allow tasks to preempt others. In your case you would probably want to set all actual tasks to 'preempt only' with the same priority so they don't interrupt each other but can take priority over returning to the home location.

1655144553860.png

https://docs.flexsim.com/en/22.1/WorkingWithTasks/TaskPrioritiesPreemption/TaskPrioritiesPreemption.html

0 Likes 0 ·
1655144553860.png (9.8 KiB)

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.