Can not solve DAE! Problems with good initial values

Hello guys!
I am unexperienced in Matlab and I am struggling a lot with solving my codes with DAE system. Most of the time the warning comes:
Warning: Matrix is singular, close to singular or badly scaled. Results may be inaccurate. RCOND = NaN.
> In ode15s (line 589)
In AKANmainmodell (line 22)
Warning: Failure at t=0.000000e+00. Unable to meet integration tolerances without reducing the step size below the smallest value allowed (7.905050e-323)
at time t.
> In ode15s (line 668)
In AKANmainmodell (line 22)
Elapsed time is 10.638367 seconds.
I think my initial values are wrong, since also sometimes I got received that error stating to choose better guess for initial value .
Here is a download link:

답변 (1개)

Manali Gupta
Manali Gupta 2020년 8월 25일

0 개 추천

Hi Akan,
Refer to the following link for solving DAEs using MATLAB.
You can also find the solution to the issue you are facing in the answer posted here

카테고리

도움말 센터File Exchange에서 General Applications에 대해 자세히 알아보기

태그

질문:

2019년 9월 16일

답변:

2020년 8월 25일

Community Treasure Hunt

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

Start Hunting!

Translated by