question

mad2411 avatar image
0 Likes"
mad2411 asked Felix Möhlmann commented

Last lot from batching queue

Hello everyone,

I would like to know how to send the last lot which is incomplete to the next process please.

In my simulation it's Qmold who has lot=80 but the last one is about 16.

Here is my simulation : EOL.fsm

FlexSim 23.1.2
batching queue
eol.fsm (296.3 KiB)
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

Julie Weller avatar image
0 Likes"
Julie Weller answered Felix Möhlmann commented

Hi @Mad2411! I would add a max wait time to your queue. That way your last batch will get processed, I used the value shown below:

1690293853563.png

105000s seems like a good choice because the longest wait time in your batches previously was just under that at around 104,000. Does that help?


1690293853563.png (14.0 KiB)
· 2
5 |100000

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

mad2411 avatar image mad2411 commented ·
Yes thank you ! Can you please show me how to see the longest wait time so I can apply this on all queues.
0 Likes 0 ·
Felix Möhlmann avatar image Felix Möhlmann mad2411 commented ·

Queues (and other fixed resource) collect certain statistics that can be viewed in the properties panel. Julie likely used the maximum staytime.

1690359568667.png

As an alternative approach to the timer, I wrote some code in the OnEntry trigger that releases all items from the queue if both 'Mold2' and 'Queue1' are empty when a new item enters.

eol-fm.fsm

1 Like 1 ·
1690359568667.png (11.4 KiB)
eol-fm.fsm (294.2 KiB)