WOLFRAM SYSTEMMODELER

BooleanExpression

Set output signal to a time varying Boolean expression

Wolfram Language

In[1]:=
SystemModel["Modelica.Blocks.Sources.BooleanExpression"]
Out[1]:=

Information

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

The (time varying) Boolean output signal of this block can be defined in its parameter menu via variable y. The purpose is to support the easy definition of Boolean expressions in a block diagram. For example, in the y-menu the definition "time >= 1 and time <= 2" can be given in order to define that the output signal is true in the time interval 1 ≤ time ≤ 2 and otherwise it is false. Note, that "time" is a built-in variable that is always accessible and represents the "model time" and that variable y is both a variable and a connector.

Connectors (1)

y

Type: BooleanOutput

Description: Value of Boolean output

Used in Examples (4)

ShowLogicalSources

Modelica.Blocks.Examples

Demonstrates the usage of logical sources together with their diagram animation

FirstExample_Variant3

Modelica.StateGraph.Examples

A variant of the first simple StateGraph example

ExecutionPaths

Modelica.StateGraph.Examples

Example to demonstrate parallel and alternative execution paths

ShowCompositeStep

Modelica.StateGraph.Examples

Example to demonstrate parallel activities described by a StateGraph

Used in Components (4)

Part

Modelica.Blocks.Examples.BusUsage_Utilities

Component with sub-control bus

TotalHarmonicDistortion

Modelica.Blocks.Math

Output the total harmonic distortion (THD)

TankController

Modelica.StateGraph.Examples.Utilities

Controller for tank system

IntersectivePWM

Modelica.Electrical.PowerConverters.DCAC.Control

Intersective PWM