Text this: Study of resonance conditions on higher harmonics in an electrical network supplying a nonlinear load