Abstract
R contains several methods for the solution of initial value problems for DAEs, which are embedded in the R packages deSolve and deTestset. Four of these, based on RADAU5, MEBDF, block implicit or Adams methods, can solve DAEs of index up to three written in Hessenberg form. The fifth method, based on BDF, is very efficient for index 1 problems and can solve some higher index problems as well. We illustrate how to solve DAEs as they arise in the modelling of constrained mechanical systems, electrical circuits, and chemical (equilibrium) reactions.
Access this chapter
Tax calculation will be finalised at checkout
Purchases are for personal use only
Notes
- 1.
Note that in the R implementation of daspk, it is possible to scale the higher index variables as described in Sect. 4.2.5. Therefore, the R function daspk can also solve certain higher index problems.
- 2.
And to distinguish it from the test problem in [8] which is different.
- 3.
This differs from the original description.
References
Aris, R. (1965). Introduction to the analysis of chemical reactors. Englewood Cliffs: Prentice Hall.
Brenan, K. E., Campbell, S. L., & Petzold, L. R. (1996). Numerical Solution of Initial-Value Problems in Differential-Algebraic Equations. SIAM classics in applied mathematics. Philadelphia, PA: SIAM.
Brugnano, L., Magherini, C., & Mugnai, F. (2006). Blended implicit methods for the numerical solution of DAE problems. Journal of Computational and Applied Mathematics, 189(1–2), 34–50.
Cash, J. R., & Considine, S. (1992). An MEBDF code for stiff initial value problems. ACM Transactions on Mathematical Software, 18(2), 142–158.
Günther, M., Feldmann, U., & ter Maten, E. J. W. (2005). Modelling and discretization of circuit problems. In W. H. A. Schilders & E. J. W. ter Maten (Eds.), Numerical analysis in electromagnetics (pp. 523–659). Amsterdam: North-Holland/Elsevier.
Hairer, E., & Wanner, G. (1996). Solving ordinary differential equations II: Stiff and differential-algebraic problems. Heidelberg: Springer.
Iavernaro, F., & Mazzia, F. (1998). Solving ordinary differential equations by generalized Adams methods: properties and implementation techniques. Applied Numerical Mathematics, 28(2–4), 107–126. Eighth Conference on the Numerical Treatment of Differential Equations (Alexisbad, 1997).
Mazzia, F., & Magherini, C. (2008). Test set for initial value problem solvers, release 2.4 (Rep. 4/2008). Department of Mathematics, University of Bari, Italy.
Petzold L. R. (1983). A description of DASSL: A differential/algebraic system solver. IMACS Transactions on Scientific Computation, New Brunswick, NJ, pp. 65–68.
Rentrop, P., Roche, M., & Steinebach, G. (1989). The application of Rosenbrock-Wanner type methods with stepsize control in differential-algebraic equations. Numerische Mathematik, 55, 545–563.
Soetaert, K. (2011). rootSolve: Nonlinear root finding, equilibrium and steady-state analysis of ordinary differential equations. R package version 1.6.2.
Soetaert, K., Petzoldt, T., & Setzer, R. W. (2010). Solving differential equations in R: Package deSolve. Journal of Statistical Software, 33(9), 1–25.
Soetaert, K., Cash, J. R., & Mazzia, F. (2011). deTestSet: Testset for differential equations. R package version 1.0.
Voigtmann, S. (2006). General linear methods for integrated circuit design. PhD thesis, Humboldt-Universitat zu Berlin. (Online: Stand 2010-07-03T11:52:37Z).
Wagner, F. J. (1999). Multibody systems. In C. Bendtsen & P. G. Thomsen (Eds.), Numerical solution of differential algebraic equations (Tech. Rep. IMM-REP-1999-8). Lyngby, Denmark: IMM, Department of Mathematical Modelling, Technical University of Denmark. Chapter 9.
Zeebe, R. E., & Wolf-Gladrow, D. (2001). CO 2 in Seawater: Equilibrium, kinetics, isotopes. Elsevier oceanography series. Amsterdam: Elsevier.
Author information
Authors and Affiliations
Rights and permissions
Copyright information
© 2012 Springer-Verlag Berlin Heidelberg
About this chapter
Cite this chapter
Soetaert, K., Cash, J., Mazzia, F. (2012). Solving Differential Algebraic Equations in R. In: Solving Differential Equations in R. Use R!. Springer, Berlin, Heidelberg. https://doi.org/10.1007/978-3-642-28070-2_5
Download citation
DOI: https://doi.org/10.1007/978-3-642-28070-2_5
Published:
Publisher Name: Springer, Berlin, Heidelberg
Print ISBN: 978-3-642-28069-6
Online ISBN: 978-3-642-28070-2
eBook Packages: Mathematics and StatisticsMathematics and Statistics (R0)