Batch Processing question

Batch Processing question

tania_l
Not applicable
539 Views
2 Replies
Message 1 of 3

Batch Processing question

tania_l
Not applicable

[ FlexSim 18.1.1 ]

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

0 Likes
Accepted solutions (1)
540 Views
2 Replies
Replies (2)
Message 2 of 3

david_c9
Not applicable
Accepted solution

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!!

14333-captura.jpg

0 Likes
Message 3 of 3

tania_l
Not applicable

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

0 Likes