The economics of solar panel replacement or repair