Skip to content

Open-Source Simulator for Motor Drives and Power Converters

License

Notifications You must be signed in to change notification settings

claudiiolima/motulator

 
 

Repository files navigation

motulator

Open-Source Simulator for Motor Drives and Power Converters

Introduction

This software includes simulation models for an induction motor, a synchronous reluctance motor, and a permanent-magnet synchronous motor. Furthermore, some simple control algorithms are included as examples. The motor models are simulated in the continuous-time domain while the control algorithms run in discrete time. The default solver is the explicit Runge-Kutta method of order 5(4) from scipy.integrate.solve_ivp.

PWM waveformsSpeed and torque waveforms

Usage

The main folder includes three example scripts to run the simulation:

  • simulate_sensoless.py (for motion sensorless control)
  • simulate_sensored.py (for control with rotor speed or position feedback)
  • simulate_vhz.py (for V/Hz control)

The folder config contains example configuration files that can be modified or used as templates for new ones. There are separate config files for the drive system and for its controller. For example, pulse-width modulation (PWM) can be enabled in the drive system config file.

Notes

Some interfaces may change in the later versions. The example control algorithms aim to be simple yet feasible, and they have not been optimized at all.

Acknowledgement

This open-source project has been sponsored by ABB Oy. The example control methods included in this repository are based on published algorithms (available in textbooks and scientific articles). They do not present any proprietary control software.

About

Open-Source Simulator for Motor Drives and Power Converters

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 100.0%