Analyzing Battery and Solar Panel Performance