A hydraulic dynamometer measures engine power by using water resistance. The engine rotates a rotor inside a water-filled casing, creating fluid friction that produces braking torque. This torque is measured to calculate power, while the absorbed energy is converted into heat in the water.