Capacitors for welding