question

LJC avatar image
0 Likes"
LJC asked LJC commented

How to get the total number of slots on the Rcak?

In the following question, I already know how to get the number of bays and the number of slot in a single bay. What should I do if I want to get the total number of slots on the Rcak?

https://answers.flexsim.com/questions/104513/how-to-get-the-numbers-of-bays-levels-and-slots-in.html

FlexSim 23.2.2
rack 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

Paula LG avatar image
0 Likes"
Paula LG answered LJC commented

Hi,

You can use the following expression:

Storage.system.querySlots("WHERE slot.storageObject.name == 'rackName' ").length

· 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.

LJC avatar image LJC commented ·

Thank you, this method works!

0 Likes 0 ·