question

Vns avatar image
0 Likes"
Vns asked Vns answered

Unable to find slot in other racks within the same storage system

modeltest001.fsm

Hi all - im try to initialize the racking by finding a suitable slot based on the label type. However i notice that find slot does not consider rack 4 capacity ? Did i overlook something in the process flow?

Thanks in advance for the advice.

FlexSim 24.2.3
rack
modeltest001.fsm (135.9 KiB)
5 |100000

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

Dhakshna avatar image
0 Likes"
Dhakshna answered Felix Möhlmann commented

Hi @Vns, The Find Slot logic considers the capacity of Rack4. To visualize this, try assigning random slots to the items using the ORDER BY RANDOM clause in your query.

1735906797582.png


1735906797582.png (231.8 KiB)
· 1
5 |100000

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

Felix Möhlmann avatar image Felix Möhlmann commented ·

A couple additional notes:

In the original model, "Find Slot" is placed in front of "Create Object", so the item does not exist yet when searching for a slot. Since the "Assign Slot to Item" field still contains the default "token.item" though this leads to an error message. Since the found slot is not assigned to the item afterwards, when the item is moved into the rack, the rack's Slot Assigment Strategy is actually used to assign a slot to the item. Apart from the determining the rack, the "Find Slot" activity does thus not actually serve a purpose.

Also, both in "Find Slot" and the Slot Assignment Strategy of the racks, only the matching label is mandated. This means that all items of a given type will get assigned to the same slot. You can use "slot.hasSpace(itemRef)" to check if the item physically fits in the slot or "slot.slotItems.length < Num" to limit the number of items per slot.

modeltest001_1.fsm

1 Like 1 ·
modeltest001-1.fsm (134.8 KiB)
Vns avatar image
0 Likes"
Vns answered

@Dhakshna Thanks for assisting with my question.

@Felix Möhlmann Much appreciated for clearing out my doubt on this question.

5 |100000

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