- When an Active Provider Chest has Items then the Logistic Bots should take these Items to the CLOSEST Storage Chest with the same Item RELATIVELY to the Active Provider Chest from which it was taken.
- When there is no Storage Chest with the same item that still has free space (so picking an empty Storage Chest) then to the CLOSEST empty Storage Chest RELATIVELY to the Active Provider Chest.
- And what is also necessary... and which might actually be the MOST IMPORTANT: CHECK if there is actually going to be enough room in the Target Storage Chest before sending the Logistic Robot there. Consider how many Logistic Bots are already on the way to that Storage Chest... and don't send any additional bots there if you already know there's not going to be enough space for all the items they carry.
Currently it doesn't do any of that. If there are multiple Active Provider Chests outputting the same item then ALL Active Provider Chests want to dump their stuff into the SAME Storage Chest, no matter where it is on the map. So Bots go all over the map even if there might be a closer Storage Chest with the same item that still has space.
And once the Logistic Robots pick an empty Storage Chest then they don't pick the closest relatively to the source Chest... no... they pick them in the order in which the Storage Chest were first placed in the map, which is total garbage and causes a lot of chaos.
Also if you have a lot Active Provider Chests or otherwise high throughput then the amount of Items in-air greatly outnumber the available space in the Target Storage Chest, so when bots finally arrive at the Target Storage Chest they find that there's no room left... so they ALL have to go for the SAME Storage Chest elsewhere... so what you get is a Logistic Bot Snake of bots going from place to place. Don't know if anyone else ever noticed that effect:
Logistic Bot Snake
I hate when it does that because I know the Target Storage Chest will be full before even a small fraction of the Logistic Bots had a chance to dump their stuff. So the Snake goes elsewhere... rinse and repeat. And as the snake goes elsewhere it builds up because more Bots will join the madness due some becoming temporarily stuck with charging up at Roboports. Which in turn requires a lot more total energy because a lot of bots are wasting their energy going around in circles.I mean I have a smart furnace that has peak output of 20k Items/min... and I measured that it takes about 2000-4000 Active Logistic Robots to deal with that because a lot of them is stuck in the Bot Snake going from place to place until they are lucky enough to be under the few bots that get a chance to to dump their item in the Target Chest.
Another solution to the mess might be to let us set Slot Filters into Storage Chest similar to how Train Wagons have them, maybe even with Circuit Network connection where the Circuit signal tells the Storage Chest which Items to accept. Then some of the chaos above might be alleviated because you can at least specify something like an "area of operation".