Long distance pipes and pumps

Calculate optimal ratios for feeding recipes, search through the research-tree, specialized tools to view game-information.
User avatar
DaveMcW
Smart Inserter
Smart Inserter
Posts: 3699
Joined: Tue May 13, 2014 11:06 am
Contact:

Long distance pipes and pumps

Post by DaveMcW »

Fluids in Factorio have a speed limit. The exact value depends on the distance between the full pipe (attached to a pump, chemical plant, or merging pipes) and the empty pipe (attached to a chemical plant or steam engine).

Distance - Speed
0 pipes - 240 fluid/sec
4 pipes - 150 fluid/sec
14 pipes - 120 fluid/sec
224 pipes - 90 fluid/sec
357 pipes - 60 fluid/sec
759 pipes - 30 fluid/sec

This limit reduces the capacity of long pipes. Pipe-to-ground helps, it counts as 1 pipe and can reach 5.5x as far. But even pipe-to-ground slows down if you stretch it too far.

The solution is small pumps!

Small pumps pressurize a pipe until it is full again, allowing you to stretch pipes as far as you like without losing speed and capacity. Just remember to put a pumping station before your flow rate drops too far, because once it drops below the limit it is impossible to speed up again.

Each small pump can only handle 30 fluid/sec, so you need to use them in parallel.

Speed - Pumps needed - Distance between pumping stations
30 fluid/sec - 1 pump - 759 pipes
60 fluid/sec - 2 pumps - 357 pipes
90 fluid/sec - 3 pumps - 224 pipes
120 fluid/sec - 4 pumps - 14 pipes
150 fluid/sec - 5 pumps - 4 pipes

Here are the optimal designs for each size pumping station.
pumps.jpg
pumps.jpg (307.89 KiB) Viewed 302339 times
25 steam engines on one pipe

User avatar
ssilk
Global Moderator
Global Moderator
Posts: 12888
Joined: Tue Apr 16, 2013 10:35 pm
Contact:

Re: Long distance pipes and pumps

Post by ssilk »

Quite interesting stuff. How did you measure/calculated that?
Cool suggestion: Eatable MOUSE-pointers.
Have you used the Advanced Search today?
Need help, question? FAQ - Wiki - Forum help
I still like small signatures...

User avatar
cpy
Filter Inserter
Filter Inserter
Posts: 839
Joined: Thu Jul 31, 2014 5:34 am
Contact:

Re: Long distance pipes and pumps

Post by cpy »

You can make coal powered and electric powered small pumps :)
Awesome idea.

arl85
Fast Inserter
Fast Inserter
Posts: 174
Joined: Tue Jun 10, 2014 7:08 am
Contact:

Re: Long distance pipes and pumps

Post by arl85 »

ssilk wrote:Quite interesting stuff. How did you measure/calculated that?
for small pumps, calculation should be

Code: Select all

0.5 fluid/tick * 60 ticks/sec = 30 fluid/sec
but for normal pipes I don't know.

I was expecting something like

Code: Select all

1 fluid/tick * 60 ticks/sec = 60 fluid/sec
and it to remain constant for all the length of the pipe (see this old post)
Do you need help taking screenshots in-game? have a look to my guide to calculate screenshot dimensions

Hunter0000
Manual Inserter
Manual Inserter
Posts: 2
Joined: Tue Oct 14, 2014 3:26 am
Contact:

Re: Long distance pipes and pumps

Post by Hunter0000 »

This topic caught my interest enough to stop lurking and make a forum account! :D

I am also very curious to how you measured this OP. I did some testing of my own, but all of it had very flawed methodology, and I was only able to experimentally confirm that the small pumps are definitely 30/s and that the offshore pumps appear to be 60/s.

Practically however, this information seems to work. I've constructed a steam plant based on the given design and so far its working great! not up to the 25 in the example yet (only 20), but still way more than I have ever hooked up to a single pipe before.

The best test I can think of so far (I didn't have the resources to try in the game I'm working on atm) is to use barrels. Loading the far end of the pipe into barrels should keep it empty and allow for more accurate counting of moved fluids.

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

