Type 54
The IPM_HoleMagnet54Data
is accessed through the eMotorSolution.CheckPoints.Rotor.SynRM.SYN_HoleM54
module.
Parameters
- W1_expression:
str | float
The string mathematical expression or a float value forW1
. - W1_unit:
Literal["deg", "rad"]
The unit of theW1
. Default is"deg"
. - R1_expression:
str | float
The string mathematical expression or a float value forR1
. - R1_unit:
Literal["m", "dm", "cm", "mm", "in", "ft"]
The unit of theR1
. 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"
. - hole_material_init:
str
The name of the hole material. It should be one of the non-magnet materials in the project's materials collection. Default isAir
.
Methods
Method | Description |
---|---|
set_W1(expression, unit) | Sets the expression: str | float and unit: Literal["deg", "rad"] for W1 . |
set_R1(expression, unit) | Sets the expression: str | float and unit: Literal["m", "dm", "cm", "mm", "in", "ft"] for R1 . |
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_hole_material(material_name) | Sets the material_name: str for hole_material . It should be one of the non-magnet materials in the project's materials collection. |
validate() | Returns the validation status in dictionary format. |
Attributes
Attribute | Description |
---|---|
W1 | float Returns the evaluated value of W1 in deg . ⚠️ read-only |
R1 | float Returns the evaluated value of R1 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 |
hole_material | str Returns the name of the hole material. ⚠️ read-only |
hints | dict[str, float] Returns the hints for the slot in m . ⚠️ read-only |