question

Tania L avatar image
0 Likes"
Tania L asked Tania L commented

Batch Processing question

Hello. Please, somebody could explain me the following issue?

I am trying to use a batch model. The Queue 1 is performing a batch with a target size of 90 units. The Processor 1 is processing a Maximun Content of 90 units, and the Process Time is configured with the option "Batch Processing" where the batch size is 90 units as well. The Setup time is 30 seconds and the batch process time is a normal distribution with a mean of 50 secods.

The issue is the following, a batch of 90 units enter to the Processor 1 and the setup time starts to run. Once the setup time finishes 89 units leaves the processor, and the remaining unit compleates the 50 secods of process time. However, if I change the Process time for a number, 50 secods, (without the option "Batch Processing"), the 90 units stay in the processor while the setup and the process time run.

Why is this happen?batch-model.fsm

FlexSim 18.1.1
batch processing
batch-model.fsm (20.4 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.

1 Answer

David Chas avatar image
0 Likes"
David Chas answered Tania L commented

Hi @Tania L

What is happening in your model is due to the processor takes each item of the batch like an individual item, for that reason, if you use at Process time a normal distribution, each item will have a different Process time.

In order to solve, the flexscript code under the option "Batch Processing" only give a "Process time" for the first item in the batch, and the other items take a process time equal to zero.

If you want to maintain all items of the batch in the processed during the same time you can modify the code like the attached picture.

I hope this answer is helpful for you!!


captura.jpg (45.6 KiB)
· 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.

Tania L avatar image Tania L commented ·

Thank you very much @David Chas for your answer. I am going to try what you tell me.

0 Likes 0 ·