model random command


model random i

Set the seed for the random-number generator. By default i = 10,000. The value specified should be of the same magnitude as the default value. If the model.random keyword is given after a model new command, identical models can be generated for multiple runs. The seed is not reset by the model new command.

The value of the random-number seed is emitted into the record, so the record can be used to exactly recreate the original model (see the i State Record pane description).