Most pipe networks hold a pipe that cuts their flow, by almost nothing
Worth reading first: An extra pipe can cut the flow · The roughness a wall cannot feel.
An extra pipe can cut the flow built networks to show Braess’s paradox in water: two routes from a source to a drain, each with a laminar element and a crest the water must climb over, in opposite orders, and a bridge between them. Opening the bridge halved the flow. With ordinary laminar and turbulent pipes alone the loss was real and at most 2.4 per cent; with one law throughout it was impossible, because Rayleigh’s monotonicity forbids it.
Every one of those networks was designed to show the effect. The essay ended on the question an engineer would ask instead: in a network that nobody designed, with a realistic mixture of pipes, how often does a pipe exist whose opening lowers the flow, and by how much — is it something met once in a career, or in most systems, somewhere, by a tiny amount? This essay draws networks at random and counts.
Networks drawn by chance
Each network has a source and a drain on opposite sides of a unit square and a number of junctions scattered uniformly inside it. Every junction is joined to its three nearest neighbours, which gives a mesh of short pipes with loops in it, the kind of layout a building’s water system or a district’s mains grow into. Each pipe is, at random, one of three kinds:
- laminar, with head loss proportional to flow, ;
- quadratic, with head loss proportional to the flow’s square, — a turbulent pipe in the rough regime, or a fitting;
- a lift: a crest the water must climb over before it passes, then a quadratic loss — a weir, a riser to a higher floor, a pressure-sustaining valve — which passes flow only away from the source’s side.
The coefficients are scattered log-normally about values proportional to each pipe’s length, and the lifts’ crests uniformly between none and half the source’s head. The source’s head is fixed and the drain’s is zero.
Each network is then solved with every pipe open, and again with each pipe shut in turn. A pipe is paradoxical when the network carries less with it open than with it shut — when it is a bridge that hurts.
Solving a network with three laws
Every element here passes more flow for more head, so each has a convex “co-content”, the integral of its flow over its head, and the junctions’ heads are the ones that make the sum of all the co-contents least: the gradient of that sum at each junction is exactly the net flow into it, so the least sum is the one where every junction balances. That is the dual of Millar’s content principle that the earlier essay used, and it turns the network into a convex minimisation with one answer, found by Newton’s method with a line search and, where Newton stalls at a junction whose pipes all carry almost nothing, finished by balancing the junctions one at a time.
The solve is checked against what is already known. The earlier essay’s two-route networks, rebuilt as general networks, give its flows to thirteen figures: 1.2361 open and 1.2071 bridged with quadratic elements, 1.8152 and 0.9945 with lifts at a head of 1.99. And random networks of a single law — all laminar, or all quadratic — have to contain no paradoxical pipe at all, by Rayleigh’s monotonicity, and in thirty networks of each law, 558 pipes apiece, they contain none. Every flow balances to .
Half of all networks
The first figure gives the census for networks of a dozen junctions, about twenty-three pipes each, against the share of pipes that are lifts.
With no lifts at all — a network of nothing but laminar and turbulent pipes, mixed about half and half — 2.4 per cent of pipes are paradoxical, and 45 per cent of networks hold at least one. That answers the first half of the question. The paradox does not need a designer. In nearly half of these networks there is a pipe whose opening lowers the flow, by the mechanism the earlier essay found: the network’s content is not its flow, and with two laws in it the least content is not the most flow.
Lifts make it commoner, but not by much. With one pipe in ten a lift, 3.9 per cent of pipes and 57 per cent of networks; at three in ten, 4.8 and 64 per cent; at half, slightly fewer, because a network that is half crests often has whole routes shut. The earlier essay’s lifts were what made the effect large; they are not what makes it exist.
Bigger networks, the same odds per pipe
The second figure keeps the mixtures and changes the size, from six junctions to twenty-four.
The share of networks holding a paradoxical pipe rises steadily with size: without lifts from 25 per cent at six junctions to 60 at twenty-four; with one pipe in ten a lift, from 38 to 67. The share of pipes does not rise. Without lifts it stays between 2.1 and 3.3 per cent at every size, and with lifts it drifts slightly down. Each pipe has roughly the same small chance of being one, and a larger network simply has more pipes to draw that chance with. Extrapolated, any network of a hundred junctions almost certainly holds several.
That is the answer to the engineer’s question in its first form. A working engineer should expect this in most systems of any size.
By how much
The second form of the question is how much, and the third figure answers it with the distribution of the losses.
Without lifts the median paradoxical pipe takes away 0.03 per cent of the network’s flow — three parts in ten thousand — and the largest of the 82 found takes 0.52 per cent. The earlier essay’s 2.4 per cent, built for the purpose, is five times the worst that chance produced. A flowmeter good to half a per cent, which is a good one, could not see a single one of them.
Lifts change this, and this is where they matter. With one pipe in ten a lift, the median loss is 0.11 per cent and the largest 5.8; with three in ten, 0.36 and 9.3. A crest that the water barely clears makes the network’s content very sensitive to how much passes it, and a new pipe that lets the flow avoid a crest can then cost a measurable share of the total, as in the earlier essay’s halving.
Not the lift itself
The fourth figure asks which kind of pipe is the paradoxical one, in networks where three pipes in ten are lifts.
It is almost never the lift. Laminar and quadratic pipes are paradoxical 6.6 and 6.2 per cent of the time; lifts, 1 per cent. That matches the earlier essay’s construction, where the bridge was an ordinary pipe and the lifts were in the routes it connected. A lift makes the paradox large by sitting in a route the paradoxical pipe lets the water avoid, not by being the pipe that is opened. For anyone looking for such a pipe in a real system, that is the useful half of the result: look at the cross-connections between routes that contain crests, not at the crests.
The head that decides it
The lifts’ crests are fixed in head, so the source’s head decides how many of them are open, and the fifth figure varies it.
At a head of 0.25 half the lifts can never open and 32 per cent of networks hold a paradoxical pipe. At a head of 1, 57 per cent; at 4, where every crest is cleared easily and the lifts behave like ordinary quadratic pipes, 50 per cent. The losses follow the same pattern more sharply: the largest found is 26 per cent at a head of 0.5, where many crests are only just cleared, against 0.64 per cent at 4. The earlier essay’s halving happened at a head twice its crests, in the same window, and that window — a driving head comparable with the crests the water must clear — is where a real system would show the effect worth measuring.
What the draw decides, and what it does not
Every number above is conditional on how the networks were drawn, and the drawing has choices in it. Each junction joins its three nearest neighbours; joining four would make a denser mesh with more cross-connections, and a cross-connection between two routes is exactly the kind of pipe the earlier essay’s bridge was. The coefficients scatter by a factor of about 1.6 either way about a value set by each pipe’s length; a wider scatter would make the routes more unequal. The laminar and quadratic pipes are mixed about evenly; a network of nearly one law would approach Rayleigh’s theorem and its paradoxical pipes would vanish, as the checks require.
What the draw does not seem to decide is the shape of the answer. At every share of lifts, size and head tried the share of pipes stays at a few per cent, the share of networks grows with their size because each pipe draws its own small chance, and the losses are small unless crests are involved. Those three statements follow from what a paradoxical pipe needs — two routes of different laws, joined somewhere between their ends — and every mesh with loops in it and a mixture of laws offers that many times over. The exact percentages belong to this way of drawing; the shape belongs to the content principle.
Shutting a valve to get more water
Turned round, the census describes a remedy that sounds wrong. In about half of all such networks there is a pipe that, if it were shut, would let more water through; in a network whose total is set by a fixed head — a gravity-fed supply, a header tank, a building’s riser — shutting it raises the flow and the power delivered at the drain together, because the head is fixed and the power is the head times the flow. Nothing is gained for free: the network was dissipating the head through a pattern that was minimising its content rather than maximising its flow, and the shut valve removes a freedom that let it do so.
The census also says why nobody does it. Without crests, the median gain from finding and shutting the right pipe is three parts in ten thousand, and the right pipe is one of forty. It is not worth looking for, and the instruments could not confirm it had been found. With crests near the head the water must clear — a riser to an upper floor at the edge of what the supply can lift, a weir nearly drowned — the gains are percents, and the place to look is a cross-connection between two routes that contain them.
Why the water does not find the better pattern
None of this is the water making a mistake. The flows in a steady network are the ones that make the total content least, and the content weights each element’s head-flow product differently: half of it for a laminar pipe, a third for a turbulent one, the whole of it for a crest. With one law throughout, the least content and the most flow are the same pattern, which is Rayleigh’s theorem. With a mixture they are not, and opening a pipe always lowers the least content — it gives the minimisation one more freedom — while it may raise or lower the flow. The census says that “may lower” happens often and by little, because most networks contain at least one place where the content’s and the flow’s preferences differ slightly, and few contain a place where they differ much.
The same is true of traffic, where Braess first found it in 1968, and of electrical networks with non-linear elements, where it has been shown with springs and with diodes. A pipe network is the version where each element’s law is stated by the physics of the pipe — the roughness a wall cannot feel in a laminar pipe, the loss with no viscosity in it at a sudden expansion, the quadratic loss of a fitting that is only the shape of its hole.
What the census cannot show
The figures cannot show a real network. These are meshes of nearest-neighbour pipes in a square, and real systems are grids, trees with a few loops, or long mains with branches, each with its own share of the cross-connections a paradox needs. The pipes’ laws are fixed in kind, when a real pipe passes from laminar to turbulent as its flow grows and so changes law within one network; the lifts pass flow one way only; there are no pumps, whose rising curves would bring a different kind of element. The census counts a pipe as paradoxical at one head, and a pipe that lowers the flow at one head may raise it at another. And everything is steady: what a valve opening does in the first seconds, before the network settles, is the subject of water hammer, not of this census.
The share at each point is from 150 networks, so it carries a sampling uncertainty of a few per cent of its own value for the networks’ share and more for the rare large losses; the largest losses quoted are the largest found, not bounds.
The convention behind the counts
Heads are in units of the source’s; flows in the units the coefficients make. A pipe is paradoxical when the total flow with it open is less than with it shut by more than a millionth of the flow — far below every loss reported, and far above the solve’s residual. A pipe whose removal disconnects the source from the drain is never paradoxical: shut, nothing flows. Shares are of pipes, counting every pipe of every network once, or of networks, counting a network once if it holds at least one.
Braess, Millar and Rayleigh
Rayleigh’s monotonicity, for resistors, is a nineteenth-century theorem, and Millar’s 1951 content principle extended its reasoning to non-linear networks. Braess published his paradox for road traffic in 1968; Cohen and Horowitz built it with springs and strings in 1991. Statistical studies of how often it occurs have mostly been of road networks, where it has been reported as common in random networks and small in effect, which is the same picture this census draws for water. The construction it generalises is the earlier essay’s bridge; the friction laws it mixes come from the Moody chart’s two regimes; and the coil whose friction stays laminar for longer, a coil’s single number, is one way a real network acquires a pipe whose law differs from its neighbours’. Branching networks chosen for least cost, the radius that costs least, are trees with no loops at all, and so no bridges to be paradoxical — the one family here that is immune by construction.
Still open: the pipe that changes its law
The weakest assumption is that every pipe keeps its law. A real pipe is laminar below a Reynolds number of about two thousand and turbulent above it, with a friction factor that jumps between the two, so its head-flow curve is not one power but two joined by a step — and a step is the kind of element whose content counts its head-flow product very unevenly, like a crest. The next calculation would give every pipe the Moody chart’s own law, laminar and turbulent joined across transition, scatter real diameters and lengths over a grid like a district’s mains, and ask whether pipes running near transition become the paradoxical ones, and whether a network operating near transition shows losses nearer the lifts’ few per cent than the mixed pipes’ few parts in ten thousand.
What links here
Computed from the collection rather than written here: the essays that point at this one.
Reads more easily once this is understood
Essays that name this one as worth reading first.
Shares its objects with
Essays naming at least two of the same things, that neither author linked.
- The cheapest fork loses only its sideways speed, and pricing it closes the fork — both name friction factor, model limit, optimisation, pipe flow
- The cheapest turbulent pipe follows two and a half, not three — both name friction factor, model limit, optimisation, pipe flow
- The margin friction lends a siphon — both name friction factor, laminar flow, model limit, pipe flow
- A broken line empties at the pace of its friction — both name friction factor, model limit, pipe flow
- A flow pinned between two guesses — both name model limit, optimisation, variational principle
- One fast pump or two slow ones — both name model limit, optimisation, pipe flow
Named objects
A dashed tag is an object no other essay names yet.
Friction factorLaminar flowModel limitOptimisationPipe flowProbability distributionVariational principle