question

Martin B6 avatar image
0 Likes"
Martin B6 asked Martin B6 commented

Storage according to OderID- Which condition must be given?

Hello!

Items with the same OrderID should be stored in a slot in the same rack. For this I have applied: slot.slotItems.length > 0 ? slot.slotItems[1].OrderID == item.OrderID : true as a condition in the slot strategy. Now I have noticed that some items are stored on a different rack. Can someone help me and tell me what is wrong with this code?

Thank you very much!

Attached the model and 2 screenshots. Entwurf_10_3_ohnePickTime_mitPalletTruck.fsm

FlexSim 20.2.3
processflowflexsim 20.2.3rack storageconditionslot strategy
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

Jason Lightfoot avatar image
1 Like"
Jason Lightfoot answered Martin B6 commented

In your model you find an empty slot across all 4 racks and then assign that to the pallet. Then you move to the rack of the slot and unload the item on the pallet to the rack, NOT the rack. At that point the rack executes it's storage strategy since the item has not been assigned a slot and places it in a slot.

If, instead of assigning the pallet the slot you change it to the item on the pallet, you will fill all the empty slots with items, and not group by the order. This is also not what you want.

So you need to change the process flow to first find a matching slot and if there is none then find an empty slot. THen you can assign the slot to the item and not the pallet and it will work okay. I'd remove the rack slot strategy to save the confusion.

· 7
5 |100000

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