Source code for pyleecan.Methods.Machine.LamSlotMulti.comp_surfaces

# -*- coding: utf-8 -*-

from numpy import pi
from ....Classes.Lamination import Lamination


[docs]def comp_surfaces(self): """Compute the Lamination surfaces (Lamination, Ventilation, Slot). Parameters ---------- self : LamSlotMulti A LamSlotMulti object Returns ------- S_dict: dict Lamination surface dictionary (Slam, Svent, Sslot) [m**2] """ S_dict = Lamination.comp_surfaces(self) Sslot = 0 for slot in self.slot_list: Sslot += slot.comp_surface() S_dict["Sslot"] = Sslot S_dict["Slam"] -= Sslot return S_dict