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.

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

with

  1. slot.SlotItems.length < 1 // only one item per slot
  1. 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.