When modelling real world systems, sources of randomness or uncertainty are often needed to properly describe how a system functions. This randomness needs to be repeatable, in order to properly develop and test models. Sysdea provides a set of seeded random number functions which solve this use case.
The seed is a combination of the model seed (initialised to the models unique identifier) and the element seed (initialised to its internal identifier, in future will be configurable also). The model seed should be reasonably long, to provide a decent initial pool of entropy.
Returns a number in the range min <= n < max.
Returns numbers on the normal or gaussian distribution, with mean and standard deviation as given.
Returns numbers from the Students T-Distribution.
Returns numbers from the Exponential Distribution.
Returns numbers from the Pareto Distribution.
Runs a Bernoulli Trial with given probability. Returns
1 with probability
Returns an integer
min <= n <= max.
Returns numbers from the Poisson Distribution. Good for simulating arrival rates with expected
mean arrivals per time period.
Returns numbers from the Binomial Distribution for given
rand_poisson_binomial(...pv): takes any number of arguments, as a list of probabilities
Returns numbers from the Poisson-Binomial Distribution with given probabilities.