필터 지우기
필터 지우기

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

조회 수: 3 (최근 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
Edo
Edo 2015년 9월 18일
My question would be: what is the expected life span of the 2nd generation. Will it be further developed or is it dead and only the 3rd generation is actively developed. I found this thread because of this question.
Sebastian Castro
Sebastian Castro 2015년 9월 18일
편집: 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개)

카테고리

Help CenterFile Exchange에서 Electrical Sensors에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by