question

komalkoli avatar image
0 Likes"
komalkoli asked komalkoli commented

Batch Size by Type

I have 5 different items coming to Queue. They have different quantities.

1724285377414.pngI process all quantities of each item in a sequence in a batch size. For example, all 125 of Birch will get processed and then follow the sequence given in table. But for each type of item, batch size is different. I have created global table with batch size for each item type. But my model does not follow type when using Batch size.

1724285620479.png

Currently, my model follows the sequence of Global Table. It processes 5 Qty. of Birch, then 34 Qty. of Birch, 17 Qty. of Birch and so on.

Here is how I would like to process - Model needs to process 125 Qty. of Birch with a Batch Size of 5, then 272 Qty. of RusticWalnut with a Batch Size of 34 and so on... Any help appreciated. I have attached model.

Batch Size by Type.fsm

FlexSim 24.1.1
labelbatchitem type
· 2
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 Joerg Vogel commented ·
@komalkoli, do you need a statistic value of process output of every single piece?Otherwise you combine and process a single packed item.
0 Likes 0 ·
komalkoli avatar image komalkoli Joerg Vogel commented ·
Yes, I need static value for each single piece. Logic behind batch is, operator loads 34 pieces at the same time but processor processes one single piece at a time.
0 Likes 0 ·

1 Answer

Felix Möhlmann avatar image
0 Likes"
Felix Möhlmann answered komalkoli commented

The batch quantity in the Batch activity should be determined by the item type and the batched should also be grouped by that value. This will prevent any types getting mixed. If you then need to control the order further (if the production order is not equal to the creation order in the source) then I'd push the batches onto a list and pull them in the desired order with a separate token.

batch-size-by-type_1.fsm


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

komalkoli avatar image komalkoli commented ·
Thank you! Done.
0 Likes 0 ·