question

Kadircan T avatar image
0 Likes"
Kadircan T asked Kadircan T commented

Vehicles Waiting for the Road to Clear

Hello,

In my model, I want to use the road wide enough for a single vehicle to pass. So, for example, 3 vehicles in the same direction should be able to go back to back, but the vehicle that wants to come from the opposite direction should wait for the road to be clear.

In the model I shared as an example, the vehicle coming from the road number 2 should turn to that road after waiting for the vehicles coming from the road number 1 to pass completely, and after entering that road, no reverse vehicles should come in the same way.

I could not solve this problem using traffic control, can you help me?cdc9e640-2b3f-4816-8901-cf633cbeab95-1-201-a.jpegtraffic_Test.fsm


FlexSim 22.2.2
traffic 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 Kadircan T commented

You can use the untimed traffic modes of the traffic control for this. I assume it didn't work for you because the task executers coming from path 1 are created at NN1 and thus already inside the traffic control area, so that no entry request is made.

If you create them at a separate node that is not part of the traffic control, it works correctly. (I changed the inter-arrival-time to a random distribution to allow for some variance in the model)

traffic-test_fm.fsm


traffic-test-fm.fsm (44.3 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.

Kadircan T avatar image Kadircan T commented ·

Thank you so much, it solved my problem

0 Likes 0 ·
Kadircan T avatar image Kadircan T commented ·

Hi again @Felix Möhlmann , I was able to solve the problem in a small model, but I built a larger model with many nodes and I couldn't get this method to work here. Can I try a different method in the model I shared in the attachment?traffic_layout_model_finished (4).fsm

0 Likes 0 ·
Felix Möhlmann avatar image Felix Möhlmann Kadircan T commented ·
​Outside of building a custom traffic logic in a Process Flow I can't really think of another solution right now. (Count how many task executers are travelling in a section in a certain direction, then stop other traffic until this reaches zero)

It is also not clear what paths in the model are supposed to be restricted to only allow traffic in one direction at a time.

0 Likes 0 ·

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.