Text this: Power quality analysis based on root mean square and discrete fourier transform /