modelSignalBasedNoise
Demonstrates the a simple case of signal based noise
Extends from Modelica.Icons.Example (Icon for runnable examples).
Information
This example demonstrates a simple use of the signal based noise block:
- The input to block signalBasedNoise is the path parameter of a circle: The path parameter s starts at s=0 and continuously increases until it arrives at s=2*pi*r at the same point again (default: r=1). The simulation scenario is defined so that the path parameter increases with time until it reaches s=2*pi*r at every second and then the path parameter is reset to s=0.
- The signalBasedNoise block defines a noise band of -0.05 .. 0.05. This could be interpreted as the height of a rough circle surface. A sample period of 0.5 in the input (so in the path parameter) is used. This means that along the circle 2*pi*r / 0.5 + 1 random values are drawn.
The result of a simulation is show in the next diagram. It can be clearly seen that the noise repeats after every second (when the path parameter is reset to s=0):
Parameters
| Type | Name | Default | Description |
|---|---|---|---|
| Modelica.Units.SI.Radius | r | 1 | Radius of circle |
| Real | pi | Modelica.Constants.pi | Constant pi |
Components
| Type | Name | Default | Description |
|---|---|---|---|
| Modelica.Blocks.Noise.GlobalSeed | globalSeed | ||
| AdvancedNoise.Sources.SignalBasedNoise | signalBasedNoise | ||
| Modelica.Blocks.Sources.RealExpression | pathParameter |
Revisions
|
Copyright © DLR Institute of System Dynamics and Control Initial version implemented by A. Klöckner, F. v.d. Linden, D. Zimmer, M. Otter. DLR Institute of System Dynamics and Control |