Regarding this post, how can I reference a specific object within the storage system, such as Rack1? https://answers.flexsim.com/questions/145983/capacity-of-the-storage-system.html
var storageObjects=Storage.system.storageObjects;
Regarding this post, how can I reference a specific object within the storage system, such as Rack1? https://answers.flexsim.com/questions/145983/capacity-of-the-storage-system.html
var storageObjects=Storage.system.storageObjects;
You can either find it in the model:
Model.find("Rack1");
or in the list of storageobject if you know the index:
Storage.system.storageObjects[2];
Where are you trying to use it?
The example already splits the capacity out by storage object and item:
I have a very small items (similar to TestTube) and I want to figure out how many of them can fit in a specific type of rack or storage unit. The problem is, my code takes forever to count them in each storage unit, and it often crashes. I have more than 250 storage objects and I do not want to consider all of them. Is there a way to make my code just look at one storage unit instead of going through all of them? How do I find an index of a storage object?
I can not do boxing since that also going to check for every storage objects, i want to check just for one storage item type?
14 People are following this question.
© 1993- FlexSim Software Products, Inc. All Rights Reserved.
FlexSim is a fully 3D simulation software environment. FlexSim can be used to simulate any process in any industry.
FlexSim®, FlexSim Healthcare™, Problem Solved.®, the FlexSim logo, the FlexSim X-mark, and the FlexSim Healthcare logo with stylized Caduceus mark are trademarks of FlexSim Software Products, Inc. All rights reserved.