blockSine
Generate sine signal
Extends from Interfaces.PartialClockedSO (Block with clocked single output Real signal).
Information
The Real output y is a sine signal. The signal is defined in terms of clock ticks instead of simulation time:
Parameters
| Type | Name | Default | Description |
|---|---|---|---|
| Real | amplitude | 1 | Amplitude of sine wave |
| Real | offset | 0 | Offset of output signal |
| Integer | periodTicks | 10 | Number of clock ticks for one period |
| Integer | periodOffset | 0 | Number of periods the sine signal is offset |
| Integer | startTick | 1 | Output = offset for clock tick < startTick |
Connectors
| Type | Name | Default | Description |
|---|---|---|---|
| Modelica.Blocks.Interfaces.RealOutput | y (from PartialClockedSO) | Connector of clocked, Real output signal |