Purpose: Hold the stator dimensions that the inductance calculations need, and say where each named conductor position sits in the slot.
What it does:SlotGeometry describes an open or semi-closed slot whose conductor body tapers anywhere between a parallel slot and a parallel tooth (taper t from 0 to 1). StatorGeometry adds the bore, air gap, stack, yoke and end-winding overhang, and derives the slot pitch, tooth width and outer radius. SlotGeometry.regions splits the conductor body into the positions of a WindingPattern layout (over-under layers of equal copper area, or side-by-side halves).
Next steps: air-gap inductance from the winding function, then position-dependent slot leakage and tooth-tip leakage, both from these regions.
How It Fits Into the Motor Design Workflow
Upstream:emachines.winding.WindingPattern — which phase sits at which named position of which slot.
Downstream: the inductance parts (air gap, slot leakage, tooth tip, end winding), each a function of a WindingPattern and a StatorGeometry.
Inputs
Stator cross-section showing three of the Q slots with bore radius, air gap, slot pitch, tooth width, slot depth, yoke height and outer radius; side view with stack length and end-winding overhang.
Slot close-up: (a) open slot, (b) semi-closed slot with opening, tooth-tip transition and tapered conductor body, (c) the named conductor positions for over-under, side-by-side and hairpin layouts.
Symbol
Meaning
Where it is set
\(Q\)
number of slots
StatorGeometry.Q
\(r_{bore}\)
stator bore radius
StatorGeometry.r_bore
\(g\)
air gap (mechanical, before Carter correction)
StatorGeometry.g
\(l_{stk}\)
stack length
StatorGeometry.l_stk
\(h_y\)
yoke height
StatorGeometry.h_y
\(l_{ew}\)
end-winding overhang beyond each end of the stack
StatorGeometry.l_ew
\(b_0\), \(h_0\)
slot opening width and height
SlotGeometry.b0, .h0
\(h_1\)
tooth-tip transition (wedge) height, from \(b_0\) out to \(b_s\)
SlotGeometry.h1
\(b_s\)
slot width at the top of the conductor body
SlotGeometry.bs
\(h_s\)
conductor body depth
SlotGeometry.hs
\(t\)
taper: 0 parallel slot, 1 parallel tooth
SlotGeometry.t
\(h_{sep}\)
separator between radial layers
SlotGeometry.h_sep
Derived: slot pitch \(\tau_s = 2\pi r_{bore}/Q\); depth \(y\) is measured from the top of the conductor body, at radius \(r_{body} = r_{bore} + h_0 + h_1\); slot depth \(h_{slot} = h_0 + h_1 + h_s\); outer radius \(R_{out} = r_{bore} + h_{slot} + h_y\).
An open slot is \(b_0 = b_s\) and \(h_0 = h_1 = 0\): the conductor body starts at the bore.
With \(t = 1\) the tooth width \(w_t(y) = 2\pi(r_{body} + y)/Q - b(y) = 2\pi r_{body}/Q - b_s\) is the same at every depth, a parallel tooth. With \(t = 0\) the slot sides are parallel. Values in between split the difference. Because \(b(y)\) is linear in \(y\), every slot integral in the leakage calculations stays in closed form.
The copper area between depths \(y_0\) and \(y_1\) is
Over-under layers share the body between \(n\) layers of equal copper area, with a separator \(h_{sep}\) between neighbours. Each boundary solves \(A(y_0, y) = A_{layer}\), a quadratic in \(y\). Layer 1 (top when \(n = 2\)) is on the air-gap side. Side-by-side positions each take the full depth and half the width (left is toward slot \(i - 1\)).
Slot shape: an optional opening and tooth-tip transition above a tapered conductor body.
All lengths in metres. Use SlotGeometry.open or SlotGeometry.semi_closed.
Attributes
bs : float Slot width at the top of the conductor body hs : float Conductor body depth b0 : float Opening width; 0 -> bs (open slot) h0 : float Opening height (0 for an open slot) h1 : float Tooth-tip transition height, from b0 out to bs (0 for an open slot) t : float Taper, 0 = parallel slot … 1 = parallel tooth h_sep : float Separator height between radial layers (default 0)
The part of the conductor body that one named position occupies.
Attributes
name : str Position name (see slot_positions) y0, y1 : float Depth range below the top of the conductor body [m], y0 < y1 x0, x1 : float Share of the local slot width, from the left side (0) to the right (1)
# Exampless = SlotGeometry.open(bs=6e-3, hs=18e-3)assert s.is_open and s.b0 ==6e-3and s.depth ==18e-3top, bottom = s.regions("over_under", Q=36)assert np.isclose(top.y1, 9e-3) and np.isclose(bottom.y0, 9e-3) # parallel slot: equal heightssc = SlotGeometry.semi_closed(b0=2.5e-3, h0=1e-3, h1=1.5e-3, bs=6e-3, hs=18e-3, t=0.5)print(f"bottom width {sc.bottom_width(36) *1e3:.3f} mm, depth {sc.depth *1e3:.1f} mm")for r in sc.regions("over_under", Q=36):print(f" {r.name:6s} y = {r.y0 *1e3:6.3f} … {r.y1 *1e3:6.3f} mm, area {sc.area(36, r.y0, r.y1) *1e6:.3f} mm²")
bottom width 7.571 mm, depth 20.5 mm
top y = 0.000 … 9.519 mm, area 61.069 mm²
bottom y = 9.519 … 18.000 mm, area 61.069 mm²
Stator dimensions for the inductance calculations (inner-rotor, radial flux). SI units.
Attributes
Q : int Number of slots r_bore : float Bore radius [m] g : float Mechanical air gap [m] l_stk : float Stack length [m] slot : SlotGeometry Slot shape h_y : float Yoke height [m] l_ew : float End-winding overhang beyond each end of the stack [m] (default 0)
Example
The machine drawn in the figures above: 36 slots on a 60 mm bore, 0.8 mm air gap, semi-closed slots tapered halfway between parallel slot and parallel tooth.
slot pitch 10.472 mm, tooth 4.908 → 6.479 mm, slot bottom width 7.571 mm, R_out 92.5 mm
The same stator with the taper swept from parallel slot to parallel tooth. The tooth narrows toward the slot bottom at t = 0 and keeps its width at t = 1:
import matplotlib.pyplot as pltfrom dataclasses import replace
fig, ax = plt.subplots(figsize=(6, 3.4))y = np.linspace(0, 18e-3, 50)for t in (0.0, 0.5, 1.0): st = replace(stator, slot=replace(stator.slot, t=t)) ax.plot(y *1e3, st.slot_width(y) *1e3, label=f"slot, t = {t:g}") ax.plot(y *1e3, st.tooth_width_at(y) *1e3, "--", label=f"tooth, t = {t:g}")ax.set_xlabel("depth y below the top of the conductor body [mm]")ax.set_ylabel("width [mm]")ax.legend(fontsize=8, ncol=2)ax.grid(alpha=0.3)plt.tight_layout()
Tests
References
Pyrhönen, J., Jokinen, T., Hrabovcová, V. (2014). Design of Rotating Electrical Machines (2nd ed.). Wiley — slot dimensions and parallel-tooth slots.
Lipo, T.A. (2017). Introduction to AC Machine Design. Wiley-IEEE Press — slot and tooth proportions.