How to deal with very small and very large parameter values while solving DAE?
1 回表示 (過去 30 日間)
古いコメントを表示
I have to solve a system of differential algebraic equations wherein some of the parameter values are very large (e.g. of the order of 10^5 to 10^10) and some other parameter values are very small (e.g. order of 10^-4 to 10^-6). I use ode15s, but the code breaks saying:
Warning: Failure at t=1.000000e-03. Unable to meet integration tolerances without reducing the step size below the smallest value allowed
(3.552714e-18) at time t.
How do I resolve this?
9 件のコメント
Torsten
2018 年 10 月 26 日
When you generate the vector of time derivatives, just omit the semicolon at the end of the line.
回答 (0 件)
参考
カテゴリ
Help Center および File Exchange で Ordinary Differential Equations についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!