Capacitors for DC charging pile modules