WOLFRAM SYSTEM MODELER

Cosine

Generate cosine signal

Wolfram Language

In[1]:=
SystemModel["Modelica.Blocks.Sources.Cosine"]
Out[1]:=

Information

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

The Real output y is a cosine signal:

Cosine.png

Parameters (6)

amplitude

Value: 1

Type: Real

Description: Amplitude of cosine wave

f

Type: Frequency (Hz)

Description: Frequency of cosine wave

phase

Value: 0

Type: Angle (rad)

Description: Phase of cosine wave

continuous

Value: false

Type: Boolean

Description: Make output continuous by starting at offset + amplitude*cos(phase)

offset

Value: 0

Type: Real

Description: Offset of output signal y

startTime

Value: 0

Type: Time (s)

Description: Output y = offset for time < startTime

Connectors (1)

y

Type: RealOutput

Description: Connector of Real output signal

Used in Examples (3)

DemonstrateSignalExtrema

Modelica.Blocks.Examples

Test detection of signal extrema

LogicalSample

Modelica.Clocked.Examples.Elementary.ClockSignals

Simple example of conjunctive and disjunctive logical clocks, combining clock signals to derive new event driven clocks.

ThreePhaseTwoLevel_PWM

Modelica.Electrical.PowerConverters.Examples.DCAC.PolyphaseTwoLevel

Test of pulse width modulation methods

Used in Components (1)

Harmonic

Modelica.Blocks.Math

Calculate harmonic over period 1/f