Capacity calculation of three-phase capacitors