https://github.com/sintef/pseudo-hamiltonian-neural-networks
The package phlearn for modelling pseudo-Hamiltonian systems by pseudo-Hamiltonian neural networks (PHNN), for ODEs and PDEs
https://github.com/sintef/pseudo-hamiltonian-neural-networks
dynamical-systems hamiltonian-dynamics neural-network ordinary-differential-equations partial-differential-equations port-hamiltonian-systems pseudo-hamiltonian-systems
Last synced: 3 months ago
JSON representation
The package phlearn for modelling pseudo-Hamiltonian systems by pseudo-Hamiltonian neural networks (PHNN), for ODEs and PDEs
- Host: GitHub
- URL: https://github.com/sintef/pseudo-hamiltonian-neural-networks
- Owner: SINTEF
- License: mit
- Created: 2022-08-03T06:42:41.000Z (about 3 years ago)
- Default Branch: main
- Last Pushed: 2025-03-12T11:18:29.000Z (7 months ago)
- Last Synced: 2025-05-01T23:03:22.192Z (5 months ago)
- Topics: dynamical-systems, hamiltonian-dynamics, neural-network, ordinary-differential-equations, partial-differential-equations, port-hamiltonian-systems, pseudo-hamiltonian-systems
- Language: Jupyter Notebook
- Homepage:
- Size: 7.35 MB
- Stars: 17
- Watchers: 4
- Forks: 1
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Pseudo-Hamiltonian neural networks
This repository contains the package phlearn for modelling pseudo-Hamiltonian ODE and PDE systems with neural networks, and example scripts for training and simulation.
See [(Eidnes et al., 2023)](https://doi.org/10.1016/j.physd.2023.133673) for a description of PHNN for ODEs.
See [(Eidnes and Lye, 2024)](https://doi.org/10.1016/j.jcp.2023.112738) for a description of PHNN for PDEs.[Documentation available here](https://pseudo-Hamiltonian-neural-networks.readthedocs.io/en/latest/)
## Installation
The phlearn package is available via PyPi:
```
pip install phlearn
```Alternatively, to get the latest updates not yet available on PyPi, you can clone this repository and install directly:
```
git clone https://github.com/SINTEF/pseudo-Hamiltonian-neural-networks.git
cd pseudo-Hamiltonian-neural-networks
pip install -e phlearn
```#### Authors
Camilla Sterud: c.sterud@icloud.com
Sølve Eidnes: solve.eidnes@sintef.no
Eivind Bøhn: eivind.bohn@sintef.no
Signe Riemer-Sørensen: signe.riemer-sorensen@sintef.no
Alexander Stasik: alexander.stasik@sintef.no
Kjetil Olsen Lye: kjetil.olsen.lye@sintef.no
Ben Tapley: ben.tapley@sintef.no
August Femtehjell: august.femtehjell@sintef.no