The Stochastic Processes Generation in OpenModelica

04/01/2017
by   M. N. Gevorkyan, et al.
0

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.

READ FULL TEXT

page 1

page 2

page 3

page 4

research
01/27/2021

Entropy of Mersenne-Twisters

The Mersenne-Twister is one of the most popular generators of uniform ps...
research
04/19/2020

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...
research
11/03/2018

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

In today's world, several applications demand numbers which appear rando...
research
12/15/2019

Pseudo Random Number Generation: a Reinforcement Learning approach

Pseudo-Random Numbers Generators (PRNGs) are algorithms produced to gene...
research
05/23/2021

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

Applying chaos theory for secure digital communications is promising and...
research
01/26/2023

On simulation of continuous determinantal point processes

We review how to simulate continuous determinantal point processes (DPPs...
research
02/26/2020

Romu: Fast Nonlinear Pseudo-Random Number Generators Providing High Quality

We introduce the Romu family of pseudo-random number generators (PRNGs) ...

Please sign up or login with your details

Forgot password? Click here to reset