How to connect the shunt and capacitor