Halbach Array
The Halbach Array data class, SPM_SlotM19Data
, is accessed through the eMotorSolution.CheckPoints.Rotor.SPMSM.SPM_SlotM19Data
module.
Parameters
- W0_expression:
str | float
The string mathematical expression or a float value forW0
. - W0_unit:
Literal["deg", "rad"]
The unit of theW0
. Default is"deg"
. - H0_expression:
str | float
The string mathematical expression or a float value forH0
. - H0_unit:
Literal["m", "dm", "cm", "mm", "in", "ft"]
The unit of theH0
. Default is"m"
. - H1_expression:
str | float
The string mathematical expression or a float value forH1
. - H1_unit:
Literal["m", "dm", "cm", "mm", "in", "ft"]
The unit of theH0
. Default is"m"
.
Methods
Method | Description |
---|---|
set_W0(expression, unit) | Sets the expression: str | float and unit: Literal["deg", "rad"] for W0 . |
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
Attribute | Description |
---|---|
W0 | float Returns the evaluated value of W0 in deg . ⚠️ read-only |
H0 | float Returns the evaluated value of H0 in m . ⚠️ read-only |
H1 | float Returns the evaluated value of H1 in m . ⚠️ read-only |
hints | dict[str, float] Returns the hints for the slot in m . ⚠️ read-only |