Hello,
The title says it all, I am trying to stop a certain item type to get created from the source at a certain time in the simulation.
Thank you.
Hello,
The title says it all, I am trying to stop a certain item type to get created from the source at a certain time in the simulation.
Thank you.
You can assign the type directly by a statistical discrete function or indirectly with the help of an array of allowed types.
directly value for label Type in source code
return duniform(1,3,getstream(current));
indirectly with an array
Array myTypes = [1,2,4]; return myTypes[duniform(1,myTypes.length,getstream(current)];
Depending on run time you exchange the array i.e. by a label value at the source.
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