Physics Builder Tools > Device Systems > Port Connections

Port Connections
The Port Connections () defines how devices connect to each other. There are two situations when you can use port connections.
The first is when you add the port connections to a Device Model or Device Model Feature. You use this to define connections between devices that belongs to the same device model. To add this subnode, right-click a Device Model or Device Model Feature node and choose Port Connections from the Devices submenu.
The second situation is when you add port connections to a Device. Then you typically want to define how the ports of that device connect to another device that belongs to another feature. Right-click a Device node and choose Port Connections from the context menu.
Port Connection
Port Connection Added to a Device Model or Device Model Feature
Fill in the table with the names of the ports that you wish to connect, where the names in the Connection, 1 column connects to the names in the Connection, 2 column. This is typically ports defined by the device models that a device refers to, so the name of the port is appended to the device name. For example, you type R.p to access port p of the device named R.
Port Connection Added to a Device
Fill the table with the port name in the Local connection column, and a virtual connection in the External connection column. The virtual connections defines a temporary name space that identifies the port names in the right column in any port connections that connects. So lets assume that you have a parameter for a feature called plus where you want the user to enter a node that port p connects to. Then you enter p in the right column, and par.plus in the right. If two features exist where the user entered the same value for the parameter plus, the port p of those device gets connected.