Text this: Testing and analysis of a D-STATCOM prototype connected to the electrical network