The Stochastic Processes Generation in OpenModelica

by   M. N. Gevorkyan, et al.

Background: Component-based modeling language Modelica (OpenModelica is open source implementation) is used for the numerical simulation of complex processes of different nature represented by ODE system. However, in OpenModelica standard library there is no routines for pseudo-random numbers generation, which makes it impossible to use for stochastic modeling processes. Purpose: The goal of this article is a brief overview of a number of algorithms for generation a sequence of uniformly distributed pseudo random numbers and quality assessment of the sequence given by them, as well as the ways to implement some of these algorithms in OpenModelica system. Methods: All the algorithms are implemented in C language, and the results of their work tested using open source package DieHarder. For those algorithms that do not use bit operations, we describe there realisation using OpwnModelica. The other algorithms can be called in OpenModelica as C functions Results: We have implemented and tested about nine algorithms. DieHarder testing revealed the highest quality pseudo-random number generators. Also we have reviewed libraries Noise and AdvancedNoise, who claim to be adding to the Modelica Standard Library. Conclusions: In OpenModelica system can be implemented generators of uniformly distributed pseudo-random numbers, which is the first step towards to make OpenModelica suitable for simulation of stochastic processes.



page 1

page 2

page 3

page 4


Entropy of Mersenne-Twisters

The Mersenne-Twister is one of the most popular generators of uniform ps...

A practical approach to testing random number generators in computer algebra systems

This paper has a practical aim. For a long time, implementations of pseu...

A Search for Good Pseudo-random Number Generators : Survey and Empirical Studies

In today's world, several applications demand numbers which appear rando...

From Chaos to Pseudo-Randomness: A Case Study on the 2D Coupled Map Lattice

Applying chaos theory for secure digital communications is promising and...

Pseudo Random Number Generation: a Reinforcement Learning approach

Pseudo-Random Numbers Generators (PRNGs) are algorithms produced to gene...

A library to compute the density of the distance between a point and a random variable uniformly distributed in some sets

In [3], algorithms to compute the density of the distance to a random va...

Random number generators produce ties: Why and how many

It seems surprising that when generating one million random numbers on m...
This week in AI

Get the week's most popular data science and artificial intelligence research sent straight to your inbox every Saturday.