question

fiz avatar image
0 Likes"
fiz asked Logan Gold commented

AGV sim model stopped with no error prompt

Link


Hi, the sim model stopped stopped at ~6000sec with no deadlock prompt. what could be the reason and how may i avoid this in the future by not adding to much control point? or is there a way for me to incorporate the following in my SimModel: control point is acquire on first come first serve, the other agv will have to "wait" till the control point is free

FlexSim 21.1.5
agvagvnetwork
· 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.

Logan Gold avatar image Logan Gold ♦♦ commented ·

Hi @fiz, was Felix Möhlmann's answer helpful? If so, please click the "Accept" button at the bottom of their answer. Or if you still have questions, add a comment and we'll continue the conversation.

If we haven't heard back from you within 3 business days we'll auto-accept an answer, but you can always comment back to reopen your question.

0 Likes 0 ·

1 Answer

Felix Möhlmann avatar image
0 Likes"
Felix Möhlmann answered

It's not a deadlock. AGV1 wants to travel to an occupied standby area and waits for it to become available.

capture1.png

To fix this, change your logic so only a single AGV can pull a standby point at a time. "cpavailable()" only checks if the CP is unallocated at that moment in time. It does not give any information about whether an AGV is currently bound to that CP.

I'd suggest to actually pull/push the CPs instead of leaving them on the list. As the original parking logic I showed does.

https://answers.flexsim.com/questions/166709/connect-my-process-flow-to-advance-agv-network.html?childToView=166941#comment-166941


capture1.png (51.9 KiB)
5 |100000

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