Multi-Mode DAE Models - Challenges, Theory and Implementation
2019, Computing and Software Science
https://doi.org/10.1007/978-3-319-91908-9_16Abstract
Our objective is to model and simulate Cyber-Physical Systems (CPS) such as robots, vehicles, and power plants. The structure of CPS models may change during simulation due to the desired operation, due to failure situations or due to changes in physical conditions. Corresponding models are called multi-mode. We are interested in multidomain, component-oriented modeling as performed, for example, with the modeling language Modelica that leads naturally to Differential Algebraic Equations (DAEs). This paper is thus about multi-mode DAE systems. In particular, new methods are discussed to overcome one key problem that was only solved for specific subclasses of systems before: How to switch from one mode to another one when the number of equations may change and variables may exhibit impulsive behavior? An evaluation is performed both with the experimental modeling and simulation system Modia, a domain specific language extension of the programming language Julia, and with SunDAE, a novel structural analysis library for multi-mode DAE systems.
References (33)
- R. Alur, C. Courcoubetis, T. Henzinger, and P. Ho. Hybrid automata: an algo- rithmic approach to the specification and verification of hybrid systems. In Hybrid systems, volume 736 of Lecture Notes in Computer Science, pages 209-229. Springer Verlag, 1993.
- M. Barela. A complementarity approach to modeling dynamic electric circuits. PhD thesis, University of Iowa, 2016.
- A. Benveniste, B. Caillaud, H. Elmqvist, K. Ghorbal, M. Otter, and M. Pouzet. Structural analysis of multi-mode DAE systems. In HSCC, pages 253-263. ACM, 2017.
- A. Benveniste, B. Caillaud, and P. L. Guernic. Compositionality in dataflow syn- chronous languages: Specification and distributed code generation. Inf. Comput., 163(1):125-171, 2000.
- A. Benveniste, B. Caillaud, M. Pouzet, H. Elmqvist, and M. Otter. Structural Analysis of Multi-Mode DAE Systems. Research Report RR-8933, Inria, July 2016.
- A. Benveniste, P. Caspi, S. A. Edwards, N. Halbwachs, P. L. Guernic, and R. de Si- mone. The synchronous languages 12 years later. Proceedings of the IEEE, 91(1):64-83, 2003.
- G. Berry. Constructive semantics of Esterel: From theory to practice (abstract). In AMAST '96: Proceedings of the 5th International Conference on Algebraic Method- ology and Software Technology, page 225, London, UK, 1996. Springer-Verlag.
- J. Bezanson, A. Edelman, S. Karpinski, and V. B. Shah. Julia: A fresh approach to numerical computing. SIAM Review, 59(1):65-98, 2017.
- K. E. Brenan, S. L. Campbell, and L. R. Petzold. Numerical Solution of Initial Value Problems in Differential-Algebraic Equations. SIAM, 1996.
- N. Dunford and J. Schwartz. Linear Operators, Part I, General Theory. Wiley- Interscience, 1958.
- H. Elmqvist, T. Henningsson, and M. Otter. Systems Modeling and Programming in a Unified Environment based on Julia. In Proc. of ISoLA Conference. Springer, Oct. 2016.
- H. Elmqvist, T. Henningsson, and M. Otter. Innovations for Future Modelica. In F. C. Jiri Kofranek, editor, Proc. of the 12th International Modelica Conference, May 2017.
- H. Elmqvist, S.-E. Mattsson, and M. Otter. Modelica extensions for multi-mode DAE systems. In H. Tummescheit and K.-E. Arzèn, editors, Proc. of the 10th Int. Modelica Conference, Lund, Sweden, Sept. 2014. Modelica Association.
- C. W. Gear. Differential-algebraic equation index transformations. SIAM J. Sci. Stat. Comput., 9(1):39 -47, 1988.
- C. W. Gear, B. Leimkuhler, and G. K. Gupta. Automatic integration of euler- lagrange equations with constraints. Journal of Computational and Applied Math- ematics, 12:77-90, 1985.
- W. P. M. H. Heemels, M. K. Camlibel, and J. M. Schumacher. On the dynamic analysis of piecewise-linear networks. IEEE Transactions on Circuits and Systems I: Fundamental Theory and Applications, 49(3):315-327, Mar 2002.
- D. Karnopp, D. Margolis, and R. Rosenberg. System dynamics: a unified approach. A Wiley interscience publication. Wiley, 1990.
- T. Lindstrøm. An invitation to nonstandard analysis. In N. Cutland, editor, Nonstandard Analysis and its Applications, pages 1-105. Cambridge Univ. Press, 1988.
- S.-E. Mattsson, M. Otter, and H. Elmqvist. Multi-Mode DAE Systems with Vary- ing Index. In H. Elmqvist and P. Fritzson, editors, Proc. of the 11th Int. Modelica Conference, Versailles, France, Sept. 2015. Modelica Association.
- V. Mehrmann and L. Wunderlich. Hybrid systems of differential-algebraic equa- tions -analysis and numerical solution. Journal of Process Control, 19(8):1218 - 1228, 2009. Special Section on Hybrid Systems: Modeling, Simulation and Opti- mization.
- Modelica. A Unified Object-Oriented Language for Systems Modeling. Language Specification, Version 3.4. Technical report, Modelica Association, April 2017.
- M. Otter and H. Elmqvist. Transformation of Differential Algebraic Array Equa- tions to Index One Form. In J. Kofranek and F. Casella, editors, Proc. of the 12th International Modelica Conference, May 2017.
- C. Pantelides. The consistent initialization of differential-algebraic systems. SIAM J. Sci. Stat. Comput., 9(2):213-231, 1988.
- P. Pepper, A. Mehlhase, C. Höger, and L. Scholz. A Compositional Semantics for Modelica-style Variable-structure Modeling. In 4th International Workshop on Equation-Based Object-Oriented Modeling Languages and Tools, 2011.
- F. Pfeiffer. On non-smooth multibody dynamics. Proceedings of the Institution of Mechanical Engineers, Part K: Journal of Multi-body Dynamics, 226(2):147-177, 2012.
- F. Pfeiffer and C. Glocker. Multibody Dynamics with Unilateral Contacts. Wiley, 2008.
- J. D. Pryce. A simple structural analysis method for DAEs. BIT, 41(2):364-394, 2001.
- A. Robinson. Nonstandard Analysis. Princeton Landmarks in Mathematics, 1996. ISBN 0-691-04490-2.
- S. Schoeder, H. Ulbrich, and T. Schindler. Discussion of the Gear-Gupta-Leimkuhler method for impacting mechanical systems. In Multibody System Dynamics, volume 31, pages 477-495, 2013.
- Stephen L. Campbell and C. William Gear. The index of general nonlinear DAEs. Numer. Math., 72:173-196, 1995.
- J. Thoma. Introduction to Bond Graphs and Their Applications. Pergamon inter- national library of Science, technology, engineering and social studies. Pergamon Press, 1975.
- S. Trenn. Distributional Differential Algebraic Equations. PhD thesis, Technischen Universität Ilmenau, 2009.
- D. Zimmer. Equation-Based Modeling of Variable-Structure Systems. PhD thesis, ETH Zürich, No. 18924, 2010.