In my process I want to stack boxes on a queue, but up to a maximum height.
In my process I want to stack boxes on a queue, but up to a maximum height.
If you know how many boxes it will take to get to that height, then you can set the max content to that amount
Thanks Joshua, the problem I have with that is that I have boxes of different heights, so the exact amount of boxes is unpredictable
That makes sense. So there is a way, but it would have to be coded. The code would check the tallest item in the queues contents against the max height you set, and see if it can allow the next item.
Here is your model with the adjustments. You can click all the code boxes to see all the code that was added, but the pictures show the 3 places I changed or added anything.13330-practice-project.fsm
Hey Joshua,
First, thank you for all your help. I just had a quick question about the code you use. In line 6, I get that that is making sure that all the spaces in the Queue are filled, but what does the "%13" do?
It's finding if the content of the queue is a multiple of 13. % is the integer modulo operator.
9 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