WOLFRAM SYSTEM MODELER

UniformNoise

Demonstrates the most simple usage of the UniformNoise block

Diagram

Wolfram Language

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

Information

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

This example demonstrates the most simple usage of the Noise.UniformNoise block:

  • globalSeed is the Noise.GlobalSeed block with default options (just dragged from sublibrary Noise).
  • uniformNoise1 is an instance of Noise.UniformNoise with samplePeriod = 0.02 s and a Uniform distribution with limits y_min=-1, y_max=3.
  • uniformNoise2 is identical to uniformNoise1 with the exception that useAutomaticLocalSeed=false and fixedLocalSeed=10.

At every 0.02 seconds a time event occurs and a uniform random number in the band between -1 ... 3 is drawn. This random number is held constant until the next sample instant. The result of a simulation is shown in the next diagram:

Outputs (1)

uniformNoise2_y

Default Value: uniformNoise2.y

Type: Real

Components (3)

globalSeed

Type: GlobalSeed

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

uniformNoise1

Type: UniformNoise

Description: Noise generator with uniform distribution

uniformNoise2

Type: UniformNoise

Description: Noise generator with uniform distribution

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