Harmonic analysis and simulation of multi-pulse rectifiers applied in electrolysis industry