question

Rocio A avatar image
0 Likes"
Rocio A asked Rocio A commented

Modify the speed of an AGV on a specific mandatory path

Hello, I have a model with AGVs that circulate through a mandatory Path within an A*. The AGV logic is as shown in the image.

1738850651668.png

The AGV must go to each delivery point that is separate from the main path and joins it with another mandatory path.

The AGV has a speed to travel the main mandatory path, but I need the speed of the AGV to be lower on the mandatory path that reaches the node.

How can I change the speed while the AGV travels on that mandatory path?

I attach the model.simplificacion-control-area-in-astar-flujos loops Resources_List_RunSubFlow 20250131_7.fsm

Thanks in advance

FlexSim 24.1.1
agvmandatory patha startvelocidad
· 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.

Borja Lorenzo avatar image Borja Lorenzo commented ·

In relation to this question

I am working with my colleague on the same project. Regarding this published question, I wanted to clarify that adding a nodeWork at the turning point to detect the event when the TaskExecuter arrives there to start the trajectory towards the final point is not viable due to maintenance and scalability. The project consists of more than 200 delivery points. We wanted to minimize the number of elements/objects in the model to what is strictly necessary to facilitate its management. Is there any trigger in the path that detects when it is occupied that allows triggering a speed modifier for the TaskExecuter occupying it?


We have studied @Felix Möhlmann 's response to a similar approach:

https://answers.flexsim.com/answers/142896/view.html


As I mentioned, we wanted to avoid having to add 200 more elements to the model.

Thanks in advance.

0 Likes 0 ·

1 Answer

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

Since control areas were added to the A* system, you could use their OnAllocate event to update the speed of the Task Executer.

simplificacion-control-area-in-astar-flujos-loops_1.fsm


· 10
5 |100000

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

Rocio A avatar image Rocio A commented ·

Hello @Felix Möhlmann,

Thank you very much for your contributions. The use of the Control Area is very useful.

But the model we present is a simplification of the project we are working on and in it we have around 250 mandatoryPaths that we need to change the speed of.

There would be some way to achieve the same result but without adding any more elements to the model, that is, using the elements that we already have in it?

Thank you very much in advance.

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

The only idea without adding some sort of waypoint would be to use a proximity agent system. If a traveller comes within a given radius of the destination object, its speed is reduced. Though the proximity radius is fixed. So if the final path spurs have different lengths, you would need multiple proximity systems.

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

I was working with the ProximitySystem. I have configured it as you can see in the image:

1739272780633.png

1739272790836.png

In the Agents tab I have added the AGV's and the queues. I have set the Proximity Radius to 3m, so that when the AGV reaches the middle of the branch that leads to the queue, it changes its color to red and reduces its speed.

I can get the agents' color to change to red if they get closer or green if they move away, but I can't get the AGV to change its speed.

I have put both the color and the speed in the ProximitySystem triggers.

1739272802976.png

When running the model I get this error.

1739272810244.png

What error do I have in the speed code so that it doesn't work?

But I also have another problem: in the real model the AGVs have a return path and a return path very close together, so when they coincide next to each other they would also slow down and I DO NOT want this to happen. That is, I need the ProximitySystem not to be applied between AGVs, only each AGV with the queues.

I attached the model.

simplificacion-control-area-in-astar-flujos-loops (1)_2.fsm

Thank you Very much in advance.

0 Likes 0 ·
Show more comments