Here's a situation that I want to simulate:
A machine can process at most 10 items in one run. Operator will combine 10 items together and put it in the machine. If there are more than 10 items waiting in the queue before the machine, operator will always combine 10 items together and put it in the machine. Until the end, there are less than 10 items waiting in the queue, then operator will combine the remaining items and put it in the machine. After the machine finishing the process, operator will separate the items.
To simulate the upon situation, I set the FlexSim model as below:
And it will remain 1 item in the Combiner1.
How can I change the Target Quantity of Combiner1 into the number of remaining items in the Queue1?
PS: The reason that I don't set Maximum Content of the Processor is that I need the operator to process. But FlexSim can't let the Operator process the Processor with more than 1 item.