Electrical Machines Design Laboratory
Overview: EMDLAB is an open-source numerical package developed in the MATLAB environment for the design and analysis of electrical machines, including motors, generators, transformers, and actuators. The package provides a transparent and reproducible tool for academic research and education. Its open-source nature encourages collaboration and facilitates easy extension of the code, making it particularly valuable for method development and academic use.
The package is organized as a library of MATLAB objects. Depending on your specific design needs, you can select the appropriate modules to obtain your desired results. With EMDLAB, you can also develop customized, standalone software tailored to your applications.
✅ 1) Download the emdlab-win64.zip file.
✅ 2) Extract the zip file and place the "emdlab-win64" folder in the "C:" directory, without changing the folder name.
✅ 3) To use the EMDLAB package in your MATLAB code, add the following line at the beginning of your mfile:
--->> addpath(genpath('C:\emdlab-win64'));
How to install EMDLAB from GitHub? (Follow the video link): https://youtu.be/ifwybm4r2_0
For academic use, cite this paper: https://www.sciencedirect.com/science/article/pii/S2352711025004121
In addition to the built-in EMDLAB mesh generators, it is also possible to use Gmsh as an external mesh generator.
✅ 1) Install Python.
✅ 2) Install Gmsh -> you can use: pip install gmsh
✅ 3) Set python.exe path in the pyPath.txt file located in "C:\emdlab-win64\geometry\pyPath.txt"
✅ 4) When using the .generateMesh method, use 'gmsh' as input: .generateMesh('gmsh')