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 个)

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 的更多信息

标签

Community Treasure Hunt

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

Start Hunting!

Translated by