DAE system - How to enter the algebraic formulas?

Hi Guys,
Can anyone explain me how should I translate a DAE system in order for ode15 to solve it?
ie I have a collection of equations (differential and algebraic) sth like the below:
(1): a*b*(dT/dt)=c(t)-b-d*(T^4)
(2): h=a*T+b
I have seen that the 'ode15' solver is suitable for such tasks but I can't understand how should I enter the algebraic formulas in it. I understand that for the differential equation I must bring it in the form dX/dt = F(X,t,t0) to look like an ODE but what about my algebraic ones?
-Note that I have seen the APM monitor package which works with open equation format (no formulation needed) but I need to be more flexible in my program (with several if's and lots of thermodynamic properties tables).
Any tip is welcome. Warm Regards,
Chris

Answers (0)

This question is closed.

Tags

Asked:

on 30 Mar 2014

Closed:

on 20 Aug 2021

Community Treasure Hunt

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

Start Hunting!