Text this: Power quality in power systems and electrical machines