Fast slot-filling algorithm
Versión 1.0 (3.78 KB) por
Jan Kaska
Matlab algorithm for fast filling of the slot with round conductors.
Algorithm was developed for electrical machines, but can be used for many other purposes. The algorithm works with random variables, so it is able to generate different layouts for the same inputs. The slot is filled from the top edge, this can be easily changed by modifying the code.
Inputs:
- Vector of points defining the shape of the slot (x,y)
- Radius of the conductors
- Desired number of conductors / desired fill-factor (Area_conductors / Area_slot)
- Additional parameter defining the filling density (shown in the picture)
Output:
- Vector of coordinates of the conductor centers
I will be glad for any feedback and possible improvements to the algorithm.
Citar como
Jan Kaska (2024). Fast slot-filling algorithm (https://github.com/kaskaj/FillSlot/releases/tag/1.0), GitHub. Recuperado .
Compatibilidad con la versión de MATLAB
Se creó con
R2021b
Compatible con cualquier versión
Compatibilidad con las plataformas
Windows macOS LinuxEtiquetas
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Descubra Live Editor
Cree scripts con código, salida y texto formateado en un documento ejecutable.
Versión | Publicado | Notas de la versión | |
---|---|---|---|
1.0 |
Para consultar o notificar algún problema sobre este complemento de GitHub, visite el repositorio de GitHub.
Para consultar o notificar algún problema sobre este complemento de GitHub, visite el repositorio de GitHub.