Hi Guys!
I have a simple question! :D
Imagine that we have model with source-->2 queues-->1 processor-->queue-->sink
1. I wanted the Processor 1 to has a capacity of 20 pieces.<- no problem with this
2. Processor 1 should open input at the moment when there are minimum 20 pieces in total on both queues (for example 13pcs in first and 10pcs in second so in total 23pcs >20pcs). <- I have no idea how to do it :D
3. Then 20 of pcs should enter the Processor 1 (okey, cause processor has a capacity of 20 pcs)
4. Then Processor 1 at the end of the process (on exit probably?) should check point 2. and if the both queues in total have minimum 20pcs Processor 1 should open input port and if there is less than 20pcs Processor 1 should close input port until both queues reach again minimum 20pcs.
I want the processor to always process 20 pieces (regardless of which queue they come from, but a total of 20 pieces at once)