question

Venkatamohanreddy K avatar image
0 Likes"
Venkatamohanreddy K asked Ben Wilson commented

Decide condition Not working here as per Process flow?

Decide condition testing.fsmPallet has stop and check the condition for DP2/3 if pallet not available and then release 1 pallet respective Decision point as per process flow written, but Not here?

FlexSim 19.0.9
flexsim 19.0.9conditional decide
· 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.

Ben Wilson avatar image Ben Wilson ♦♦ commented ·

Hi @venkatamohanreddy.k, was tanner.p's or joerg.vogel's answer helpful? If so, please click the red "Accept" button on one of their answers. Or if you still have questions, add a comment and we'll continue the conversation.

0 Likes 0 ·
tannerp avatar image
0 Likes"
tannerp answered

@venkatamohanreddy.k,

Your Process Flow is actually really close to working, but you are not giving the pallets enough time to reach the Decision Point. There is too much happening in 0 time.

So when the first pallet arrives at DP1, it is sent to DP2. Then, before the first pallet reaches DP1, the second pallet checks to see if DP2 has any pallets, which it won't at this point. So, DP1 sends a second pallet to DP2, then a third, then a fourth, and then eventually, the first pallet gets to DP2 and the tokens start being sent to DP3. At this point, the conveyor is already blocked up at DP2.

I suggest limiting the number of tokens that can be sent by using a Zone in Process Flow. Additionally, as Jörg suggested, you should use a label value to increment and decrement the number of items at a DP. The DP doesn't really use subnodes like other objects. You could use the subnodes of the conveyors, though!

I updated your model to include Process Flow logic that will hopefully help. Let me know if you have any questions regarding how it works.

decide-condition-testing_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.

Joerg Vogel avatar image
0 Likes"
Joerg Vogel answered Venkatamohanreddy K commented

A decision point is not a container for an item on a conveyor system. You can set a label value at a decision point, when an item arrives On Arrival trigger, and reset the value On Continue trigger. Then you can read this value in your decision condition.

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

Venkatamohanreddy K avatar image Venkatamohanreddy K commented ·

Hello Joerg, I tried as you suggested but not, could you please correct the model attached and sent it back , that will help me to understand.

0 Likes 0 ·