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:

Respuestas (1)

Manali Gupta
Manali Gupta el 25 de Ag. de 2020
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

Categorías

Más información sobre General Applications en Centro de ayuda y File Exchange.

Etiquetas

Preguntada:

el 16 de Sept. de 2019

Respondida:

el 25 de Ag. de 2020

Community Treasure Hunt

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

Start Hunting!

Translated by