question

Steven Chen avatar image
3 Likes"
Steven Chen asked Ben Wilson commented

About Agent based problem

Hi,I have a question

When I add the operator in proximity system(AGVAgentsystem)

Sometimes,operator will pass through the AGV

What's the cause of the event

Please refer to the following gif and model

twophaseagvsystem.fsm

FlexSim 20.1.2
flexsim 20.1.2agent based
agv-agent.gif (2.1 MiB)
twophaseagvsystem.fsm (132.0 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.

Ben Wilson avatar image Ben Wilson ♦♦ commented ·

Hi @steven.chen, was phil.bobo's answer helpful? If so, please click the red "Accept" button on 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 unaccept or comment back to reopen your question.

0 Likes 0 ·

1 Answer

Phil BoBo avatar image
1 Like"
Phil BoBo answered Phil BoBo edited

The "two phase" AGV example model you are using is just an example for how you can model a specific use case. It is designed to show you what you can do with the Agent Systems. It is not the be-all and end-all solution for all collision detection.

The operator's movements in this model go against the assumptions made in this two phase "narrow" and "broad" collision detection mechanism for AGVs traveling on paths behind and in front of each other.

There is code in the On Enter Proximity trigger of the Broad Phase that checks to see whether the neighbor is in front of the AGV, to only slow down for AGVs ahead of them and ignore the AGVs on the spurs:

Your operator is not moving along that path the way that the AGV is moving, and thus, he is being ignored. This model is designed to show how this type of advanced proximity detection can be used, not just straight radius detection.

If you remove the code shown above, then it will behave the way you expected. The behavior you are seeing is an example feature of how you can customize the proximity detection system for particular situations. Removing that code also changes the original model so that they slow down as they drive past AGVs that are pulled off on spurs.


1591819974086.png (44.4 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.