AGV Park/Staging location with a task dispatcher

AGV Park/Staging location with a task dispatcher

jotam_c
Not applicable
69 Views
3 Replies
Message 1 of 4

AGV Park/Staging location with a task dispatcher

jotam_c
Not applicable

[ FlexSim 21.2.4 ]

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

0 Likes
Accepted solutions (1)
70 Views
3 Replies
Replies (3)
Message 2 of 4

moehlmann_fe
Participant
Participant
Accepted solution

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

0 Likes
Message 3 of 4

jotam_c
Not applicable
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
Message 4 of 4

moehlmann_fe
Participant
Participant

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....

0 Likes