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

26 visualizaciones (últimos 30 días)
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?

Respuesta aceptada

Adit Kirtani
Adit Kirtani el 5 de Jul. de 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.

Más respuestas (0)

Categorías

Más información sobre Simulink en Help Center y File Exchange.

Community Treasure Hunt

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

Start Hunting!

Translated by