Optimal preventive maintenance for repairable weighted k-out-of-n systems