AnswerHub Upload Issue
Our AnswerHub community currently has a bug that prevents you from attaching your model or other files to your questions. AnswerHub is aware of this issue and they are working on a fix. Until we receive their patch, you can upload your models and other files to FlexSim's file share site. Include the file name in your question so that we know which upload to reference.

question

CSN avatar image
-1 Like"
CSN asked Andrew O commented

find slot made model run slowly

Hi,

I and other users met the same problem about storage sysytem.

When we use 'find slot' activity ,the model runed very slowly.

However the CPU and GPU of computer was used less.

1659066276398.png

1659066290104.jpeg

1659066297002.png

We used 'pull from list' acitivity to replace 'find slot', and the model runed well.

So we wonder why, can this be fixed?

Otherwise the 'find slot' acitivity will be less used.

FlexSim 22.1.3
find slot
1659066276398.png (142.3 KiB)
1659066290104.jpeg (99.4 KiB)
1659066297002.png (72.4 KiB)
· 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.

What query are you using in 'Find Slot?'

If you are using the address scheme to find a specific slot it is significantly faster to use 'Storage.system.getSlot()' to look up the slot based on an address string.

If you are using slot labels, indexing them should also speed up the query considerably.

1 Like 1 ·
CSN avatar image CSN Felix Möhlmann ·

There are four conditions in the query, and the address is not sure.

So we cannot use the getSlot method.


0 Likes 0 ·
CSN avatar image CSN Felix Möhlmann ·

At the same time, during the test, we found that using WHERE judgment will not affect the speed, but using ORDER sorting will cause the speed to slow down and freeze. Is there a good solution or improvement? Thanks.

0 Likes 0 ·
Other than the obvious way of trying to reduce the number of values that have to be sorted, I don't know if/how that could be sped up.
0 Likes 0 ·
Show more comments

Hi @CSN,

We haven't heard back from you. Were you able to solve your problem? If so, please add and accept an answer to let others know the solution. Or please respond to the previous comment so that we can continue to help you.

If we don't hear back in the next 3 business days, we'll assume you were able to solve your problem and we'll close this case in our tracker. You can always comment back at any time to reopen your question, or you can contact your local FlexSim distributor for phone or email help.

0 Likes 0 ·

0 Answers

·

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.