There are many parts that make up an electric excavator. The first thing to know is that the engine is powered by a battery pack, which can be charged by an onboard charging system or a portable generator. The engine itself is controlled by an electronic control unit (ECU), which takes input from sensors and other components throughout the machine to regulate operational functions.