HOW TO CALCULATE EQUIVALENT CAPACITANCE TO A BATTERY