question

Sorena avatar image
0 Likes"
Sorena asked Sorena commented

Pull flow items if queue is empty

Hi Everybody,

I am new user of FlexSim and I use the trial version. However I made a model but in the model I want the queue 1 becomes empty before any other item comes to it. in other words all the units in queue 1 shall be processed before any items from queue 2 moves to queue 1.

The other thing that I need is that the robot moves all four items together from the separator to queue 2.


I hope you can help me and thanks for your help in advance


NewcellSimulation.fsm

FlexSim 22.2.3
queuerobotload
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 Sorena commented

If you increase the capacity of the Robot it will move more items at a time. Though loading each item will count as an extra movement and take the time specified as movement time. Also, currently the source is set to preempt other tasks, so moving the output is interrupted by feeding a new item to the separator from the source.

In order to move all items at the same time without additional delay, you could use Process Flow (see attached model).

newcellsimulation.fsm

To wait until the queue is empty you can activate the "Perform Batching" behaviour and check the option to "Flush contents between batches".

1669647583603.png

This does also mean that items won't leave the queue until the specified batch size is reached. If you don't want that, you could alternatively open/close the input of the queue in its On Entry/On Exit triggers, depending on the current content.


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

Sorena avatar image Sorena commented ·
Thanks for your help :)
0 Likes 0 ·