WOLFRAM SYSTEM MODELER

ImpureGenerator

Demonstrates the usage of the impure random number generator

Diagram

Wolfram Language

In[1]:=
SystemModel["Modelica.Blocks.Examples.NoiseExamples.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

impureRandom

Type: ImpureRandom

Revisions

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