Port Connections

 

Port Connections are used to provide graphical access to signals defined within the Circuit canvas where the component instance resides.  They provide a means to either read signals from, or output signals to the external system each simulation time step.  These ports play an essential part in the construction of circuits in PSCAD, and are the graphical signal communication avenue between models.

Adding Port Connections

To add a Port Connection object to your component definition, the most straightforward method is to use the ribbon control bar Shapes tab:

 

 

Simply left-click the Port button on the ribbon bar, drag the connection to where you want it placed and left-click again.  Another method is to use the right-click menu:  Move the mouse pointer over a blank area of the Graphic window.  Right-click and select New Graphic | Connection.

 

 

  A port connection should appear attached to your mouse pointer.  With your mouse, move the node to the desired location within the Graphic window and left-click to place the object.

NOTE:  You may notice that port connections are always snapped to the Graphic canvas drawing grid.  This is to ensure that when other components are connected to yours, their respective connection points will overlap.

Changing Port Connection Properties

Port connection properties can be adjusted through the Port Connection dialog.  To change the connection properties:  Either left double-click or right-click over the connection and select Properties....

 

 

As shown above, connection features such as name and type can be adjusted.

Electrical Node Types

When the connection is selected as an electrical node, there are four electrical node types available to the user.  These are described below:

NOTE:  Only Fixed-type electrical ports are allowed in module component definitions.