The quality of electricity