Appendix A Calculation of Inrush Current when Connecting Capacitor Banks to the Grid