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

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

from numpy import pi
from ....Classes.LamSlot import LamSlot


[docs]def comp_surfaces(self): """Compute the Lamination surfaces (Slam, Svent, Sslot, Smag) Parameters ---------- self : LamSlotMag A LamSlotMag object Returns ------- S_dict: dict Lamination surface dictionary (Slam, Svent, Sslot, Smag) [m**2] """ S_dict = LamSlot.comp_surfaces(self) Smag = self.slot.comp_surface_active() S_dict["Smag"] = Smag return S_dict