Fast slot-filling algorithm

Matlab algorithm for fast filling of the slot with round conductors.

https://github.com/kaskaj/FillSlot

You are now following this Submission

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.

Cite As

Jan Kaska (2026). Fast slot-filling algorithm (https://github.com/kaskaj/FillSlot/releases/tag/1.0), GitHub. Retrieved .

General Information

MATLAB Release Compatibility

  • Compatible with any release

Platform Compatibility

  • Windows
  • macOS
  • Linux
Version Published Release Notes Action
1.0

To view or report issues in this GitHub add-on, visit the GitHub Repository.
To view or report issues in this GitHub add-on, visit the GitHub Repository.