Is it possible to obtain the number of items could fit in the racks I have in the model?
Is it possible to obtain the number of items could fit in the racks I have in the model?
Check the script used in the answer to this post, which will populate a table with each rack's capacity for each FlowItem you include in an array.
Thanks for your answer @Jason Lightfoot
It is more interesting the way that is responded in your asnwer. In my case I have some slots divided by cases. Each case has a different size that is run in a Global Table.
Is it posible to have the answer of storage capacity in order to the size of the Global Table or the cases created in the source?
In case, I attach my model.
Thanks in advanced.
Hello @Jason Lightfoot
In order to this answer https://answers.flexsim.com/answers/146026/view.html
In my simulation case I don't know how to run the code
In my case I have 3 different size of items displayed in a Global Table
Therefore, I want to see capacity of racks in order to each Rack and for each size (in the entire rack the same size in all cases)
I dont't know if I have been clear and you could help me.
Thanks another time,
Regards,
Unax
It looks like you only have 4 different sizes, so we can express the capacity in terms of those (eg. A, B, C, D):
Model attached where I created the flowitems BoxA-D to represent those sizes, and added the command 'generateRackCapacties' along with the script to use it:
Array flowitemnames=["BoxA","BoxB","BoxC","BoxD"]; generateRackCapacities(flowitemnames);
Thanks for your answer Paula.
Where I have to put that script?
Sorry if it is so simple the question, I am starting with the software...
Note that this returns the number of slots. If a slot can fit more than one item you need to multiply the returned value by how many items can fit into a slot.
12 People are following this question.
FlexSim can help you understand and improve any system or process. Transform your existing data into accurate predictions.
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.
Privacy | Do not sell or share my personal information | Cookie preferences | Report noncompliance | Terms of use | Legal | © Autodesk Inc. All rights reserved