question

Vns avatar image
0 Likes"
Vns asked Vns commented

Processor Set up Time based on Queue Size

Hi - i would like to have the setup time trigger only once.

I have batches of 29 flow objects generated on a queue at certain time of the day. Each time a batch is generated, i would like for the processor to have a setup time of 30sec before the item flow through.

I was thinking of using the queue size to enable this logic. but not sure how can i apply this to the processor.

Are there other methods of which works better for my scenario.

Thanks in advance.

FlexSim 22.0.16
setup time
5 |100000

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

1 Answer

·
Felix Möhlmann avatar image
0 Likes"
Felix Möhlmann answered Vns commented

If the batch size is always the same you can use the Different Time for Nth Item setting for the setup time.

capture1.png

By default this would always apply the setup time to the last item in the batch. But you can quite easily change that by adding an offset of -1 to the code of the option in line 9.

capture2.png

If the batch sizes differ, you'd have to find a way to identify the first item. This could be a label you set on creation of the item. You could then use Values By Case for the setup time.

Your idea to make it dependant on the number of items in the queue can also work, but it would require some extra effort to make sure no item leaves the queue before the entire batch has entered. So I would suggest the solution above instead.


capture2.png (18.1 KiB)
capture1.png (7.5 KiB)
· 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.

Vns avatar image Vns commented ·
Thanks for the suggestion @Felix Möhlmann . It works.
0 Likes 0 ·

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.