question

Steven Chen avatar image
0 Likes"
Steven Chen asked Adrian Haws edited

AGV Push Forward

Hello!

In this model, after an AGV becomes idle it will stay at current control point.

While second AGV arriving at same control point, the first AGV will be pushed away, go to next control point or move a distance.

I use accumulation on the path, is there a way to trigger an event when second AGV being accumulating?

And how to get next control point? I tried this thread but it doesn't work:

https://answers.flexsim.com/questions/28388/how-can-i-get-the-next-cp-on-an-agvs-path.html

agv-push.fsm

FlexSim 16.1.2
agvaccumulationcontrol pointidlepark point
agv-push.fsm (24.2 KiB)
· 3
5 |100000

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

Joerg Vogel avatar image Joerg Vogel commented ·

There exists a tutorial, that let cycle all Taskexecuters the whole time. Couldn't that suit you?

0 Likes 0 ·
Steven Chen avatar image Steven Chen Joerg Vogel commented ·

Sorry, I didn't see your reply.

In that tutorial, I hope the loaded AGV will send message to next control point, if there is an idle AGV at the point then ask it go away, so the loaded AGV won't wait until the other gets job.

I think I should use waypoint and sendmessage. But how to access the idle AGV to send the message?

agv-tutorial.fsm

0 Likes 0 ·
agv-tutorial.fsm (108.8 KiB)
001.png (104.0 KiB)
Joerg Vogel avatar image Joerg Vogel Steven Chen commented ·

Maybe you have to add a control point more than you have taskexecuters in your main AGV system ring, because if there isn't a control point available a taskexecuter can allocate it you might get a deadlock.

0 Likes 0 ·

1 Answer

Sam Stubbs avatar image
1 Like"
Sam Stubbs answered

I noticed that you have parking spots for the AGVs, but you aren't utilizing them. Is there a reason for this? If you connect the AGVs to the point connected to the parking areas. Then the AGVs will automatically "park" when they don't have work to do, meaning that they will no longer be "idle" on the track. Thus avoiding the need to implement extra code to handle the situation of an idle AGV on the track.

2972-agv-tutorial.fsm


2972-agv-tutorial.fsm (109.3 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.

Steven Chen avatar image Steven Chen commented ·

Thank your help!

I was finding a way to leave the idle AGV on paths that aren't usually used. If an AGV need to pass these paths then ask the idle AGV for giving space. But a parking area is good to solve the question.

0 Likes 0 ·