Rectangular Magnet with Curve Top
The Rectangular Magnet with Curve Top data class, SPM_SlotM13Data
, is accessed through the eMotorSolution.CheckPoints.Rotor.SPMSM.SPM_SlotM13Data
module.
Parameters
- W0_expression:
str | float
The string mathematical expression or a float value forW0
. - W0_unit:
Literal["m", "dm", "cm", "mm", "in", "ft"]
The unit of theW0
. Default is"m"
. - W1_expression:
str | float
The string mathematical expression or a float value forW1
. - W1_unit:
Literal["m", "dm", "cm", "mm", "in", "ft"]
The unit of theW1
. Default is"m"
. - 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 theH1
. Default is"m"
. - Rtopm_expression:
str | float
The string mathematical expression or a float value forRtopm
. - Rtopm_unit:
Literal["m", "dm", "cm", "mm", "in", "ft"]
The unit of theRtopm
. Default is"m"
.
Methods
Method | Description |
---|---|
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 . |
set_Rtopm(expression, unit) | Sets the expression: str | float and unit: Literal["m", "dm", "cm", "mm", "in", "ft"] for Rtopm . |
validate() | Returns the validation status in dictionary format. |
Attributes
Attribute | Description |
---|---|
W0 | float Returns the evaluated value of W0 in m . ⚠️ read-only |
W1 | float Returns the evaluated value of W1 in m . ⚠️ 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 |
Rtopm | float Returns the evaluated value of Rtopm in m . ⚠️ read-only |
hints | dict[str, float] Returns the hints for the slot in m . ⚠️ read-only |