ShowLogicalSourcesDemonstrates the usage of logical sources together with their diagram animation |
This information is part of the Modelica Standard Library maintained by the Modelica Association.
This simple example demonstrates the logical sources in Modelica.Blocks.Sources and demonstrate their diagram animation (see "small circle" close to the output connector). The "booleanExpression" source shows how a logical expression can be defined in its parameter menu referring to variables available on this level of the model.
table |
Type: BooleanTable |
|
---|---|---|
const |
Type: BooleanConstant |
|
step |
Type: BooleanStep |
|
pulse |
Type: BooleanPulse |
|
sample |
Type: SampleTrigger |
|
booleanExpression |
Type: BooleanExpression |