Skip to main content

Pyleecan

License Code style: black

Presentation

PYLEECAN objective is to provide a user-friendly, unified, flexible simulation framework for the multiphysic design and optimization of electrical machines and drives based on fully open-source software.

It is meant to be used by researchers, R&D engineers and teachers in electrical engineering, both on standard topologies of electrical machines and on novel topologies (e.g. during a PhD work). An objective of PYLEECAN is that every PhD student should start with PYLEECAN instead of implementing his own scripts (e.g. coupling Scilab or Matlab with Femm).

Scope

The initial scope of the project is to simulate the electromagnetic performances of the following 2D radial flux machines:

  • Interior, Surface and Surface Inset Permanent Magnet Synchronous Machines (IPMSM, SPMSM, SIPMSM) with inner or outer rotor
  • Squirrel Cage Induction Machines (SCIM) and Doubly Fed Induction Machines (DFIM)
  • Synchro Reluctant Machines (SyRM)
  • Switched Reluctance Machines (SRM).

The project should then address 3D topologies (axial flux machines, claw-pole synchronous machines) and linear machines. On a longer term, PYLEECAN should also include the following five physics with different model granularity (e.g. analytic, semi-analytic, finite element):

  • Electrical
  • Electromagnetics
  • Heat Transfer
  • Structural Mechanics
  • Acoustics

Origin and status of the project

EOMYS initiated in 2018 the open-source project named PYLEECAN (Python Library for Electrical Engineering Computational Analysis) under Apache license by releasing a part of MANATEE commercial software scripts. These initial scripts included a fully object-oriented modelling of main radial flux electrical machines, with parameterized geometry. However, PYLEECAN is not an EOMYS-only project, the initial maintainers includes other companies and universities and all contributors are welcome.

  • PYLEECAN is fully coupled to FEMM to carry non-linear magnetostatic analysis including sliding band and symmetries. For now this coupling is available only on Windows.
  • PYLEECAN includes a Graphical User Interface to define main 2D radial flux topologies parametrized geometries (PMSM, IM, SRM, SyRM) including material library.
  • PYLEECAN is coupled to Gmsh 2D/3D finite element mesh generator to run third-party multiphysic solvers.
  • PYLEECAN is coupled to a multiobjective optimization library to carry design optimization of electrical machines.

If you are interested by a topology or a specific model, you can open an issue on this Github repository to talk about it. We will gladly explain how to add it yourself or we will add it to the development list for further release.

Documentation / Website

For now all the information on the project are available on www.pyleecan.org. At this link, you will find the ICEM 2018 publication and the architecture documentation.

Contact

You can contact us on Github by opening an issue (to request a feature, ask a question or report a bug) or at pyleecan@framalistes.org that redirect to all the maintainers.

Metadata

Release files for pyleecan 1.0.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for pyleecan 1.0.0
File Size Uploaded Provenance Actions
pyleecan-1.0.0.tar.gz 8.3 MB Without provenance Details for pyleecan-1.0.0.tar.gz

Release files / pyleecan-1.0.0.tar.gz

Download URL pyleecan-1.0.0.tar.gz
Size 8.3 MB
Tags Source
SHA-256 checksum
How to use checksums
662069ceaa84bacb1455308dafb8b312dc9b709b02958a47c4d3d659205235d3
BLAKE2b-256 checksum
How to use checksums
f3095b0105c4265bf1e5659debc2374574c95f8045a514b2422c7d2397a72959
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.2.0 pkginfo/1.5.0.1 requests/2.23.0 setuptools/49.6.0 requests-toolbelt/0.9.1 tqdm/4.43.0 CPython/3.7.7

Security for pyleecan 1.0.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page