Skip to content

MizuhoAOKI/koopman_operator

Repository files navigation

License: MIT Rye

Koopman Operator

Dependency

  • python

    • version 3.10 or higher is recommended.
  • rye

    • seting up python environment easily and safely.
    • only numpy, matplotlib, notebook are needed to run all scripts in this repository.

Setup

git clone https://github.com/MizuhoAOKI/koopman_operator.git
cd koopman_operator
rye sync

Usage

[Ex. 1] Prediction of nonlinear affine system

cd kooopman_operator
rye run jupyter notebook notebooks/koopman_operator_ex1.ipynb

Single machine infinite bus system (ground truth)

ex1_training

Comparison between ground truth and approximated system by koopman operator

ex1_evaluation

[Ex. 2] Prediction of nonlinear affine system

cd kooopman_operator
rye run jupyter notebook notebooks/koopman_operator_ex2.ipynb

Unicycle Model (ground truth)

ex2_training

ex2_training_trajectory

Comparison between ground truth and approximated system by koopman operator

ex2_evaluation

ex2_evaluation_trajectoy

References