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

27 vues (au cours des 30 derniers jours)
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?

Réponse acceptée

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

Plus de réponses (0)

Catégories

En savoir plus sur Simulink dans Help Center et File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by