Correcting power quality in remote locations