Why do I have (need?) so many idle bots?

Don't know how to use a machine? Looking for efficient setups? Stuck in a mission?
Post Reply
Laie
Long Handed Inserter
Long Handed Inserter
Posts: 65
Joined: Fri Dec 25, 2020 6:18 pm
Contact:

Why do I have (need?) so many idle bots?

Post by Laie »

I've come to the point where I run subassemblies on bots. Of course, one question I ask myself is "how many bots do I need to run this part of the factory?"

Disclaimer: I do not have one single logistic network spanning the entire map: they're pretty local affairs, while sub-factories are only interconnected by rail.

Now, the only method I'm aware of is to dump ever more bots into the site, until I get to the point where there are idle/available bots in the network. It's quite noticeable that I either have zero bots available, or lots of them. I wonder why this is so?

Aunt google brought me to a benchmark suggesting that I should carefully tailor the number of available bots to the strict minimum. Seeing how I'm not overly UPS conscious elsewhere, I probably shouldn't worry too much about that, though.

User avatar
jodokus31
Smart Inserter
Smart Inserter
Posts: 1621
Joined: Sun Feb 26, 2017 4:13 pm
Contact:

Re: Why do I have (need?) so many idle bots?

Post by jodokus31 »

You also need a lot of roboports. bots waiting for recharging can be quite significant, if too little

Laie
Long Handed Inserter
Long Handed Inserter
Posts: 65
Joined: Fri Dec 25, 2020 6:18 pm
Contact:

Re: Why do I have (need?) so many idle bots?

Post by Laie »

jodokus31 wrote:
Fri Jul 30, 2021 3:12 pm
You also need a lot of roboports. bots waiting for recharging can be quite significant, if too little
Granted, but a shortage of roboports is relatively easy to diagnose.

BicycleEater
Fast Inserter
Fast Inserter
Posts: 153
Joined: Sun Jul 26, 2020 4:05 pm
Contact:

Re: Why do I have (need?) so many idle bots?

Post by BicycleEater »

My guess would be that in areas without enough bots, there is a backlog of things that need moving (all the buffers are empty), so if you keep adding bots until you have idle bots, you will find that when you do have idle bots, loads of them will suddenly be idle, as previously you were also finishing the backlog up.
This means that you should keep adding them until you have idle bots, then remove them until you only have some idle (I would recommend having a few idle bots anyway, just to avoid peak-load overwhelming them, as this may result in a backlog again, which might not clear by the time the next peak comes).

quyxkh
Smart Inserter
Smart Inserter
Posts: 1031
Joined: Sun May 08, 2016 9:01 am
Contact:

Re: Why do I have (need?) so many idle bots?

Post by quyxkh »

Robot dispatch has to be bone simple. It's ... I haven't done a full investigation, and it's been a while, and I stop short of keeping a notebook, but as I recall, when it sees new jobs queued that aren't immediately taken by robots already in flight, it dispatches one robot per tick for ten ticks, then two per tick for ten ticks, then four, then 8 and so on, until (I'm guessing) it sees jobs being assigned to robots already in flight. So its response to bursty demand, the kind you get with trains, is very likely to overshoot unless you constrain it by only having about as many robots as you really need to get all the jobs done just as the next demand spike hits.

astroshak
Filter Inserter
Filter Inserter
Posts: 631
Joined: Thu May 10, 2018 9:59 am
Contact:

Re: Why do I have (need?) so many idle bots?

Post by astroshak »

Robot count for any given subfactory is a tough one, IMO.

I once set up automatic delivery of bots when either logistic or construction bot available was less than 10. I had nowhere NEAR enough roboports; though I had quite a few in that outpost. I eventually went back because it was not producing anything, and found that all of the bots were hanging out waiting their turn to recharge … all (I forget exactly how many) 30-50 thousand of them!

If you are going to set up automatic delivery of bots based on how many there are available … be sure to use combinator logic to set a hard ceiling on the number of bots. That, or use a mod that makes it so they don’t have to recharge (such as Nuclear Robots Reboot).

Post Reply

Return to “Gameplay Help”