BooleanConstant block
Requirements.Sources.BooleanConstant
ยท source
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
| Name | Type | Description |
|---|---|---|
c parameter | Boolean | Fixed Boolean output value |
Components and variables
| Name | Type | Description |
|---|---|---|
y | Modelica.Blocks.Interfaces.BooleanOutput | Value of Boolean output |