Applications of real-time simulation techniques for harmonics study of an industrial power system