question

RUCU17 avatar image
0 Likes"
RUCU17 asked Jeanette F commented

Which logic to use to work with a transfer batch?

logicTransferBatch.fsm

In the model uploaded here I want to work with the transfer batch indicated in the Global Table. I'm ussing the trigger "Close and Open Ports" but as the second processor is slower than the processor1&2, the queue that goes before this processor doesn't do the logic correctly.


The firsts queues work correctly with the transfer batch. Otherwise, the queue that goes before the last processor, as this one is much slower than the other processors, the items accumulate on the queue and the transfer batch is exceeded. Running the model shows that at one point the "QueueToprocessor3" exceeded the transfer batch.


The goal is to transport from the queues only when these reach the content of the transfer batch. Until the queues reach the content of the transfer batch, the items they contain cannot be transported. The responsibles for the transport are 2 transporters.

FlexSim 23.1.0
queuetriggerstransfer batch transport
· 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.

1 Answer

Kavika F avatar image
0 Likes"
Kavika F answered Kavika F commented

Hey @RUCU17, in the "Queue" section of the quick properties of a Queue, you can reduce the max content of the queue to not exceed the batch size.

1713886749767.png

You can also click the check box next to "Perform Batching" to do what you want automatically without the triggers you setup.


1713886749767.png (7.1 KiB)
· 6
5 |100000

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