Modelica.Clocked.RealSignals.TickBasedSources

Package of signal source blocks generating clocked ticked/sample based Real signals

Information

This package provides source components akin to the blocks provided in Modelica.Blocks.Sources, but with the difference that they provide

  1. a clocked output signal and
  2. are parametrized in terms of clock ticks rather than simulation time.

Extends from Modelica.Icons.SourcesPackage (Icon for packages containing sources).

Package Content

Name Description
Modelica.Clocked.RealSignals.TickBasedSources.Step Step Generate step signal of type Real based on counted clock ticks
Modelica.Clocked.RealSignals.TickBasedSources.Ramp Ramp Generate ramp signal based on counted clock ticks
Modelica.Clocked.RealSignals.TickBasedSources.Sine Sine Generate sine signal

Modelica.Clocked.RealSignals.TickBasedSources.Step Modelica.Clocked.RealSignals.TickBasedSources.Step

Generate step signal of type Real based on counted clock ticks

Information

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

TickBasedSources_Step.png

Extends from Interfaces.PartialClockedSO (Block with clocked single output Real signal).

Parameters

NameDescription
heightHeight of step
offsetOffset of output signal y
startTickOutput y = offset for clock tick < startTick

Connectors

NameDescription
yConnector of clocked, Real output signal

Modelica.Clocked.RealSignals.TickBasedSources.Ramp Modelica.Clocked.RealSignals.TickBasedSources.Ramp

Generate ramp signal based on counted clock ticks

Information

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

TickBasedSources_Ramp.png

Extends from Interfaces.PartialClockedSO (Block with clocked single output Real signal).

Parameters

NameDescription
heightHeight of ramps
durationTicksDurations of ramp in number of clock ticks
offsetOffset of output signal
startTickOutput y = offset for clock tick < startTick

Connectors

NameDescription
yConnector of clocked, Real output signal

Modelica.Clocked.RealSignals.TickBasedSources.Sine Modelica.Clocked.RealSignals.TickBasedSources.Sine

Generate sine signal

Information

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

TickBasedSources_Sine.png

Extends from Interfaces.PartialClockedSO (Block with clocked single output Real signal).

Parameters

NameDescription
amplitudeAmplitude of sine wave
offsetOffset of output signal
periodTicksNumber of clock ticks for one period
periodOffsetNumber of periods the sine signal is offset
startTickOutput = offset for clock tick < startTick

Connectors

NameDescription
yConnector of clocked, Real output signal
Automatically generated Thu Oct 1 16:07:37 2020.