diagram of battery and solar system