I have 200 processors, and would like to change the processing time of each one. Is there a way to change the processing time of each processor using 'Custom Code' in process flow?
I have 200 processors, and would like to change the processing time of each one. Is there a way to change the processing time of each processor using 'Custom Code' in process flow?
You can change the Processing Time with code by using the Tree. If you right click on the processor you will see an option to see the Tree for that processor. The Specific node that controls the processor time will be found under variables as the "cycletime". By using the code "Model.find("Processor1>variables/cycletime").value = 20;" you can can change the Process Time in your custom code.
In my example below I used process flow to wait for an event such as process finish to then change the processing time. So it would depend on how/when you wanted to change the process time for where/when you implemented the custom code.
11 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