simpy icon indicating copy to clipboard operation
simpy copied to clipboard

Machine that can batch process

Open mysteriousHerb opened this issue 3 years ago • 1 comments

Hi, I want to model a process that can handle multiple samples in a batch. Let's say we are making pizza using a big oven. We will make 5 pizza dough and then send them together into the oven for cooking.

I cant simply set the capacity of a oven to 5, because the dough will be processed 1 by 1 once ready from the previous step.

In other word, the oven can handle multiple samples, but once it starts, it has to wait for the complete process to finish to load another batch.

Could you offer some guidance on this?

mysteriousHerb avatar Apr 26 '21 13:04 mysteriousHerb

Hi,

my suggestion would be to use an intermediate resource (e.g. a store) with unlimited capacity holding the pizza dough which is ready for the baking process. The baking process actively grabs a batch (up to 5 items) from the intermediate store, puts it in the oven, timeouts until the pizza is ready, unloads the oven and loops...

hansen1101 avatar May 16 '21 09:05 hansen1101