question

Esteban B2 avatar image
0 Likes"
Esteban B2 asked Esteban B2 commented

Separator Process Flow Pallets and Boxes

Hello Dear Community,

In the model attached, I want to implement the separator logic in process flow. So in this sense I need that the operator moves the pallets to a pallet queue and boxes to a boxes queue.

It's really important to incorporate this in process flow, no other way

pallets and boxes separator.fsm

Thank you !

FlexSim 20.2.3
process flowflexsim 20.2.3task executer
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

·
Parker S avatar image
0 Likes"
Parker S answered Esteban B2 commented

@Esteban B2

This can be done using a subflow that moves the boxes in the array token.pallet.subnodes into one queue, then moves the pallet into the other. See the attached model:

support_pallets-and-boxes-separator.fsm

Please note that I've changed the event triggered source to Processor- OnProcessFinish to prevent moving items before the process time is done.

Also, the operator is not used in my model but this can be easily implemented in process flow. Check out this tutorial to show you how:

https://docs.flexsim.com/en/20.2/Tutorials/TaskLogic/Tutorial3ConditionalTasks/3-1SubflowsArrays/


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

Esteban B2 avatar image Esteban B2 commented ·

Thank you so much.

However, when I'm trying that the operator unloads one box at a time, an error appears. I've activated the "run one token at a time" option on subflow.

support-pallets-and-boxes-separator.fsm

0 Likes 0 ·
Parker S avatar image Parker S ♦ Esteban B2 commented ·

@Esteban B2

When you are running one at a time, you need to change the box label value to token.pallet.subnodes[1]. This way the operator moves the first value in the array until there are none left.

When token.pallet.subnodes[creationRank] is used while moving one at a time, the operator picks up 2 boxes (token.pallet.subnodes[1] & token.pallet.subnodes[2]) and then tries to token.pallet.subnodes[3] but it does not exist because there are now only 2 values in the array (2 boxes left on the pallet).

1 Like 1 ·
Esteban B2 avatar image Esteban B2 Parker S ♦ commented ·

Thank you, what I have to chnge if I want the operator to load 2 boxes at the same time.


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.