How to calculate required capacitor value in kvar