Solve Differential Algebraic Equations (DAEs)

12 visualizaciones (últimos 30 días)
Till
Till el 6 de Mzo. de 2020
Respondida: Divya Yerraguntla el 16 de Mzo. de 2020
Hey
I have a problem whit solving DAE. I created them symbolically and followed the steps on:
https://ch.mathworks.com/help/symbolic/solve-differential-algebraic-equations.html
Although the function isLowIndexDAE(eqns,vars) returned 1 the ode15i solver gives an error message:
Error using daeic12 (line 76)
This DAE appears to be of index greater than 1.
Error in ode15s (line 310)
[y,yp,f0,dfdy,nFE,nPD,Jfac] =
daeic12(odeFcn,odeArgs,t,ICtype,Mt,y,yp0,f0,...
Error in symbolic_sim (line 158)
[tSol,ySol] = ode15s(daeFunctionNumericFF,[0
0.2],y0,opt);
Can somebody help me? The code is attached.
Regards

Respuestas (1)

Divya Yerraguntla
Divya Yerraguntla el 16 de Mzo. de 2020

Categorías

Más información sobre Ordinary Differential Equations en Help Center y File Exchange.

Community Treasure Hunt

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

Start Hunting!

Translated by