MATLAB Answers

SimPowerSystems: 2nd vs 3rd Generation in terms of speed

4 ビュー (過去 30 日間)
Ilya
Ilya 2015 年 3 月 27 日
編集済み: Sebastian Castro 2015 年 9 月 18 日
I can model an electrical power system with 2 types of blocks: Simscape and Specialised Technology (aka Second and Third Generation models). What way of modeling would give a better simulation speed for the same modeled system? The components that I need for my model are in the both versions of the library.
I'd like to know in advance what library is "faster", since the system to be modeled is not very small.
I know that there are many aspects of how to increase the simulation performance, so the question is only about fundamental difference of the two power system libraries in terms of speed.

採用された回答

Sebastian Castro
Sebastian Castro 2015 年 3 月 27 日
Depends on your model.
If you aren't using any power electronics blocks (inverters, transistors, etc.) and your frequencies are constant, you can take advantage of Phasor simulation mode in Specialized Technology. This will be much faster than discrete or continuous simulation modes.
Right now, the Simscape Components library only has continuous and discrete modes, which are configurable by enabling the "Use local solver" option in the Solver Configuration block.
If you do have power electronic devices, then you cannot use Phasor simulation. In this case, the simulation speed should be comparable between the two block libraries.
- Sebastian
  3 件のコメント
Sebastian Castro
Sebastian Castro 2015 年 9 月 18 日
The messaging has been that "2nd generation" isn't meant to replace "3rd generation" -- right now, they are just two parallel technologies that have different pros and cons.
This is why, in the following release (R2014a), MathWorks renamed these libraries to "Specialized Technology" and "Simscape Components", respectively.
If you plan on using Specialized Technology (or 2nd gen), you don't have to worry about deprecation any time soon.

サインインしてコメントする。

その他の回答 (0 件)

Community Treasure Hunt

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

Start Hunting!

Translated by