Skip to main content
Log in

Port-Hamiltonian Systems: Structure Recognition and Applications

  • Published:
Programming and Computer Software Aims and scope Submit manuscript

Abstract

In this paper, we continue to consider the problem of recovering the port-Hamiltonian structure for an arbitrary system of differential equations. We complement our previous study on this topic by explaining the choice of machine learning algorithms and discussing some details of their application. We also consider the possibility provided by this approach for a potentially new definition of canonical forms and classification of systems of differential equations.

This is a preview of subscription content, log in via an institution to check access.

Access this article

Price excludes VAT (USA)
Tax calculation will be finalised during checkout.

Instant access to the full article PDF.

REFERENCES

  1. Salnikov, V., Hamdouni, A., and Loziienko, D., Generalized and graded geometry for mechanics: A comprehensive introduction, Math. Mech. Complex Syst., 2021, vol. 9, no. 1.

  2. Salnikov, V. and Hamdouni, A., Geometric integrators in mechanics: The need for computer algebra tools, Tr. Tret’ei Mezhdun. Konf. “Computer algebra” (Proc. 3rd Int. Conf. Computer Algebra), Moscow, 2019.

  3. Salnikov, V.N. and Hamdouni, A., Differential geometry and mechanics: A source for computer algebra problems, Program. Comput. Software, 2020, vol. 46, pp. 126–132.

    Article  MathSciNet  Google Scholar 

  4. Salnikov, V., Falaize, A., and Lozienko, D., Learning port-Hamiltonian systems: Algorithms, Comput. Math. Math. Phys., 2023, vol. 63, pp. 126–134.

    Article  MathSciNet  Google Scholar 

  5. Paynter, H.M., Analysis and Design of Engineering Systems, MIT Press, 1961.

    Google Scholar 

  6. van der Schaft, A., Port-Hamiltonian systems: An introductory survey, Proc. Int. Congr. Math., Madrid, 2006.

  7. Sage manifolds: Differential geometry and tensor calculus with SageMath. https://sagemanifolds.obspm.fr

  8. Falaize, A., Modélisation, simulation, génération de code et correction de systèmes multi-physiques audios: Approche par réseau de composants et formulation hamiltonienne à ports, PhD thesis, Université Pierre et Marie Curie, 2016.

  9. Modeling, simulation and code-generation of multiphysical port-Hamiltonian systems in Python. https://github.com/pyphs/pyphs

  10. Edler, D., Holmgren, A., and Rosvall, M., Infomap: Network community detection using the MapEquation framework. https://www.mapequation.org/infomap

  11. Hairer, E., Lubich, C., and Wanner, G., Geometric numerical integration, Springer Ser. Comput. Math., 2006.

  12. Razafindralandy, D., Hamdouni, A., Chhay, M., A review of some geometric integrators, Adv. Model. Simul. Eng. Sci., 2018, vol. 5, no. 1, p. 16.

    Article  Google Scholar 

  13. Razafindralandy, D., Salnikov, V., Hamdouni, A., and Deeb, A., Some robust integrators for large time dynamics, Adv. Model. Simul. Eng. Sci., 2019, vol. 6, no. 5.

  14. Cosserat, O., Symplectic groupoids for Poisson integrators, J. Geom. Phys., 2023, vol. 186.

  15. Cosserat, O., Laurent-Gengoux, C., and Salnikov, V., Numerical methods in Poisson geometry and their application to mechanics, Mathematics and Mechanics of Solids. 2024; 0(0). doi:10.1177/10812865231217096

Download references

ACKNOWLEDGMENTS

The author is grateful to Vsevolod Salnikov for his valuable advices on machine learning, as well as for the description of the possibilities and problems of using neural networks. Some preliminary numerical experiments that inspired this paper were carried out by Daria Loziienko. The author is also grateful to Antoine Falaize for numerous discussions on the capabilities of the PyPHS package. The author is especially grateful to Sergei Aleksandrovich Abramov for his endless patience during the preparation of this paper, as well as to the anonymous reviewer for his useful remarks.

Funding

This work was supported in part by the CNRS PEPS Jeune Chercheur GraNum 2.0 project and the ACI project of the University of La Rochelle.

Author information

Authors and Affiliations

Authors

Corresponding author

Correspondence to V. Salnikov.

Ethics declarations

The author of this work declares that he has no conflicts of interest.

Additional information

Translated by Yu. Kornienko

Publisher’s Note.

Pleiades Publishing remains neutral with regard to jurisdictional claims in published maps and institutional affiliations.

APPENDIX A: SOME TECHNICAL DETAILS

APPENDIX A: SOME TECHNICAL DETAILS

The data considered in Section 3 were processed by a fully convolutional neural network, which had two convolutional layers (activation layer and dropout layer) and a sample normalization layer. The Adam function was chosen as the optimization function, and the root mean square was chosen as the loss function.

The Adam optimizer adjusted the weights according to the following rule:

$${{w}_{t}} = {{w}_{{t - 1}}} - \eta \frac{{{{{\hat {m}}}_{t}}}}{{\sqrt {{{{\hat {\nu }}}_{t}}} + \epsilon }},$$

where \({{w}_{t}}\) are the weights of the tth layer and \({{\nu }_{t}}\) is the step parameter.

$${{\hat {m}}_{t}} = \frac{{{{m}_{t}}}}{{1 - \beta _{1}^{t}}},$$
$${{\hat {\nu }}_{t}} = \frac{{{{\nu }_{t}}}}{{1 - \beta _{2}^{t}}},$$
$${{m}_{t}} = {{\beta }_{1}}{{m}_{{t - 1}}} + (1 - {{\beta }_{1}}){{g}_{t}},$$
$${{\nu }_{t}} = {{\beta }_{2}}{{\nu }_{{t - 1}}} + (1 - {{\beta }_{2}})g_{t}^{2},$$

where gt is the gradient on the current mini-sample, βt are hyperparameters with initial values close to 1, while variables mt and νt are the mean and biased deviations for the gradients of the loss functions.

The number of filters for each convolution layer was 64  128. The number of “trained” parameters was 175 162.

Rights and permissions

Reprints and permissions

About this article

Check for updates. Verify currency and authenticity via CrossMark

Cite this article

Salnikov, V. Port-Hamiltonian Systems: Structure Recognition and Applications. Program Comput Soft 50, 197–201 (2024). https://doi.org/10.1134/S0361768824020130

Download citation

  • Received:

  • Revised:

  • Accepted:

  • Published:

  • Issue Date:

  • DOI: https://doi.org/10.1134/S0361768824020130

Keywords:

Navigation