WOLFRAM SYSTEM MODELER

BackSample

Example of a BackSample block for Boolean signals

Diagram

Wolfram Language

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

Information

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

Components (5)

sample

Type: SampleClocked

Description: Sample the continuous-time, Boolean 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 Boolean input signal by a fraction of the last interval and and provide it as clocked output signal

backSample1

Type: BackSample

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

table

Type: BooleanTable

Description: Generate a Boolean output signal based on a vector of time instants