WOLFRAM SYSTEM MODELER
SineGenerate sine signal |
|
SystemModel["Modelica_Synchronous.RealSignals.TimeBasedSources.Sine"]

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:

See model Modelica_Synchronous.Examples.Elementary.RealSignals.TimeBasedSine.
| amplitude |
Value: 1 Type: Real Description: Amplitude of sine wave |
|---|---|
| freqHz |
Value: Type: Frequency Description: Frequency of sine wave |
| phase |
Value: 0 Type: Angle Description: Phase of sine wave |
| offset |
Value: 0 Type: Real Description: Offset of output signal |
| startTime |
Value: 0 Type: Time Description: Output = offset for time < startTime |
| y |
Type: RealOutput Description: Connector of clocked, Real output signal |
|---|
|
Modelica_Synchronous.Examples.Elementary.RealSignals Example of using the clocked time based Sine source block |