I am trying to build a model that can perform batching process based on incoming order. And set the maximum capacity for the combiner.
I have two types of flow items now. 1. material 2. order info.
I've set the operator to take X number of material depends on the incoming order. Combining them (X number of materials and one order ) together, and making them into a batch/a finished order.
But I want to go further and I am having trouble to set it up.
I want to set the maximum capacity of the combiner to be 250. Meaning that each batch on the combiner can only hold up to 250 of materials. So if I have an order requiring 400 materials, I want to set up the logic that the combiner will break down this order into 2 batches during the process. the combiner should break this order into
2 batches (because the combiner can only combine 250 materials at a time). The first batch would be 250, the second batch would be 150 (400-250= 150).
I need some help here, any advise?