question

Kwan A avatar image
0 Likes"
Kwan A asked tannerp commented

How do i create more path for the task executer in AGV path

Hi i am new to using flexsim. Currently i have experienced an Deadlock while running my simulation, however it seems like there can be other possible path as drawn using the red and blue marker in the picture shown, how do i change the setting and make the task executer smart enough to move through other paths?

I have attached the file and a screenshot of the model below

As seen in this picture, the taskexecuter2 could had use the red path OR the taskexecuter1 could have use the blue path

Fourth Model Version 3.fsm

FlexSim 18.2.3
task executeragv pathcontrol point
· 4
5 |100000

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

tannerp avatar image tannerp commented ·

This is a pretty large model. I recommend looking at the default AGV Process Flow. There are instructions in the Process Flow on how to use it. Using the template won't guarantee that the model will always run correctly, but as you scale your model, it will help keep track of things.

0 Likes 0 ·
agv-pf-template.png (250.4 KiB)
Kwan A avatar image Kwan A tannerp commented ·

Hi, so sorry, is there another way to do it? like creating more control points or even using the waypoint function?

0 Likes 0 ·
tannerp avatar image tannerp Kwan A commented ·

Yes, there are other ways. One thing you could do is create more control points and re-route the AGV. The AGVs aren't smart enough to do this on their own, though. You might also consider implementing zones. Unfortunately, I'm not a real expert in these, but I'll give your model a look and see if I can get it to work.

Just keep in mind that it will become increasingly difficult as your model gets larger to identify all the points that could cause a deadlock.

0 Likes 0 ·
Show more comments

1 Answer

Matt Long avatar image
2 Likes"
Matt Long answered tannerp commented

@Kwan A The AGVs don't know that they can move onto that other path. Add some curved paths between your queue straight paths and Path1 similar to the curved paths going to Path2.

That will cause the AGVs to move in the way you showed on your question. Additionally you can use things like Control Areas to cause an AGV to allocate multiple locations along paths based upon the size of the control area. You can also go into the AGV Network form the Toolbox and edit the Deallocation Types to determine what part of the AGV passes a control point before deallocation of the point occurs.


paths.png (23.4 KiB)
· 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.

Kwan A avatar image Kwan A commented ·
I've added the curved path as mentioned and shown from the image attached, however the task executer did not use the additional path that i have created and the problem of having deadlock is still there
0 Likes 0 ·
tannerp avatar image tannerp Kwan A commented ·

Based on @Matt Long's answer, it sounds like you need to add more than just the curved path. For example, you will need to determine Control Areas so that AGVs don't try to allocate control points in areas that would cause a deadlock. This might take some trial and error testing. Additionally, Matt mentioned using Deallocation Types to configure the way that AGVs deallocate control points. Maybe you could try changing this to be the front of an AGV so that CPs are deallocated sooner?

0 Likes 0 ·