Step size error when simulating with SimPowerSystems
1 view (last 30 days)
Show older comments
I have a design and simulated it using Simulink. Its components belong to the SimPowerSystems blocks. When I am simulating it, I get an error and the simulation halts in the middle. The error message reads
unable to reduce step size without violating a step size of 7.3834....e-17 at 0.2034... s
I tried changing the relative tolerance in the configuration parameters, that did not work.
0 Comments
Accepted Answer
Sebastian
on 27 Jan 2011
The "Choosing an Integration Algorithm" section of the SimPowerSystems documentation contains some hints on which solver parameters to tweak, in particular if switches and Power Electronics devices are in the model: http://www.mathworks.com/access/helpdesk/help/toolbox/physmod/powersys/ug/f7-7663.html#f7-7664
1 Comment
Todd Flanagan
on 28 Jan 2011
Arvind says, "Thank you. I had to tweak a few parameters in the solver configuration parameters and make minor changes in my circuit component values and it worked. I also changed the solver to Ode23tb instead of Ode23t."
More Answers (0)
See Also
Categories
Find more on Electrical Sensors in Help Center and File Exchange
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!