I have a model combiner with a target quantity of 20
I would to use process flow for the following control logic:
- Event triggered source that creates a token each time a flow item enters the model combiner
- This part works fine
- Resets the tracked variable or "BatchTimer" to 0 each time a flow item/token enters the combiner/batch
- This part works fine
- Batch to either wait for a quantity 20 tokens or for the "BatchTimer" tracked variable to exceed 100 time units
- I currently have the "Use Max Wait Timer" option selected, but I haven't quite found the solution
- Custom Code to force a release the model combiner's batch
- I am not sure what to use for this component unless I go down the open and closing of ports route
Rinse and Repeat for the entire simulation