How to connect solar panels scientifically