blockUniformNoise
Noise generator with uniform distribution
Extends from Modelica_Noise.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 UniformNoise block generates reproducible, random noise at its output according to a uniform distribution.
This means that random values are uniformly distributed within the range defined by parameters
y_min and y_max (see example NoiseExamples.UniformNoiseProperties).
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
| Type | Name | Default | Description |
| Modelica.SIunits.Period | samplePeriod (from PartialNoise) | | Period for sampling the raw random numbers |
| Real | y_min | | Lower limit of y |
| Real | y_max | | Upper limit of y |
| Advanced › Noise generation |
| Boolean | enableNoise (from PartialNoise) | true | =true: y = noise, otherwise y = y_off |
| Real | y_off (from PartialNoise) | 0.0 | Output y = y_off if enableNoise=false (or time<startTime, see below) |
| Advanced › Initialization |
| Boolean | useGlobalSeed (from PartialNoise) | true | = true: use global seed, otherwise ignore it |
| Boolean | useAutomaticLocalSeed (from PartialNoise) | true | = true: use automatic local seed, otherwise use fixedLocalSeed |
| Integer | fixedLocalSeed (from PartialNoise) | 1 | Local seed (any Integer number) |
| Modelica.SIunits.Time | startTime (from PartialNoise) | 0.0 | Start time for sampling the raw random numbers |
Revisions
| Date | Description |
| June 22, 2015 |
|