question

Marc K avatar image
0 Likes"
Marc K asked Jason Lightfoot commented

Floor Storage: How to load only one item per bay and organize per row?

We have floor storage in a room. Only one item (Box or pallet) can go in one location. Additionally, we organize so that boxes go in one row and pallets in another. In my test model I tried to make this work but I was unsuccessful. Can someone help? material-storage-test.fsm

FlexSim 20.0.0
floor storage
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

Joerg Vogel avatar image
0 Likes"
Joerg Vogel answered Jason Lightfoot commented

Floor Storage Rack as a Warehousing object:

Please deactivate: Use as Fixed Resource on Flow tab of Rack object.

Paint the slots with tool of Warehousing library. You can use any label name. Default name is "Type". You set a different values e.g. {1,2}. You set to your items labels named exactly as you use for your painted slots "Type" or any other name and the same values. 1 for box, 2 for pallet or vice versa.

The Assign Slot Strategy function source code after the header needs only a query to identify a slot and an assign slot statement for the Storage.Item.

Storage.Slot slot = Storage.system.findSlot(
  "WHERE slot.slotItems.length < 1 AND slot.Type = $1 ORDER BY slot.levelID ASC"
  ,0,item.Type);
storageItem.assignedSlot = slot;

with

slot.SlotItems.length < 1 // only one item per slot
slot.Type = $1 // lambda parameter $1 = item.Type == slot.Type //painted label

See answer for query slots in Storage.System, too!

slot-by-label-level-orderd-limit-one-item.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.

Jason Lightfoot avatar image Jason Lightfoot ♦♦ commented ·
This method may be insufficient if there are multiple racks in the model with matching attributes since it doesn't qualify the storage object - any slot in another rack can be returned to the SlotAssignementStrategy of a given rack/floor storage. Then when the item enters you will receive an error saying the item wasn't assigned a slot for this object.
1 Like 1 ·
Marc K avatar image Marc K commented ·

Thank you. If the FlexSim team is looking for improvements it would be great to have an easier way to have this task occur. This is a very common occurrence in warehouses where there is floor storage and they organize by type. I could see a setting in the floor storage properties asking for how many items per each cell and by type; just as you answer makes it happen.

0 Likes 0 ·