The Port-Hamiltonian Formulation of Thermodynamics—A New Perspective
Authors
Janusz Badur, Piotr Józef Ziółkowski
Abstract
This paper proposes a change in the traditional epistemological paradigm and a look at classical thermodynamics from the point of view of control theory, with the aim of discovering energy state variables. The paper proposes a transition from “causality” to “purposefulness” in nature, which is called port-Hamiltonian thermodynamics. It is unclear whether classical thermodynamics can be incorporated into the formalism of port-Hamiltonian field theory, and it is likely that thermodynamics will need to be expanded or even completely reformulated. The main goal is to satisfy the First and Second Laws of Thermodynamics a priori.
Citation
- Journal: Energies
- Year: 2026
- Volume: 19
- Issue: 2
- Pages: 324
- Publisher: MDPI AG
- DOI: 10.3390/en19020324
BibTeX
@article{Badur_2026,
title={{The Port-Hamiltonian Formulation of Thermodynamics—A New Perspective}},
volume={19},
ISSN={1996-1073},
DOI={10.3390/en19020324},
number={2},
journal={Energies},
publisher={MDPI AG},
author={Badur, Janusz and Ziółkowski, Piotr Józef},
year={2026},
pages={324}
}References
- Rashad R, Califano F, van der Schaft AJ, Stramigioli S (2020) Twenty years of distributed port-Hamiltonian systems: a literature review. IMA Journal of Mathematical Control and Information 37(4):1400–1422. https://doi.org/10.1093/imamci/dnaa018 – 10.1093/imamci/dnaa018
- van der Schaft A (2021) Classical Thermodynamics Revisited: A Systems and Control Perspective. IEEE Control Syst 41(5):32–60. https://doi.org/10.1109/mcs.2021.3092809 – 10.1109/mcs.2021.3092809
- Grmela, M., and Pavelka, M. (2025). Classical and Multiscale Non-equilibrium Thermodynamics. arXiv.
- Fliess, M. (1993). Port-controlled Hamiltonian systems: Modelling origins and system theoretic properties. Nonlinear Control Systems (NOLCOS 2004), Proceedings of the 2nd IFAC Symposium, Bordeaux, France, 4–26 June 1992, Elsevier.
- van der Schaft AJ, Maschke BM (2002) Hamiltonian formulation of distributed-parameter systems with boundary energy flow. Journal of Geometry and Physics 42(1-2):166–194. https://doi.org/10.1016/s0393-0440(01)00083-3 – 10.1016/s0393-0440(01)00083-3
- Ortega R, van der Schaft A, Maschke B, Escobar G (2002) Interconnection and damping assignment passivity-based control of port-controlled Hamiltonian systems. Automatica 38(4):585–596. https://doi.org/10.1016/s0005-1098(01)00278-3 – 10.1016/s0005-1098(01)00278-3
- Krhac, K., Maschke, B., and van der Schaft, A.J. (2024, January 10–12). Port-Hamiltonian systems with energy and power ports. Proceedings of the 8th IFAC Symposium on Lagrangian and Hamiltonian Methods in Nonlinear Control (LHMNC 2024), Besancon, France.
- van der Schaft A, Jeltsema D (2021) On Energy Conversion in Port-Hamiltonian Systems. In: 2021 60th IEEE Conference on Decision and Control (CDC). IEEE, pp 2421–2427 – 10.1109/cdc45484.2021.9683292
- Duindam V, Macchelli A, Stramigioli S, Bruyninckx H (2009) Modeling and Control of Complex Physical Systems. Springer Berlin Heidelberg, Berlin, Heidelberg – 10.1007/978-3-642-03196-0
- Rashad R, Califano F, Schuller FP, Stramigioli S (2021) Port-Hamiltonian modeling of ideal fluid flow: Part I. Foundations and kinetic energy. Journal of Geometry and Physics 164:104201. https://doi.org/10.1016/j.geomphys.2021.104201 – 10.1016/j.geomphys.2021.104201
- Rashad R, Califano F, Schuller FP, Stramigioli S (2021) Port-Hamiltonian modeling of ideal fluid flow: Part II. Compressible and incompressible flow. Journal of Geometry and Physics 164:104199. https://doi.org/10.1016/j.geomphys.2021.104199 – 10.1016/j.geomphys.2021.104199
- Califano F, Rashad R, Schuller FP, Stramigioli S (2021) Geometric and energy-aware decomposition of the Navier–Stokes equations: A port-Hamiltonian approach. Physics of Fluids 33(4):047114. https://doi.org/10.1063/5.0048359 – 10.1063/5.0048359
- Brugnoli A, Alazard D, Pommier-Budinger V, Matignon D (2021) A Port-Hamiltonian formulation of linear thermoelasticity and its mixed finite element discretization. Journal of Thermal Stresses 44(6):643–661. https://doi.org/10.1080/01495739.2021.1917322 – 10.1080/01495739.2021.1917322
- Jäschke J, Ehrhardt M, Günther M, Jacob B (2022) A Two-Dimensional port-Hamiltonian Model for Coupled Heat Transfer. Mathematics 10(24):4635. https://doi.org/10.3390/math10244635 – 10.3390/math10244635
- Cardoso-Ribeiro FL, Matignon D, Pommier-Budinger V (2020) Port-Hamiltonian model of two-dimensional shallow water equations in moving containers. IMA Journal of Mathematical Control and Information 37(4):1348–1366. https://doi.org/10.1093/imamci/dnaa016 – 10.1093/imamci/dnaa016
- Altmann R, Schulze P (2017) A port-Hamiltonian formulation of the Navier–Stokes equations for reactive flows. Systems & Control Letters 100:51–55. https://doi.org/10.1016/j.sysconle.2016.12.005 – 10.1016/j.sysconle.2016.12.005
- Ramirez H, Le Gorrec Y (2022) An Overview on Irreversible Port-Hamiltonian Systems. Entropy 24(10):1478. https://doi.org/10.3390/e24101478 – 10.3390/e24101478
- Ramirez H, Gorrec YL, Maschke B (2022) Boundary controlled irreversible port-Hamiltonian systems. Chemical Engineering Science 248:117107. https://doi.org/10.1016/j.ces.2021.117107 – 10.1016/j.ces.2021.117107
- Mora LA, Gorrec YL, Matignon D, Ramirez H (2023) Irreversible port-Hamiltonian modelling of 3D compressible fluids. IFAC-PapersOnLine 56(2):6394–6399. https://doi.org/10.1016/j.ifacol.2023.10.836 – 10.1016/j.ifacol.2023.10.836
- Pommaret J-F (2025) From Kalman to Einstein and Maxwell: The Structural Controllability Revisited. APM 15(09):570–628. https://doi.org/10.4236/apm.2025.159031 – 10.4236/apm.2025.159031
- Pommaret J-F (2023) Nonlinear Conformal Gravitation. JMP 14(11):1464–1496. https://doi.org/10.4236/jmp.2023.1411086 – 10.4236/jmp.2023.1411086
- Alicki R, Kosloff R (2018) Introduction to Quantum Thermodynamics: History and Prospects. In: Fundamental Theories of Physics. Springer International Publishing, Cham, pp 1–33 – 10.1007/978-3-319-99046-0_1
- Beris AN, Edwards BJ (2024) Dissipation in nonequilibrium thermodynamics and its connection to the Rayleighian functional. Physics of Fluids 36(1):013102. https://doi.org/10.1063/5.0180407 – 10.1063/5.0180407
- Grmela M (2024) Roles of energy and entropy in multiscale dynamics and thermodynamics. J Phys Commun 8(7):072001. https://doi.org/10.1088/2399-6528/ad5b3a – 10.1088/2399-6528/ad5b3a
- Šípka M, Pavelka M, Esen O, Grmela M (2023) Direct Poisson neural networks: learning non-symplectic mechanical systems. J Phys A: Math Theor 56(49):495201. https://doi.org/10.1088/1751-8121/ad0803 – 10.1088/1751-8121/ad0803
- Sýkora M, Pavelka M, Peshkov I, Minakowski P, Klika V, Romenski E (2024) Comparison of the symmetric hyperbolic thermodynamically compatible framework with Hamiltonian mechanics of binary mixtures. Continuum Mech Thermodyn 36(3):539–559. https://doi.org/10.1007/s00161-024-01281-9 – 10.1007/s00161-024-01281-9
- Pavelka M, Klika V, Grmela M (2018) Multiscale Thermo-Dynamics. De Gruyter – 10.1515/9783110350951
- Pommaret J-F (2001) Partial Differential Control Theory. Springer Netherlands, Dordrecht – 10.1007/978-94-010-0854-9
- Badur, From the Cosserat continuum backgrounds to modern field theory. Tech. Sci. (2024)
- Yahalom A (2024) Gravitational Hamiltonian Systems and the Retarded Gravity Inequality. Entropy 26(11):986. https://doi.org/10.3390/e26110986 – 10.3390/e26110986
- Tong, D. (2025, October 28). Classical Dynamics, University of Cmbridge Part II Mathematical Tripos. Available online: http://www.damtp.cam.ac.uk/user/tong/dynamics.html.
- Gawronski WK (ed) (2004) Advanced Structural Dynamics and Active Control of Structures. Springer New York, New York, NY – 10.1007/978-0-387-72133-0
- Grmela M, Öttinger HC (1997) Dynamics and thermodynamics of complex fluids. I. Development of a general formalism. Phys Rev E 56(6):6620–6632. https://doi.org/10.1103/physreve.56.6620 – 10.1103/physreve.56.6620
- Zafferi A, Peschka D, Thomas M (2022) GENERIC framework for reactive fluid flows. Z Angew Math Mech 103(7):e202100254. https://doi.org/10.1002/zamm.202100254 – 10.1002/zamm.202100254
- Grmela M (1986) Bracket formulation of diffusion-convection equations. Physica D: Nonlinear Phenomena 21(2-3):179–212. https://doi.org/10.1016/0167-2789(86)90001-1 – 10.1016/0167-2789(86)90001-1
- Grmela M (2024) Thermodynamics and Rate Thermodynamics. J Stat Phys 191(6):75. https://doi.org/10.1007/s10955-024-03293-w – 10.1007/s10955-024-03293-w
- Grmela, M. (2025). Rheological modeling with GENERIC and with the Onsager principle. arXiv.
- Morrison PJ (1998) Hamiltonian description of the ideal fluid. Rev Mod Phys 70(2):467–521. https://doi.org/10.1103/revmodphys.70.467 – 10.1103/revmodphys.70.467
- Ogata, K. (1997). Modern Control Engineering, Prentice Hall.
- Mieloszyk, E. (1999). Rachunek Operatorów w Zagadnieniach Uogólnionych Układów Dynamicznych, Wyd. Politechniki Gdańskiej.
- Mielke A (2011) Formulation of thermoelastic dissipative material behavior using GENERIC. Continuum Mech Thermodyn 23(3):233–256. https://doi.org/10.1007/s00161-010-0179-0 – 10.1007/s00161-010-0179-0
- Pommaret, J.-F. (2023). Minimum Parametrization of the Cauchy Stress Operator. arXiv.
- Badur, J. (2021). Eternal Noether’s Symmetries, IMP Press.
- Sieniutycz S, Berry RS (1989) Conservation laws from Hamilton’s principle for nonlocal thermodynamic equilibrium fluids with heat flow. Phys Rev A 40(1):348–361. https://doi.org/10.1103/physreva.40.348 – 10.1103/physreva.40.348
- Nevir P, Blender R (1993) A Nambu representation of incompressible hydrodynamics using helicity and enstrophy. J Phys A: Math Gen 26(22):L1189–L1193. https://doi.org/10.1088/0305-4470/26/22/010 – 10.1088/0305-4470/26/22/010
- Blender R, Badin G (2015) Hydrodynamic Nambu brackets derived by geometric constraints. J Phys A: Math Theor 48(10):105501. https://doi.org/10.1088/1751-8113/48/10/105501 – 10.1088/1751-8113/48/10/105501
- Sato N (2021) Generalization of Hamiltonian mechanics to a three-dimensional phase space. Progress of Theoretical and Experimental Physics 2021(6):063A01. https://doi.org/10.1093/ptep/ptab066 – 10.1093/ptep/ptab066
- Brugnoli, A. (2020). A Port-Hamiltonian Formulation of Flexible Structures. [Ph.D. Thesis, Universite de Toulouse].
- Mielke A, Peletier MA, Zimmer J (2025) Deriving a GENERIC system from a Hamiltonian system. Arch Rational Mech Anal 249(5):62. https://doi.org/10.1007/s00205-025-02119-7 – 10.1007/s00205-025-02119-7
- Maschke B, Kirchhoff J (2023) Port maps of Irreversible Port Hamiltonian Systems. IFAC-PapersOnLine 56(2):6796–6800. https://doi.org/10.1016/j.ifacol.2023.10.388 – 10.1016/j.ifacol.2023.10.388
- Badur J, Ziółkowski PJ, Ziółkowski P (2015) On the angular velocity slip in nano-flows. Microfluid Nanofluid 19(1):191–198. https://doi.org/10.1007/s10404-015-1564-6 – 10.1007/s10404-015-1564-6
- Mehrmann V, Unger B (2023) Control of port-Hamiltonian differential-algebraic systems and applications. Acta Numerica 32:395–515. https://doi.org/10.1017/s0962492922000083 – 10.1017/s0962492922000083
- Pavelka, M. (2021). Multiscale Geometric Approach to Continuum Mechanics and Thermodynamics. [Habilitation Thesis, Faculty of Mathematics and Physics, Charles University].
- Pavelka, A case study of non-Fourier heat conduction using internal variables and GENERIC. J. Non-Equilib. Thermodyn. (2021)
- The classical field theories. Handbuch der Physik (1960)
- Bendimerad-Hohl A, Haine G, Matignon D, Maschke B (2022) Structure-preserving discretization of a coupled Allen-Cahn and heat equation system. IFAC-PapersOnLine 55(18):99–104. https://doi.org/10.1016/j.ifacol.2022.08.037 – 10.1016/j.ifacol.2022.08.037
- Euler, Principia motus fluidorum, Opera Omnia Series 2. Novi Comment. Acad. Sci. Petropolitanae (1752)
- Over integrals of the hydrodynamic equations, which correspond to eddy movements. J. Reine Angew. Math. (1858)
- Clebsch, Ueber die Integration der hydrodynamischen Gleichunge. J. Reine Angew. Math. (1859)
- Bateman, Notes on a Differential Equation Which Occurs in the Two-Dimensional Motion of a Compressible Fluid and the Associated Variational Problems. Proc. R. Soc. London (1929)
- Eckart C (1938) The Electrodynamics of Material Media. Phys Rev 54(11):920–923. https://doi.org/10.1103/physrev.54.920 – 10.1103/physrev.54.920
- Sanders JW, DeVoria AC, Washuta NJ, Elamin GA, Skenes KL, Berlinghieri JC (2024) A canonical Hamiltonian formulation of the Navier–Stokes problem. J Fluid Mech 984:A27. https://doi.org/10.1017/jfm.2024.229 – 10.1017/jfm.2024.229
- Badur J, Ochrymiuk T, Kowalczyk T, Dudda W, Ziółkowski P (2022) From fluid mechanics backgrounds to modern field theory. Acta Mech 233(8):3453–3465. https://doi.org/10.1007/s00707-022-03260-0 – 10.1007/s00707-022-03260-0
- Grmela M, Klika V, Pavelka M (2020) Gradient and GENERIC time evolution towards reduced dynamics. Phil Trans R Soc A 378(2170):20190472. https://doi.org/10.1098/rsta.2019.0472 – 10.1098/rsta.2019.0472
- Bilicki Z, Kestin J (1990) Physical aspects of the relaxation model in two-phase flow. Proceedings of the Royal Society of London A Mathematical and Physical Sciences 428(1875):379–397. https://doi.org/10.1098/rspa.1990.0040 – 10.1098/rspa.1990.0040
- Szewalski, R. (1935). Zjawisko Drobnych Drgań Regulatora i Jego Znaczenie dla Dynamiki Sprawności Regulacji. [Ph.D. Thesis, Wydział Mechaniczny, Politechnika Lwowska].
- Tõnso M, Kaparin V, Belikov J (2023) Port-Hamiltonian framework in power systems domain: A survey. Energy Reports 10:2918–2930. https://doi.org/10.1016/j.egyr.2023.09.077 – 10.1016/j.egyr.2023.09.077
- Wang Y, Sun Z, Li P, Ai J, Wu C, Shen Z, Deng F (2025) A Port-Hamiltonian Perspective on Dual Active Bridge Converters: Modeling, Analysis, and Experimental Validation. Energies 18(19):5197. https://doi.org/10.3390/en18195197 – 10.3390/en18195197
- Rettberg J, Wittwar D, Buchfink P, Brauchler A, Ziegler P, Fehr J, Haasdonk B (2023) Port-Hamiltonian fluid–structure interaction modelling and structure-preserving model order reduction of a classical guitar. Mathematical and Computer Modelling of Dynamical Systems 29(1):116–148. https://doi.org/10.1080/13873954.2023.2173238 – 10.1080/13873954.2023.2173238
- Lasarzik R (2021) Analysis of a thermodynamically consistent Navier–Stokes–Cahn–Hilliard model. Nonlinear Analysis 213:112526. https://doi.org/10.1016/j.na.2021.112526 – 10.1016/j.na.2021.112526
- Pavelka M, Peshkov I, Klika V (2020) On Hamiltonian continuum mechanics. Physica D: Nonlinear Phenomena 408:132510. https://doi.org/10.1016/j.physd.2020.132510 – 10.1016/j.physd.2020.132510
- Kekana, An analysis of a piezo-elastic restrictors using a capacitive shunt. TASK Quaterly (2004)
- Edwards BJ, Beris AN (1991) Unified view of transport phenomena based on the generalized bracket formulation. Ind Eng Chem Res 30(5):873–881. https://doi.org/10.1021/ie00053a009 – 10.1021/ie00053a009
- Cardoso-Ribeiro FL, Haine G, Le Gorrec Y, Matignon D, Ramirez H (2024) Port-Hamiltonian formulations for the modeling, simulation and control of fluids. Computers & Fluids 283:106407. https://doi.org/10.1016/j.compfluid.2024.106407 – 10.1016/j.compfluid.2024.106407