Diagram of the discharge method of compensation capacitor