Re: Long distance pipes and pumps

Post by DaveMcW »

The easiest method is to take some steam engines (6 water/sec each) and hook them up to an independent radar network so they run at 100% capacity. Then add pipes until you see the performance of one steam engine drop.

You might need to wait several minutes for water level in the pipes to stabilize. You can check water level with the console command:

Code: Select all

/c game.player.print(game.player.selected.fluidbox[1].amount)
I initially used pumps and storage tanks as my endpoint, and built a spreadsheet of fluid levels and timestamps. But keeping the tanks from getting too full was quite annoying. Steam engines are fine if you just want to calculate pump breakpoints. Currently all fluids flow at the same rate.

User avatar
jockeril
Filter Inserter
Filter Inserter
Posts: 356
Joined: Sun Feb 08, 2015 11:04 am
Contact:

Re: Long distance pipes and pumps

Post by jockeril »

Is this still accurate for 0.12.x ?

I'm looking for information on transferring mostly oil over long (>100 tiles) distances, but also acid, petroleum gas and lubricant.
[request] RTL support please

My mods

Formally Hebrew translator for FARL & EvoGUI mods

join me on
- Twitter[@jockeril],
- Twitch.tv/jockeril,
- Youtube/jocker-il (or JoCKeR-iL)
- and steam !
Image

User avatar
ssilk
Global Moderator
Global Moderator
Posts: 12888
Joined: Tue Apr 16, 2013 10:35 pm
Contact:

Re: Long distance pipes and pumps

Post by ssilk »

AFAIK there was no change in the pip-physics since 0.11. But you can look through the changelogs.
Cool suggestion: Eatable MOUSE-pointers.
Have you used the Advanced Search today?
Need help, question? FAQ - Wiki - Forum help
I still like small signatures...

Vin
Fast Inserter
Fast Inserter
Posts: 106
Joined: Sat Jun 21, 2014 2:46 pm
Contact:

Re: Long distance pipes and pumps

Post by Vin »

jockeril wrote:Is this still accurate for 0.12.x ?

I'm looking for information on transferring mostly oil over long (>100 tiles) distances, but also acid, petroleum gas and lubricant.
Assuming you're not playing with any mods that change the properties of fluids, all base game fluids behave the same in regards to transportation. Their pressure_to_speed_ratio is always 0.4 and their flow_to_energy_ratio is always 0.59.

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

Re: Long distance pipes and pumps

Post by DaveMcW »

YJSubs wrote:Is there a technical reason why you design the 4 pump asymmetrically ?
Left design instead vs right design?
Image
Your design has a tiny bit more pressure on the output, but much less suction on the input.

immibis
Filter Inserter
Filter Inserter
Posts: 303
Joined: Sun Mar 24, 2013 2:25 am
Contact:

Re: Long distance pipes and pumps

Post by immibis »

Why do the pumps need to be at right angles? Why not just put them in a line, then connect the inputs and outputs together with pipes?

User avatar
jockeril
Filter Inserter
Filter Inserter
Posts: 356
Joined: Sun Feb 08, 2015 11:04 am
Contact:

Re: Long distance pipes and pumps

Post by jockeril »

immibis wrote:Why do the pumps need to be at right angles? Why not just put them in a line, then connect the inputs and outputs together with pipes?
Water pumps don't have inputs you connect to - only output. Small pumps have the input in the rear and output on the front.

Which did you mean? can you show a picture to demonstrate?
[request] RTL support please

My mods

Formally Hebrew translator for FARL & EvoGUI mods

join me on
- Twitter[@jockeril],
- Twitch.tv/jockeril,
- Youtube/jocker-il (or JoCKeR-iL)
- and steam !
Image

orzelek
Smart Inserter
Smart Inserter
Posts: 3911
Joined: Fri Apr 03, 2015 10:20 am
Contact:

Re: Long distance pipes and pumps

Post by orzelek »

immibis wrote:Why do the pumps need to be at right angles? Why not just put them in a line, then connect the inputs and outputs together with pipes?
It'a about throughput I think. There are some extensive tests on wiki for various fun stuff with liquids.
In general pump has only 30 fluid/s while pipe can transfer up to 60 fluid/s. So if you want to use small pump and get full pressure you need to put two of them in parallel. I'm writing from memory so might forgot something.

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

