MATLAB Answers

Using lsqcurvefit to estimate parameters, while solving daes using ode15i

Dursman Mchabe 님이 질문을 제출함. 12 Jan 2019
최근 활동 Dursman Mchabe 님이 편집함. 12 Jan 2019
Hi all,
I am trying to estimate 13 parameters using lsqcurvefit, while using ode15i to solve 4 daes. The attached script gives an error message:
Error using decic (line 108)
Convergence failure in DECIC.
Error in ODE15iMethod>fitodes (line 39)
[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 ODE15iMethod (line 23)
cfit = lsqcurvefit(@fitodes,c0,t,y,lb,ub,options);
Caused by:
Failure in initial objective function evaluation. LSQCURVEFIT cannot continue.
What can I try?

  댓글 수: 0

로그인 to comment.

태그

답변 수: 0


Translated by