How can I resolve the Convergence failure in DECIC?

2 次查看(过去 30 天)
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

回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Ordinary Differential Equations 的更多信息

标签

Community Treasure Hunt

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

Start Hunting!

Translated by