WOLFRAM SYSTEM MODELER

BackSample

Example of a BackSample block for Integer signals

Diagram

Wolfram Language

In[1]:=
SystemModel["Modelica_Synchronous.Examples.Elementary.IntegerSignals.BackSample"]
Out[1]:=

Information

Elementary example for the documentation of block Modelica_Synchronous.IntegerSignals.Sampler.BackSample.

Components (5)

sample

Type: SampleClocked

Description: Sample the continuous-time, Integer input signal and provide it as clocked output signal. The clock is provided as input signal

periodicClock

Type: PeriodicExactClock

Description: Generates a periodic clock signal with a period defined by an Integer number with resolution

shiftSample1

Type: ShiftSample

Description: Shift the clocked Integer input signal by a fraction of the last interval and and provide it as clocked output signal

backSample1

Type: BackSample

Description: Shift clock of Integer input signal backwards in time (and access the most recent value of the input at this new clock)

table

Type: IntegerTable

Description: Generate an Integer output signal based on a table matrix with [time, yi] values