Electrical Label
Purpose
Connect electrical potentials by name
Library
Electrical / Connectivity
Description
The Electrical Label block provides an electrical connection between other Electrical Label blocks with identical tag names within the same scope.
The parameter dialog of the Electrical Label block provides a list of links to the corresponding blocks, i.e. all other Electrical Label blocks with a matching tag name and scope. Note that the list is not updated until you click the Apply button after changing the tag name or scope.
To quickly change the tag names of all matching Electrical Label blocks, choose Rename all matching tags… from the context menu.
Parameters
- Tag name
The tag name is used to find other matching Electrical Label blocks to connect to.
- Scope
The scope specifies the search depth for the matching Electrical Label blocks. Using the value Global the complete PLECS circuit is searched. When set to Schematic only the schematic containing the Electrical Label block is searched. The setting Masked Subsystem causes a lookup within the hierarchy of the masked subsystem in which the block is contained. If the block is not contained in a masked subsystem, a global lookup is done.
- Action if there is no matching counterpart
An Electrical Label block that does not have any matching block typically indicates a modeling error. This parameter lets you specify whether PLECS should report an error or a warning or ignore this condition when a simulation is started.