question

Kauan santos avatar image
0 Likes"
Kauan santos asked Felix Möhlmann answered

How do I make sure my two AGVs don't cross paths?

Hello everyone,


I am doing a simulation where I have two AGVs that at some point pass on the way, but I would like to put some restrictions when my taskexecuter1 is going to fill up at gravityflowrack my taskexecuter2 is waiting at my controlpoint6 when my taskexecuter1, unloads and as it is returning to controlpoint2, my taskexecuter2 can already be going to controlpoint4 because they will be in the same direction, where it unloads and my taskexecuter1 has to wait at controlpoint2 until the route is free again.


agvdivision13.fsm


FlexSim 24.1.1
agvproces flowtraffic controlwaypoint
agvdivision13.fsm (5.3 MiB)
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

The 'easy' way would be to handle this in the Process Flow. Send the TEs to the points where they would have to wait if the path is not free, then have them acquire a resource that represents the shared path and only then let the continue to their final destination. Later release the resource once it's save for the other TE to continue.

agvdivision13_1.fsm

You can also place a control area and write some code that makes TaskExecuter1 deallocate the area as soon as it starts travelling towards CP2. (Small Process Flow block in the upper right corner of "RGV".

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