Upgrade Specialized Power System Models to use Simscape Electrical Blocks
Follow these guidelines to upgrade a model that uses blocks from the Specialized Power Systems library to a model that uses Simscape™ Electrical™ blocks.
Note
The Specialized Power Systems library will be removed in R2026a.
Simscape Electrical allows you to:
Model, simulate, and analyze power systems using Simscape technology.
Tune run-time parameters that you can change before or between simulations without recompiling your model.
Select enhanced solver options that provide performance at scale, for both linear and switched-linear systems and for both desktop and real-time simulation.
Optimize equation construction for increased numerical robustness.
Model three-phase systems using single-line representation for faster model construction and improved model layout.
Choose from various levels of model fidelity, including switched linear and nonlinear semiconductor switches.
Integrate with other tools, including Simulink® Control Design™, Simulink Real-Time™, and Simulink Fault Analyzer™ for non-intrusive fault modeling and systematic fault injection.
To upgrade your model, you can use the spsConversionAssistant function or manually update your model.
Use the spsConversionAssistant Function
Try to replace Specialized Power System blocks with Simscape
Electrical blocks by using the spsConversionAssistant function.
The function:
Tries to replace Specialized Power System blocks with equivalent or similar Simscape Electrical blocks while preserving the parameter values and connections between blocks.
Saves the converted model under a new name.
Generates an HTML report that lists the fully supported, partially supported, and unsupported blocks.
After the conversion finishes, review the HTML report, inspect the replaced blocks, and manually convert unsupported blocks to Simscape and Simscape Electrical blocks.
Manually Update the Model
Update your model manually by replacing the Specialized Power Systems blocks with the fundamental components and libraries in Simscape Electrical. This approach gives you full flexibility to design and customize your models to meet your specific requirements.
To learn how to build a simple model in Simscape Electrical, see Build and Simulate a Simple Circuit.
Learn more about Simscape Electrical from these courses:
Circuit Simulation Onramp — Use the physical network approach to simulate electrical filters and faulty power supplies.
Power Electronics Simulation Onramp — Model a buck converter at varying levels of model fidelity and compare their outputs and simulation speeds.
Power Systems Simulation Onramp — Simulate and measure three-phase circuits, and evaluate algorithms like droop control and maximum power point tracking (MPPT).
For more information about the fundamental components and libraries in Simscape Electrical and choosing the right block for representing your physical components, see these guides:
Choose Blocks to Model Electrical Systems — Use the block libraries to model and analyze electronics, mechatronics, and electrical power systems.
Choose Blocks to Model Power Electronic Converters — Select the right prebuilt converter block or discretes to model your converter topology at the level of fidelity you need to meet your simulation goals.
Choose Blocks to Model Semiconductor Devices — Determine the level of fidelity that you need, select the right block to model your semiconductor device at that level of fidelity, and parameterize the block.
Choose Blocks to Model Motors or Actuators — Determine the level of fidelity that you need and select a block that can model your type of motor or actuator at that level of fidelity.
Choose Blocks to Model Transformers — Select a block for your application with the correct component behavior as a function of frequency.