question

Roi Sánchez avatar image
0 Likes"
Roi Sánchez asked Jordan Johnson commented

Change Slot Stacking Order during simulation

Hello,

We are dealing with a model in which we made the Slot Stacking Order variable during the simulation. The thing is the model is apparently running ok if we do it step by step but when we execute a normal simulation pressing the Run button, it seems to happen different things and we think it is because of changing the Slot Stacking Order during the simulation run.

Does anybody know what is happening? Am I missing something?

Thanks!

22.0 Storage System Sample_2.fsm

FlexSim 22.0.1
storage system
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

Jordan Johnson avatar image
1 Like"
Jordan Johnson answered Jordan Johnson commented

The issue is that you need to call updatelocations(token.item) after you change the item's size. When you step, updatelocations() basically gets called for the whole model each step. When you run, it is called either less often or not at all.

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