blockSine
Generate sine signal
Extends from Interfaces.PartialClockedSO (Block with clocked single output Real signal).
Information
The block is similar to the block in Modelica.Blocks.Sources.Sine, but adapted to work in clocked partitions (by internal sampling of the continuous time variable).
The Real output y is a sine signal:

Example
See model Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedSine.
Parameters
| Type | Name | Default | Description |
|---|---|---|---|
| Real | amplitude | 1 | Amplitude of sine wave |
| SI.Frequency | f | Frequency of sine wave | |
| SI.Angle | phase | 0 | Phase of sine wave |
| Real | offset | 0 | Offset of output signal |
| SI.Time | startTime | 0 | Output = offset for time < startTime |
Connectors
| Type | Name | Default | Description |
|---|---|---|---|
| Modelica.Blocks.Interfaces.RealOutput | y (from PartialClockedSO) | Connector of clocked, Real output signal |