In this repository, you will find the source code used for the Koopman identification algorithm applied to a Kalman-MPC control scheme; specifically, the current implementation is applied to a Forced Van der Pol oscillator.
In the 'MATLAB' directory, you will find most of the early code, as well as the 'Koopman' function used to identify the Koopman matrix projections and the open-loop simulation script. Furthermore, in the same directory you will find two more subdirectories named 'duffing_mpc' and "vanderpol_mpc", which contain the MATLAB files and Simulink models.
Associated paper: Learning Nonlinear Model Predictive Controllers and Virtual Sensors with Koopman Operators (https://doi.org/10.1016/j.ifacol.2023.01.072)