The operation of a hydraulic ram pump is based on the principles of momentum and inertia. Water flows through the drive pipe and enters the ram body. As the flow speed increases, the momentum of the water causes the waste valve to initially open. When the waste valve closes suddenly, the water's momentum generates a pressure spike in the system.