WOLFRAM SYSTEM MODELER

Sine

Generate sine signal

Wolfram Language

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

Information

This information is part of the Modelica Standard Library maintained by the Modelica Association.

The Real output y is a sine signal. The signal is defined in terms of clock ticks instead of simulation time:

TickBasedSources_Sine.png

Parameters (5)

amplitude

Value: 1

Type: Real

Description: Amplitude of sine wave

offset

Value: 0

Type: Real

Description: Offset of output signal

periodTicks

Value: 10

Type: Integer

Description: Number of clock ticks for one period

periodOffset

Value: 0

Type: Integer

Description: Number of periods the sine signal is offset

startTick

Value: 1

Type: Integer

Description: Output = offset for clock tick < startTick

Connectors (1)

y

Type: RealOutput

Description: Connector of clocked, Real output signal

Used in Examples (1)

TickBasedSine

Modelica.Clocked.Examples.Elementary.RealSignals

Example of using the clocked tick based Sine source block