Clear Filters
Clear Filters

Error using decic to estimate consistent initial conditions

7 views (last 30 days)
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.

Answers (0)

Categories

Find more on Numerical Integration and Differential Equations in Help Center and File Exchange

Tags

Community Treasure Hunt

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

Start Hunting!