je veux mettre un temps de processus qui varie aléatoirement entre deux valeurs minimale et maximale.je veux savoir si c'est possible sur FlexSim
je veux mettre un temps de processus qui varie aléatoirement entre deux valeurs minimale et maximale.je veux savoir si c'est possible sur FlexSim
What exactly is your question?
To get the minimum of two numbers you would enter: Math.min(double value1, double value2);
And to get the maximum of two numbers you would enter: Math.max(double value1, double value2);
Where value1 and value2 are numeric double values.
Or if you are looking for the min/max of two generated random numbers, you could use the uniform distribution, as @Allister Wilson suggested, by entering code like:
Math.min(uniform(1,10), uniform(1,20));
Math.max(uniform(1,10), uniform(2,15));
Is that what you are after?
Since there is no question here, I'll just guess you're looking for the uniform distribution : https://answers.flexsim.com/articles/19547/uniform-distributions-5.html
8 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