question

Qiana C avatar image
0 Likes"
Qiana C asked Qiana C commented

use process flow to batch on a combiner

I want to batch 20 items on the queue, and then set a delay of 10 minutes before moving all 20 items onto the combiner. But then i want this process to repeat twice, so that the combiner does not combine until 60 items are on the combiner. 10 minute delay between each batch.


combinerbatching.fsm

FlexSim 21.0.0
processflowcombinerflexsim 21.0.0
5 |100000

Up to 12 attachments (including images) can be used with a maximum of 23.8 MiB each and 47.7 MiB total.

Jason Lightfoot avatar image
2 Likes"
Jason Lightfoot answered Qiana C commented

combinerbatching_jl.fsm

Just set the combiner to 60 and release 20 items at a time only in the process flow, by setting the Queue send to port to never release. Model attached.

Process is change to just this:

Code to release items is just:


for (int n=token.pulleditems.length;n>0;n--){
    releaseitem(token.pulleditems[n],1);  // specify the port so the sendto doesn't fire.
}





· 1
5 |100000

Up to 12 attachments (including images) can be used with a maximum of 23.8 MiB each and 47.7 MiB total.

Qiana C avatar image Qiana C commented ·

this worked too but i went with Jorg's response since it was simpler. thanks!

0 Likes 0 ·
Joerg Vogel avatar image
1 Like"
Joerg Vogel answered

A combiner is NOT WELL SUITED for process flow. There is a Process Flow Processor which is first choice to accomplish special logics in a processor.

In 3D I would put a queue next to the combiner and connect an output of the combiner to let exit the first packed cycle step and let enter the pallet again into combiner through this queue. If it is necessary, I adjust the output statistic of the combiner.

5 |100000

Up to 12 attachments (including images) can be used with a maximum of 23.8 MiB each and 47.7 MiB total.

Write an Answer

Hint: Notify or tag a user in this post by typing @username.

Up to 12 attachments (including images) can be used with a maximum of 23.8 MiB each and 47.7 MiB total.