question

tomonori S avatar image
0 Likes"
tomonori S asked tomonori S commented

About batch processing of process flow model

I want to apply perform batching (target batch size 10) to "Queue 29" of the attached "reference-model-04.fsm" model, but an error is displayed and it does not work well.

reference-model-04.fsm

FlexSim 19.0.0
processflowflexsim 19.0.0batch
5 |100000

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

Jeff Nordgren avatar image
0 Likes"
Jeff Nordgren answered tomonori S commented

@tomonori S,

I hope that I'm understanding what it is that you want the model to do. Attached is the modified model. Take a look at it and see if it is now doing what you are wanting it to do.

To change the batch size, all you have to do is change the Target Batch Size in Queue29.

Let me know if this will work for you.

Thanks.

reference-model-05-JN1.fsm


· 2
5 |100000

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

Jeff Nordgren avatar image
0 Likes"
Jeff Nordgren answered Ben Wilson converted comment to answer

@tomonori S,

Attached is a model that will do now what I think are asking. The only "problem" (which may or may not be a problem) with the model that @Roi Sánchez submitted, is that those first 9 (or maybe 10) flowitems will never get pushed to the items list and therefore will never be pulled from the queue. I believe that the attached model, this is fixed.

Anyway, take a look at the model and see if it now does what you are wanting it to do. If you have any problems or questions, please let us know.

Thanks.

reference-model-04-JN3.fsm


5 |100000

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

Roi Sánchez avatar image
0 Likes"
Roi Sánchez answered tomonori S commented

Hello @tomonori S, as you are pushing the items in Queue29 to the ItemList whatever the content of the queue is and operators load them afterwards, no batch (with target batch size 10) is performed.

I changed the condition to push the items to the list to do it only when the content of the queue is more than 10. Take a look at the attached model and check if this is what you need.

reference model 04 - solved.fsm


· 3
5 |100000

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