modelIntegerNetwork1
Demonstrates the usage of blocks from Modelica.Blocks.MathInteger
Extends from Modelica.Icons.Example (Icon for runnable examples).
Information
This example demonstrates a network of Integer blocks. from package Modelica.Blocks.MathInteger. Note, that
- at the right side of the model, several MathInteger.ShowValue blocks are present, that visualize the actual value of the respective Integer signal in a diagram animation.
- the Boolean values of the input and output signals are visualized in the diagram animation, by the small "circles" close to the connectors. If a "circle" is "white", the signal is false. If a "circle" is "green", the signal is true.
Components
| Type | Name | Default | Description |
|---|---|---|---|
| MathInteger.Sum | sum | ||
| Sources.Sine | sine | ||
| Math.RealToInteger | realToInteger | ||
| Sources.IntegerStep | integerStep | ||
| Sources.IntegerConstant | integerConstant | ||
| Modelica.Blocks.Interaction.Show.IntegerValue | showValue | ||
| MathInteger.Product | product | ||
| Modelica.Blocks.Interaction.Show.IntegerValue | showValue1 | ||
| MathInteger.TriggeredAdd | triggeredAdd | ||
| Sources.BooleanPulse | booleanPulse1 | ||
| Modelica.Blocks.Interaction.Show.IntegerValue | showValue2 | ||
| MathInteger.MultiSwitch | multiSwitch1 | ||
| Sources.BooleanPulse | booleanPulse2 | ||
| Modelica.Blocks.Interaction.Show.IntegerValue | showValue3 |