question

Ankur A3 avatar image
0 Likes"
Ankur A3 asked Felix Möhlmann commented

Facing issue while combiner count change?

Hi Team,

I am working on a problem where combiner target count is to be changed based on SKU running. Since every SKU is having different target production and target count to be packed, there are some cases when production and count are not in sync.

In this case, combiner is left with less count than target in the last packing. This left count is creating issue for the next SKU for which target count is different for combiner. Throwing error "Array out of bound" for the 1st packing of next SKU is having lesser target count.

Eg:- SKU 1, Production 500, packing count 8

SKU 2, Production 550, packing count 6

I would like to throw or destroy the last packing where it is left with less count.

I am trying to do it but it is consuming more time to make robust logic. Any easy fix to this problem?

Thank you!





FlexSim 23.1.3
combinerquantitychangedynamic
· 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.

David Seo avatar image David Seo commented ·
You need uploading your issue model for solveing the problem.
0 Likes 0 ·
Ankur A3 avatar image Ankur A3 David Seo commented ·

Hi @David Seo,

Here is the error msg:

1700207422669.png

Can you help me with this?

Thank you!

0 Likes 0 ·
1700207422669.png (3.1 KiB)
Ankur A3 avatar image Ankur A3 Ankur A3 commented ·

Hi @Felix Möhlmann @David Seo

Adding some more info of the process finish trigger here which is getting executed:

1700207996514.png

This is working fine for multiple scenarios but only popping exception for 1 scenario even after making the correct changes on object and item as per script.

Can we skip the exception in this case? Why it is like this?

Thank you!

0 Likes 0 ·
1700207996514.png (17.3 KiB)

1 Answer

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

As is often times my answer: Use Process Flow instead. It is overall a lot less work to build a custom batching logic there than it is to try and adjust the relatively inflexible combiner object to fit your needs.

In the attached example, the target batch size per pallet is present as a label on the items. If a different to the previous one enters the queue, any remaining items of the previous type are destroyed. A process time can easily be added to the Process Flow alone. If you want a visual representation of the batching process, you could add a processor, acquire it after a batch is complete and move the created pallet into it.

pf-combiner-example-fm.fsm


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

Ankur A3 avatar image Ankur A3 commented ·
Hi @Felix Möhlmann,

I will definitely look into it.

Can you share it in version 23.1.3 as I am using it currently?

Thank you!

0 Likes 0 ·
Felix Möhlmann avatar image Felix Möhlmann Ankur A3 commented ·

Right, of course. Sorry, I didn't pay enough attention to the version.

pf-combiner-example-fm-23.1.fsm

0 Likes 0 ·

Write an Answer

Hint: Notify or tag a user in this post by typing @username.

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