blockSineInput

Generate sine wave as input signal

Extends from Interfaces.PartialConverters.InformationSource_SO (Generic Information Source).

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

TypeNameDefaultDescription
OutputTypeoffset0Offset of output signal y
TimestartTime0Output y = offset for time < startTime
OutputTypeamplitude1Amplitude of sine wave (with regard to offset)
Timeperiod1Period of sine wave
Anglephase0Phase of sine wave

Components

TypeNameDefaultDescription
RealOutputy (from SO)

Revisions

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