Get Started with Simscape Electrical
Simscape™ Electrical™ (formerly SimPowerSystems™ and SimElectronics®) provides component libraries for modeling and simulating electronic, mechatronic, and electrical power systems. It includes models of semiconductors, motors, and components for applications such as electromechanical actuation, smart grids, and renewable energy systems. You can use these components to evaluate analog circuit architectures, develop mechatronic systems with electric drives, and analyze the generation, conversion, transmission, and consumption of electrical power at the grid level.
Simscape Electrical helps you develop control systems and test system-level performance. You can parameterize your models using MATLAB® variables and expressions, and design control systems for electrical systems in Simulink®. You can integrate mechanical, hydraulic, thermal, and other physical systems into your model using components from the Simscape family of products. To deploy models to other simulation environments, including hardware-in-the-loop (HIL) systems, Simscape Electrical supports C-code generation.
Simscape Electrical was developed in collaboration with Hydro-Québec of Montreal.
Tutorials
- Build and Simulate a Simple Circuit
Build a Simscape Electrical model and parameterize the blocks using datasheet values, run the model, and examine the results. - Build and Simulate a Simple DC Motor
Build a model of a DC motor, modify the parameters, run the model, and examine the results. - Build and Simulate Composite and Expanded Three-Phase Models
Model a three-phase AC voltage source driving a simple load using Simscape Electrical. - Build and Simulate a Simple Circuit Using Specialized Power Systems
Build a simple circuit using Simscape Electrical Specialized Power Systems blocks and connect it to other Simulink blocks. - Analyze a Simple Circuit
Use the Powergui block to analyze static and frequency-domain response. - Specify Initial Conditions
Specify initial conditions for state variables using the Simscape Electrical Specialized Power Systems powergui block.
Simscape Electronic, Mechatronic, and Power Systems
Specialized Power Systems
About Electrical Modeling and Simulation
- Simscape Electrical Block Libraries
Use the Simscape Electrical block libraries to model and analyze electronics, mechatronics, and electrical power systems.
- Modeling Analog Circuit Architectures, Mechatronic Systems, and Electrical Power Systems Using Simscape Electrical
Model mechatronic systems, analog circuit architectures, and single- and multi-phase electrical power systems that you can connect to networks in other Simscape domains.
- Per-Unit System of Units
Use the per-unit (pu) system to simplify electrical power system simulation calculations and analysis.
Featured Examples
Interactive Learning
Circuit Simulation Onramp
Free, self-paced, interactive Simscape
Electrical circuit simulation course
Power Electronics Simulation Onramp
Free, self-paced, interactive Simscape
Electrical power electronics simulation course
Power Systems Simulation Onramp
Free, self-paced, interactive Simscape
Electrical power systems simulation course
DC Circuit Analysis (MathWorks Teaching Resources)
MathWorks Courseware module that teaches DC circuit analysis using interactive
live scripts and Simscape models