Long distance pipes and pumps

Calculate optimal ratios for feeding recipes, search through the research-tree, specialized tools to view game-information.

Long distance pipes and pumps

Postby DaveMcW » Tue Oct 07, 2014 8:56 am

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 188611 times


25 steam engines on one pipe
25_steam_engines.jpg
25_steam_engines.jpg (902.74 KiB) Viewed 188611 times
User avatar
DaveMcW
Smart Inserter
Smart Inserter
 
Posts: 2139
Joined: Tue May 13, 2014 11:06 am

Re: Long distance pipes and pumps

Postby ssilk » Tue Oct 07, 2014 10:26 am

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
ssilk
Global Moderator
Global Moderator
 
Posts: 10372
Joined: Tue Apr 16, 2013 10:35 pm
Location: Würzburg, Germany

Re: Long distance pipes and pumps

Postby cpy » Tue Oct 07, 2014 10:51 am

You can make coal powered and electric powered small pumps :)
Awesome idea.
User avatar
cpy
Filter Inserter
Filter Inserter
 
Posts: 676
Joined: Thu Jul 31, 2014 5:34 am

Re: Long distance pipes and pumps

Postby arl85 » Wed Oct 08, 2014 11:58 am

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
arl85
Fast Inserter
Fast Inserter
 
Posts: 160
Joined: Tue Jun 10, 2014 7:08 am
Location: Calceranica al Lago - Trento - Italy

Re: Long distance pipes and pumps

Postby Hunter0000 » Tue Oct 14, 2014 3:37 am

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.
Hunter0000
Manual Inserter
Manual Inserter
 
Posts: 2
Joined: Tue Oct 14, 2014 3:26 am

Re: Long distance pipes and pumps

Postby DaveMcW » Tue Oct 14, 2014 4:31 am

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
DaveMcW
Smart Inserter
Smart Inserter
 
Posts: 2139
Joined: Tue May 13, 2014 11:06 am

Re: Long distance pipes and pumps

Postby jockeril » Fri Aug 28, 2015 12:49 pm

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
[suggestion] Blueprint file cabinet for sharing BP's
Hebrew Translator for FARL & EvoGUI and much more

join me on
- Twitter[@jockeril],
- Twitch.tv/jockeril,
- Youtube/jockeril (or JoCKeR-iL)
- and steam !
Image
User avatar
jockeril
Filter Inserter
Filter Inserter
 
Posts: 277
Joined: Sun Feb 08, 2015 11:04 am
Location: Haderah, Israel

Re: Long distance pipes and pumps

Postby ssilk » Fri Aug 28, 2015 2:11 pm

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...
User avatar
ssilk
Global Moderator
Global Moderator
 
Posts: 10372
Joined: Tue Apr 16, 2013 10:35 pm
Location: Würzburg, Germany

Re: Long distance pipes and pumps

Postby Vin » Fri Aug 28, 2015 2:39 pm

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.
Vin
Fast Inserter
Fast Inserter
 
Posts: 122
Joined: Sat Jun 21, 2014 2:46 pm

Re: Long distance pipes and pumps

Postby DaveMcW » Wed Sep 30, 2015 11:58 pm

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.
User avatar
DaveMcW
Smart Inserter
Smart Inserter
 
Posts: 2139
Joined: Tue May 13, 2014 11:06 am

Re: Long distance pipes and pumps

Postby immibis » Wed Oct 21, 2015 6:45 am

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?
immibis
Filter Inserter
Filter Inserter
 
Posts: 299
Joined: Sun Mar 24, 2013 2:25 am

Re: Long distance pipes and pumps

Postby jockeril » Wed Oct 21, 2015 9:18 am

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
[suggestion] Blueprint file cabinet for sharing BP's
Hebrew Translator for FARL & EvoGUI and much more

join me on
- Twitter[@jockeril],
- Twitch.tv/jockeril,
- Youtube/jockeril (or JoCKeR-iL)
- and steam !
Image
User avatar
jockeril
Filter Inserter
Filter Inserter
 
Posts: 277
Joined: Sun Feb 08, 2015 11:04 am
Location: Haderah, Israel

Re: Long distance pipes and pumps

Postby orzelek » Wed Oct 21, 2015 6:29 pm

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.
orzelek
Smart Inserter
Smart Inserter
 
Posts: 2789
Joined: Fri Apr 03, 2015 10:20 am

Re: Long distance pipes and pumps

Postby DaveMcW » Thu Oct 22, 2015 7:28 am

If you put 5 pumps in a line, you have already exceeded your 4-pipe budget to maintain 150 fluid/sec. :P
User avatar
DaveMcW
Smart Inserter
Smart Inserter
 
Posts: 2139
Joined: Tue May 13, 2014 11:06 am

Re: Long distance pipes and pumps

Postby orzelek » Thu Oct 22, 2015 5:20 pm

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?
orzelek
Smart Inserter
Smart Inserter
 
Posts: 2789
Joined: Fri Apr 03, 2015 10:20 am

Re: Long distance pipes and pumps

Postby Jackalope » Tue Nov 10, 2015 9:30 am

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
Jackalope
Fast Inserter
Fast Inserter
 
Posts: 170
Joined: Wed Oct 07, 2015 10:11 pm
Location: Utah, United States

Re: Long distance pipes and pumps

Postby TuckJohn » Thu Dec 03, 2015 6:13 pm

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 ;) )
Currently I have 1200+ hours clocked in factorio, roughly. An avid KSP, Factorio, and Robocraft player.
User avatar
TuckJohn
Filter Inserter
Filter Inserter
 
Posts: 332
Joined: Sat Jul 04, 2015 4:11 pm
Location: 1 Kerbal AU

Re: Long distance pipes and pumps

Postby Targa » Sun Mar 20, 2016 5:56 pm

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.
Targa
Long Handed Inserter
Long Handed Inserter
 
Posts: 73
Joined: Fri Mar 11, 2016 8:42 pm

Re: Long distance pipes and pumps

Postby orzelek » Sun Mar 20, 2016 6:16 pm

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.
orzelek
Smart Inserter
Smart Inserter
 
Posts: 2789
Joined: Fri Apr 03, 2015 10:20 am

Re: Long distance pipes and pumps

Postby BlakeMW » Sun Mar 27, 2016 7:17 pm

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".
BlakeMW
Filter Inserter
Filter Inserter
 
Posts: 672
Joined: Thu Jan 21, 2016 9:29 am

Next

Return to Cheatsheets / Calculators / Viewers

Who is online

Users browsing this forum: No registered users and 2 guests