Combiner is not sending anything to sink (It gets stuck)

Combiner is not sending anything to sink (It gets stuck)

adriana_a2
Not applicable
89 Views
1 Reply
Message 1 of 2

Combiner is not sending anything to sink (It gets stuck)

adriana_a2
Not applicable

[ FlexSim 20.0.5 ]

FINAL.V3 (1).fsm

Hi,

29745-whatsapp-image-2020-06-12-at-201108.jpeg

I am working with this model where I am trying to send orders with different color combinations following the "GlobalTable2" arrangements (they must include blues and reds or yellows and reds , or all 3)

But I don't know what happens because it looks like it is making the packages but it never sends it to the sink . It just becomes stuck in the combiner.


Can you help me figure out why!?

Thank you!


0 Likes
Accepted solutions (1)
90 Views
1 Reply
Reply (1)
Message 2 of 2

joerg_vogel_HsH
Mentor
Mentor
Accepted solution

You update the variable "targetComponentsum" by a label value in your custom source code On Entry trigger. This value is larger than the sum of the components. If the object engine compares the value of "currentComponentsum" with "targetComponentsum" they never match. Then the pallet is not filled in total, but the combiner can not pack any other items, because all needed components are assembled.

A personal remark:

If you change a source code PLEASE change the template header, that we know you have changed the source code.

/**Update Combiner Component List*/

This line starting with /** and ending on*/ is the text shown in the trigger.