the invention provides a variable speed hydraulic pump designed to operate at a maximum horsepower throughout its pressure range by adjusting motor speed according to motor load parameters . in particular , the variable speed hydraulic pump includes a hydraulic pump unit coupled to a variable speed electric motor by a drive unit and to a hydraulic fluid tank for pressurizing and pumping hydraulic fluid when operated by the motor . a motor controller is electrically connected to the motor to supply drive signals to the motor based on electrical characteristics of the drive signals which are dependent on the load exerted on the motor . suction from the load is provided by both the main pump and a bidirectional supercharging pump by reversing the direction of the motor and shifting a 4 / 3 valve to connect the main pump inlet to the load and its outlet to tank . in addition , the controller reduces the motor speed at the maximum rated pressure to just maintain the pressure , to reduce the amount of fluid pumped through the maximum pressure relief valve .