blockSine
Generate sine signal
Extends from Modelica.Blocks.Interfaces.SISO (Single Input Single Output continuous control block).
Information
Parameters
| Type | Name | Default | Description |
|---|---|---|---|
| Real | amplitude | 1 | Amplitude of sine wave |
| Modelica.SIunits.Frequency | freqHz | 1 | Frequency of sine wave |
| Modelica.SIunits.Angle | phase | 0 | Phase of sine wave |
| Real | offset | 0 | Offset of output signal |
| Modelica.SIunits.Time | startTime | 0 | Output = offset for time < startTime |
Connectors
| Type | Name | Default | Description |
|---|---|---|---|
| RealInput | u (from SISO) | Connector of Real input signal | |
| RealOutput | y (from SISO) | Connector of Real output signal |
Components
| Type | Name | Default | Description |
|---|---|---|---|
| Real | pos |