How to use solar panels to store or supply electricity