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

27 次查看(过去 30 天)
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?

采纳的回答

Adit Kirtani
Adit Kirtani 2023-7-5
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.

更多回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Simulink 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by