Python-Based Reinforcement Learning on Simulink Models
Georg Sch\"afer, Max Schirl, Jakob Rehrl, Stefan Huber, Simon, Hirlaender

TL;DR
This paper introduces a Python-based framework for training reinforcement learning agents on Simulink models, enabling seamless transfer to real systems and leveraging Python's flexibility for control tasks.
Contribution
It presents a novel integration method combining Simulink and Python for reinforcement learning, including C-code generation and Python interface development.
Findings
Policies trained in Simulink transfer effectively to real systems.
The framework outperforms previous methods in training efficiency.
Demonstrates successful control of Quanser Aero 2 helicopter.
Abstract
This paper proposes a framework for training Reinforcement Learning agents using Python in conjunction with Simulink models. Leveraging Python's superior customization options and popular libraries like Stable Baselines3, we aim to bridge the gap between the established Simulink environment and the flexibility of Python for training bleeding edge agents. Our approach is demonstrated on the Quanser Aero 2, a versatile dual-rotor helicopter. We show that policies trained on Simulink models can be seamlessly transferred to the real system, enabling efficient development and deployment of Reinforcement Learning agents for control tasks. Through systematic integration steps, including C-code generation from Simulink, DLL compilation, and Python interface development, we establish a robust framework for training agents on Simulink models. Experimental results demonstrate the effectiveness of…
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
Taxonomy
TopicsScheduling and Optimization Algorithms
