This example demonstrates, how the internal functions of the PRNG block can also be used in your own models: You need to instatiate the respective function with the neccessary redeclarations and then you can call the functions. Please not, that the sample-based RNGs also need handling of their states!


 my_continuous_randomThe state-less random number generator
 my_sampled_randomThe state-less random number generator


Developed 2014 at the DLR Institute of System Dynamics and Control

Generated at 2024-05-20T18:15:57Z by OpenModelicaOpenModelica 1.22.4 using GenerateDoc.mos