Replies: 2 comments 5 replies
-
Hello, Thank you for your interest in pyleecan ! Adding a new slot is a good way to start with pyleecan as it can help you to discover several key aspects of the development (class generator, PR, Tests...). We have a tutorial about how to add a slot in pyleecan that can help you to contribute: https://www.pyleecan.org/tuto.add.slot.html but don't hesitate to ask questions if you need help in creating the PR, the tests, the GUI... By the way, you may need to do something different than usual for get_surface_opening to avoid that the airgap mesh size goes inside your slot. Regarding the visualization of the wires this would be a great addition to pyleecan ! For that I would say the best way would be to add a new generic method to Surface abstract object that would return a list of Circle object corresponding to the conductors. But then we would need to find a algorithm to properly add the circle in any surface which is tricky ! Do you have an idea of how we could do that or do you plan to do a method that works only on your schematics (which would be a great step any way) ? Something interesting is that the geometry modeler is central in pyleecan, so if you manage to find a way to plot it, we will be able to simulate that without much effort in a FEA software. Best regards, |
Beta Was this translation helpful? Give feedback.
-
Hello Pierre, i imagined it would be so. I have added 8 surfaces as shown on the picture: This only works if all gaps are greater than zero (i_bore > 0, i_tooth > 0, i_yoke > 0 and i_tan>0). I believe this will always hold true for this slot. If needed, for the slots without gaps I would make new slot class. the mentioned constrains (i_bore > 0, i_tooth > 0, i_yoke > 0 and i_tan>0) I will add in the slot class’s check function. Are there any constraints regarding the direction of the lines between neighboring surfaces? |
Beta Was this translation helpful? Give feedback.
-
Hello,
I decided to try Pyleecan for a project I'm working on. My first impression is that it's a well-structured and thoughtfully designed project with a very flexible framework. However, due to the wide range of options, it took me a little time to get started. To some of its capabilities I decided to create a new slot model. This is the schematics of the resulting slot i've created with pyleecan:
The model I created differs from the existing ones by incorporating isolation gaps between the active part of the winding and the lamination slot. Additionally, it allows for the inclusion of gaps between tangential divisions in the winding layout.
The next thing i would like to implement is the visualization of the wires inside the active areas like here:
Any thoughs on how to implement it in the best and flexible way are welcome.
Now I would like to contribute this new slot to the Pyleecan project. Could someone guide me through the process of contributing, or provide support in adding / testing this model to the pyleecan project?
I have creates a fork of the project:
https://github.com/zmladen/pyleecan
Thanks,
zmladen
Beta Was this translation helpful? Give feedback.
All reactions