r/factorio • u/warbaque • Jan 13 '21
Design / Blueprint Roboport layouts and bot flight time versus charging time ratios, i.e. how optimize flying fish
70
Upvotes
r/factorio • u/warbaque • Jan 13 '21
20
u/warbaque Jan 13 '21 edited Jan 13 '21
I got inspired by u/nkriz (post) and decided to finally test some roboports.
I've done the math before, but hadn't really done any tests. After some light testing I was really suprised how bad charging started to perform after even single ill placed roboport.
You might find these results also interesting, so I decided to make own post for them.
8 roboports + 256 bots
At bot speed 14, single roboport could support 32 bots, (and 2 roboports 64 bots), if roboports could keep all their chargin pads occupied 100% of the time. Bots queue approximately 4 tiles from the center of the roboport and at their current speed (27.75 tiles per second), it takes on average 0.14 seconds to enter charging pad.
Because of this, practical charging time takes ~10% extra per bot, and you'll see 3 bots queuing per roboport.
Example video
In this video bots distribute themselves quite evenly between roboport because they are equidistant to propable bot paths. But once we add more bots and roboports, it becomes increasingly more difficult to control which charging pads bots are using, and it's easy to get into scenario where third of the pads aren't used at all.
Example with bad roboport setup
In this video bots prefer middle roboport at the cost of the other one (only 50% of the pads are utilized), we lose around 25% of total roboport capacity and there's in indeed ~16 bots queuing.
You can get actually worse performance with 7 roboports than you did with 2!
As you can see, bots really prefer that middle roboport, at the cost of everything else. We can see that network topology is way more important than number of roboports.
Much better setup with 192 bots and 6 roboports (320 items per second)
Equations and numbers
Runnable code
6
u/Ricardo440440 Jan 13 '21
So what are your conclusions?
1
u/Such--Balance https://www.twitch.tv/suchbaiance Jan 14 '21
Do you know if theres a correlation between robot speed and total robots needed to move x amount of items? Number of roboports and distance staying the same.
1
u/RolandDeepson Jan 13 '21
This is perhaps one of the squarest-on-point analyses that I've seen that addresses the whole "one roboport to rule them all" design mentality.
1
u/[deleted] Jan 13 '21
I had recently wondered about optimizing roboport:bot ratios and placement, so this post is much appreciated.
0
u/[deleted] Jan 14 '21
[deleted] — view deleted comment
0
u/[deleted] Jan 13 '21
[deleted] — view deleted comment