An adaptive algorithm for grid-connected inverter to suppress current harmonics and instabilities due to grid impedance and distortion | IEEE Conference Publication | IEEE Xplore