Research activities on probabilistic techniques to analyse harmonic distortion: modeling and testing of an AC rail