Magnetic Port

Purpose

Add magnetic connector to subsystem

Library

Magnetic / Connectivity

Description

../../_images/magneticport.svg

Magnetic ports are used to establish magnetic connections between a schematic and the subschematic of a Subsystem. If you copy a Magnetic 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 by unselecting the show name option in the block menu, 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.

Magnetic Ports in a Top-Level Schematic

In PLECS Blockset, if a Magnetic Port is placed in a top-level schematic, the PLECS Circuit block in the Simulink model will show a corresponding magnetic terminal, which may be connected with other magnetic terminals of the same or a different PLECS Circuit block. The Magnetic 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 magnetic terminal of the PLECS Circuit block.

For compatibility reasons you can also place an Magnetic 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 magnetic path. The default auto means that the width is inherited from connected components.

Port number

If a Magnetic 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 a Magnetic 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.