modelSignalBasedInterpolation
Demonstrates signal-based noise with different interpolations
Extends from Modelica.Icons.Example (Icon for runnable examples).
Information
This example demonstrates the SignalBasedNoise block by using various interpolation methods. The input to the blocks is a sine and the argument of the sine, as well as the sample periods of the blocks are selected in such a way that a sample instant hits the sine for every full period. Therefore, the noise is repeated after every full period of the sine. The result of a simulation is show in the next diagram, plotting the (noise) output of the blocks over the sine output:
Parameters
| Type | Name | Default | Description |
|---|---|---|---|
| Real | pi | Modelica.Constants.pi | Constant pi |
Components
| Type | Name | Default | Description |
|---|---|---|---|
| Modelica.Blocks.Noise.GlobalSeed | globalSeed | ||
| AdvancedNoise.Sources.SignalBasedNoise | constantNoise | ||
| AdvancedNoise.Sources.SignalBasedNoise | linearNoise | ||
| AdvancedNoise.Sources.SignalBasedNoise | smoothNoise | ||
| Modelica.Blocks.Sources.RealExpression | signal |
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 |