Skip to main content

Rectangular Magnet with Polar Top

main window

main window

The Rectangular Magnet with Polar Top data class, SPM_SlotM12Data, is accessed through the eMotorSolution.CheckPoints.Rotor.SPMSM.SPM_SlotM12Data module.

Parameters
  • W0_expression: str | float The string mathematical expression or a float value for W0.
  • W0_unit: Literal["m", "dm", "cm", "mm", "in", "ft"] The unit of the W0. Default is "m".
  • W1_expression: str | float The string mathematical expression or a float value for W1.
  • W1_unit: Literal["m", "dm", "cm", "mm", "in", "ft"] The unit of the W1. Default is "m".
  • H0_expression: str | float The string mathematical expression or a float value for H0.
  • H0_unit: Literal["m", "dm", "cm", "mm", "in", "ft"] The unit of the H0. Default is "m".
  • H1_expression: str | float The string mathematical expression or a float value for H1.
  • H1_unit: Literal["m", "dm", "cm", "mm", "in", "ft"] The unit of the H1. Default is "m".

Methods

MethodDescription
set_W0(expression, unit)Sets the expression: str | float and unit: Literal["m", "dm", "cm", "mm", "in", "ft"] for W0.
set_W1(expression, unit)Sets the expression: str | float and unit: Literal["m", "dm", "cm", "mm", "in", "ft"] for W1.
set_H0(expression, unit)Sets the expression: str | float and unit: Literal["m", "dm", "cm", "mm", "in", "ft"] for H0.
set_H1(expression, unit)Sets the expression: str | float and unit: Literal["m", "dm", "cm", "mm", "in", "ft"] for H1.
validate()Returns the validation status in dictionary format.

Attributes

AttributeDescription
W0float Returns the evaluated value of W0 in m. ⚠️ read-only
W1float Returns the evaluated value of W1 in m. ⚠️ read-only
H0float Returns the evaluated value of H0 in m. ⚠️ read-only
H1float Returns the evaluated value of H1 in m. ⚠️ read-only
hintsdict[str, float] Returns the hints for the slot in m. ⚠️ read-only