WOLFRAM SYSTEM MODELER

Sample2

Example of a Sample block for Boolean signals with direct feed-through in the continuous-time and the clocked partition

Diagram

Wolfram Language

In[1]:=
SystemModel["Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample2"]
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.Sample.

Components (8)

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

step

Type: BooleanStep

Description: Generate step signal of type Boolean

hold1

Type: Hold

Description: Hold the clocked, Boolean input signal and provide it as continuous-time output signal (zero order hold)

sample2

Type: Sample

Description: Sample the continuous-time, Boolean input signal and provide it as clocked output signal (clock is inferred)

integerConstant

Type: BooleanConstant

Description: Generate constant signal of type Boolean

xor

Type: Xor

Description: Logical 'xor': y = u1 xor u2

xor1

Type: Xor

Description: Logical 'xor': y = u1 xor u2