question

Kleopatra A avatar image
0 Likes"
Kleopatra A asked Jason Lightfoot edited

Combine the same SKU

Hello everyone! I am working on a model where i have 100 different sku's. I have 2 sources ( 1 for the sku's and 1 for the pallets) and these are connected to a combiner. The combiner pack 16 boxes on each pallet, and after that i used paint slots in order to place the pallets on the rack based on ABC analysis.

I would like to ask if it is possible to combine the same color of boxes.For example, i want to pack 16 boxes from SKU 1, 16 boxes of SKU2 etc.

I have also attached an example model, for a better understandin.

Thank you!file-rc_1.fsm

FlexSim 21.1.4
same sku
file-rc-1.fsm (59.2 KiB)
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 Kleopatra A commented

A queue can batch 16 items. A queue releases a batch. You can send items of same label value like Type only to one queue. A first batched item can set in a label at queue which same values are allowed to be sent to the queue. You can reset label values at a queue after a batch is successfully collected. You can close and open input and output of a queue.
A combiner can only count how many items are allowed to enter from which input port.

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

Kleopatra A avatar image Kleopatra A commented ·

Thank you, i fixed it with your help! :) I have done the right changes in the Queue, but after a short amount of time the colours do not recycle over again and it ends up like this :

στιγμιοτυπο-οθονης-2.png

Am i missing something on the triggers of the Queue?

Thanks in advance!

example1.fsm

0 Likes 0 ·
Jason Lightfoot avatar image
0 Likes"
Jason Lightfoot answered Jason Lightfoot edited

I altered your model so that it pulls items that match the pallet type. To make the model run better I've restricted the items and pallet types to 1 through 10.

file-rc-1_jl.fsm

The pull requirement of the combiner is now set to :

if (port==1)
    return 1;
string labelname = /** \nLabel: *//***tag:label*//**/"Type"/**/;
Variant value = /** \nValue: *//***tag:value*//**/current.first.Type/**/;

return item.labels[labelname].value == value;

file-rc-1-jl.fsm (59.6 KiB)
5 |100000

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