Skip to main content
Pre-release

This release is a pre-release and may not be stable for production use.

Pyleecan

PyPI version 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 (06th October 2020)

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.

Main Features:

  • 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 an electrical model to solve the equivalent circuit of PMSM machine by using the FEMM coupling
  • 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.

Webinar

Three public and free webinars will be organized by Green Forge Coop and UNICAS University:

  • Friday 16th October 15h-17h (GMT+2): How to use pyleecan (basics)? Pyleecan basics, call of FEMM, use of the GUI
  • Friday 30th October 15h-17h (GMT+1): How to use pyleecan (advanced)? Optimization tools, meshing, plot commands
  • Friday 6th November 15h-17h (GMT+1): How to contribute to pyleecan? Github projects, Object Oriented Programming

The webinar will be based on the tutorials. The registration form is available here

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.1b2

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.1b2
File Size Uploaded
pyleecan-1.0.1b2.tar.gz 8.2 MB Details

Built distribution (wheel)

Table of built distributions (wheels) for pyleecan 1.0.1b2
File Interpreter ABI Platform
pyleecan-1.0.1b2-py3-none-any.whl Python 3 none any Details

Total release size: 17.4 MB

Release files / pyleecan-1.0.1b2.tar.gz

Download URL pyleecan-1.0.1b2.tar.gz
Size 8.2 MB
Tags Source
SHA-256 checksum
How to use checksums
8ba7bf2062adca1f1105183c3f3057298ead7e7f45ac1c4ec2e6d70efa7c48e3
BLAKE2b-256 checksum
How to use checksums
822fd09db674825e529d0091cf9fd2266ac81aa0d53c4f8eb572485f78c694fb
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/50.3.0 requests-toolbelt/0.9.1 tqdm/4.50.2 CPython/3.8.6

Release files / pyleecan-1.0.1b2-py3-none-any.whl

Download URL pyleecan-1.0.1b2-py3-none-any.whl
Size 9.2 MB
Tags Python 3
SHA-256 checksum
How to use checksums
f562d60a5b94a1b772285619f568eff06c6b93c16eb68b029b86f1e92168781c
BLAKE2b-256 checksum
How to use checksums
14d940f58dd62ba73048d2679e024cb6e6fb0918079572a1ff55dabdfd8315e1
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/50.3.0 requests-toolbelt/0.9.1 tqdm/4.50.2 CPython/3.8.6

Release history Release notifications | RSS feed

1.5.2

1 release file

1.5.1

1 release file

1.5.0

1 release file

1.4.2

1 release file

1.4.1

1 release file

1.4.0

1 release file

1.3.9

1 release file

1.3.8

1 release file

1.3.7

1 release file

1.3.6

1 release file

1.3.5

1 release file

1.3.4

1 release file

1.3.3

1 release file

1.3.2

1 release file

1.3.1

1 release file

1.3.0

1 release file

1.2.1

1 release file

1.2.0

1 release file

1.1.0

1 release file

1.0.4

1 release file

1.0.3

1 release file

1.0.2

1 release file

1.0.1

1 release file

This release

1.0.1b2 This release

2 release files

1.0.0

1 release file

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