PyEMMO is a interface for modeling electrical machines in the open-source FEA software Onelab
Project description
PyEMMO
Python Electrical Machine Modelling in ONELAB
PyEMMO is a interface for modeling electrical machines in the open-source FEA software Onelab. The goal of the project is to automate model creation and the simulation workflow for electrical machines with ONELAB.
Installation
Use the package manager pip to install PyEMMO.
pip install pyemmo
You will need versions of Gmsh and GetDP executables. While Gmsh can be directly installed from pip with the Gmsh Python-API, you will need to download GetDP individually.
[!WARNING] Models created with PyEMMO fail with current GetDP version 3.6.0 due to mesh import error! You can check your GetDP version wirh
getdp --version
Usage
The easiest way to start is by using the Pyleecan project to create a electrical machine instance and feeding it into the PyEMMO-Pyleecan interface.
- Have a look at the Pyleecan tutorials on how to use Pyleecan. Especially the tutorial on "How to define a machine".
- See the Pyleecan API tutorial for detailed instructions on how to create a ONELAB model from a Pyleecan machine object.
Contributing
Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.
Please make sure to update tests as appropriate.
Setup
After cloning the repository, run the following command to install Git hooks:
./workingDirectory/install-hooks.sh
Or if you are on Windows:
install-hooks.bat
License
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file pyemmo-1.5.0.dev1.tar.gz.
File metadata
- Download URL: pyemmo-1.5.0.dev1.tar.gz
- Upload date:
- Size: 769.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.12.10
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
3f055503f3b30a7ebd9e53ae2348ea423fe8f9430909649fcc137aebb3291a68
|
|
| MD5 |
e1b5bc9f6adca4bac35236e388b378af
|
|
| BLAKE2b-256 |
ee06c685d029a65aad251ebc1a6ddc7aa98824e4ba7f90058395ae10f50749f2
|
File details
Details for the file pyemmo-1.5.0.dev1-py3-none-any.whl.
File metadata
- Download URL: pyemmo-1.5.0.dev1-py3-none-any.whl
- Upload date:
- Size: 1.0 MB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.12.10
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
09d1091a5bd060b1078fe4a804f35f770a69a2a3cbbac4f9bade01fd8e04084e
|
|
| MD5 |
20deb8838dd98b0f619eb9540a4e9aea
|
|
| BLAKE2b-256 |
9b6851647a5d0ef81e7420225e15f7a7886cca462b030e3e245b4c368862a13a
|