blockIntegerConstant

Output y is an Integer parameter
Diagram of IntegerConstant

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

TypeNameDefaultDescription
Integerc0Fixed Integer output value

Connectors

TypeNameDefaultDescription
Modelica.Blocks.Interfaces.IntegerOutputyValue of Integer output