solar warranty cost optimization