A simulation technique to evaluate quality impact on productivity and costs in discrete manufacturing systems