BooleanConstant

Generate constant signal of type Boolean

Information

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

The Boolean output y is a constant signal:

BooleanConstant.png

Parameters (1)

k

Value: true

Type: Boolean

Description: Constant output value

Connectors (1)

y

Type: BooleanOutput

Description: Connector of Boolean output signal

Used in Examples (6)

ShowLogicalSources

Modelica.Blocks.Examples

Demonstrates the usage of logical sources together with their diagram animation

Sample2

Modelica.Clocked.Examples.Elementary.BooleanSignals

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

AssignClock

Modelica.Clocked.Examples.Elementary.BooleanSignals

Example of an AssignClock block for Boolean signals

AssignClockVectorized

Modelica.Clocked.Examples.Elementary.BooleanSignals

Example of an AssignClockVectorized block for Boolean signals

TankWithEmptyingPipe1

Modelica.Fluid.Examples.AST_BatchPlant.Test

Demonstrates a tank with one constant top inlet mass flow rate and a bottom outlet into the ambient

TanksWithEmptyingPipe2

Modelica.Fluid.Examples.AST_BatchPlant.Test

Demonstrates a tank with one constant top inlet mass flow rate and a bottom outlet into the ambient

Used in Components (2)

PartialLogicalClock

Modelica.Clocked.ClockSignals.Clocks.Logical

Logical clock combining arbitrary many input clock signals according to a replaceable logical combinator

EnableLogic

Modelica.Electrical.PowerConverters.Enable

Partial model providing enable parameter and optional enable input