How could I use several POWERGUIs in a SimPowerSystem?
1 次查看(过去 30 天)
显示 更早的评论
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,
0 个评论
采纳的回答
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 个评论
更多回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Composite Components 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!