WOLFRAM SYSTEM MODELER

ImpureGenerator

Demonstrates the usage of the impure random number generator

Diagram

Wolfram Language

In[1]:=
SystemModel["Modelica.Blocks.Examples.Noise.ImpureGenerator"]
Out[1]:=

Information

This information is part of the Modelica Standard Library maintained by the Modelica Association.

This example demonstrates how to use the impureRandom(..) function to generate random values at event instants. Typically, this approach is only used when implementing an own, specialized block that needs a random number generator. Simulation results are shown in the next figure:

Outputs (1)

impureRandom_y

Default Value: impureRandom.y

Type: Real

Components (2)

globalSeed

Type: GlobalSeed

Description: Defines global settings for the blocks of sublibrary Noise, especially a global seed value is defined

impureRandom

Type: ImpureRandom

Description: Block generating random numbers with the impure random number generator

Revisions

Date Description
June 22, 2015
DLR logo Initial version implemented by A. Klöckner, F. v.d. Linden, D. Zimmer, M. Otter.
DLR Institute of System Dynamics and Control