Comparing model representations and fitting methods for port-Hamiltonian system identification
Organizations: Department of Mathematics and Cybernetics, SINTEF Digital, Oslo, Norway · Department of Mathematical Sciences, Norwegian University of Science and Technology, Trondheim, Norway
Abstract
Port-Hamiltonian models describe physical systems by separating stored energy, dissipation and external inputs. Learning such models from data requires a choice of representation and fitting method. We compare using neural networks, analytic expressions and combinations of the two for representing the different components of the port-Hamiltonian system, and compare fitting the models with gradient-based optimisation or sparse regression. Testing on simulations of mechanical and electrical systems, with and without added noise, we present prediction accuracy and computational cost of the different approaches.
Figures & tables
| NRMSE | Mean fitting | ||||||
| Noise-free | 1% noise | 5% noise | time (min) | ||||
| Representation | Fitting method | Raw | Raw | Smoothed | Raw | Smoothed | |
| Two-mass system with constant damping and unknown input map | |||||||
| Analytic | Gradient-based/scheme | 4.02e-2 | 4.61e-2 | 4.26e-2 | 5.76e-2 | 4.86e-2 | 153 |
| Analytic | Gradient-based/roll-out | 4.36e-2 | 4.44e-2 | 4.49e-2 | 7.31e-2 | 5.33e-2 | 463 |
| Analytic | Regression/derivative | 4.13e-2 | 4.34e-2 | 3.97e-2 | 2.63e-1 | 6.11e-2 | 3.01 |
| Prediction error | |||
| Fitting method | Noise-free | 1% noise | 5% noise |
| Two-mass system with state-dependent damping | |||
| Analytic model w/ true damping widths and centres | |||
| Gradient-based/scheme | 1.04e-6 | 4.66e-3 | 2.70e-2 |
| Gradient-based/roll-out | 2.56e-7 | 4.54e-3 | 2.56e-2 |
| Regression/derivative | 8.56e-3 | 5.73e-3 | 8.00e-2 |
System Identification
System identification infers mathematical models and parameters of dynamical systems from input-output, trajectory, sensor, or video data.
See all 168 papers