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

Logical

Library of components with Boolean input and output signals

Package Contents

And
Logical 'and': y = u1 and u2
Change
Output y is true, if the input u has a rising or falling edge (y = change(u))
Edge
Output y is true, if the input u has a rising edge (y = edge(u))
FallingEdge
Output y is true, if the input u has a falling edge (y = edge(not u))
Greater
Output y is true, if input u1 is greater as input u2
GreaterEqual
Output y is true, if input u1 is greater or equal as input u2
GreaterEqualThreshold
Output y is true, if input u is greater or equal than threshold
GreaterThreshold
Output y is true, if input u is greater than threshold
Hysteresis
Transform Real to Boolean signal with Hysteresis
Less
Output y is true, if input u1 is less as input u2
LessEqual
Output y is true, if input u1 is less or equal as input u2
LessEqualThreshold
Output y is true, if input u is less or equal than threshold
LessThreshold
Output y is true, if input u is less than threshold
LogicalSwitch
Logical Switch
Nand
Logical 'nand': y = not (u1 and u2)
Nor
Logical 'nor': y = not (u1 or u2)
Not
Logical 'not': y = not u
OnOffController
On-off controller
Or
Logical 'or': y = u1 or u2
Pre
Breaks algebraic loops by an infinitesimal small time delay (y = pre(u): event iteration continues until u = pre(u))
Switch
Switch between two Real signals
TerminateSimulation
Terminate simulation if condition is fullfilled
Timer
Timer measuring the time from the time instant where the Boolean input became true
TriggeredTrapezoid
Triggered trapezoid generator
Xor
Logical 'xor': y = u1 xor u2
ZeroCrossing
Trigger zero crossing of input u
Information