question

hermione12 avatar image
0 Likes"
hermione12 asked hermione12 commented

How to control transporters without colliding using traffic control?

Hello,

I want to use traffic control to control two transporter paths using the network nodes. Both of them should not collide when they face in opposite direction. How to do this using traffic control?

Main objective : The transporters should not collide in any of their paths and should be stopped until the next transporter travels to its destination.

Networknode_travel.fsm

FlexSim 20.0.10
network nodestraffic control
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 hermione12 commented

In this relatively simple model you can achieve this by connecting all network nodes around the junction and of the path to Queue 1 to the traffic control.

1652956394903.pngnetworknode-travel_2.fsm

Be aware however that this only works due to the regular pattern with which the items are distributed. In a larger, more complex model, you will always have the risk that two task executers need to travel past each other. With only a single two-way lane, this either results in them 'colliding' or, worse, a deadlock of the travel because they block each other.

Avoiding that would require a complex routing algorithm that predicts the path timings of all travelers and identifies possible collisions far enough into the future, so the travelers can be rerouted to a path where no such block occurs (if even possible).

So in short: If collision avoidance is an important part of your model, you will likely have to use parallel paths or the A* navigation system.


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

hermione12 avatar image hermione12 commented ·

Thank you @Felix Möhlmann ,yes collision avoidance is an important task for my model. I cannot use parallel paths and only single lane paths. If I have to do this using A* navigation, is there any sample model that I can refer?

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

I don't know of any particular example model but the manual should cover all the necessary basics.

https://docs.flexsim.com/en/20.0/WorkingWithTasks/Travel/WorkingWithAStar/WorkingWithAStar.html

To use A*, you add a grid to the model and assign the task executers and fixed resources to the system.

Then you can add barriers, dividers, preferred/mandatory paths as needed to control the paths of the task executers.

0 Likes 0 ·
hermione12 avatar image hermione12 Felix Möhlmann commented ·
Thank you @Felix Möhlmann . I will look into it.
0 Likes 0 ·