SineGenerate sine signal |
This information is part of the Modelica Standard Library maintained by the Modelica Association.
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.Clocked.Examples.Elementary.RealSignals.TimeBasedSine.
amplitude |
Value: 1 Type: Real Description: Amplitude of sine wave |
---|---|
f |
Value: Type: Frequency (Hz) Description: Frequency of sine wave |
phase |
Value: 0 Type: Angle (rad) Description: Phase of sine wave |
offset |
Value: 0 Type: Real Description: Offset of output signal |
startTime |
Value: 0 Type: Time (s) Description: Output = offset for time < startTime |
y |
Type: RealOutput Description: Connector of clocked, Real output signal |
---|
Modelica.Clocked.Examples.Elementary.RealSignals Example of using the clocked time based Sine source block |