Step size error when simulating with SimPowerSystems

3 views (last 30 days)
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.
I am using ODE23t as my solver.

Accepted Answer

Sebastian
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
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."

Sign in to comment.

More Answers (0)

Categories

Find more on Composite Components in Help Center and File Exchange

Tags

No tags entered yet.

Community Treasure Hunt

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

Start Hunting!