question

Stéphane Jaubert avatar image
0 Likes"
Stéphane Jaubert asked Stéphane Jaubert commented

problem with the combiner

Hello,


I haven't found an answer to my problem with a combiner that has to follow "on entry" the instructions of a global list via the "Update Combiner Component List".


My goal is to put on a palette the number and type of objects I decide via a global table.


See my attached model.


Thanks a lot!

FlexSim 24.0.1
global tablecombiner
· 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.

Stéphane Jaubert avatar image Stéphane Jaubert commented ·
0 Likes 0 ·
my-model.fsm (43.4 KiB)

1 Answer

Joerg Vogel avatar image
0 Likes"
Joerg Vogel answered

A components list is primitive feature. It collects number of items from input ports. Collecting starts by an item entering through input port one. Then a components list can be replaced by a column of a global table. This is a standard Template in an on entry trigger. After that you can update a components list only, while a combiner collects items, if you update several nodes in combiner’s attribute tree.
If you provide a sequence of different items on input port two, you must only update the total number of items from this port in components list.
Typically you associate types of items with input port numbers. But if you provide items of type A at input port two and three, you can collect them in any combination as you like. One item from input port 2 and four items from port 3 is as good as 3 items from port 2 and 2 items from port 3. Obviously you would use only port 2 and you collect all 5 items.

More than 2 input ports make only sense if you send items by their attributes through output ports of previous objects. These objects divert items to more output ports and an updated components list takes into account how many items have to enter a combiner from the input port connections.
But as shown above you can send all items you want to pack onto a container item through input port 2 only.

5 |100000

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