Loading one item per slot according to the type and dispatching items by time

Loading one item per slot according to the type and dispatching items by time

Xiomara
Not applicable
288 Views
4 Replies
Message 1 of 5

Loading one item per slot according to the type and dispatching items by time

Xiomara
Not applicable

[ FlexSim 22.2.0 ]

I'm working on a warehouse model. In this ocassion I need to place just one item per slot according to the type. The label of the item is "Cliente" and it goes form 1 to 12:

1701017804161.png


I checked a example here but it doesn't allow the floor storage to be a fixed resource, however I'm also working on the dispatch of these items by time and to do that, I need the floor storage to be a fixed resource.

1701019277321.png

Also, when I diselect this option and follow the provided code in the example, it still doesn't work.

1701017812817.png1701017820462.pngThat's why I would like to know if there is another alternative to place items as I need, keeping the floorstorage fixed.

0 Likes
Accepted solutions (1)
289 Views
4 Replies
Replies (4)
Message 2 of 5

joerg_vogel_HsH
Mentor
Mentor
@XiomaraG, maybe you have painted bays to hold items of same slot label value. Then you haven’t got enough available free slots to store in more than one level. You should order your query then by bayID instead of levelID.
0 Likes
Message 3 of 5

jason_lightfoot_adsk
Autodesk
Autodesk
Accepted solution

If you have multiple racks that have slots with matching attributes the query isn't sufficient since it can return a slot in any rack. Add the clause to find a slot in this rack:

...." AND slot.storageObject=$2" 

while passing in current as the second parameter.

Message 4 of 5

joerg_vogel_HsH
Mentor
Mentor

You don't need to order by level or bay, because you have painted available slots by label value already:

Storage.Slot slot = Storage.system.findSlot("WHERE slot.myLabel = $1.Type AND slot.slotItems.length < 1",0,item);
if (slot){     storageItem.assignedSlot = slot;     return 0; }

findslot_by_slotitems_length_and_label.fsm this example works as fixed resource.

0 Likes
Message 5 of 5

Jeanette_Fullmer
Community Manager
Community Manager

Hi @XiomaraG, was one of Jason Lightfoot's or Joerg Vogel's answers helpful? If so, please click the "Accept" button at the bottom of the one that best answers your question. Or if you still have questions, add a comment and we'll continue the conversation.

If we haven't heard back from you within 3 business days we'll auto-accept an answer, but you can always comment back to reopen your question.

0 Likes