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

TypeNameDefaultDescription
MathInteger.Sumsum
Sources.Sinesine
Math.RealToIntegerrealToInteger
Sources.IntegerStepintegerStep
Sources.IntegerConstantintegerConstant
Modelica.Blocks.Interaction.Show.IntegerValueshowValue
MathInteger.Productproduct
Modelica.Blocks.Interaction.Show.IntegerValueshowValue1
MathInteger.TriggeredAddtriggeredAdd
Sources.BooleanPulsebooleanPulse1
Modelica.Blocks.Interaction.Show.IntegerValueshowValue2
MathInteger.MultiSwitchmultiSwitch1
Sources.BooleanPulsebooleanPulse2
Modelica.Blocks.Interaction.Show.IntegerValueshowValue3