HOW TO MAKE ODE14X RUN WITHOUT ERRORS?
Mostra commenti meno recenti
Derivative input 24 of 'final3opamp/N-Channel MOSFET1' at time 3.0E-7 is Inf or NaN. Stopping simulation. There may be a singularity in the solution. If not, try reducing the step size (either by reducing the fixed step size or by tightening the error tolerances).
this is the error I get. I need a discret time solver in order to get the fft of some signals in my system. i use local solver(trapezoidal and backward) but it does nt produce quite good results- it is far too digital-many pulse-like oscillations ocure.
So I only need to run the fixed step ODE14X. any ideas?
here is a similar previous post http://www.mathworks.com/matlabcentral/answers/52196-residual-norm-and-unconverged-equation-error
thank you for helping.
Risposte (2)
Guy Rouleau
il 8 Mar 2013
0 voti
Very likely this is because the dynamics in your model is too fast to be captured by the solver step size. You know... the Nyquist criteria.
This article should help moving from variable to fixed step:
ahmed
il 17 Apr 2013
0 voti
Mr. Rouleau;
The PDF link was useful....thank you
But, still there is no direct solution to adapt the solver...! or even the system...!
My model is a Hybrid vehicle, including DC motor and Generic engine working together via PSD...the problem arises between the engine and the solver...any idea?
1 Commento
Categorie
Scopri di più su Simscape Electrical in Centro assistenza e File Exchange
Prodotti
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!