The useful life of photovoltaic systems between 20 and 25 years. The useful life depends on the performance of the system and environmental conditions , That in normal conditions 25 years.
You need to perform a Life Cycle Cost Analysis in which you compare the Capital and O&M costs of the solar technology to the conventional technology that might be used in the place in consideration (generally diesel/gasoline genset). Then, according to the energy availability and the technology performance you need to estimate the yearly generation and run cashflow analysis to determine the advantage or disadvantage of your proposed solution.
One easy to use and free software is RETScreen (www.retscreen.net) and it will help you to do the analysis, including GHG emission reduction and sensitivity/risk analysis to give you plenty of information of the robustness of your solution.