There is a setting available under the "Statistics" menu that allows you to either "Repeat Random Numbers" or not. If the menu setting is checked, then each of the streams will be initiated with their default seed value and therefore generate the same stream of random numbers every time the model is ran. If the "Repeat Random Numbers" menu option is not checked, then a different seed value will be used to initiate each of the streams every time the model runs and therefore the stream of random numbers will be different; thereby generating different samples from the distributions referencing the streams, and therefore generating different model results for every run. There is no need to bother with this menu setting when using the Experimenter to run a model. During an experiment, the setting is ignored, and each stream is initiated with a predefined seed value that is unique to both the stream and the replication being run during the experiment. By using predefined seed values for each of the streams based on the replication number, we are able to 1) better compare results for a specific replication number a cross various scenarios defined in an experiment, and 2) manually rerun a specific replication of a specific scenario to further investigate something of interest discovered for a particular run of the experiment. In FlexSim HC, you can specify a specific scenario and replication number to run of your model using the "Explore" tab of the "Simulation Experiment Control" window, and in standard FlexSim you need to "Choose a default reset scenario" on the "Scenarios" tab and specify a replication number in the "Repeat Streams of Replication" field on the "Advanced" tab.
@Cliff King, you mentioned: "There are an unlimited number of streams available within the software". Can you elaborate on the type of random number generator implemented in Flexsim (i.e MRG32, MT19937, WELL, etc.) and what is the period of the generator ?
Thanks
FlexSim uses a prime modulus multiplicative linear congruential generator.
@Cliff King. @Phil BoBo Thank you for this detailed explanation of the random stream. When we use a function without calling a specific stream, is the first stream simply called or is it random too ? Can we have repeatability by not explicitly defining a random stream ?
If you don't specify a stream, it uses stream 0. All distribution calls made without a specific stream specified will be using the same stream.
4 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