Photovoltaic vanadium battery