IntegerConstant block

Requirements.Sources.IntegerConstant  ยท source

Icon of IntegerConstant

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

NameTypeDescription
c parameterIntegerFixed Integer output value

Components and variables

NameTypeDescription
yModelica.Blocks.Interfaces.IntegerOutputValue of Integer output