Smart Grids and Modern Energy Systems