WOLFRAM SYSTEM MODELER

ShowLogicalSources

Demonstrates the usage of logical sources together with their diagram animation

Diagram

Wolfram Language

In[1]:=
SystemModel["Modelica.Blocks.Examples.ShowLogicalSources"]
Out[1]:=

Information

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

This simple example demonstrates the logical sources in Modelica.Blocks.Sources and demonstrate their diagram animation (see "small circle" close to the output connector). The "booleanExpression" source shows how a logical expression can be defined in its parameter menu referring to variables available on this level of the model.

Components (6)

table

Type: BooleanTable

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

const

Type: BooleanConstant

Description: Generate constant signal of type Boolean

step

Type: BooleanStep

Description: Generate step signal of type Boolean

pulse

Type: BooleanPulse

Description: Generate pulse signal of type Boolean

sample

Type: SampleTrigger

Description: Generate sample trigger signal

booleanExpression

Type: BooleanExpression

Description: Set output signal to a time varying Boolean expression