question

Simon DB avatar image
0 Likes"
Simon DB asked Allister Wilson edited

Start with full queue on reset and afterwards use transporter

Hi,


I would like to start with a full queue on reset and once these queues are empty they are refilled from a stock using a transporter which moves products from a queue to another queue. Can somebody help please?


Thanks

FlexSim 21.0.2
queuetransporterstoc
5 |100000

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

Allister Wilson avatar image
0 Likes"
Allister Wilson answered Allister Wilson edited

Here's an example of the behaviour you described, the queue uses batching and Flush contents between batches to ensure it is always emptied completely before refilling.

A source using the Arrival sequence mode generates the initial batch.


5 |100000

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

Joerg Vogel avatar image
0 Likes"
Joerg Vogel answered

There is no difference to fill a queue by a source in mode scheduled arrival at time 0, a processflow starting at runtime 0 or source code. if you want to take care that the queue is filled right at time 0, then source and queue should have a low rank in the tree (quite at the top first or second object after tools node).

5 |100000

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