WOLFRAM SYSTEM MODELER

Sine

Generate sine signal

Wolfram Language

In[1]:=
SystemModel["Modelica.Clocked.RealSignals.TimeBasedSources.Sine"]
Out[1]:=

Information

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:

Sine.png

Example

See model Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedSine.

Parameters (5)

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

Connectors (1)

y

Type: RealOutput

Description: Connector of clocked, Real output signal

Used in Examples (1)

TimeBasedSine

Modelica.Clocked.Examples.Elementary.RealSignals

Example of using the clocked time based Sine source block