question

Guldberg avatar image
0 Likes"
Guldberg asked Jason Lightfoot commented

Problems finding slots in different zone IDs

For the love of god I cannot figure out why Find Slot doesnt work properly in my model.

I have a bunch of racks, some with zoneID HBL and one with zoneID PBL. If i query using WHERE slot.zoneID == "HBW" I get a slot if i query with WHERE slot.zoneID == "PWL" or WHERE slot.zoneID != "HBW" I get nothing.

Attach is a model where anything else but the racks have been removed, just to illustrate the issue.

UC_findsloterror.fsm

FlexSim 23.2.1
findslot
· 3
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 ·

@Guldberg, I printed all zoneID of slots in a querySlot by "SELECT slot.zoneID" as an Array to an ouptut console. There wasn't any "PWL" zoneID.

0 Likes 0 ·
Guldberg avatar image Guldberg commented ·

Sry, my bad. Typo when creating the PWL rack. Doesnt fix the error though.

uc-findsloterrorv2.fsm

0 Likes 0 ·
Jason Lightfoot avatar image Jason Lightfoot ♦ commented ·

Hi @Guldberg, was one of the 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 0 ·
Guldberg avatar image
0 Likes"
Guldberg answered

Just to sum up if anybody experience the same problem. The culbrite was a failty rack node. After deleting and replacing the element it worked fine.

5 |100000

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

Guldberg avatar image
1 Like"
Guldberg answered Guldberg edited

Cant tell why, but if delete aisle 15 it works. 16+17 + pwl. Odd. Oh well, must have been a corrupt node somehow.

5 |100000

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

Guldberg avatar image
0 Likes"
Guldberg answered

That explains why I never got any flow to these aisles. Just didnt bother looking into that issue yet. Odd. I can see that they are part of the storage system in the model tree

1698863214870.png


1698863214870.png (28.8 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.

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

The error relates to reserving the slot for an item to which token.item is trying to refer - but it does not exist. You can delete the content of this field if you don't have an item for slot reservation.

· 5
5 |100000

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

Guldberg avatar image Guldberg commented ·

Could you elaborate? Even if I create and item I get the same error.

This is is just a dummy example I created.

I tried to do the same in a new model where it worked just fine.

1698855680210.png

1698855757309.png

0 Likes 0 ·
1698855680210.png (19.4 KiB)
1698855757309.png (43.2 KiB)
Guldberg avatar image Guldberg commented ·

Its like it doesnt want to accept anything else but HBW

1698859435140.png

0 Likes 0 ·
1698859435140.png (162.2 KiB)
Jason Lightfoot avatar image Jason Lightfoot ♦ Guldberg commented ·

Yes - I can see that - something's not right. This should list all the ZoneIDs but it does not:

Storage.system.querySlots("SELECT slot.zoneID GROUP BY slot.zoneID",0)

The same is true for aisles, where aisle 16 and 17 are not listed:

Storage.system.querySlots("SELECT slot.aisleID GROUP BY slot.aisleID",0)
0 Likes 0 ·
Joerg Vogel avatar image Joerg Vogel Jason Lightfoot ♦ commented ·
@Jason Lightfoot , there are more than 34.000 slots. Does there exist a limit of slots in a warehouse or by undertaken a query? I mean, querySlots returns an array, And it is not a table anymore like it would be as a normal table or list query.
0 Likes 0 ·
Show more comments

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.