How to use more CPU in Simulink for a Power System simulation?

38 views (last 30 days)
I have created a big power system. Essentially is a power grid, with transformers, loads, solar, generator, switches, capacitors, but it takes a lot of time to run. After 24 hours it only reached 1%. So I try to find a way to use more processing power to run the simulation faster. Anyone who has done something like this before? Or a tip/guide on what to do to achieve that?

Accepted Answer

Adit Kirtani
Adit Kirtani on 5 Jul 2023
Hi,
The CPU usage during simulation of a Simulink model is primarily determined by the complexity and computational requirements of the model itself. Generally, the CPU usage gets bottlenecked by complexities in the model or by hardware limitations. For example, if Simulink is waiting for values from the RAM or a slow hard disk, then your processor is left on idle.
The best way for you to improve performance would be to optimize your model. Try to simplify complex subsystems, remove unnecessary blocks, and reduce the overall computational load.
I hope this helps,
Adit Kirtani.

More Answers (0)

Community Treasure Hunt

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

Start Hunting!