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 Center および File ExchangeConverters (High Power) についてさらに検索

製品


リリース

R2018a

Community Treasure Hunt

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

Start Hunting!

Translated by