Published February 7, 2021 | Journal article | Version v1 | https://doi.org/10.21105/joss.02498

gym-electric-motor (GEM): A Python toolbox for the simulation of electric drive systems

Files

joss.02498.pdf

Files (11.2 MB)

Name Size Download all
md5:e97f25861cf2ab0194be0e4de63d5c56
11.0 MB Preview Download
md5:d645752436ab2dd91f8a80435b6dab0b
190.3 kB Preview Download

Additional details

Dates

Issued
February 7, 2021

References

  1. Balakrishna, P., Book, G., Kirchgässner, W., Schenke, M., Traue, A., & Wallscheid, O. (2020). gym-electric-motor (GEM): A Python toolbox for the simulation of electric drive systems (Version v0.3.1) [Computer software]. Zenodo. https://doi.org/10.5281/zenodo.4355691
  2. Chollet, François and others, Keras, 2015, https://keras.io
  3. Martı́n Abadi and Ashish Agarwal and Paul Barham and Eugene Brevdo and Zhifeng Chen and Craig Citro and Greg S. Corrado and Andy Davis and Jeffrey Dean and Matthieu Devin and Sanjay Ghemawat and Ian Goodfellow and Andrew Harp and Geoffrey Irving and Michael Isard and Jia, Yangqing and Rafal Jozefowicz and Lukasz Kaiser and Manjunath Kudlur and Josh Levenberg and Dandelion Mané and Rajat Monga and Sherry Moore and Derek Murray and Chris Olah and Mike Schuster and Jonathon Shlens and Benoit Steiner and Ilya Sutskever and Kunal Talwar and Paul Tucker and Vincent Vanhoucke and Vijay Vasudevan and Fernanda Viégas and Oriol Vinyals and Pete Warden and Martin Wattenberg and Martin Wicke and Yuan Yu and Xiaoqiang Zheng, Software available from tensorflow.org, TensorFlow: Large-Scale Machine Learning on Heterogeneous Systems, 2015, https://www.tensorflow.org
  4. Balakrishna, Praneeth and Book, Gerrit and Kirchgässner, Wilhelm and Schenke, Maximilian and Traue, Arne and Wallscheid, Oliver, gym-electric-motor documentation, 2020, https://upb-lea.github.io/gym-electric-motor
  5. Kirchgässner, Wilhelm and Schenke, Maximilian and Wallscheid, Oliver and Weber, Daniel, Paderborn University: Reinforcement learning Course Materials, 2020, https://github.com/upb-lea/reinforcement_learning_course_materials
  6. Brockman, Greg and Cheung, Vicki and Pettersson, Ludwig and Schneider, Jonas and Schulman, John and Tang, Jie and Zaremba, Wojciech, OpenAI Gym, 2016, arXiv:1606.01540, https://github.com/openai/gym
  7. The MathWorks, Inc., MATLAB - Simulink R2020a, 2020, https://www.mathworks.com/products/matlab.html
  8. dSPACE GmbH, VEOS 4.5, 2019, https://www.dspace.com/en/inc/home/products/sw/simulation_software/veos.cfm
  9. OPAL-RT TECHNOLOGIES, Inc., HYPERSIM 2020.1, 2020, https://www.opal-rt.com/systems-hypersim
  10. Margolis, Benjamin W. L., SimuPy 1.0.0, 2017, GitHub repository, https://github.com/simupy/simupy
  11. ANSYS, Inc., ANSYS Maxwell 2020 R1, 2020, https://www.ansys.com/products/electronics/ansys-maxwell
  12. Motor Design Ltd., Motor-CAD v12, 2020, https://www.motor-design.com/motor-cad-software
  13. ElectroMagneticWorks, Inc., MotorWizard, 2020, https://www.emworks.com/product/MotorWizard
  14. Meeker, David, FEMM 4.2, 2020, https://www.femm.info/wiki/HomePage
  15. Paszke, Adam and Gross, Sam and Massa, Francisco and Lerer, Adam and Bradbury, James and Chanan, Gregory and Killeen, Trevor and Lin, Zeming and Gimelshein, Natalia and Antiga, Luca and Desmaison, Alban and Kopf, Andreas and Yang, Edward and DeVito, Zachary and Raison, Martin and Tejani, Alykhan and Chilamkurthy, Sasank and Steiner, Benoit and Fang, Lu and Bai, Junjie and Chintala, Soumith, Advances in Neural Information Processing Systems 32, Curran Associates, Inc., PyTorch: An Imperative Style, High-Performance Deep Learning Library, 2019, Wallach, H. and Larochelle, H. and Beygelzimer, A. and d' Alché-Buc, F. and Fox, E. and Garnett, R., 8024–8035, https://papers.neurips.cc/paper/9015-pytorch-an-imperative-style-high-performance-deep-learning-library.pdf
  16. Raffin, Antonin and Hill, Ashley and Ernestus, Maximilian and Gleave, Adam and Kanervisto, Anssi and Dormann, Noah, https://github.com/DLR-RM/stable-baselines3, Stable Baselines3, 2019, GitHub repository, GitHub
  17. Guadarrama, Sergio and Korattikara, Anoop and Ramirez, Oscar and Castro, Pablo and Holly, Ethan and Fishman, Sam and Wang, Ke and Gonina, Ekaterina and Wu, Neal and Kokiopoulou, Efi and Sbaiz, Luciano and Smith, Jamie and Bartók, Gábor and Berent, Jesse and Harris, Chris and Vanhoucke, Vincent and Brevdo, Eugene, , [Online; accessed 25-June-2019], TF-Agents: A library for Reinforcement Learning in TensorFlow, 2018, GitHub repository, https://github.com/tensorflow/agents
  18. Plappert, Matthias, , keras-rl, 2016, GitHub repository, GitHub, https://github.com/keras-rl/keras-rl
  19. Open Source Modelica Consortium, /, OpenModelica, 2020, https://openmodelica.org
  20. Scilab, , Xcos (Scilab 6.1.0), 2020, https://www.scilab.org/software/xcos

