question

Pinakin K avatar image
0 Likes"
Pinakin K asked Ryan Clark commented

How to move an AGV when another AGV comes in its proximity on AGV network

AGV_Travel_Interference.fsm

Hi

1633545043742.png

In the above image, i want to move AGV1 to point one when it is idle and when agv2 tries to acquire the CP in the box. How can I achieve that?

FlexSim 21.2.0
agvnetworkagv routing
· 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.

Connor A avatar image Connor A commented ·

Hi @Pinakin K, was Ryan Clark'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 unaccept and comment back to reopen your question.

0 Likes 0 ·

1 Answer

·
Ryan Clark avatar image
0 Likes"
Ryan Clark answered Ryan Clark commented

Hi @Pinakin K,

I was able to add the necessary logic to your model to accomplish your desired outcome. I just added a Wait for Event activity on AGV1 that triggers when AGV2 becomes blocked. In order to aid with the correct movement, I also spaced out the control points more. If they need to be closer together, you'll need to adjust some of the logic I created to make that work.

agv-travel-interference-rc.fsm

I hope this helps! Let us know if you have further questions!


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

Pinakin K avatar image Pinakin K commented ·
@Ryan Clark Thanks for your answer. My actual application is a bit different than this. this was a simplified version of what i want to achieve. So to clarify further, i would have same processflow to run both the agvs and using wait for event would not be always possible here. is there a way to use the Agent system to achieve this. Like if one agv is idle and another one comes into proximity of the former one it would automatically move it out. If that is not an ideal way to apply this i'll try to use the wait for event in my model.
0 Likes 0 ·
Ryan Clark avatar image Ryan Clark Pinakin K commented ·

Hi @Pinakin K,

Sorry for the delay in my reply! I was able to find a way to use the Agent System to accomplish your objective. It is in essence what you suggested. An event triggers when they are in proximity of each other, and the code checks if the agent is currently idle and if the other AGV is trying to acquire its current Control Point.

agv-travel-interference-rc-v2.fsm

I hope this helps! Let us know if you have additional questions!

1 Like 1 ·
Pinakin K avatar image Pinakin K Ryan Clark commented ·

@Ryan Clark Thanks for the reply. This is what i was lookin for.

0 Likes 0 ·
Show more comments

Write an Answer

Hint: Notify or tag a user in this post by typing @username.

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