Smart Grids and Quality of Supply