question

roland avatar image
0 Likes"
roland asked Julie Weller commented

Conditional Decide in Decide ProcessFlow

We are woriking on a trafic simulation control. Now we are trying to set conditions for our vehicules coming from node NN4, to either continue the path (to node NN9 at left or node NN10 at right) or stop at node NN6 as soon as vehicles generated from node NN11 get to NN9.

However the first mentioned vehicles always exit out of connector "Decide 2" while they should also exit out of connector "Delay" depending on the conditions mentioned before.

1683846246251.png

network nodes and trafic control essai 01.fsm

FlexSim 23.1.1
conditional decide
· 8
5 |100000

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

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

I don't see any problem in the attached model. The first decide activity is set to send the token to either of the two connectors with a 50/50 distribution and that is also what is happening in the model.

capture1.png

0 Likes 0 ·
capture1.png (26.5 KiB)
issiaka avatar image issiaka Felix Möhlmann commented ·

He means he wants to trigger his mentioned events "Decide2" and "Delay" both based on conditions, not on a random distribution or a percentage.

"Delay" event, which corresponds to "vehicles stop at node NN6" is triggered as soon as vehicles generated from node NN11 arrive to NN9.

"Decide2" event, which is " either continue the path (to node NN9 at left or node NN10 at right)", is triggered when vehicules coming from node NN4 arrive to node NN9.

Actually, we are working on the same project.

Here is the full version of the model: network-nodes-and-trafic-control-update.fsm

Expecting for a quick reply please, we are really running out of time.

0 Likes 0 ·
Joerg Vogel avatar image Joerg Vogel issiaka commented ·

@Issiaka, decide activities aren’t meant for being an event triggered or waiting for states situations. Decides activities are instantly acting. If you need to wait for a state you achieve this by backorders in a list. Or you can collect tokens in a batch activity to match certain labels. Or you can build a process flow of split and synchronized activities to wait for mile stones in a process to be mutual dependent before allowing any further progress of your tokens.

0 Likes 0 ·
Show more comments
Julie Weller avatar image Julie Weller commented ·

Hi @roland, was Felix Möhlmann's answer helpful? If so, please click the "Accept" button at the bottom of their answer. Or if you still have questions, add a comment and we'll continue the conversation.

If we haven't heard back from you within 3 business days we'll auto-accept an answer, but you can always unaccept and comment back to reopen your question.

0 Likes 0 ·

1 Answer

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

As Joerg suggested, you can try to use the Traffic Control object to manage the entries into the intersection.

In the attached model I tried to emulate what the Untimed Traffic Modes option of the Traffic Control does in a Process Flow. With the addition that the different modes can have priorities, since in your question it sounds like the task executers travelling in west-east-direction should have priority over those crossing in north-south-direction.

network-nodes-and-trafic-control-update_fm_1.fsm


5 |100000

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

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.