Some combinations of Simulink subsystems make dynamic simulations extremely slow
4 次查看(过去 30 天)
显示 更早的评论
I have a model of standard IEEE 123 bus system, and I also have Mathwork’s model of the same system that can be found here
And I have the following models (subsystems):
- PV model based on the model from “power_V2G”
- WT model based on the model from “power_wind_ig”
- EV and ESS models: relatively simple models based on controlled current source.
If I connect PV and WT to either my or Mathwork’s IEEE standard system, the simulation works fine. If I connect just EV and ESS to my system, the simulation is still fast. But if I combine either EV or ESS with either PV or WT, in my system, the simulation becomes extremely slow. EV or ESS models can not work with Mathwork’s IEEE system, regardless of the presence of other models; it is just too slow.
What could be the cause and how to resolve it? I would like to be able to connect all the models to both standard systems and run simulations.
I am not sure if this is of any relevance, but I will mention that PV and WT are continuous state models, whereas everything else, including both IEEE 123 bus system models, is discrete.
I use solver profiler, and it seems that solver resets or zero crossings are not excessive. In fact, the report says that everything is fine, even though the simulation never ends.
0 个评论
回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 General Applications 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!