WOLFRAM SYSTEM MODELER

Sine

Generate sine signal

Wolfram Language

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

Information

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:

Example

See model Modelica_Synchronous.Examples.Elementary.RealSignals.TimeBasedSine.

Parameters (5)

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

Connectors (1)

y

Type: RealOutput

Description: Connector of clocked, Real output signal

Used in Components (1)

TimeBasedSine

Modelica_Synchronous.Examples.Elementary.RealSignals

Example of using the clocked time based Sine source block