Some combinations of Simulink subsystems make dynamic simulations extremely slow

3 views (last 30 days)
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.

Answers (0)

Categories

Find more on General Applications in Help Center and File Exchange

Products


Release

R2017b

Community Treasure Hunt

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

Start Hunting!