Solar Energy: Integration of Photovoltaic Systems in Microgrids