name¶ property DCMotor.name: str Name of the DC motor. It must be a non-empty str. It must be a unique name, not shared by other elements in the powertrain elements. Once set at the DC motor instantiation, it cannot be changed afterward. Returns¶ strName of the DC motor. Raises TypeErrorIf name is not a str. ValueErrorIf name is an empty str.