modelShowLogicalSources

Demonstrates the usage of logical sources together with their diagram animation

Extends from Modelica.Icons.Example (Icon for runnable examples).

Information

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

TypeNameDefaultDescription
Sources.BooleanTabletable
Sources.BooleanConstantconst
Sources.BooleanStepstep
Sources.BooleanPulsepulse
Sources.SampleTriggersample
Sources.BooleanExpressionbooleanExpression