Application scenarios of batteries in photovoltaics