An analytical approach for maximum power point calculation for photovoltaic system