Matlab Simulink Simulation very slow

Join the discussion
Registration is free. Ask a follow-up in this thread, or start your own.
1 reply · 7K views
I_am_learning
Messages
681
Reaction score
16
I tried to solve a simple transmision line circuit using MATLAB simpower system
too_slow.JPG

In this image, Ac source is 132 kv. I want to read rms value at the load.
But unfortunately, the simulation is running very slow, and it is taking forever to even comple the one ac cycle.

Any help please.
 
Physics news on Phys.org
in command-line MATLAB, you can use profiler. Not sure if it works for simulink but you may give it at try. At command line:

>> profile on

(now run your program for a couple minutes, then cancel it and:)

>> profile off
>> profiel viewer