question

Arun Kr avatar image
0 Likes"
Arun Kr asked Joerg Vogel edited

Placement Of Objects Inside a Container Object (Queue)

Hi,

When we create flow items inside a queue, they will be placed on the Queue's bottom level following the item placement rule. But the orientation of the item will be based on the flow item's orientation in the flow item bin in the case if I am not using a trigger or pf logic for changing the flow item orientation when it enters the Queue.

1666850953597.png

On the other hand, If I use a trigger or pf logic to change the orientation of the flow item when it enters the process flow the item gets rotated along its centroid and will be placed at a height from the Queue's bottom level. To overcome this we need to use a set location logic and do nothing item placement to properly arrange the flow items inside the Queue. This is difficult for a new user, who expects the items to be stacked inside the queue from the bottom level based on the item placement rule. Even for do nothing item placement without set location logic the items are stacked from a height.

1666851403100.png

I just experimented with the flow item bin and changed the shape factors of the flowitembin item. And then created those items in the Queue. They are getting placed properly from the bottom level without using any set location logic and do nothing item placement option, due to the rotation of the wireframe.

1666852142988.png


The question is:

Why the items are not stacked from the bottom level after doing the rotation? Is it because the rotation is happening wrt to the centroid or for some other reason? Can this be changed, to do modeling in an easier way?

Maybe I am making a mistake here.

Attaching the model for reference. Conceptual_Model.fsm

Regards,

Arun KR


FlexSim 22.2.2
queuesitem placementfixedresource
1666850953597.png (230.4 KiB)
1666851403100.png (319.1 KiB)
1666852142988.png (398.0 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

·
Joerg Vogel avatar image
1 Like"
Joerg Vogel answered Joerg Vogel edited

You answered your question already. It is a matter of setting location and rotation of Flowitems. You want a much smarter coded stacking algorithm, then you know, you can propose an idea and collect supporters for your suggestion. A question is not the right form to improve FlexSim‘s abilities.
Why is currently the stacking algorithm behaving as it is? Because it is an old code right from existence of FlexSim. There had been some assumptions made, that limits nowadays functionality. But users still want backward compatibility and this makes it difficult to update an old code to behave more intuitively.
The root of coordinates had been fix for a long time in lower left corner. Now you can set it by choice to corners, midpoints of surfaces, edges or volume. The older code was built upon an assumption that lower left corner won’t change. But it has. Now we deal with the old assumption.

Edit: here is another strange behavior of queue object with stacking of container items https://answers.flexsim.com/questions/75554/what-is-the-difference-of-item-placement-verticall.html

5 |100000

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

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.