How can I resolve the Convergence failure in DECIC?

2 visualizaciones (últimos 30 días)
Dursman Mchabe
Dursman Mchabe el 7 de En. de 2019
Hi everyone,
I am trying to use ode15i to solve a system DAEs on the attached code. There seems to be a problem with my decic line. I get the error message:
Error using decic (line 108)
Convergence failure in DECIC.
Error in DAEExersize>fitodes (line 35)
[x0,xp0] = decic(@ReneeMchabeWaterDAE,0,x0,[1 1 0 0],xp0,[],options);
Error in lsqcurvefit (line 213)
initVals.F = feval(funfcn_x_xdata{3},xCurrent,XDATA,varargin{:});
Error in DAEExersize (line 22)
cfit = lsqcurvefit(@fitodes,c0,t,y,lb,ub,options);
Caused by:
Failure in initial objective function evaluation. LSQCURVEFIT cannot continue.
I have tried to change the values of x0, but I did not win. What can I try?
Regards
Dursman

Respuestas (0)

Categorías

Más información sobre Ordinary Differential Equations en Help Center y File Exchange.

Etiquetas

Community Treasure Hunt

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

Start Hunting!

Translated by