Machine
The machine
attribute of the Project
class corresponds to the Machine Milestone in the GUI. It characterizes the machine such as the type, number of poles, main dimensions, and other properties.
It is an instance of the MachineData
class, which contains two main attributes: type
and dimension
. The MachineData
class can be imported from the eMotorSolution.CheckPoints.Machine.Machine
module.
Parameters
- type:
MachineTypeData
, The type data of the machine. - dimension:
MachineDimensionData
, The dimension data of the machine.
Methods
Method | Description |
---|---|
validate() | Returns the validation status in dictionary format. |
Attributes
Attribute | Description |
---|---|
type | The MachineTypeData instance that contains the machine type data. |
dimension | The MachineDimensionData instance that contains the machine dimension data. |
air_gap_length | float Returns the air gap length of the machine in meters. ⚠️ read-only |
air_gap_radius | float Returns the air gap radius of the machine in meters. ⚠️ read-only |