BooleanConstant block

Requirements.Sources.BooleanConstant  ยท source

Icon of BooleanConstant

Output y is a Boolean parameter

Extends Requirements.Interfaces.PartialConstant

Output y is the Boolean constant c defined in the parameter menu.

Alternatively component BooleanExpression could be used to define a constant. The advantage of BooleanConstant is that a literal value given as parameter can still be changed after model translation which is not the case for a literal value defined with BooleanExpression.

Parameters

NameTypeDescription
c parameterBooleanFixed Boolean output value

Components and variables

NameTypeDescription
yModelica.Blocks.Interfaces.BooleanOutputValue of Boolean output