MATLAB: How to solve Differential Algebraic Equations with Simulink 8.0 (R2012b)

daedifferentialimplicitnonlinearodesimulink

I would like to solve index-1 differential algebraic equations in Simulink. How do I solve differential algebraic equations and what products do I need?

Best Answer

Differential algebraic equations can be solved using several products:
1. MATLAB: ODE15s and a Mass Matirx
2. Simulink: Use an algebraic loop
3. Simscape: Use a custom block in the Simscape language
The Simscape language can solve differential algebraic equations as explained in its documentation:
To convert algebraic and differential equations, please refer to the following:
For examples on solving a differential algebraic equation using the products above, please refer to the 'DAE_Examples.zip.' Please view the README.txt for an explanation of the files and use the 2012b release to open the models/files.