Simscape Electrical Foundation Library vs Simscape Specialized Power Systems for High Frequency Power Electronics

14 views (last 30 days)
I note that a similar question was asked four years ago, but I am interested in any recent developments and some further clarification. There was a further comment on the original question in November of this year so it continues to attract some interest.
It was noted in a reply from Mathworks that the "[ST] library is older than the SC counterpart but is more mature for electrical only applications." Later, it was also stated that, "Everything is application specific and each of the two products have their strengths and weaknesses relative to each other depending on the use case."
However, the reply focusses mainly on the advantages of the SC library for modelling across different domains. None of the disadvantages are really listed, but I assume there are some important ones given that Mathworks continue to support the ST library.
What are the disadvantages of the SC library for electrical only simulation? For simulation of only the electrical part of high-frequency, switch mode converters, which would be receommended and why?
It was also noted that "Both ST and SC product families are under active development at MathWorks."
Will both continue to be supported as of 2022/23? Is it anticipated that the SC library will eventually completely replace the ST library, or is there a fundamental technical difference between the two?
  1 Comment
Joel Van Sickel
Joel Van Sickel on 27 Dec 2022
are you interested in using simplified switch models in your simulations (piecewise linear) or using more detailed non-linear transistor models (SPICE level type simulation)?

Sign in to comment.

Accepted Answer

Joel Van Sickel
Joel Van Sickel on 11 Jan 2023
Both technologies will continue to be supported and both are under active development. The main difference is that ST uses Simulink based libraries and solves ODE's only, (technically there are specific DAE's it can solve for specific models, but getting into that is far beyond what I can cover in a forum answer.) SC can solve DAE's and ODE's, which opens up a larger set of systems that can be simulated accurately (this is one reason why SC has a larger library of models than ST) The trade off is that large systems (think distribution networks) will simulate faster if they are only ODE's instead of a combination of ODE's and DAE's. But realistically, it is never that simple because there are systems where adding a DAE can speed up simulation by allowing for larger time steps, so please note that these recomendations are very very generic.
The clear deliniation between the two is that if you are modelling detailed non-linear electronics, like detailed models of transistors, where rise and fall dynamics, gate capacitance, etc. matter, you want to use SC as ST cannot simulate this level of detail. If you are modelling large distribution/transmission type systems, then ST is likely the appropriate choice. A lot of the applications in the middle are covered well by both technologies. We often tell customers to keep using ST if they already are, but if they are just starting and new to both technologies, and both will work equally well, we will recommend SC for the larger library and higher flexibility as it using SC will make the models more versatile.
Joel Van Sickel
Joel Van Sickel on 16 Feb 2023
in general, use any of the blue components for that application. This will include all folders under simscape electrical EXCEPT fro the specialized power systems blocks. You can also use any of the blocks from the foundation library under electrical

Sign in to comment.

More Answers (0)


Find more on Variable Initialization in Help Center and File Exchange

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by