Distance between large battery packs and buildings