**7. Conclusions**

A new control approach based on data-driven was proposed. The fundamentals of design were included, aiming to develop a new control strategy for a STATCOM model. The proposed data-driven control was assessed, considering different operating conditions according to the established voltage profile as well as transient faults to analyze power oscillations just after the fault clearing time. A solid comparison of a VSC-based STATCOM model was developed between a model-based control and a data-driven control approach. The studies were focused on voltage control and power oscillation damping capabilities. For voltage control, two tests were carried out: (a) voltage step response, and (b) voltage recovery under fault scenarios. After testing the scenarios, the authors concluded that the data-driven controller showed a better performance in all scenarios compared to the conventional model-based controller, providing a faster response for voltage control and power oscillations damping.

**Author Contributions:** Conceptualization, D.R. and D.G.; methodology, D.R., D.G. and J.C.M.-M.; validation, D.R., D.G. and J.C.M.-M.; formal analysis, D.R., J.E.V.-R. and G.E.; investigation, D.R.; data curation, J.C.M.-M. and J.E.V.-R.; writing—original draft preparation, D.R., D.G., J.C.M.-M., J.E.V.-R. and G.E.; writing—review and editing, J.E.V.-R. and G.E.; supervision, D.G. and J.C.M.-M. All authors have read and agreed to the published version of the manuscript.

**Funding:** This research is a product of the Project 266632 "Laboratorio Binacional para la Gestión Inteligente de la Sustentabilidad Energética y la Formación Tecnológica" ["Bi-National Laboratory on Smart Sustainable Energy Management and Technology Training"], funded by the CONACYT-SENER Fund for Energy Sustainability (Agreement: S0019-2014-01).

**Conflicts of Interest:** The authors declare no conflict of interest.
