blockIntegerConstant
Output y is an Integer parameter
Extends from Modelica_Requirements.Interfaces.PartialConstant (Icon for Constant block).
Information
Output y is the Integer constant c defined in the parameter menu.
Alternatively component IntegerExpression could be used to define a constant. The advantage of IntegerConstant 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 IntegerExpression.
Parameters
| Type | Name | Default | Description |
|---|---|---|---|
| Integer | c | 0 | Fixed Integer output value |
Connectors
| Type | Name | Default | Description |
|---|---|---|---|
| Modelica.Blocks.Interfaces.IntegerOutput | y | Value of Integer output |