Logistic request optimiser

This is the place to request new mods or give ideas about what could be done.
Post Reply
TheoMarque
Long Handed Inserter
Long Handed Inserter
Posts: 78
Joined: Tue Feb 27, 2018 6:06 pm
Contact:

Logistic request optimiser

Post by TheoMarque »

I ask about a mod that round value of requested items to dividable by 4. Why? Vanillia max bot carrying items is 4. SO, rounding values to 4, you can optimize transport by bots to do lower routes per tick.

For example, if you request 6 items - you need two bot to operate. But, if it rounded up - bots deliver you not exactly 6 items but 8. 2 surpluses items can be stored in chest for further production in machines. This situation prevent cloud of bots carrying one copper wire, but grouping all to "pack" and carry more than requested. Of course this mod affect many other mods and logistic mechanic but - why not?

Reassuming. Bots can take only 4 items per request. Not less. If requested items is lower than 4 - automatically set this request to 4 if item stack is able to be in that number (for example, satellites can be ignored and bots carry every time one sattelite)

User avatar
DaveMcW
Smart Inserter
Smart Inserter
Posts: 3700
Joined: Tue May 13, 2014 11:06 am
Contact:

Re: Logistic request optimiser

Post by DaveMcW »

This is not a request side problem, it is a provider side problem. Therefore a request side mod cannot solve it.

If a chest requests 4 items, but only 2 are in storage, bots will immediately try to deliver those 2 items.

Loewchen
Global Moderator
Global Moderator
Posts: 8319
Joined: Wed Jan 07, 2015 5:53 pm
Contact:

Re: Logistic request optimiser

Post by Loewchen »

That is literally vanilla behavior, bots will always take the full cargo capacity if available and therefore "round up" already any delivery.

User avatar
Silari
Filter Inserter
Filter Inserter
Posts: 490
Joined: Sat Jan 27, 2018 10:04 pm
Contact:

Re: Logistic request optimiser

Post by Silari »

Logistic bots already automatically take as much as their carrying capacity allows, assuming there's enough in the chest they're grabbing from, regardless of how many items are needed. If you request one, they'll try to take 4. If you request 6, two bots will try to take 4 each. They also can never take more than a full stack of an item, so they'll always only try to take 1 satellite. So doing this wouldn't actually change anything.

Personal logistics are different, as they DO only take the exact amounts, but the number of bots used for that generally aren't going to be large.

TheoMarque
Long Handed Inserter
Long Handed Inserter
Posts: 78
Joined: Tue Feb 27, 2018 6:06 pm
Contact:

Re: Logistic request optimiser

Post by TheoMarque »

Nevermind, I watched out a problem with taking from nearest chest what have a provider problem mentioned above. Is not possible to prevent bot to take smaller amount of 4 items if other (farther) chest have more items to get equal 4?

User avatar
Silari
Filter Inserter
Filter Inserter
Posts: 490
Joined: Sat Jan 27, 2018 10:04 pm
Contact:

Re: Logistic request optimiser

Post by Silari »

Not really. The logistics logic are kept fairly simple to keep calculation costs down, so it can't make decisions like that.

You can use a double buffer system where your items go into a regular chest that only feeds a provider chest if there are at least 4 items - a stack inserter with a stack size of 4 wired to the regular chest can do that easily.

Post Reply

Return to “Ideas and Requests For Mods”