An intelligent maximum power point tracking algorithm for Photovoltaic System