Smart Grids and Renewable Energy Integration