question

Maryam H2 avatar image
0 Likes"
Maryam H2 asked Maryam H2 commented

Storage Object Capacity

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;


FlexSim 23.2.0
rackstorage systemcapacity
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

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

You can either find it in the model:

  1. Model.find("Rack1");

or in the list of storageobject if you know the index:

  1. Storage.system.storageObjects[2];

Where are you trying to use it?

The example already splits the capacity out by storage object and item:

1695831788397.png


generateRackCapacities.fsm


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