blockBooleanConstant
Output y is a Boolean parameter
Extends from Modelica_Requirements.Interfaces.PartialConstant (Icon for Constant block).
Information
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
| Type | Name | Default | Description |
|---|---|---|---|
| Boolean | c | true | Fixed Boolean output value |
Connectors
| Type | Name | Default | Description |
|---|---|---|---|
| Modelica.Blocks.Interfaces.BooleanOutput | y |