question

Mohammed_adnane T avatar image
0 Likes"
Mohammed_adnane T asked Jeanette F commented

Number of packed items isn't visually correct, why?

After using a sequence of operations for packing Items, at a certain point (specifically after the second combiner) the third combiner does not show the correct count of Items visually but the count in the Model tree is correct. In the attached images we see that the number of the packed Items in the receiving conveyor is 7 meanwhile it is 56 (7 times 8 packed items) in the model tree. Is there a way to fix this or is it a simulation bug?

1624447407283.png


FlexSim 21.0.6
combinervisualizationpacked items
1624447407283.png (168.4 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.

Joerg Vogel avatar image Joerg Vogel commented ·
It is a matter of location. Your items are place inside another. They aren’t any physical objects in your simulation. You must set different locations for them to see them all. It is not a bug!
0 Likes 0 ·
Mohammed_adnane T avatar image Mohammed_adnane T Joerg Vogel commented ·
@Joerg Vogel How can I do that? I tried changing the default's script of packing method but it only changed once, the next combiner of the line still had the same problem. What's the logic behind subnodes an location of items?
0 Likes 0 ·
Jeanette F avatar image Jeanette F ♦♦ commented ·

Hi @Mohammed_adnane T, was Joerg Vogel's answer helpful? If so, please click the red "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 unaccept and comment back to reopen your question.

0 Likes 0 ·

1 Answer

Joerg Vogel avatar image
0 Likes"
Joerg Vogel answered

Any item, which is entering a combiner through input port 1, is the container. If you change the container item, as you did, in your model, then each container item needs a packaging method.

My attached example shows what happens if you change or keep the container item. I did not use a packaging method. I set the location of the new packed item in relation to already packed items in a trigger of each combiner.

The sequence of packaging is black box, cylinder, sphere, red box.

keep-or-change-container-for-combiner.png

Left stack is the result of changing the container. Right stack keeps the black box as a container.

setlocation_while_combining.fsm


5 |100000

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