question

Dariusz avatar image
0 Likes"
Dariusz asked Dariusz commented

Sending from queue by batches

Hello.

I cannot set QUEUES (1,2) to send 5 pieces to the transporter. Sometimes they do this, but it is not a rule. Please help.

Regards.

Dariusz




FlexSim 23.0.0
sending by baches from queue
cwiczenie14.fsm (53.8 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.

Jeanette F avatar image Jeanette F ♦♦ commented ·

Hi @Dariusz, was Felix Möhlmann's answer helpful? If so, please click the "Accept" button at the bottom of their answer. Or if you still have questions, add a comment and we'll continue the conversation.

If we haven't heard back from you within 3 business days we'll auto-accept an answer, but you can always comment back to reopen your question.

0 Likes 0 ·

1 Answer

Felix Möhlmann avatar image
0 Likes"
Felix Möhlmann answered Dariusz commented

The Entry Transfer by default only allows a single pending incoming transport. It also by default will allow inputs based on the connection ranking, so items from Queue1 are 'prefered' over those from Queue2.

A simple solution is to allow multiple incoming transport. That way, the task sequences for all items are created immediately when the batch size reached and the order will then not subsequently change (except by further customization of the task executer's task queue logic).

This will of course only work as long as the combined content of both queues does not surpass the number of allowed inputs again. (Which is currently the case, since the queues have to release the entire batch before new items can enter)

1710159130528.png


1710159130528.png (7.5 KiB)
· 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.

Dariusz avatar image Dariusz commented ·

Thank you.

Regards.

Dariusz

0 Likes 0 ·
Dariusz avatar image Dariusz commented ·

Exercise1.6.pngExercise1.6.fsmFirst and foremost, I want to extend my gratitude to everyone for their support. A special thanks to Felix. Unfortunately, I think I might not have executed what Felix described correctly, I'm unsure if I understood it properly. As evident in the screenshot, the entire batch isn't always sending out from the source as one whole. On Wednesday, I attended a very interesting conference hosted by FlexSim's representative, IterMarium, where they demonstrated how to address this issue by linking tables with production orders to the SOURCE object. Regrettably, I can't access the file with this simulation at the moment since it's in version 24. If anyone has an idea on how to configure SOURCE to release specific production orders, I would be very appreciative. I am conducting training for employees and wish to demonstrate how the machine is retooled following a specific order, ofter each production order.

Regards.

Dariusz

0 Likes 0 ·
exercise16.png (57.5 KiB)
exercise16.fsm (64.4 KiB)
Felix Möhlmann avatar image Felix Möhlmann Dariusz commented ·

The source has three different settings. Inter-arrival time will periodically create a single item. Arrival Schedule will create the specified number of items at the specified model time. Arrival Sequence will create items in the given sequence as fast as they can exit the source.

See the documentation for further information.

With the arrival schedule setting it is quite easy to, for example, create a batch of items every N seconds. Below the source creates 5 items, then waits 140s but doesn't create any items for that row. Since the "Repeat Table" option is active it will then loop back to the first.

capture1.png

exercise16_1.fsm

0 Likes 0 ·
capture1.png (18.0 KiB)
exercise16-1.fsm (62.5 KiB)