WOLFRAM SYSTEM MODELER

BackSample

Example of a BackSample block for Boolean signals

Diagram

Wolfram Language

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

Information

This information is part of the Modelica Standard Library maintained by the Modelica Association.

Elementary example for the documentation of block Modelica.Clocked.BooleanSignals.Sampler.BackSample.

Components (5)

sample1

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: Generate 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