Skip to main content

User Defined

main window

The SlotUserDefData is accessed through the eMotorSolution.CheckPoints.Stator.slots.slotUserDef module.

Please check the Stator Slot User Defined documentation for more details on how to use this slot type.

Parameters
  • points_expression: str | float The string mathematical expression or stator slot dictionary template for points.
  • connections_expression: str | float The string mathematical expression or stator slot dictionary template for connections.

Methods

MethodDescription
set_points(expression)Sets the expression: str | dict for points.
set_connections(expression)Sets the expression: str | dict for connections.
validate()Returns the validation status in dictionary format.

Attributes

AttributeDescription
pointsdict[str, float] Returns the evaluated points in m. ⚠️ read-only
connectionsdict[str, float] Returns the evaluated connections in m. ⚠️ read-only
winding_areafloat Returns the area of the slot in m^2. ⚠️ read-only
wedge_areafloat Returns the area of the wedge in m^2. ⚠️ read-only
total_areafloat Returns the total area of the slot in m^2. ⚠️ read-only
hintsdict[str, float] Returns the hints for the slot in m. ⚠️ read-only