Stability and convergence analysis for different harmonic control algorithm implementations. (May 2017)