question

Jotam C avatar image
0 Likes"
Jotam C asked Jotam C commented

Collision with Task executers

I am planning to build a much larger and complex system, but the model I have attached addresses my main question. How do I avoid collision between task executers? In the example I have attached, each task executer has a different speed, and one eventually passes the other. I want them to stay idle rather than going over each other. I know the AGV template does this nicely, but for this application, I believe that dispatchers will do better (each agv and tugger has a predefined path with specific pickup and drop off points. The AGV template chooses shortest path and other things that are not relevant to my model). How can I achieve this with regular travel nodes?


Dispatcher & Experimenter practice.fsm

FlexSim 21.2.4
collision avoidance
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

·
Kavika F avatar image
0 Likes"
Kavika F answered Jotam C commented

Hey @Jotam C, I modified your file and added a solution to the side of your model. I used an AGV network with paths and control points (CPs) similar to yours. I only used a dispatch with my Task Executers like you specified. I connected CPs with "NextWorkPoint" connections so the AGVs knew where to travel to next to execute their task. In the toolbox, I opened the "AGV Network" option to create a "FastAGV" with a speed of 2 (rather than the default 1).

1654206227286.png

Then I assigned one of my TaskExecuters to be a "FastAGV" (Under Properties > AGV Traveler).

1654206283451.png

Here's what the result looks like:

AGV Anti-collision.gif

The trailing AGV will stop at the previous CP until it has been cleared by the front AGV, thus preventing collisions. If you want the stops to be closer together, you can play around with CP distances and speeds, but I'm not sure how complex you're planning on making your model.

solution.fsm


1654206227286.png (48.1 KiB)
1654206283451.png (9.2 KiB)
solution.fsm (43.2 KiB)
· 1
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 ·
Your solution was extremely helpful! Thank you so much.
0 Likes 0 ·

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.