Abstract
This paper studies program implementation problem of pseudo-random number generators in OpenModelica. We give an overview of generators of pseudo-random uniform distributed numbers. They are used as a basis for construction of generators of normal and Poisson distributions. The last step is the creation of Wiener and Poisson stochastic processes generators. We also describe the algorithm to call external C-functions from programs written in Modelica. This allows us to use random number generators implemented in the C language.
Access this chapter
Tax calculation will be finalised at checkout
Purchases are for personal use only
References
Jmodelica.org. http://www.jmodelica.org/
LAPACKLinear Algebra PACKage. http://www.netlib.org/lapack/
LMS Imagine.Lab Amesim. http://www.plm.automation.siemens.com/en_us/products/lms/imagine-lab/amesim/index.shtml
MapleSim - High Performance Physical Modeling and Simulation - Technical Computing Software. http://www.maplesoft.com/products/maplesim/index.aspx
Modelica and the Modelica Association Official Site. https://www.modelica.org/
Multi-Engineering Modeling and Simulation - Dymola - CATIA. http://www.3ds.com/products-services/catia/products/dymola
OpenModelica Official Site. https://www.openmodelica.org/
SciLab Official Site. http://www.scilab.org/
SuiteSparse: A Suite of Sparse Matrix Software. http://faculty.cse.tamu.edu/davis/suitesparse.html
Wolfram SystemModeler. http://www.wolfram.com/system-modeler/index.html
Using GNU Fortran (2015). https://gcc.gnu.org/onlinedocs/
Python 3.5.1 Documentation, March 2016. https://docs.python.org/3/
Ahrens, J.H., Dieter, U.: Computer methods for sampling from gamma, beta, poisson and bionomial distributions. Computing 12(3), 223–246 (1974)
Ahrens, J.H., Dieter, U.: Computer generation of poisson deviates from modified normal distributions. ACM Trans. Math. Softw. 8(2), 163–179 (1982)
Bell, J.R.: Algorithm 334: normal random deviates. Commun. ACM 11(7), 498 (1968)
Box, G.E.P., Muller, M.E.: A note on the generation of random normal deviates. Ann. Math. Stat. 29(2), 610–611 (1958)
Brown, R.G., Eddelbuettel, D., Bauer, D.: Dieharder: A Random Number Test Suite (2013). http://www.phy.duke.edu/~rgb/General/rand_rate.php
Collier, A.M., Hindmarsh, A.C., Serban, R., Dward, C.S.W.: User Documentation for KINSOL v2.8.2 (2015). http://computation.llnl.gov/sites/default/files/public/kin_guide.pdf
Devroye, L.: Non-Uniform Random Variate Generation. Springer-Verlag, New York (1986)
Galassi, M., Gough, B., Jungman, G., Theiler, J., Davies, J., Booth, M., Rossi, F.: The GNU Scientific Library Reference Manual (2015). https://www.gnu.org/software/gsl/manual/gsl-ref.pdf
Klckner, A., van der Linden, F.L.J., Zimmer, D.: Noise generation for continuous system simulation. In: Proceedings of the 10th International Modelica Conference, Lund, Sweden, pp. 837–846 (2014)
Kloeden, P.E., Platen, E.: Numerical Solution of Stochastic Differential Equations, 2nd edn. Springer, Heidelberg (1995)
Knop, R.: Remark on algorithm 334 [g5]: normal random deviates. Commun. ACM 12(5), 281 (1969)
Knuth, D.E.: The Art of Computer Programming, Volume 2 (3rd Ed.): Seminumerical Algorithms, vol. 2. Addison-Wesley Longman Publishing Co. Inc., Boston (1997)
L’Ecuyer, P.: Combined multiple recursive random number generators. Oper. Res. 44(5), 816–822 (1996)
L’Ecuyer, P.: Tables of linear congruential generators of different sizes and good lattice structure. Math. Comput. 68(225), 249–260 (1999)
L’Ecuyer, P., Blouin, F., Couture, R.: A search for good multiple recursive random number generators. ACM Trans. Modeling Comput. Simul. (TOMACS) 3(2), 87–98 (1993)
L’Ecuyer, P., Simard, R.: Testu01: AC library for empirical testing of random number generators. ACM Trans. Mathe. Softw. (TOMS) 33(4), 22 (2007)
Marsaglia, G.: Xorshift RNGs. J. Stat. Softw. 8(1), 1–6 (2003)
Matsumoto, M., Nishimura, T.: Mersenne twister: A 623-dimensionally equidistributed uniform pseudo-random number generator. ACM Trans. Model. Comput. Simul. 8(1), 3–30 (1998)
Nishida, A., Fujii, A., Oyanagi, Y.: Lis: Library of Iterative Solvers for Linear Systems. http://www.phy.duke.edu/~rgb/General/rand_rate.php
Øksendal, B.: Stochastic Differential Equations: An Introduction with Applications, 6th edn. Springer, Heidelberg (2003)
Panneton, F., L’Ecuyer, P.: On the xorshift random number generators. ACM Trans. Model. Comput. Simul. 15(4), 346–361 (2005)
Platen, E., Bruti-Liberati, N.: Numerical Solution of Stochastic Differential Equations with Jumps in Finance. Springer, Heidelberg (2010)
Rose, G.: Kiss: A Bit Too Simple (2011). https://eprint.iacr.org/2011/007.pdf
Acknowledgments
The work is partially supported by RFBR grants No’s 14-01-00628, 15-07-08795, and 16-07-00556. Also the publication was supported by the Ministry of Education and Science of the Russian Federation (the Agreement No. 02.a03.21.0008).
Author information
Authors and Affiliations
Corresponding author
Editor information
Editors and Affiliations
Rights and permissions
Copyright information
© 2016 Springer International Publishing AG
About this paper
Cite this paper
Gevorkyan, M. et al. (2016). The Stochastic Processes Generation in OpenModelica. In: Vishnevskiy, V., Samouylov, K., Kozyrev, D. (eds) Distributed Computer and Communication Networks. DCCN 2016. Communications in Computer and Information Science, vol 678. Springer, Cham. https://doi.org/10.1007/978-3-319-51917-3_46
Download citation
DOI: https://doi.org/10.1007/978-3-319-51917-3_46
Published:
Publisher Name: Springer, Cham
Print ISBN: 978-3-319-51916-6
Online ISBN: 978-3-319-51917-3
eBook Packages: Computer ScienceComputer Science (R0)