Voltage harmonic compensation of a microgrid operating in islanded and grid-connected modes | IEEE Conference Publication | IEEE Xplore