What is the most suitable solver for SimScape simulations?

1 view (last 30 days)
Hello,
I am using Matlab-Simulink 2016b along with its SimScape library to simulate a toten-pole configuration, I have also a LR tank acting as LPF.
Suddenly, I am running into tolerance error while the simulation, ¨...If not, try reducing the step size (either by reducing the fixed step size or by tightening the error tolerances)¨
Thus I was wondering what solver would be the best/more suitable for SimScape library.
Thanks in advance!
regards!

Answers (2)

Swarooph
Swarooph on 7 Nov 2016
If you have not already, take a look at this documentation that talks about 'Making Optimal Solver Choices for Physical Simulation' here.

Javier
Javier on 8 Nov 2016
Hi Swarooph,
Thanks for the reply, I have read the link, I have tried different options as there is suggested and none of them seem to help me out to solve the problem, I get warnings like this
The simulation has ignored searching for zero-crossing events at time 2.3189297280484734E-6 for (1) zero crossing signals. These signals are being ignored either because their values are smaller than the zero crossing tolerance, or because they caused multiple consecutive zero crossings. This indicates your system is in Zeno, or has strong chattering.
Block path : test/Class D Half Bridge/N-Channel (mos)
Block type : C:\Program Files\MATLAB\R2016b\toolbox\physmod\elec\elec\+elec\+semiconductors\mosfet.sscp
ZC location : C:\Program Files\MATLAB\R2016b\toolbox\physmod\elec\elec\+elec\+semiconductors\mosfet.sscp (location information is protected)
Which eventually make my simulation either to be extremely slow, or fail.
I am still looking for the good configuration for the solver without success...
Thanks!

Categories

Find more on Equations 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!