This repository contains a suite of tools that can be used to analyze the performance of syncronous motors of varying types (IPM, SRM, SPM, etc). The tools are written in Python and use the Pyfemm library to interface with FEMM for magnetostatic simulation. For compatability with Linux systems, there are also tools to build and run FEMM in a Docker container.
Install docker build the pyfemm image following steps in docker/README.md (this is NOT fully automated yet) Transfer the pyfemm image to the remote simulation machine
To simulate a motor, modify config.json to specify the motor parameters (SRM type for now) The run_remote.sh script is meant to setup and run on a remote machine because FEMM needs create windows in the xserver. It is not recommended to run locally unless if you do not plan on using the computer for a while.
This project is licensed under the Unlicense. Do what you want with this repository. If you make something cool I'd like to know - you can reach me at [email protected]. I won't stop you but please no weapons development or neural network training on my code. Just don't sue me if it breaks something.
This project uses the Pyfemm library to interface with FEMM, both of which are licensed under the Aladdin Free Public License.