Quite a few battery programs have a 10-year warranty. They need small routine maintenance, so the primary Value will be the initial set up. However, photo voltaic PV panels can very last twenty five years or more, so you need to factor in the cost of replacing the battery https://www.youtube.com/watch?v=Se5QfUYTEDQ