Maintenance optimization on parallel production units