How could I use several POWERGUIs in a SimPowerSystem?

조회 수: 1 (최근 30일)
Tony Castillo
Tony Castillo 2019년 2월 1일
답변: Joel Van Sickel 2020년 9월 2일
Hi all,
My question is based on the need of speeding up my simulation, and I had noticed that some developers use various Powerguis in the Physical Modelling, my questions are:
1- How could I use several POWERGUIs in a SimPowerSystem?
and
2- What does it affect the performance in my SPS model?
Kind regards,

채택된 답변

Joel Van Sickel
Joel Van Sickel 2020년 9월 2일
Hello Tony,
you can use multiple power gui's if you split your model into seperate model references. This will enable for faster compiles, and if you take advantage of concurrent execution, can also speed up simulation: https://www.mathworks.com/help/simulink/ug/configure-your-model.html
The speed up is greater the closer in size the two SPS models are. If one is very small, and the other very large, you will see little speedup, but if both are large, you should see a speed increase. This approach is most often used when trying to meet real-time requirements. The models must only be connected by simulink wires in order to support connecting through a model reference. This will also require inserting filters or unit delays to break the loop. This decouples the model and slightly reduces the accuracy. If you split across an energy storage devices like dc-link capacitors, the system will decouple nicely in many cases. If you have to decouple across a part of the circuit that doesn't have some sort of filtering, the different in simulation accuracy will be more noticeable unless you reduce your step size.
Regards,
Joel

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Converters (High Power)에 대해 자세히 알아보기

제품


릴리스

R2018a

Community Treasure Hunt

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

Start Hunting!

Translated by