blockNormalNoise

Noise generator with normal distribution

Extends from Modelica.Blocks.Interfaces.PartialNoise (Partial noise generator).

Information

A summary of the common properties of the noise blocks is provided in the documentation of package Blocks.Noise. This NormalNoise block generates reproducible, random noise at its output according to a normal distribution. This means that random values are normally distributed with expectation value mu and standard deviation sigma. (see example Examples.Noise.NormalNoiseProperties). By default, two or more instances produce different, uncorrelated noise at the same time instant. The block can only be used if on the same or a higher hierarchical level, model Blocks.Noise.GlobalSeed is dragged to provide global settings for all instances.

Parameters

TypeNameDefaultDescription
SI.PeriodsamplePeriod (from PartialNoise)Period for sampling the raw random numbers
IntegerlocalSeed (from PartialNoise)The actual localSeed
Realmu0Expectation (mean) value of the normal distribution
RealsigmaStandard deviation of the normal distribution
Advanced › Noise generation
BooleanenableNoise (from PartialNoise)globalSeed.enableNoise= true: y = noise, otherwise y = y_off
Realy_off (from PartialNoise)0.0Sets y = y_off if enableNoise=false (or time<startTime, see below)
Advanced › Initialization
BooleanuseGlobalSeed (from PartialNoise)true= true: use global seed, otherwise ignore it
BooleanuseAutomaticLocalSeed (from PartialNoise)true= true: use automatic local seed, otherwise use fixedLocalSeed
IntegerfixedLocalSeed (from PartialNoise)1Local seed (any Integer number)
SI.TimestartTime (from PartialNoise)0.0Start time for sampling the raw random numbers

Connectors

TypeNameDefaultDescription
RealOutputy (from SO)Connector of Real output signal

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