Citations

  1. Reif, J., Pommer, D., Bouhadjar, Y., & Axenie, C. (2026). EMBARK: Neuromorphic Closed-Loop Motor Control Pipeline for NeuroBench. In Lecture Notes in Computer Science (pp. 229–240). Springer Nature Switzerland. https://doi.org/10.1007/978-3-032-38404-1_19
  2. Ruusila, A., & Karamanakos, P. (2026). Soft4PES: Software Library for Power Electronic Systems. 2026 IEEE 22nd International Power Electronics and Motion Control Conference (PEMC), 1–6. https://doi.org/10.1109/pemc69244.2026.11726077
  3. Loukrezis, D., Diehl, E., & De Gersem, H. (2025). Multivariate sensitivity-adaptive polynomial chaos expansion for high-dimensional surrogate modeling and uncertainty quantification. Applied Mathematical Modelling, 137, 115746. https://doi.org/10.1016/j.apm.2024.115746
  4. Ultsch, J., Ahmic, K., & Brembeck, J. (2025). train_fmu_gym: A Functional Mock-up Unit-Based Framework to Train Reinforcement Learning Agents for Multi-Physical Systems. IEEE Access, 13, 208845–208867. https://doi.org/10.1109/access.2025.3636787
  5. Haucke-Korber, B., Aung, N. N., Schenke, M., Peña, M., Jakobeit, D., & Wallscheid, O. (2025). Reinforcement Learning-based Direct Torque Control of Externally Excited Synchronous Motors: a Proof of Concept. 2025 IEEE International Electric Machines & Drives Conference (IEMDC), 916–921. https://doi.org/10.1109/iemdc60492.2025.11061093
  6. Das, S. C., Vu, T., Ramasubramanian, D., Farantatos, E., Zhang, J., & Ortmeyer, T. (2025). Deep Reinforcement Learning for Optimizing Inverter Control With Fixed and Adaptive Gain Tuning Strategies for Power System Stability. IEEE Transactions on Smart Grid, 16(6), 5099–5110. https://doi.org/10.1109/tsg.2025.3604554
  7. Gao, D., Xiao, T., Wang, S., Li, H., Qiu, J., Yang, Y., Chen, H., Zhang, H., Lu, X., & Chen, S. (2024). A Risk-Sensitive Intelligent Control Algorithm for Servo Motor Based on Value Distribution. Applied Sciences, 14(13), 5618. https://doi.org/10.3390/app14135618
  8. Weber, D., Schenke, M., & Wallscheid, O. (2023). Steady-State Error Compensation for Reinforcement Learning-Based Control of Power Electronic Systems. IEEE Access, 11, 76524–76536. https://doi.org/10.1109/access.2023.3297274
  9. Tiitinen, L., Hartikainen, H., Peretti, L., & Hinkkanen, M. (2023). motulator: Motor Drive Simulator in Python. 2023 IEEE International Electric Machines & Drives Conference (IEMDC), 1–7. https://doi.org/10.1109/iemdc55163.2023.10238938
  10. Haucke-Korber, B., Schenke, M., & Wallscheid, O. (2023). Deep Q Direct Torque Control with a Reduced Control Set Towards Six-Step Operation of Permanent Magnet Synchronous Motors. 2023 IEEE International Electric Machines & Drives Conference (IEMDC), 1–7. https://doi.org/10.1109/iemdc55163.2023.10239018
  11. Book, F., Traue, A., Schenke, M., Haucke-Korber, B., & Wallscheid, O. (2023). Gym-Electric-Motor (GEM) Control: An Automated Open-Source Controller Design Suite for Drives. 2023 IEEE International Electric Machines & Drives Conference (IEMDC), 1–7. https://doi.org/10.1109/iemdc55163.2023.10239044
  12. Zhang, S., Wallscheid, O., & Porrmann, M. (2023). Machine Learning for the Control and Monitoring of Electric Machine Drives: Advances and Trends. IEEE Open Journal of Industry Applications, 4, 188–214. https://doi.org/10.1109/ojia.2023.3284717
  13. Jakobeit, D., Schenke, M., & Wallscheid, O. (2023). Meta-Reinforcement-Learning-Based Current Control of Permanent Magnet Synchronous Motor Drives for a Wide Range of Power Classes. IEEE Transactions on Power Electronics, 38(7), 8062–8074. https://doi.org/10.1109/tpel.2023.3256424
  14. Gao, D., Wang, S., Yang, Y., Zhang, H., Chen, H., Mei, X., Chen, S., & Qiu, J. (2023). An Intelligent Control Method for Servo Motor Based on Reinforcement Learning. Algorithms, 17(1), 14. https://doi.org/10.3390/a17010014
  15. Rudolf, T., Schürmann, T., Skull, M., Schwab, S., & Hohmann, S. (2022). Data-Driven Automotive Development: Federated Reinforcement Learning for Calibration and Control. In Proceedings (pp. 369–384). Springer Fachmedien Wiesbaden. https://doi.org/10.1007/978-3-658-37009-1_26
  16. Schenke, M., & Wallscheid, O. (2021). A Deep Q-Learning Direct Torque Controller for Permanent Magnet Synchronous Motors. IEEE Open Journal of the Industrial Electronics Society, 2, 388–400. https://doi.org/10.1109/ojies.2021.3075521