question

hermione12 avatar image
0 Likes"
hermione12 asked Kavika F commented

Creating two flow items from a single source.

Hello,

How can I create box over pallet from a single source? If there is any method please let me know.

FlexSim 20.0.10
sourcepalletbox
· 1
5 |100000

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

Kavika F avatar image Kavika F ♦ commented ·

Hi @hermione12, was Felix Möhlmann's answer helpful? If so, please click the "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

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

The way I'd do it would be to have the source create the pallet and then create a box through other means immediately afterwards and move it onto the pallet.


One way would be to use process flow: An event triggered source listens to the eixt trigger of the source. The token then creates a box item an moves it onto the pallet. (You could also create the item directly in the pallet, but the placement of the box might be wrong)

1651048647471.png

The same can be done with code, directly in the exit trigger of the source.

1651048683619.png

The attached model demonstrates both methods, so two boxes are created on each pallet.

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

hermione12 avatar image hermione12 commented ·

Thank you for the model.

I do not want the flowitems(pallet with box) to overlap on each other. In one of my model I am using rack and the flowitems are overlapping.

0 Likes 0 ·
Felix Möhlmann avatar image Felix Möhlmann hermione12 commented ·

The stacking logic of the rack doesn't take objects inside the entering items into account. Is it actually necessary that the pallet and boxes are separate object or should they just look like they are?

If not, you could instead create a custom flow item that looks like a pallet with stacked boxes but is in fact just a single object. If you adjust the size of the bounding box ("More Properties" -> General Tab -> "Edit Shape Factors"), they will be stacked correctly.

FullPallet_as_FlowItem-fm.fsm

Otherwise, you can add logic to the "On Slot Entry" trigger of the rack that adjusts the position depending on the height of the stacked items on the previous pallet. You will still have to limit the number of pallets per slot through a condition in the Slot Assignment Strategy though.

1651051967401.png

create_pallet_with_box_1.fsm

Note: If you are replying to an answer or a comment, please use the comment function instead of creating a new answer. You can change your answer into a comment through the options accessed by the gear symbol. 1651052060165.png

0 Likes 0 ·