Type 54

The IPM_HoleMagnet54Data is accessed through the eMotorSolution.CheckPoints.Rotor.IPMSM.IPM_HoleMagnet54 module.
Parameters
- W0_expression:
str | floatThe string mathematical expression or a float value forW0. - W0_unit:
Literal["deg", "rad"]The unit of theW0. Default is"deg". - W1_expression:
str | floatThe string mathematical expression or a float value forW1. - W1_unit:
Literal["m", "dm", "cm", "mm", "in", "ft"]The unit of theW1. Default is"m". - W2_expression:
str | floatThe string mathematical expression or a float value forW2. - W2_unit:
Literal["m", "dm", "cm", "mm", "in", "ft"]The unit of theW2. Default is"m". - W3_expression:
str | floatThe string mathematical expression or a float value forW3. - W3_unit:
Literal["m", "dm", "cm", "mm", "in", "ft"]The unit of theW3. Default is"m". - W4_expression:
str | floatThe string mathematical expression or a float value forW4. - W4_unit:
Literal["m", "dm", "cm", "mm", "in", "ft"]The unit of theW4. Default is"m". - H0_expression:
str | floatThe 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 | floatThe string mathematical expression or a float value forH1. - H1_unit:
Literal["m", "dm", "cm", "mm", "in", "ft"]The unit of theH1. Default is"m". - H2_expression:
str | floatThe string mathematical expression or a float value forH2. - H2_unit:
Literal["m", "dm", "cm", "mm", "in", "ft"]The unit of theH2. Default is"m". - H3_expression:
str | floatThe string mathematical expression or a float value forH3. - H3_unit:
Literal["m", "dm", "cm", "mm", "in", "ft"]The unit of theH3. Default is"m". - H4_expression:
str | floatThe string mathematical expression or a float value forH4. - H4_unit:
Literal["m", "dm", "cm", "mm", "in", "ft"]The unit of theH4. Default is"m". - hole_material_init:
strThe name of the hole material. It should be one of the non-magnet materials in the project's materials collection. Default isAir. - magnet_material_init:
strThe name of the magnet material. It should be one of the magnet materials in the project's materials collection. Default isNdFeB.
Methods
| Method | Description |
|---|---|
| set_W0(expression, unit) | Sets the expression: str | float and unit: Literal["deg", "rad"] for W0. |
| set_W1(expression, unit) | Sets the expression: str | float and unit: Literal["m", "dm", "cm", "mm", "in", "ft"] for W1. |
| set_W2(expression, unit) | Sets the expression: str | float and unit: Literal["m", "dm", "cm", "mm", "in", "ft"] for W2. |
| set_W3(expression, unit) | Sets the expression: str | float and unit: Literal["m", "dm", "cm", "mm", "in", "ft"] for W3. |
| set_W4(expression, unit) | Sets the expression: str | float and unit: Literal["m", "dm", "cm", "mm", "in", "ft"] for W4. |
| 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_H2(expression, unit) | Sets the expression: str | float and unit: Literal["m", "dm", "cm", "mm", "in", "ft"] for H2. |
| set_H3(expression, unit) | Sets the expression: str | float and unit: Literal["m", "dm", "cm", "mm", "in", "ft"] for H3. |
| set_H4(expression, unit) | Sets the expression: str | float and unit: Literal["m", "dm", "cm", "mm", "in", "ft"] for H4. |
| 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. |
| set_magnet_material(material_name) | Sets the material_name: str for magnet_material. It should be one of the magnet materials in the project's materials collection. |
| validate() | Returns the validation status in dictionary format. |
Attributes
| Attribute | Description |
|---|---|
| W0 | float Returns the evaluated value of W0 in deg. ⚠️ read-only |
| W1 | float Returns the evaluated value of W1 in m. ⚠️ read-only |
| W2 | float Returns the evaluated value of W2 in m. ⚠️ read-only |
| W3 | float Returns the evaluated value of W3 in m. ⚠️ read-only |
| W4 | float Returns the evaluated value of W4 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 |
| H2 | float Returns the evaluated value of H2 in m. ⚠️ read-only |
| H3 | float Returns the evaluated value of H3 in m. ⚠️ read-only |
| H4 | float Returns the evaluated value of H4 in m. ⚠️ read-only |
| hole_material | str Returns the name of the hole material. ⚠️ read-only |
| magnet_material | str Returns the name of the magnet material. ⚠️ read-only |
| hints | dict[str, float] Returns the hints for the slot in m. ⚠️ read-only |