Power-Hardware-in-the-Loop Simulation of a D-STATCOM Equipped MV Network Interfaced to an Actual PV Inverter