The difference between photovoltaic and battery