question

David O5 avatar image
0 Likes"
David O5 asked Matthew Gillespie edited

Problem with Combiner

palletizing-example.fsm

Hello,

I a beginner at Flexsim and I need your help to take look on my model.

I build a model where I tried to create a pallet for every batch of items comming from my source. The amount of Item comming from the source are not equal to the loading capacity of the pallet. So some of the pallets should be released earlyer. For an further approach the current loaded quantity will be given to a label named quantity.

This all ist working fine until some ponit where the Flowitem is packed insteat of the pallet link in the pictures attached.

I don`t understand what is happening here. Can anybody help me understand this?

Thanks,

David

Choose One
combiner
· 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.

tannerp avatar image tannerp commented ·

Hi @David O5,

I apologize that this question got lost on our end over the holidays! I've examined your model and found that the Process Flow logic is conflicting with the Combiner's built-in logic. If you're still looking for advice on this model, I would suggest using only Process Flow to model this. Through Process Flow, you can create pallets/items, assign labels for each pallet (quantity, etc.), and move them into desired queues. The idea would be that you're moving items with Process Flow rather than using the Combiner's logic to accept/release items. I can work on an example model of this if you'd like. Feel free to comment back with any updates on this. Thanks!

1 Like 1 ·
David O5 avatar image David O5 commented ·

palletizing-example.fsmHello @Jörg Vogel,

Thanks for your reply on that topic. I know that the combiner is not label driven. I don`t think that is the problem. I tried do figgure outthe reason and changed the model attached. What I`m trying to do is:

1. to set a label to a value I want the combiner pick.

2. creating a pallet with the lable "Palletquantity" and the value of items it should collect. If full quantity is available set Palletquantity = Targetuantity, Else set Palletquantity = amount releasd by Batch activity in ProcessFlow

3. I`m writing the value of this Label to the Global Table, using the Type als coulum reference and an OnExit-Trigger.

3. Updating the combiner components list from the table.

This works still fine until the second 133200.00. In this second a 0 is written to the Global Table and updated by the combiner components list. But everythig looksfine Maybe I don`t see something...

0 Likes 0 ·
izh7l.png (36.3 KiB)
xxrrd.png (9.3 KiB)

1 Answer

·
Jeff Nordgren avatar image
1 Like"
Jeff Nordgren answered David O5 commented

@David O5

I'm not quite sure if I understand exactly what is supposed to happen in your model. And it would be helpful if you gave a model time when you notice that things aren't working right. But, that said, attached is your model with the Custom Code block that I added when The Wait for Setup block fires the Max Wait Timer.

Take a look at the model and see if the changes that I made fixed the model or if something else needs to be done to get it to work like you want.

Thanks.

palletizing-example-jn1.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.

Jeff Nordgren avatar image Jeff Nordgren commented ·
@David O5

Did this answer fix the problem you are/were having? If so, please click the "Accept" link so that we know that it answered your question.

Thanks.

0 Likes 0 ·
David O5 avatar image David O5 Jeff Nordgren commented ·

Hello @Jeff Nordgren ,

Thanks for your reply on my question and sorry for my late reply! I solved the problem using @Tanner Poulton idea using only Process Flow to model this. This works fine for my model. Thank you for your custom code fix. It seems to work, too.

Thanks.

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.