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.

Martin B6 avatar image Martin B6 commented ·

Thank you for your answer, @jason.lightfoot I have now changed my process flow and tried to find a matching slot beforehand and if there is none, an empty slot. I have also neglected the palettes and assigned the items to the slot. Then I removed the rack slot strategy. But now the items are not stored grouped by OrderID. What do I have to do to ensure that the items are stored in groups?

Thank you very much!

Entwurf_10_4.fsm

0 Likes 0 ·
processflow.png (19.1 KiB)
entwurf-10-4.fsm (766.7 KiB)
Jason Lightfoot avatar image Jason Lightfoot ♦♦ Martin B6 commented ·

You can use the same syntax for finding a matching slot as you had on the racks - but in this case you're searching the whole storage system. So where you now have

WHERE OrderID IS $1.OrderID

which would require you to label the slots with the OrderID whenever you assign and unassign a slot, you can instead use:

WHERE slot.slotItems.length>0 AND slot.slotItems[1].OrderID IS $1.OrderID

In large systems the second option is likely to be slower, and may be noticeable. For you model I think it should be fine.


1 Like 1 ·
Jason Lightfoot avatar image Jason Lightfoot ♦♦ Jason Lightfoot ♦♦ commented ·

Notice now that you probably need to filter which storageObjects you can use so to avoid the floorStorage.

0 Likes 0 ·
Show more comments