IntegerConstant block
Requirements.Sources.IntegerConstant
ยท source
Output y is an Integer parameter
Extends Requirements.Interfaces.PartialConstant
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
| Name | Type | Description |
|---|---|---|
c parameter | Integer | Fixed Integer output value |
Components and variables
| Name | Type | Description |
|---|---|---|
y | Modelica.Blocks.Interfaces.IntegerOutput | Value of Integer output |