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 Jeff Nordgren commented ·

@tomonori S,

Is this the answer that you were looking for? If so, please mark the answer as "Accepted".

Thanks.


0 Likes 0 ·
tomonori S avatar image tomonori S commented ·

Thank you for your support.

0 Likes 0 ·
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.

tomonori S avatar image tomonori S commented ·

Thank you for your reply.
The current condition is to push to the item list when the number of flow items accumulated in the queue exceeds 10, but I would like to change it to push when 10 items are accumulated.

The operator is an image of going to pick up when 10 flow items (not 10 or more) are accumulated in the queue. Currently, we are picking up when 11 pieces are collected in the queue.

0 Likes 0 ·
Jeff Nordgren avatar image Jeff Nordgren tomonori S commented ·

@tomonori S,

I'm still not quite clear on how your model flow is supposed to work. In the attached model, 10 flowitems need to be accumulated before any operator can pickup the flowitems. But after the initial 10 in the queue, what is supposed to happen? In the attached model, once the initial 10 flowitems are accumulated in the queue, then all the operators can go to the queue to pickup flowitems.

Take a look at the model and let us know what needs to be modified so that it works the way you want it to work.

Thanks.

reference-model-04-JN3.fsm

0 Likes 0 ·
tomonori S avatar image tomonori S commented ·

Thank you for your reply.
There is no problem with the movement of the attached model, but in this case the trigger setting of "Queue 29" will be like the attached image. If you set the setting to "current.subnodes.length> = 10", the worker will pick up the items when 11 flow items are accumulated in the queue. I just want the worker to pick up this when 10 flow items are accumulated in the queue even if the value is set to 10 so that the user can easily set it.
As much as possible, I don't want to modify the process flow side anymore.

reference-model-05.fsm

0 Likes 0 ·
img-01.png (9.7 KiB)