Sources package
Requirements.Sources
ยท source
Library of signal source blocks generating Real, Integer, Boolean and Property signals
Extends Modelica.Icons.Package
Signal sources for the four signal types of the library: Real, Integer, Boolean and Property.
- Constants: RealConstant,
IntegerConstant,
BooleanConstant and
PropertyConstant output a parameter
c, which can be changed after translation; the icon shows its value. - Expressions: RealExpression,
IntegerExpression and
BooleanExpression output an expression
entered as the modifier of
y, typically a variable of the model under test; the icon shows the expression. - Tables: PropertyTable outputs a piecewise constant Property signal from a [time, value] table.
- Files: PartialSignalsFromFile is the base of a reader of a measured or recorded trace in MA-HS-CSV format, whose columns become the outputs of the extending block.
The sources connect a model's signals, or test signals, to the check blocks of the library; see the examples in Examples.Elementary.
Contents
| Name | Kind | Description | |
|---|---|---|---|
| RealConstant | block | Output y is a Real parameter | |
| IntegerConstant | block | Output y is an Integer parameter | |
| BooleanConstant | block | Output y is a Boolean parameter | |
| PropertyConstant | block | Output y is a Property parameter | |
| RealExpression | block | Output y is a (time-varying) Real expression | |
| IntegerExpression | block | Output y is a (time-varying) Integer expression | |
| BooleanExpression | block | Output y is a (time-varying) Boolean expression | |
| PropertyTable | block | Output y is a Property signal computed by constant interpolation in a table matrix with [time, property] values | |
| PartialSignalsFromFile | partial block | Base of a reader of a MA-HS-CSV file: the extending block names the columns and declares one output per column |