Source code for pyleecan.Methods.Slot.SlotW61.comp_height
# -*- coding: utf-8 -*-
[docs]def comp_height(self):
"""Compute the height of the Slot.
Caution, the bottom of the Slot is an Arc
Parameters
----------
self : SlotW61
A SlotW61 object
Returns
-------
Htot: float
Height of the slot [m]
"""
Rbo = self.get_Rbo()
point_dict = self._comp_point_coordinate()
Z5 = point_dict["Z5"]
return Rbo - abs(Z5)