Randomseed

randomseed - Set the random number generator seed

Synopsis
host% gridlabd -D randomseed=0 host% gridlabd --define randomseed=0
 * 1) set [[randomseed]=0

Description
Both random number generators uses a pseudo-random number generator that must be seeded with an initial value that determines the sequence of number generated. Setting the randomseed to a non-zero value will control this process such that it is deterministic on any given platform.

Note that when random_number_generator global variable is set to RNG2 random number seed will exhibit different behavior on different platforms and are not guaranteed to be deterministic when using multiple threads. RNG3 does not exhibit these problems.