Lithium-ion battery packs for solar storage