I wrote a MathCad program to bust the problem into segments.
Assumptions:
[ul]
[li]100% CH4 (MW 16.043, SG 0.5539)[/li]
[li]Std weight 24 inch new steel pipe (ID 23.25 in, efficiency 0.95, absolute roughness 150E-06 ft)[/li]
[li]No water standing in line[/li]
[li]Temp constant at 520R[/li]
[/ul]
Steps:
[ol 1]
[li]Guess segment downstream pressure[/li]
[li]Calculate average pressure with the guess (using front-end loaded average)[/li]
[li]Calculate compressibility at average and standard pressure[/li]
[li]Calculate density at average pressure and standard pressure[/li]
[li]Calculate viscosity at average pressure[/li]
[li]Calculate Reynolds Number[/li]
[li]Calculate Fanning Friction Factor[/li]
[li]Using Isothermal Gas Flow Equation to calculate downstream pressure[/li]
[li]If calculated downstream pressure more than 100 Pa from guess, iterate 1-9.[/li]
[li]Move segment downstream pressure to upstream pressure and repeat 1-10[/li]
[/ol]
I ran the program for a number of different segments:
[tt]Seg Length......Max Flow rate for 20 Bar dP and 100 km length
100 km.................243.725 MMSCF/day
50 km..................243.756 MMSCF/day
25 km..................243.760 MMSCF/day
10 km..................243.765 MMSCF/day
2 km...................243.765 MMSCF/day
1 km...................243.765 MMSCF/day
500 m..................243.765 MMSCF/day
250 m..................243.765 MMSCF/day
100 m..................243.765 MMSCF/day
10 m...................243.765 MMSCF/day[/tt]
I found it interesting that between 100 km and 10 km (i.e. one segment and 10 segments) the flow rate increased slightly and then held constant. I played around with longer and shorter segments and I'm not sure what conclusions I can draw from it.
What I get from this is using rigorous calculations, breaking a line up into segments does little improve the results for relatively low flow scenarios. I'll probably re-run it for double the dP (80 bar upstream and 40 bar downstream) just out of curiosity.
David Simpson, PE
MuleShoe Engineering
In questions of science, the authority of a thousand is not worth the humble reasoning of a single individual. Galileo Galilei, Italian Physicist