question

anon-user avatar image
0 Likes"
anon-user asked Joerg Vogel commented

Why find slot activity not working?

Hi Flexsim Team,

Please help me to fix findSlot activity issues. I have built a conceptual model wherein PS(AGV) takes items and delivers them to the bottom level and R8(AGV) takes those items and places at the above levels.

So, In the findslot activity, I have given the condition slot.slotItems.length < 7 but this condition is not getting followed by the activity. It is placing more than 6 items in the slots.

Thanks and Regards,

Brijesh Kumar

FlexSim 23.1.1
warehouse
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

·
Jason Lightfoot avatar image
1 Like"
Jason Lightfoot answered Joerg Vogel commented

You need to choose slots from the same rack:

WHERE slot.Type!=3  AND slot.slotItems.length<7 AND slot.storageObject==$1.RackName
· 6
5 |100000

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

Joerg Vogel avatar image Joerg Vogel commented ·

It is a runtime problem. An assigned slot is counted to length property, when the slots gets occupied by an item. As long as an item has not entered its assigned slot the property length is not suited to limit an amount. The method "hasSpace" evaluates in contrast to this approach the size of all assigned items and not only the entered items.

I compare both to fill a slot with 4 items. Please see attached model.

slot-slotitems-length.jpg Rack_slotItems_length.fsm


1 Like 1 ·
Jason Lightfoot avatar image Jason Lightfoot ♦ Joerg Vogel commented ·

No, the slotItems length is working correctly in the model and accounts for inbound items as expected.

In your model you don't hold the items until a slot is available and send them to the rack anyway - and items entering without a slot using the rack's slot assignment strategy to find one.

Here's your corrected model attached.

rack-slotitems-length_jl.fsm

1 Like 1 ·
Joerg Vogel avatar image Joerg Vogel Jason Lightfoot ♦ commented ·

@Jason Lightfoot, I was aware of that that items were sent anyway if there hadn't been found a slot. My Problem is "slot.slotItems.length < 5" and I see 5 items entering such a slot. I think 5 items is one too much for such a condition. My assumption might be wrong to describe this behavior.

1 Like 1 ·
Show more comments
anon-user avatar image anon-user commented ·

Thanks @Jason Lightfoot .

0 Likes 0 ·

Write an Answer

Hint: Notify or tag a user in this post by typing @username.

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