OpenAI Gym environment for electric motor simulation and control
Top 78.5% on sourcepulse
Gym-Electric-Motor (GEM) provides a Python toolbox for simulating and controlling various electric motors, targeting engineers and researchers in classical control and reinforcement learning. It enables the construction of drive trains with standard components and offers a rich interface for integrating control algorithms, from PI controllers to deep reinforcement learning agents, facilitating rapid prototyping and experimentation.
How It Works
GEM models electric drive trains using modular building blocks: voltage supply, converter, electric motor, and load models. It supports both continuous control set (duty cycle) and finite control set (switching commands) converters. The environment provides a Gymnasium (formerly OpenAI Gym) interface, allowing seamless integration with RL algorithms and classical control methods for closed-loop simulation and control strategy development.
Quick Start & Requirements
pip install gym-electric-motor
Highlighted Details
Maintenance & Community
Licensing & Compatibility
Limitations & Caveats
4 days ago
1 week