Simulation Running too slow
Mostra commenti meno recenti
I am trying to do a simple power system simulation. I just need to view the rms value of current. But since, the simulation is running very slow at steps of 1e-8 seconds, I am only getting instantaneous value. How to just solve the circuit for steady state condition? Here is a picture https://lh4.googleusercontent.com/-tBjv-eZlM2I/Tk1auvIklLI/AAAAAAAAA80/YeXeE8z1q0A/s800/too_slow.JPG
2 Commenti
Fangjun Jiang
il 18 Ago 2011
Any particular reason using such a small step size? What is the frequency of the signal that you are simulating?
Rajendra
il 19 Ago 2011
Risposte (1)
Fangjun Jiang
il 19 Ago 2011
0 voti
I don't have that Toolbox. I remember reading some posts here that the simulation step is variable step. I think you can go to menu Simulation->Configuration Parameters ...Solver to set up the maximum step size. Step size of 1e-8 seems to small. 1e-3 sounds more reasonable.
2 Commenti
Rajendra
il 19 Ago 2011
Fangjun Jiang
il 19 Ago 2011
Okay. There might be some dynamics that require small step size. To find out, you can choose fixed step size and then try-and-error a few times, form 1e-4 to 1e-5, 1e-6, etc.
Categorie
Scopri di più su Programming in Centro assistenza e File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!