Adaptive algorithm for real-time power quality measurement according to IEEE Std. 1459–2000 | IEEE Conference Publication | IEEE Xplore