Series and parallel use of solar panels