Find a Storage Slot Query for Storage based on SKU

Find a Storage Slot Query for Storage based on SKU

amit_k2
Not applicable
603 Views
2 Replies
Message 1 of 3

Find a Storage Slot Query for Storage based on SKU

amit_k2
Not applicable

[ FlexSim 20.1.0 ]

Hello, @anthony.johnson, @Regan Blackett

I am trying to understand the queries used to find a storage slot for storage based on SKU.

In the attached model, there are 2 racks where flow items should be placed in a particular bay channel based on SKU. Each rack has a label "Active" with value 1 and 2 corresponding to that rack. I am using 2 queries to see how it affects the slot finding. If a flow item is not able to find a slot, it should go to a sink.

27556-sku-based-storage.png


If only Query 1 is used, I get the desired behavior on both racks, i.e. each bay channel has the same SKU flow item. Also, flow items keep appearing in the rack even though the max capacity of the rack is reached.

That being said, I was trying to see if I could query a particular rack using the assigned label in case the storage strategy called for mixed SKU storage, hence Query 2. Also, I have a feeling that it is not the right query.

My question is if the queries here are redundant and is there a way to control the slot finding strategy for each rack in a model, especially if you have hundreds of racks.

MultipleRaskStorageBasedOnSKU_4.22.2020_autosave.fsm

Many thanks for the support!

Accepted solutions (1)
604 Views
2 Replies
Replies (2)
Message 2 of 3

benjamin_w2
Not applicable
Accepted solution

Hi @Amit Kulkarni,

The custom code you used is calling the Storage.System.findSlot() method. In the documentation it states, "This method evaluates each query until a slot is found that matches. Only storable slots are searched." So, if there is an available slot with the first query, that is the slot that will be assigned.

Also, your process flow query was not working because you did not paint the labels onto your slots. Your Queue1 is pushing the items onto the rack using the racks default assigning logic. I would recommend disconnecting your queue and moving the objects using process flow. It might look like this:

28419-1589409095347.png

Check out how to paint labels here:

https://docs.flexsim.com/en/20.1/Reference/3DObjects/Warehousing/PaintSlotLabels/

I think your best bet for complicated models is to come up with an addressing scheme. You can read about that here:

https://docs.flexsim.com/en/20.1/Reference/Tools/StorageSystem/

Here are some other really good information about warehousing that might be useful to you as well:

https://docs.flexsim.com/en/20.1/ConnectingFlows/Warehousing/KeyConceptsWarehousing/


I hope this helps! See the sample mode attached for an example.

Warehousing.fsm

Message 3 of 3

amit_k2
Not applicable

Thank you, this helps.

0 Likes