Electrical Reference
R2026bConnection to electrical ground
Libraries:
Simscape /
Foundation Library /
Electrical /
Electrical Elements
Simscape /
Electrical /
Connectors & References
Description
The Electrical Reference block represents an electrical ground. Electrical conserving ports of all the blocks that are directly connected to ground must be connected to an Electrical Reference block. A model with electrical elements must contain at least one Electrical Reference block. For more information, see Grounding Rules.
Examples
Ports
Conserving
Programmatic Use: Add Block
To add the block programmatically, use the add_block function with one of these library block paths as the source.
"fl_lib/Electrical/Electrical Elements/Electrical Reference"
"ee_lib/Connectors & References/Electrical Reference"
Example: add_block("fl_lib/Electrical/Electrical Elements/Electrical Reference","myModel/myBlock",MakeNameUnique="on")
For information about programmatic access to individual block parameters, see the Programmatic Use section of parameter descriptions on this page.
Extended Capabilities
Version History
Introduced in R2007a

