WOLFRAM SYSTEM MODELER

Sine

Generate sine signal

Wolfram Language

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

Information

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

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 Components (1)

TickBasedSine

Modelica_Synchronous.Examples.Elementary.RealSignals

Example of using the clocked tick based Sine source block