RealConstant block
Requirements.Sources.RealConstant
ยท source
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
| Name | Type | Description |
|---|---|---|
c parameter | Real | Fixed Real output value |
Components and variables
| Name | Type | Description |
|---|---|---|
y | Modelica.Blocks.Interfaces.RealOutput | Value of Real output |