Exergetic Port-Hamiltonian Systems Modeling Language (2402.17640v2)
Abstract: Mathematical modeling of real-world physical systems requires the consistent combination of a multitude of physical laws and phenomenological models. This challenging task can be greatly simplified by hierarchically decomposing systems into ultimately simple components. Moreover, the use of diagrams for expressing the decomposition helps make the process more intuitive and facilitates communication, even with non-experts. As an important requirement, models have to respect fundamental physical laws such as the first and the second law of thermodynamics. While some existing modeling frameworks make such guarantees based on structural properties of their models, they lack a formal graphical syntax. We present a compositional and thermodynamically consistent modeling language with a graphical syntax. In terms of its semantics, we essentially endow port-Hamiltonian systems with additional structural properties and a fixed physical interpretation, ensuring thermodynamic consistency in a manner closely related to the metriplectic or GENERIC formalism. While port-Hamiltonian systems are inspired by graphical modeling with bond graphs, neither the link between the two, nor bond graphs themselves, can be easily formalized. In contrast, our syntax is based on a refinement of the well-studied operad of undirected wiring diagrams. By combining a compositional, graphical syntax with an energy-based, thermodynamic approach, the presented modeling language simplifies the understanding, reuse, and modification of complex physical models.
- T. J. Courant, Dirac manifolds, Transactions of the American Mathematical Society 319 (1990) 631–661.
- L. Onsager, Reciprocal relations in irreversible processes. i., Physical Review 37 (1931) 405–426.
- P. C. Breedveld, Thermodynamic bond graphs and the problem of thermal inertance, Journal of the Franklin Institute 314 (1982) 15 – 40.
- B. Maschke, Geometrical formulation of bond graph dynamics with application to mechanisms, Journal of the Franklin Institute 328 (1991) 723–740.
- J. C. Willems, Qualitative behavior of interconnected systems, in: Annals of Systems Research, Springer US, 1974, pp. 61–80. doi:10.1007/978-1-4613-4555-8_4.
- J. C. Willems, The behavioral approach to open and interconnected systems, IEEE Control Systems 27 (2007) 46–99.
- An Intrinsic Hamiltonian Formulation of Network Dynamics: Non-standard Poisson Structures and Gyrators, Journal of the Franklin Institute 329 (1992) 923–966.
- A. van der Schaft, B. Maschke, The Hamiltonian formulation of energy conserving physical systems with external ports, AEU - Archiv für Elektronik und Übertragungstechnik 49 (1995) 362–371.
- A. van der Schaft, D. Jeltsema, Port-Hamiltonian systems theory: An introductory overview, Foundations and Trends in Systems and Control 1 (2014) 173–378.
- M. Grmela, H. C. Öttinger, Dynamics and thermodynamics of complex fluids. I. Development of a general formalism, Phys. Rev. E 56 (1997) 6620–6632.
- A. N. Kaufman, Dissipative Hamiltonian systems: A unifying principle, Physics Letters A 100 (1984) 419–422.
- M. Grmela, Particle and bracket formulations of kinetic equations, in: Fluids and plasmas: geometry and dynamics (Boulder, Colo., 1983), volume 28 of Contemp. Math., Amer. Math. Soc., Providence, RI, 1984a, pp. 125–132. doi:10.1090/conm/028/751978.
- M. Grmela, Bracket formulation of dissipative fluid mechanics equations, Physics Letters A 102 (1984b) 355–358.
- P. J. Morrison, Bracket formulation for irreversible classical fields, Physics Letters A 100 (1984) 423–427.
- Open physical systems: from GENERIC to port-Hamiltonian systems, in: Proceedings of the 23rd International Symposium on Mathematical Theory of Systems and Networks, Hong Kong, China, 2018, pp. 204–211.
- Exergetic port-Hamiltonian systems: modelling basics, Mathematical and Computer Modelling of Dynamical Systems 27 (2021) 489–521.
- S. Birkett, P. Roe, The mathematical foundations of bond graphs—i. algebraic theory, Journal of the Franklin Institute 326 (1989) 329–350.
- Explicit port-Hamiltonian formulation of multi-bond graphs for an automated model generation, Automatica 120 (2020) 109121.
- J. Baez, J. Erberle, Categories in control, Theory and Applications of Categories 30 (2015) 836–881.
- J. C. Baez, B. S. Pollard, A compositional framework for reaction networks, Reviews in Mathematical Physics 29 (2017) 1750028.
- Operads for complex system design specification, analysis and synthesis, Proceedings of the Royal Society A: Mathematical, Physical and Engineering Sciences 477 (2021) 20210099.
- M. Lohmayer, S. Leyendecker, EPHS: A Port-Hamiltonian Modelling Language, in: 25th IFAC Symposium on Mathematical Theory of Networks and Systems MTNS 2022, volume 55, Elsevier BV, 2022, pp. 347–352. doi:10.1016/j.ifacol.2022.11.077.
- Modeling hierarchical system with operads, Electronic Proceedings in Theoretical Computer Science 323 (2020) 72–83.
- Algebras of open dynamical systems on the operad of wiring diagrams, Theory and Applications of Categories 30 (2015) 1793–1822.
- Dynamical systems and sheaves, Applied Categorical Structures 28 (2019) 1–57.
- E. Fredkin, Trie memory, Communications of the ACM 3 (1960) 490–499.
- Time reversal in nonequilibrium thermodynamics, Phys. Rev. E 90 (2014) 062131.
- H. Bursztyn, A brief introduction to Dirac manifolds, in: A. Cardona, I. Contreras, A. F. Reyes-Lega (Eds.), Geometric and Topological Methods for Quantum Field Theory: Proceedings of the 2009 Villa de Leyva Summer School, Cambridge University Press, Cambridge, 2013, p. 4–38. doi:10.1017/CBO9781139208642.002.
- A generalization of Onsager’s reciprocity relations to gradient flows with nonlinear mobility, Journal of Non-Equilibrium Thermodynamics 41 (2016).
- J. C. Willems, Dissipative dynamical systems part I: General theory, Archive for Rational Mechanics and Analysis 45 (1972) 321–351.