The Suitable Way To Discharge Capacitor In Swap Method Energy Materials