×

InitDAE: computation of consistent values, index determination and diagnosis of singularities of DAEs using automatic differentiation in Python. (English) Zbl 1458.65163

Summary: InitDAE is a prototype written in Python that computes consistent initial values of differential-algebraic equations (DAE), determines their index and a related condition number that permits the diagnosis of singularities. The algorithm for the consistent initialization uses a projector based constrained optimization approach and the inherent differentiations are provided by automatic differentiation (AD), using AlgoPy. Consequently, a detailed description of the local structural properties of the DAE becomes possible using the SVD. InitDAE has been conceived for academic purposes and is well-suited for examples of moderate size. In this article we give an overview of the algorithm, show actual features and discuss future possibilities, in particular the integration with Taylor series methods.

MSC:

65L80 Numerical methods for differential-algebraic equations
34A09 Implicit ordinary differential equations, differential-algebraic equations
65D25 Numerical differentiation
65-04 Software, source code, etc. for problems pertaining to numerical analysis
Full Text: DOI

References:

[1] Griepentrog, E.; März, R., (Differential-algebraic equations and their numerical treatment. Differential-algebraic equations and their numerical treatment, Teubner-Texte zur Mathematik, vol. 88 (1986), B.G. Teubner Verlagsgesellschaft: B.G. Teubner Verlagsgesellschaft Leipzig) · Zbl 0629.65080
[2] Estévez Schwarz, D.; Lamour, R., A new projector based decoupling of linear DAEs for monitoring singularities, Numer. Algorithms, 73, 2, 535-565 (2016) · Zbl 1351.65056
[3] Estévez Schwarz, D.; Lamour, R., A new approach for computing consistent initial values and Taylor coefficients for DAEs using projector-based constrained optimization, Numer. Algorithms, 78, 2, 355-377 (2018) · Zbl 1409.65049
[4] Brenan, K.; Campbell, S.; Petzold, L., (Numerical Solution of Initial-Value Problems in Differential-Algebraic Equations. Unabridged, Corr. Republ.. Numerical Solution of Initial-Value Problems in Differential-Algebraic Equations. Unabridged, Corr. Republ., Classics in Applied Mathematics, vol. 14 (1996), Society for Industrial and Applied Mathematics: Society for Industrial and Applied Mathematics Philadelphia, PA) · Zbl 0844.65058
[5] Estévez Schwarz, D.; Lamour, R., Consistent Initialization for Higher-Index Daes Using a Projector Based Minimum-Norm SpecificationTech. Rep. (2016), Institut für Mathematik, Humboldt-Universität zu Berlin
[6] Walter, S. F.; Lehmann, L., Algorithmic differentiation in Python with AlgoPy, J. Comput. Sci., 4, 5, 334-344 (2013)
[7] Chang, Y. F.; Corliss, G., ATOMFT: solving ODEs and DAEs using Taylor series, Comput. Math. Appl., 28, 10-12, 209-233 (1994) · Zbl 0810.65072
[8] Campbell, S. L.; Hollenbeck, R., Automatic differentiation and implicit differential equations, (Berz, M.; etal., Computational Differentiation: Techniques, Applications, and Tools. Proceedings of the Second International Workshop on Computational Differentiation, February 12-14 (1996), SIAM: SIAM Philadelphia, PA), 215-227 · Zbl 0879.65044
[9] Pryce, J. D., Solving high-index DAEs by Taylor series, Numer. Algorithms, 19, 1-4, 195-211 (1998) · Zbl 0921.34014
[10] Pryce, J. D.; Nedialkov, N. S.; Tan, G.; Li, X., How AD can help solve differential-algebraic equations, Optim. Methods Softw., 33, 4-6, 729-749 (2018) · Zbl 1409.65050
[11] Barrio, R., Performance of the Taylor series method for ODEs/DAEs, Appl. Math. Comput., 163, 2, 525-545 (2005) · Zbl 1067.65063
[12] Lamour, R.; Monett Diaz, D., Index determination of DAEs – a wide field for automatic differentiation, (Simos, T. E.; etal., ICNAAM 2009, Vol. 2. ICNAAM 2009, Vol. 2, Rethymno, Crete, Greece, September 18-22, 2009. ICNAAM 2009, Vol. 2. ICNAAM 2009, Vol. 2, Rethymno, Crete, Greece, September 18-22, 2009, AIP Conference Proceedings, vols. 1168, 2 (2009), American Institute of Physics: American Institute of Physics Melville, NY), 727-730 · Zbl 1182.65132
[13] Monett, D.; Lamour, R.; Griewank, A., Index determination in DAEs using the library INDEXNET and the ADOL-C package for algorithmic differentiation, (Advances in Automatic Differentiation. Advances in Automatic Differentiation, Selected Papers Based on the Presentations at the 5th International Conference on Automatic Differentiation, Bonn, Germany, August 11-15, 2008 (2008), Springer: Springer Berlin), 247-257 · Zbl 1152.65457
[14] Estévez Schwarz, D.; Lamour, R., Projector based integration of DAEs with the Taylor series method using automatic differentiation, J. Comput. Appl. Math., 262, 62-72 (2014) · Zbl 1301.65087
[15] Estévez Schwarz, D.; Lamour, R., Monitoring singularities while integrating DAEs, (Schöps, S.; Bartel, A.; Günther, M.; ter Maten, E.; Müller, P., Progress in Differential-Algebraic Equations, Deskriptor 2013. Progress in Differential-Algebraic Equations, Deskriptor 2013, Differential-Algebraic Equations Forum (2014), Springer), 73-95 · Zbl 1319.65076
[16] Lamour, R.; März, R.; Tischendorf, C., (Differential-Algebraic Equations: a Projector Based Analysis. Differential-Algebraic Equations: a Projector Based Analysis, Differential-Algebraic Equations Forum, vol. 1 (2013), Springer: Springer Berlin) · Zbl 1276.65045
[17] Estévez Schwarz, D.; da Fonseca, C. M., Mediterr. J. Math., 13, 2813 (2016) · Zbl 1410.34038
[18] Estévez Schwarz, D.; Lamour, R., A Projector Based Decoupling of DAEs obtained from the Derivative ArrayTech. Rep. (2019), Institut für Mathematik, Humboldt-Universität zu: Institut für Mathematik, Humboldt-Universität zu Berlin
[19] OpenModelica 1.12.0. https://openmodelica.org.
[20] B. Bachmann, P. Aronsson, P. Fritzson, Robust initialization of differential algebraic equations, in: Proceedings Modelica Conference, 2006, pp. 607-614.
[21] Pantelides, C., The consistent initialization of differential-algebraic systems, SIAM J. Sci. Stat. Comput., 9, 2, 213-231 (1988) · Zbl 0643.65039
[22] Mazzia, F.; Magherini, C., Test set for Initial Value Problems, release 2.4Tech. Rep. (2008), Department of Mathematics, University of Bari and INdAM, Research Unit of Bari
[23] Campbell, S. L., A General Method for Nonlinear Descriptor Systems: an Example from Robotic Path ControlTech. Rep. (1988), Department of Mathematics and Center for Research in Scientific Computing, North Carolina State University, CRSC Technical Report 090488-01
[24] Campbell, S. L.; Griepentrog, E., Solvability of general differential algebraic equations, SIAM J. Sci. Comput., 16, 2, 257-270 (1995) · Zbl 0821.34005
[25] März, R.; Riaza, R., Linear differential-algebraic equations with properly stated leading term: A-critical points, Math. Comput. Model. Dyn. Syst., 13, 3, 291-314 (2007) · Zbl 1132.34005
[26] März, R.; Riaza, R., Linear differential-algebraic equations with properly stated leading term: B-critical points, Dyn. Syst., 23, 4, 505-522 (2008) · Zbl 1171.34001
[27] Estévez Schwarz, D.; Lamour, R.; März, R., Singularities of the Robotic Arm DAETech. Rep. (2019), Institut für Mathematik, Humboldt-Universität zu Berlin
[28] D. Estévez Schwarz, R. Lamour, InitDAE’s documentation. https://www.mathematik.hu-berlin.de/ lamour/software/python/InitDAE/html/.
[29] Pulch, R.; Estévez Schwarz, D.; Lamour, R., Index-analysis for a method of lines discretising multirate partial differential algebraic equations, Appl. Numer. Math., 130, 51-69 (2018) · Zbl 1397.65169
[30] Griewank, A.; Walther, A., Evaluating Derivatives: Principles and Techniques of Algorithmic Differentiation (2008), SIAM · Zbl 1159.65026
This reference list is based on information provided by the publisher or from digital mathematics libraries. Its items are heuristically matched to zbMATH identifiers and may contain data conversion errors. In some cases that data have been complemented/enhanced by data from zbMATH Open. This attempts to reflect the references listed in the original paper as accurately as possible without claiming completeness or a perfect matching.