Filter löschen
Filter löschen

Error using decic to estimate consistent initial conditions

7 Ansichten (letzte 30 Tage)
Siddharth A
Siddharth A am 8 Jan. 2021
Hey guys,
Have been encountering the following error while using decic:
Error using decic>sls (line 129)
Try freeing 8 fixed components.
Error in decic (line 78)
[dy,dyp] = sls(res,dfdy,dfdyp,neq,free_y,free_yp);
Error in DDP_Jan2 (line 122)
[y0,yp0] = decic(@massbal,z0,y0,[1 1 1 1 1 1 1 1],yp0,[])
I ain't understanding which components to free and on freeing it says index might be greater than one. But isLowIndexDAE shows mine is an index 1 system. Please find attached my code and kindly suggest corrections.

Antworten (0)

Kategorien

Mehr zu Numerical Integration and Differential Equations finden Sie in Help Center und File Exchange

Tags

Community Treasure Hunt

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

Start Hunting!

Translated by