Connection Equations

In Modelica we use
connect equations to establish connections between components via connectors. The two arguments of a connect equation must be references to connectors, each of which either has to be declared directly within the same class where the connect equation occurs, or has to be a member of one of the declared variables in that class. The ResistorCircuit fulfills the locality constraint mentioned above.

1 Repetitive Connection Structures

You can use connect equations together with the for-equation construct described previously to establish repetitive connection structures consisting of a number of connections between connectors belonging to array elements. This is a quite important use of for-equations in combination with connect equations.

2 Simulation of Test