フィルターのクリア

Is there any systemic way of determining a better guess while solving DAEs using ODE15s?

1 回表示 (過去 30 日間)
Dursman Mchabe
Dursman Mchabe 2018 年 8 月 15 日
コメント済み: Star Strider 2018 年 8 月 16 日
When running the attached code (or code on the dropbox link):
https://www.dropbox.com/s/7sz6gli891k0u4l/simultaneousEquations1.m?dl=0
I get the error message:
"Error using daeic12 (line 166) Need a better guess y0 for consistent initial conditions.
Error in ode15s (line 310) [y,yp,f0,dfdy,nFE,nPD,Jfac] = daeic12(odeFcn,odeArgs,t,ICtype,Mt,y,yp0,f0,...
Error in simultaneousEquations1 (line 79) [t,y] = ode15s(@(ti,yi)revisedModelode(ti,yi),tspan,y0,options);
>> "
Is there any systemic way of determining a better guess?
  6 件のコメント
Dursman Mchabe
Dursman Mchabe 2018 年 8 月 16 日
Thanks a lot Torsten. That simplifies my work a lot.
Star Strider
Star Strider 2018 年 8 月 16 日
Torsten is the acknowledged expert on the differential equation solvers amongst the MATLAB Answers Contributors.

サインインしてコメントする。

回答 (1 件)

Haritha
Haritha 2018 年 8 月 16 日
Try this,
https://in.mathworks.com/help/matlab/math/choose-an-ode-solver.html

カテゴリ

Help Center および File ExchangeOrdinary Differential Equations についてさらに検索

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by