The optimal location for a solar battery in the UK is a cool, dry, and ventilated area, shielded from direct sunlight and extreme temperatures.
Think about anything that runs on a battery: would you keep it in bright, hot sunshine, or the freezing cold? Probably not. The same is true for solar storage batteries.
An indoor space like the garage is ideal to protect the battery from weather changes and to maintain efficiency. Ventilation is also essential, especially for lead-acid batteries, to prevent gas buildup.