RealConstant block

Requirements.Sources.RealConstant  ยท source

Icon of RealConstant

Output y is a Real parameter

Extends Requirements.Interfaces.PartialConstant

Output y is the Real constant c defined in the parameter menu.

Alternatively component RealExpression could be used to define a constant. The advantage of RealConstant 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 RealExpression.

Parameters

NameTypeDescription
c parameterRealFixed Real output value

Components and variables

NameTypeDescription
yModelica.Blocks.Interfaces.RealOutputValue of Real output