Electrical Port

Purpose

Add electrical connector to subsystem

Library

Electrical / Connectivity

Description

../../_images/port.svg

Electrical ports are used to establish electrical connections between a schematic and the subschematic of a Subsystem. If you copy an Electrical Port block into the schematic of a subsystem, a terminal will be created on the subsystem block. The name of the port block will appear as the terminal label. If you choose to hide the block name, the terminal label will also disappear.

A terminal can be moved around the edges of the subsystem by dragging it with the middle mouse button. Alternatively, use the left mouse button while holding the Shift key.

Electrical Ports in a Top-Level Schematic

In PLECS Blockset, if an Electrical Port is placed in a top-level schematic, the PLECS Circuit block in the Simulink model will show a corresponding electrical terminal, which may be connected with other electrical terminals of the same or a different PLECS Circuit block. The Electrical Port is also assigned a unique physical port number. Together with the parameter Location on circuit block the port number determines the position of the electrical terminal of the PLECS Circuit block.

For compatibility reasons you can also place an Electrical Port in a top-level schematic in PLECS Standalone. However, since there is no parent system to connect to, such a port will act like an isolated node.

Parameters

Width

The width of the connected wire. The default auto means that the width is inherited from connected components.

Port number

If an Electrical Port is placed in a top-level schematic in PLECS Blockset, this parameter determines the position, at which the corresponding terminal appears on the PLECS Circuit block.

Location on circuit block

If an Electrical Port is placed in a top-level schematic in PLECS Blockset, this parameter specifies the side of the PLECS Circuit block on which the corresponding terminal appears. By convention, left refers to the side on which also input terminals are shown, and right refers to the side on which also output terminals are shown.