question

TalHzf avatar image
0 Likes"
TalHzf asked Andrew O commented

Batch size

Hi all,

This is the modell I am working on it, the Products have rework process which is already done.Now I need to tell the machine that the products are two by two or 3 by 3 or 1by1 on machines worked.

In my simulation all item are worked one by one but I need that:

The Item 1 and 2 should be on Processor1 two by two worked but the item 3 should be one by one worked.

The Item 4 should be on Processor2 3by3 and Item 5 2by2.

All Items should be worked on Processor 3 with the same defined Quantity on The processors 1 and 2.

The time given in the table are just for one item on the machine so they should me multiplied.

Thank you.

Modell Batch HT.fsm

FlexSim 22.2.2
batchbatch sizebatch rework
modell-batch-ht.fsm (30.4 KiB)
· 5
5 |100000

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

Ralf Gruber avatar image Ralf Gruber ♦ commented ·
Hi TalHzf,

just to understand correctly: you need your items to be processed in batches but the process time is still per item in the batch? What is the batching logic in the queues before? Does the first available item in the queue start a batch with its item type and waits for completion of the batch, or is the batch with that item type taken first, that is completed first? Depending on your answer, I would try either a combiner in batching mode or even easier, just use one queue per item type and use the batching function of the queue object.

On another note: Your model seems to rework every single item. Should there not be a distribution deciding on rework based on a percentage?


1 Like 1 ·
TalHzf avatar image TalHzf Ralf Gruber ♦ commented ·

Hi @Ralf Gruber ,

Yes, my items have to be processed in batches the process time is still per item.

The reason of the batches is because my items are processed on fixtures, and every fixture contains 1,2 or 3 same items.

For this Question "Does the first available item in the queue start a batch with its item type and waits for completion of the batch, or is the batch with that item type taken first, that is completed first?"

I can't send one item to processor and wait for the second to complete the batch, they have to be send both at the same time, the whole batch should be send to machine.

In my case I don't need to wait for item in queue because I suppose that I have not out of stock items and they are always available.

I didn't understand the last question.

Thank you so much.

0 Likes 0 ·
Felix Möhlmann avatar image Felix Möhlmann TalHzf commented ·
From your initial description, it seems that the batch size for a given type is fixed across all machines (Type 1 and 2 are always processed in batches of 2 for example).

Under that assumption, couldn't you just define that each object in the simulation represents one full batch of that size and adjust the processing times accordingly?

It would make it necessary to adjust the measured throughput values (if they are used as a result from the model). But that can be done easily after the fact and you wouldn't need to implement any additional flow logic in your model at all.

0 Likes 0 ·
Show more comments
Andrew O avatar image Andrew O commented ·

Hi @TalHzf, was Felix Möhlmann's answer helpful? If so, please click the "Accept" button at the bottom of their answer. Or if you still have questions, add a comment and we'll continue the conversation.

If we haven't heard back from you within 3 business days we'll auto-accept an answer, but you can always unaccept and comment back to reopen your question.

0 Likes 0 ·

1 Answer

Felix Möhlmann avatar image
0 Likes"
Felix Möhlmann answered Joerg Vogel commented

You could simply place a separator at the end of the chain (between processor3 and the sink) that creates additional items depending on the original item's type. That way, the actual amount can enter the sink and be counted toward the statistics.

Alternatively, you would alter a statistics collector or complete a new one from scratch that multiplies the throughput/input by the relevant factors.

If you need more help, it would be good to know what statistics you are trying to get from the model.

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

Answer updated.

0 Likes 0 ·
TalHzf avatar image TalHzf Joerg Vogel commented ·
Hi @Joerg Vogel and @Felix Möhlmann ,

Thank you for the answer.

I need to know how many items I can produce per day.

So when I use the separator, I don't know how to tell it that it should multiply the the Items 1,2and 5 with 2 and item 4 with 3.


Thank you

0 Likes 0 ·
Joerg Vogel avatar image Joerg Vogel TalHzf commented ·
@TalHzf ,separator property pane has a Quantity function field. The return instruction value is responsible for in how many parts an item gets split. You have somewhere the data of this in relation to an item Type label. You will collect this data by reading for example row and column of a table to get a table cell value, which you add as a return value. If you have already those values as label at hand in your item you can read that value and return it. If you prefer a process flow you act on split-unpack-quantity event.
1 Like 1 ·
Show more comments