Power Quality Assessment of the Interconnection of a Microgrid to a local distribution system using Real-Time Simulation