WOLFRAM SYSTEM MODELER

IntegerNetwork1

Demonstrates the usage of blocks from Modelica.Blocks.MathInteger

Diagram

Wolfram Language

In[1]:=
SystemModel["Modelica.Blocks.Examples.IntegerNetwork1"]
Out[1]:=

Information

This information is part of the Modelica Standard Library maintained by the Modelica Association.

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 (14)

sum

Type: Sum

Description: Sum of Integers: y = k[1]*u[1] + k[2]*u[2] + ... + k[n]*u[n]

sine

Type: Sine

Description: Generate sine signal

realToInteger

Type: RealToInteger

Description: Convert Real to Integer signal

integerStep

Type: IntegerStep

Description: Generate step signal of type Integer

integerConstant

Type: IntegerConstant

Description: Generate constant signal of type Integer

showValue

Type: IntegerValue

Description: Show Integer value from numberPort or from number input field in diagram layer dynamically

product

Type: Product

Description: Product of Integer: y = u[1]*u[2]* ... *u[n]

showValue1

Type: IntegerValue

Description: Show Integer value from numberPort or from number input field in diagram layer dynamically

triggeredAdd

Type: TriggeredAdd

Description: Add input to previous value of output, if rising edge of trigger port

booleanPulse1

Type: BooleanPulse

Description: Generate pulse signal of type Boolean

showValue2

Type: IntegerValue

Description: Show Integer value from numberPort or from number input field in diagram layer dynamically

multiSwitch1

Type: MultiSwitch

Description: Set Integer expression that is associated with the first active input signal

booleanPulse2

Type: BooleanPulse

Description: Generate pulse signal of type Boolean

showValue3

Type: IntegerValue

Description: Show Integer value from numberPort or from number input field in diagram layer dynamically