Source code for pyleecan.Methods.Slot.SlotWind.comp_angle_wind_eq
# -*- coding: utf-8 -*-
from numpy import pi
[docs]def comp_angle_wind_eq(self):
"""Compute the equivalent angle of the winding part of the slot
(Ideal polar shape with the same surface and height)
Parameters
----------
self : SlotWind
A SlotWind object
Returns
-------
alpha: float
Average angle of the slot [rad]
"""
Swind = self.comp_surface_wind()
Hwind = self.comp_height_wind()
Rmw = self.comp_radius_mid_wind()
Rext = Rmw + Hwind / 2
Rint = Rmw - Hwind / 2
return Swind * 2 * pi / (pi * Rext ** 2 - pi * Rint ** 2)