Re: Long distance pipes and pumps

Post by DaveMcW »

If you put 5 pumps in a line, you have already exceeded your 4-pipe budget to maintain 150 fluid/sec. :P

orzelek
Smart Inserter
Smart Inserter
Posts: 3911
Joined: Fri Apr 03, 2015 10:20 am
Contact:

Re: Long distance pipes and pumps

Post by orzelek »

DaveMcW wrote:If you put 5 pumps in a line, you have already exceeded your 4-pipe budget to maintain 150 fluid/sec. :P
It's not that. If they are in the line then they will provide only 30/sec.
In parallel line they should go to 60/sec - can you really go higher then this?

User avatar
Jackalope_Gaming
Fast Inserter
Fast Inserter
Posts: 230
Joined: Wed Oct 07, 2015 10:11 pm
Contact:

Re: Long distance pipes and pumps

Post by Jackalope_Gaming »

This thread has me curious now...

In mods where the fluid physics aren't changed but the pipe capacities are, what's the maximum throughput for the different pipe sizes? Basic iron pipes have a capacity of 10, so a capacity 5 pipe might see all of those fluid/sec calculations halved?

User avatar
TuckJohn
Filter Inserter
Filter Inserter
Posts: 335
Joined: Sat Jul 04, 2015 4:11 pm
Contact:

Re: Long distance pipes and pumps

Post by TuckJohn »

Jackielope wrote:This thread has me curious now...

In mods where the fluid physics aren't changed but the pipe capacities are, what's the maximum throughput for the different pipe sizes? Basic iron pipes have a capacity of 10, so a capacity 5 pipe might see all of those fluid/sec calculations halved?
I would think so.
Really interesting discussion!
(This post is to add this to my "view your posts" section so I can follow this discussion ;) )
~1200+ hours clocked in factorio. Avid KSP and Factorio player

Targa
Long Handed Inserter
Long Handed Inserter
Posts: 73
Joined: Fri Mar 11, 2016 8:42 pm
Contact:

Re: Long distance pipes and pumps

Post by Targa »

Are pumps placed at the source, or at the destination? Or in the middle of a long pipe run? I'm currently in the middle of running a couple of hundred underground pipes from my pumpjacks to my base, and would love to know exactly where to put the pump setup.

orzelek
Smart Inserter
Smart Inserter
Posts: 3911
Joined: Fri Apr 03, 2015 10:20 am
Contact:

Re: Long distance pipes and pumps

Post by orzelek »

Targa wrote:Are pumps placed at the source, or at the destination? Or in the middle of a long pipe run? I'm currently in the middle of running a couple of hundred underground pipes from my pumpjacks to my base, and would love to know exactly where to put the pump setup.
From what I recall from pumping tests you need to place them regularly to ensure proper flow.

I don't recall the distance so you'd need to search for that.

BlakeMW
Filter Inserter
Filter Inserter
Posts: 950
Joined: Thu Jan 21, 2016 9:29 am
Contact:

Re: Long distance pipes and pumps

Post by BlakeMW »

DaveMcW could you update the first post to give some concrete numbers? People often quote the post to show how awful pipes are, not realizing that the numbers actually mean pipes have a ginormous capacity and excellent ability to transport fluid over great distances.

When using underground pipe lengths without any small pumps at all:

224 pipes - 90 fluid/sec = Output of 900 depleted pumpjacks over 1232 tiles
357 pipes - 60 fluid/sec = Output of 600 depleted pumpjacks over 1962 tiles
759 pipes - 30 fluid/sec = Output of 300 depleted pumpjacks over 4175 tiles

I'm pretty sure anyone who says pipes are bad, aren't saying that because they have tried to stuff the output of 1000 pumpjacks into a single pipe and found it couldn't take it, but simply because they have been confused by the pressure numbers and think the pipe isn't working because it isn't "fully pressurized".

Post Reply

Return to “Cheatsheets / Calculators / Viewers”