ModelicaGym: Applying Reinforcement Learning to Modelica Models

Oleh Lukianykhin, Tetiana Bogodorova
9/18/2019
cs.SEcs.LG
rl

Official code: ucuapps/modelicagym (89 stars, Python, GPL-3.0, last commit 2022-05-12).

Abstract

This paper presents ModelicaGym toolbox that was developed to employ Reinforcement Learning (RL) for solving optimization and control tasks in Modelica models. The developed tool allows connecting models using Functional Mock-up Interface (FMI) toOpenAI Gym toolkit in order to exploit Modelica equation-based modelling and co-simulation together with RL algorithms as a functionality of the tools correspondingly.

Show full abstract

Thus, ModelicaGym facilitates fast and convenient development of RL algorithms and their comparison when solving optimal control problem for Modelicadynamic models. Inheritance structure ofModelicaGymtoolbox's classes and the implemented methods are discussed in details. The toolbox functionality validation is performed on Cart-Pole balancing problem. This includes physical system model description and its integration using the toolbox, experiments on selection and influence of the model parameters (i.e. force magnitude, Cart-pole mass ratio, reward ratio, and simulation time step) on the learning process of Q-learning algorithm supported with the discussion of the simulation results.

View on arXivView PDF

Code Implementations(1)

GPL-3.0

Modelica models integration with Open AI Gym

8927Python, ModelicaJul 26, 20194 years agoGPL-3.0
modelicaopenai-gymreinforcement-learningreinforcement-learning-environments

Similar Papers

Cite this paper

@article{lukianykhin2019modelicagym,
  title  = {ModelicaGym: Applying Reinforcement Learning to Modelica Models},
  author = {Oleh Lukianykhin and Tetiana Bogodorova},
  year   = {2019},
  eprint = {1909.08604},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/1909.08604}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/1909.08604.svg)](https://codeofpaper.com/paper/1909.08604)

Discussion