Main Content

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:

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:

See Also

Functions

Topics