Hi, there are many approaches to calculate the DC-Link capacitor such as :
[A] Chatterjee, K., Fernandes, B. G., & Dubey, G. K. (1999). An instantaneous reactive volt-ampere compensator and harmonic suppressor system. IEEE Transactions on Power Electronics, 14(2), 381-392.
[B] Singh, B. N., Rastgoufard, P., Singh, B., Chandra, A., & Al-Haddad, K. (2004). Design, simulation and implementation of three-pole/four-pole topologies for active filters. IEE Proceedings-Electric Power Applications, 151(4), 467-476.
[C] Hsu, C. Y., & Wu, H. Y. (1996). A new single-phase active power filter with reduced energy-storage capacity. IEE Proceedings-Electric Power Applications, 143(1), 25-30.