question

王 avatar image
0 Likes"
asked commented

Multi control point assign

I try to use AGV to transport item when the AGV unload item I want AGV back to a control point but there is a problem, there are over two control point that AGV can stop how can I randomly assign the control point to AGV?

FlexSim 21.0.2
agv
5 |100000

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

1 Answer

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

I would suggest to add the control points to a group and use that group as a process flow resource. That way each control point is only assigned to a single AGV. Which cp is acquired van be influenced with the query in the "Acquire" activity. To assign a random one you can use "ORDER BY RAND()" for the query.

In the attached example an AGV simply travels randomly between four control points.

GetRandomControlPoint_21_0.fsm


· 2
5 |100000

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

王 avatar image commented ·

OK, but I have one more question, if I have more than 2 or more AGVs and I want to choose 4 or more control points to stop how can I let the AGV don't choose the same control point?

0 Likes 0 ·
Felix Möhlmann avatar image Felix Möhlmann commented ·

If you use a resource, each control point can only be acquired by one token at a time. Only after you release the acquired resource (control point), can it be acquired again.

0 Likes 0 ·