I have reviewed existing answers and they are not working for me. I would like a source to generate 3 different label types at fixed percentages. Labels and percentages are: A = 47.5%, B= 5%, C= 47.5%. I am using 3D modeling (not process flow).
I have reviewed existing answers and they are not working for me. I would like a source to generate 3 different label types at fixed percentages. Labels and percentages are: A = 47.5%, B= 5%, C= 47.5%. I am using 3D modeling (not process flow).
It is a discrete empirical distribution.
int returnVal = dempirical(global table name, number random stream);You set a column of percentage values that sum up to 100. The second column row contain a discrete value that is returned in the probability of the percentage value.
I think I got this to work but instead of "number random stream" I used "getstream(current)" can you explain what theses terms mean and what their function is?
The code "getstream(current)" is simply reading a numerical value from the current object (a Processor, Queue, or something else) and then using that value to prime a random number stream. For more information on number generation, you can read through articles like this one, but it's mostly just important to know that in simulation software, the more randomness there is, the better. This reduces the chance of running your model with the same variables every time.
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