Create an Array of Connectors
This section describes how to create an array of connectors.
Select a connector from the Component Browser or from the diagram.
Select Edit Component Parameters from the Balloon contextual toolbar or from the Authoring toolbar. The Component Parameters Edition dialog box appears.
In the General tab, Component area Name box, enter a number between brackets to indicate the number of connectors you need for your array. For the purpose of this scenario, type 4.
Click OK to close the Component Parameters Edition dialog box. Your connector is now an array of 4 connectors.
Connect an Array of Connectors
This section describes how to connect an array of connectors to another connector.
Select a connector and then click Connection from the Balloon contextual toolbar or from the Authoring toolbar. A connection line appears and follows the cursor.
Select the connector with which you want to create a connection. The Create Modelica Connection dialog box is displayed. The dialog box has one window for each connector. The connect statement at the bottom of the dialog box shows which connectors will be used to form the connection.
Use the arrows in the connect statement to select the connectors which will be used to form the connection. In this example both connectors are arrays and a connection has been made between connector 2 of pin_p and connector 5 of pin_n.
When finished, click OK.
- The connection is created.
- The Create Modelica Connection dialog box closes.
|