Photovoltaic flow battery coupling