Main Content

SimscapeElectricalBlock Libraries

Simscape™ Electrical™software includes twelve different top-level libraries. These libraries allow you to model mechatronic systems, analog circuit architectures, and single- and multi-phase electrical power systems. You can also develop control algorithms for these systems within the Simulink®environment by using these libraries. All of these libraries, exceptSpecialized Power Systems, contain blocks developed specifically for extending the Simscape Foundation domains and are fully compatible with the Simscape technology. Blocks in theSpecialized Power Systemslibrary function in their own domain.

Libraries Compatible withSimscapeTechnology

AllSimscape Electricallibraries, exceptSpecialized Power Systems, contain blocks specifically developed to:

  • Extend the Simscape Electrical domain, a single-phase electrical domain.

  • Extend the Simscape Three-Phase Electrical domain, a three-phase electrical domain.

These library blocks are written in the Simscape language and are fully compatible with the Simscape technology, including local solvers, data logging, statistics and variable viewers, frequency analysis, and component and library customizations. To configureSimscape Electricalmodels composed of these library blocks for local-solver simulation, use theSolver Configurationblock. Many of the blocks in these libraries also work with other Simscape Foundation domains, such as the Mechanical, Magnetic, and Thermal domains. When working with the Simscape technology compatible library blocks, you can use these capabilities:

  • Partitioning Solver

  • Simscape HDL Workflow Advisor

  • Simscape Results Explorer

These libraries include models of high-fidelity, nonlinear, faultable, electrothermal power electronics. You can use these components to develop mechatronic systems and to build behavioral models for evaluating analog circuit architectures. The libraries also include low-fidelity models that are switched linear and optimized for fast simulation. There are also some models that contain optional ports for thermal analysis.

You can create single-line three-phase diagrams by using the three-phase blocks because the Three-Phase Electrical domain supports signals that contain all three phases as individual elements in a single vector. You can also model each phase individually, for example, to inject a single-line-to-ground fault into your circuit, by expanding the three-phase ports on these blocks into three separate single-phase electrical ports.

The Control library contains Simulink blocks for signal generation, mathematical transformation, and machine control. You can use these components to develop control systems for single- and multi-phase electrical power systems.

Through conserving ports of the same domain, you can directly connect the blocks from theseSimscape Electricallibraries to Simscape blocks from:

  • Simscape Foundation libraries

  • Simscape add-on products, such asSimscape Driveline™,Simscape Multibody™, andSimscape Fluids™

Through physical signal ports, you can connect the physical blocks from theseSimscape Electricallibraries to:

  • Simulink blocks, including blocks from the Control library, by using converter blocks from the Simscape Utilities library

  • Blocks from the Physical Signals library, which is in the Simscape Foundation library.

Specialized Power SystemsLibrary

TheSimscape ElectricalSpecialized Power Systemslibrary contains blocks that use their own,specialized电气领域。该库包含的模型typical power equipment such as transformers, electric machines and drives, and power electronics. It also contains control, measurement, and signal generation models that you can use for developing power system control algorithms. TheSpecialized Power SystemsFundamental Blocks library contains thepowerguiblock, which provides tools for the steady-state analysis of electrical circuits. To configureSpecialized Power Systemsmodels for continuous-time, discrete-time, or phasor simulation, and to analyze simulation results, use thepowerguiblock. Thepowerguiblock is in theSpecialized Power SystemsFundamental Blocks library.

You can connectSpecialized Power Systemsblocks to Simulink blocks either:

  • 直接通过Simulink signal input and output ports.

  • Through measurement blocks from the Measurements sublibrary of the Fundamental Blocks library.

Access theSimscapeElectricalBlock Libraries

You can access theSimscape Electricallibraries from the Simulink Library Browser or from the MATLAB®command prompt.

To display theElectricallibrary in the Simulink Library Browser, scroll to theSimscapenode. Expand theSimscapenode and then theElectricalnode. Alternately, at the MATLAB command prompt, enter this command.

ee_lib

To access the sublibraries in the twelve top-levelSimscape Electricallibraries, further expand the nodes. Alternately, use theopen_systemcommand at the MATLAB command prompt. For example, to access the sublibraries in theConnectors & Referenceslibrary, enter the commands:

ee_lib; open_system('ee_lib/Connectors & References')
Baidu
map