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):
Generated at 2024-11-22T19:25:38Z
by OpenModelicaOpenModelica 1.24.2 using GenerateDoc.mos