Hello, is there a way to slow down production speed( processing speed of the processor) by let's say 10% if the storage capacity is 85% full or greater and speeding it up to to normal when it goes below the 85% threshold ?
Hello, is there a way to slow down production speed( processing speed of the processor) by let's say 10% if the storage capacity is 85% full or greater and speeding it up to to normal when it goes below the 85% threshold ?
The processing time can be an expression or function which can inspect the state of another object and return different values.
However, I have set the processing time by case which is necessary for different products in my simulation. So I don't how to set such a function without disturbing the other processing times
You can keep the general structure of the Values By Case option and adjust the code to first determine the base time to use and then check whether that base value is reduced or not.
"storageLevel[item.Type]" is just a placeholder to show the general intend of the logic. You would have to implement a solution to get the storage capacity (either total or type specific) that works with your model.
Object current = ownerobject(c); Object item = param(1); Variant value = item.Type; double processTime = 0; if (value == 1) { processTime = 10; } if (value == 2) { processTime = 20; } if (value == 3) { processTime = 30; } if (value == 4) { processTime = 40; } if (value == 5) { processTime = 50; } if(storageLevel[item.Type] > 0.85) { processTime /= 0.9; } return processTime;
14 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