question

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

What is the difference of item placement vertically and inside in a queue?

I try to build a pallet variant which set its size to the maximum height of its content. I need it for the warehouse. The basic works. Unfortunately the stacking method of a queue behaves a bit strange. I move on entry boxes to the last entered pallet. If I stack pallets vertically it behaves correct. If I stack just inside the second pallet moves up, when the amount of boxes rises above the amount of boxes of the first pallet. As you can see in the picture, there is a gap between the red frames of pallets on the right. Why does this happen?

queue-stacking-method-bug.fsm

FlexSim 19.2.4
palletstackingqueue stackingdynamic pallet
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

Cliff King avatar image
0 Likes"
Cliff King answered Cliff King edited

Well, you certainly are developing something quite unusual here, aren't you? It's no wonder to me that the standard stacking methods for the queue are not acting as you would expect.

I'm not sure what you ultimately want to achieve, but since you are already working outside the intended behavior of the queue and of a pallet, you might want to use the option "Do Nothing" for the Item Placement field, and do all of your own stacking behavior in the OnEntry trigger of the queue and/or of the pallet.

I do know that the "Stack Inside Queue" option for Item Placement keeps its own internal record of where items have been positioned, and updates this record with each entry event. The custom code you've written in the "Pack Contents" field of the pallet uses the moveobject() command which in turn triggers the entry events to fire on the queue, which in turn is going to mess up the internal records the queue uses for the "Stack Inside Queue" behavior.

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