Skip to content

Convex Structure-Preserving EDMD: Passive Koopman Matrices as QQ-Contractions

Matthias Ehrhardt, Achraf Zinihi

math.NA

Abstract

Extended dynamic mode decomposition (EDMD) approximates the Koopman operator using a matrix based on a finite set of observables. However, the least-squares matrix of a port-Hamiltonian (pH) system is generally neither passive nor invariant-preserving. We demonstrate that the implicit midpoint discretization of a lifted pH model precisely preserves energy balance, passivity, and all linear Casimirs for every step size. For a fixed storage metric QQ, the resulting Koopman matrices are the Cayley transforms of (J−R)Q(J-R)Q, where JJ is skew-symmetric and RR is positive semidefinite. This set does not depend on the step size and is the closure of all Q-contractions. This set is LMI-representable; therefore, structure-preserving EDMD, including ports through a discrete-time Kalman-Yakubovich-Popov condition and Casimirs through affine constraints, is a semidefinite program. The constrained estimate is a projection of the unconstrained estimate in the data-weighted norm and cannot increase estimation error when the population target is pH-compatible. For every QQ-contraction, a certified bound on the lifted prediction error grows linearly at most in time, whereas it grows geometrically for unconstrained models with Q-gain above one. Benchmarks on a damped pendulum and a damped rigid body demonstrate that constrained models never generate energy and that imposed Casimirs are maintained with solver accuracy (approximately 10−810^{-8}). In contrast, EDMD may diverge or lose the Casimir with noisy data. The benchmarks also demonstrate that when QQ is the physical energy, the constrained models are less accurate than EDMD and can exhibit significant structural bias.

Create a lesson