SineInput

Generate sine wave as input signal

Diagram

Information

This information is part of the Business Simulation Library (BSL). Please support this work and ► donate.

The Real output y is a sine signal → Modelica.Blocks.Sources.Sine.

Notes

A cosine input signal can be simply achieved by using a SineInput with a phase of 90°.

See also

ConstantInput, StepInput, RampInput, PulseInput

Parameters (5)

offset

Value: 0

Type: OutputType

Description: Offset of output signal y

startTime

Value: 0

Type: Time (s)

Description: Output y = offset for time < startTime

amplitude

Value: 1

Type: OutputType

Description: Amplitude of sine wave (with regard to offset)

period

Value: 1

Type: Time (s)

Description: Period of sine wave

phase

Value: 0

Type: Angle (rad)

Description: Phase of sine wave

Connectors (1)

y

Type: RealOutput

Description: Output signal

Components (1)

sine

Type: Sine

Description: Generate sine signal

Revisions

  • Class adapted to be compliant with MSL 4.0.0 in v2.2.