Problem with AGVs allocation

Problem with AGVs allocation

jacopo_r
Not applicable
26 Views
4 Replies
Message 1 of 5

Problem with AGVs allocation

jacopo_r
Not applicable

[ FlexSim 23.1.2 ]

Hi,

I am working on a model for my master thesis and I encountered some problems that I am not able to fixed. According to my understanding they are all associated with path and control point allocation.
Can someone try to help me while keeping the model as private? Is there a specific place where I should upload the model?

PS: I am also using Cplex on python for running a dynamic tasks dispatching algorithm, however the problems exists also while running the model without the Dynamic algorithm (so withouth the python connection).

Thanks in advance

27 Views
4 Replies
Replies (4)
Message 2 of 5

jacopo_r
Not applicable

UPDATE:

I just made this post public and I will now share a new version of the model where the "Assign task" code has been changed a bit. However, the model still creates problems with deadlock and wrong allocation with some replication when running the model manually for many times with random streams.

04_All_Cases_Model_1_16.fsm

python-cplex-model.py

Message 3 of 5

kavika_faleumu
Autodesk
Autodesk
Hey @jacopo_r, have you looked at the "Preventing Collisions and Deadlock" section of building AGV Network Logic? There are some helpful guides that may help you eliminate your deadlocks. For example, avoid using accumulating paths and instead have AGVs stop on actual Control Points. If you want to use accumulating paths, then we can figure out a work around using Control Areas and such to ensure deadlocks won't happen.


I'll continue looking into the issue.

Message 4 of 5

kavika_faleumu
Autodesk
Autodesk

@jacopo_r, after turning all paths to "No Accumulation", there were no more deadlocks for the entire run; however, this probably affected the spacing and timing of events. You would need to add more control points to ensure the desired spacing at intersections, allocations, etc. Here's the modified model where I programmatically changed all paths to non-accumulating.

attempted_fix_1.fsm

Message 5 of 5

jacopo_r
Not applicable

Hi @Kavika F ,

thank you for your answer!
I did read the documentation about "preventing collisions and deadlock", and to honest I did want to keep using the accumulating paths. However, you now made me think on how important is that feature for my model. I just run the fixed model for a bit and I noticed that there are AGVs colliding and situation like the one below.

1686599436852.png

But, I guess the only option for a working model would be to add more CPs and control areas as you said.
Well, I think this was useful. And I remain open to hear ant other suggestions you might have in order to keep using the features of the accumulating paths and solving the problem.
Thanks again 🙂