Source code for pyleecan.Methods.Slot.SlotDC.comp_angle_opening
from numpy import arcsin
[docs]def comp_angle_opening(self):
"""Compute the average opening angle of the Slot
Parameters
----------
self : SlotDC
A SlotDC object
Returns
-------
alpha: float
Average opening angle of the slot [rad]
"""
Rbo = self.get_Rbo()
return float(2 * arcsin(self.W1 / (2 * Rbo)))