solar and battery schematic