You are on page 1of 7

PIPING ENGINEERING CELL

DESIGN OF FLOW NETWORKS


Prof. A. S. Moharir

Introduction In this chapter, we understand some


basics of network flow design.
Flow networks are very common in Types of Network
industry. The water distribution network,
piped gas network, sewage water Consider flow through a single pipe
network, steam distribution network, route. Let us call it a dedicated pipe as
chilled water distribution network in its job is to transport fluid from one end
industry or District Cooling Systems, to another without branch-off for flow
etc. are all flow networks. Such splitting or mixing in between.
networks allow the utility to be produced
in a single plant taking into account the We have seen that equivalent length of
collective requirement of the plant. This the route is a hypothetical length of the
gives advantage of scale. One can use a straight pipe which causes the same
large single boiler, rather than a separate pressure drop as the complex pipe route.
boiler to produce steam for every We also know how to account for pipe
equipment. At the same time, it routes where the two ends are not at the
necessitates a flow network running all same level and also where the two ends
over the plant. are not of the same diameters. We know
Bernoulli equation.
The pressure drop calculation
philosophy remains the same, and still The performance of a dedicated pipe is
the network as a whole requires some completely defined if we know the
special treatment. In a dedicated pipe, pressure (say P) and flow rate (say F) at
there is no flow splitting, branching off, the two ends. There are thus 4
or flow mixing. parameters defining a dedicated pipe
route, Pin, Fin , Pout, and Fout. For steady
Individual users drawing from a network state flow, the flow rate entering the pipe
cannot be isolated and their performance is also the flow rate leaving the pipe or
will affect everyone else’s. That means, Fin = Fout. We thus have one equation
if a reactor draws more steam to that must be satisfied. This equation is
maintain its temperature, a downstream simply the steady state mass balance.
equipment may starve and may not get
its steam requirement. If a heat We also know that for a given flow,
exchanger draws more cooling water to given medium (density and viscosity
maintain its performance (cooling values), given pipe size and pipe surface
another stream to a desired temperature), roughness, the frictional pressure drop
someone else in the network will not get can be calculated. This can be used in
the supply at the flow rate and/or the Bernoulli’s equation to relate the
pressure it expects to get. inlet pressure to the exit pressure. We
thus have another equation relating the

Design of flow Networks 1


PIPING ENGINEERING CELL

pressures at the two ends of the pipe route and at all times. One of these
route. This is an energy balance equations was a mass balance and the
(Bernoulli’s equation is basically an other the energy balance. Only
energy balance equation.). difference is that these were unsteady
state equations. The equations are
We thus have 4 unknowns and two reproduced here for easy reference.
equations (mass balance and energy
balance). There are thus two degrees of ∂P ∂v
+ ρ c2 =0
freedom or two parameters that the user ∂t ∂x
should specify to completely define the
system’s performance. Stated the other
∂v 1 ∂ P f v v
way, if the user specifies any two + + =0
quantities out of the four (Pin, Fin, Pout, ∂t ρ ∂ x 2D
and Fout), the other two can be calculated
using the two equations that we can We have pressure in the above equations
write. What will not work is if the user (P). Instead of flow rate, we have v, the
specifies flow at the inlet and the outlet. linear velocity. Linear velocity is
We will not be able to get pressures at nothing but volumetric flow rate divided
the two ends as unique values. To by pipe cross-sectional area. So, in a
completely define the performance of a way, it relates to flow rate.
flow system, it is important that at least
one pressure value be specified. In any We thus have in principle 4 system
flow system, at least one pressure must variables and two conservation equations
be specified. relating them. There are thus 2 degrees
of freedom in this case also. User must
We also know how to handle transient specify two variables as a function of
flow, i.e., a situation where the pressure time. For example, user may give how
and/or flow rate change with time. For the inlet pressure is changed with time
the case of a single dedicated pipe, let us and how the exit flow rate will change
explore the degrees of freedom by with time. The solutions of the equations
considering our variables and the will then give how inlet flow changes
equations we can write. with time and outlet pressure changes
with time, so that the two conservation
For a dedicated pipe as earlier, but equations are satisfied at any time and at
experiencing transient conditions, the any location along the pipe route.
variables of interest are the flow rates at
the two ends and the pressures at the two Since what we solve are the earlier given
ends. There are thus 4 variables. In this partial differential equations, we will
case, we cannot say that the outlet flow also get the pressure and flow rate (or
will be the same as the inlet flow at any velocity) along different points along the
given time. pipe as functions of time.

As seen earlier, that transient flow is The degrees of freedom thus remain the
governed by two equations (partial same irrespective of the nature of
differential equations) which must be operation, steady state or unsteady state.
satisfied at all locations along the pipe

Design of flow Networks 2


PIPING ENGINEERING CELL

Also notice that the degrees of freedom and viscosity. We thus have three more
here was 2 and the piping system also equations.
had 2 ends, one inlet and one outlet.
We thus have 10 variables and 7
Let us now consider a pipe network equations. The difference is the degrees
instead of a singe dedicated pipe route. of freedom for this simple network. The
A simple network is shown in the figure degrees of freedom of this network is
below. It has one supply point or inlet, thus three and the user must specify
and two end points. three parameter values out of the 10 we
listed earlier on the network itself (P1,
We have 3 flows associated with the P2, P3, P4, F1,in, F1,out, F2,in, F2,out, F3,in,
branch off point, one incoming, and two F3,out).
outgoing. There are thus 3 flow rates
associated with the branch-off location. One could specify pressure at the inlet
We thus have10 system variables: 4 and flows drawn by the two users at the
pressures and 6 flow rates. end of two branches. Which 3 variables
are specified will depend on application.
Let us consider that the network is For example, user at node 2 may demand
operating at the steady state. We can a certain flow rate and at certain
write 4 independent mass balance pressure. User at node 2 is ready to
equations which must be satisfied. Three accept any flow at a given pressure or a
are easy to write as we did in the case of fixed flow at any pressure etc. We are
a dedicated pipe. What enters any pipe free to specify 3 parameter values as we
section must also leave. The equations have three degrees of freedom.
are as follows.
If the flow is transient, the mass balance
F1, in = F1, out equations which we wrote for each
segment are not valid. During unsteady
F2, in = F2, out state, what enters a pipe section or
segment need not be equal to what
F3, in = F3, out leaves it. We still have 10 variables: four
pressures and 6 flow rates (P1, P2, P3, P4,
At the branch off point or node, F1, in, F1,out, F2,in, F2,out, F3,in, F3,out) with
whatever enters must leave. There the difference that these are now
cannot be any accumulation at the node changing with time and are not constant.
which has no volume as such. In The fourth mass balance equation we
equation form, therefore. wrote earlier holds in this case also.

F1, out = F2, in + F3, in F1, out = F2, in + F3, in

For each of the three pipe sections or We have two equations (mass and
pipe segments [(1), (2) and (3) in the energy balance) for each segment which
network drawing)], pressure drop is must be satisfied. We thus can write 6
related to the pipe length, diameter and equations for our case (three transient
roughness and also flow rate, density mass balance equations and three
transient energy balance equations).

Design of flow Networks 3


PIPING ENGINEERING CELL

you can do to rectify a wrongly designed


In all, we thus have 7 equations again network. You cannot force pressures and
and three degrees of freedom. flows on a network beyond what the
degrees of freedom allow you to do.
Note that we have 3 degrees of freedom
for this network, which is having one In the next section, a computer tool for
inlet and 2 outlets. If we decide to network simulation is introduced.
designate nodes which are inlets or
outlets of any network as terminal nodes,
the number of terminal nodes in this Network Simulation Basics
network is 3 and so are the degrees of
freedom. This a general rule of any
network. A network comprises of nodes and
segments. Any network carrying gas or
“THE NUMBER OF DEGREES OF liquid can be described in terms of two
FREEDOM IN ANY NETWORK IS essential aspects, NODES and
THE SAME AS THE NUMBER OF SEGMENTS. We will look at these
TERMINAL NODES.” formally and also understand how to
completely define their characteristics.
If the network has a loop as in the
network shown in the following figure, NODES:
instead of a tree type network we
considered so far, the above rule for the Nodes can be of six general types.
degrees of freedom still holds.
START NODE: These are the locations
For tree networks, the number of where fluid enters the network.
segments is one less than the number of Typically, these could be discharge
nodes. For loop networks, the number of nozzles of the pumps/compressors which
segments could be equal to, or even supply fluid to the network. The network
more than the number of nodes starts here.
depending on the number of loops in the
network. However, the degrees of In a network, where fluid supply is from
freedom in all cases are always equal to multiple sources, there could be many
the number of terminal nodes in the start nodes. For example, in a city-wide
network. water network, water may be entering
the network from several reservoirs.
Any network design should preferably Similarly, in a state-wide gas network,
be done using a network simulator. gas may be supplied for distribution by
People use some rules of thumb and several gas suppliers.
decide diameters of different segments
in a network for desired performance Operations point of view, start nodes
and hope that the network would would normally be pumping liquids or
function. Industry knows how steam putting compressed gas at a designated
networks work and often an equipment pressure so that the same can flow
is starved of the steam supply it needs through the network, undergo pressure
for its heating duty. There is very little

Design of flow Networks 4


PIPING ENGINEERING CELL

drop and still reach the distant users at merge into one outgoing stream. There
required flow/pressure specifications. are four variables associated with a
mixer node, three flow rates and one
There is only one segment associated pressure. There are three segments
with a start node which is downstream of associated with a mixer node, two
it. upstream segments and one downstream
segment.
END NODE: This is the other type of
terminal node. It is where a branch of a INTERMEDIATE NODE: These are
network ends. This is the customer for a nodes, where you just want to know the
network. Each end node is also a pressure or flow and have placed a
terminal node and contributes one pressure gauge or a flow meter
degree of freedom to the total degrees of accordingly. No flow split or merger
freedom. Generally, one would like to takes place here. What comes in goes out
specify the demand or flow rate at this at this node with no change in its
type of node. specification. It could also be a node
where only the pipe size changes. There
There is only one segment associated are two segments associated with an
with an end node which is upstream of intermediate node; one upstream
it. segment and one downstream segment.

SPLITTER NODE: This is where a EQUIPMENT NODE: Equipment node


single incoming flow splits into two is similar to an intermediate node, except
flows going through two downstream that it allows to effect change in the
segments. The node splits the flow into specification of the fluid flowing across
two and hence the name SPLITTER it in terms of pressure or flow. For
node. Physically, this is a tap-off point example, it could be a pressure reducing
or a branch-off point on a distribution station, a booster station, a flow control
line. Physically, it could be a TEE on the valve, a surge chamber, a pressure relief
header line. valve, etc. The equipment node has four
variables associated with it, namely the
Such types of nodes do not have a upstream and downstream pressures and
degree of freedom. They have four upstream and downstream flow rates. At
variables attached to them. These are the same time, it will supply its own
one pressure and three flow rates (one characteristic equations, two in number,
incoming and two outgoing). None of linking the upstream and downstream
these can be specified by the user. These flows and pressures.
evolve as per network specifications and
operation. For example, if it is a booster pump, it
will set the downstream pressure to a
There are three segments associated with value depending on pump characteristic
a splitter node, one upstream segment curve. It will also set the downstream
and two downstream segments. flow as the same as upstream flow.

MIXER NODE: This is mirror image of SEGMENTS


a splitter node. Two incoming flows

Design of flow Networks 5


PIPING ENGINEERING CELL

A segment is a pipe route connecting equation, what level of discretization


two nodes, one at its upstream end and you want to use to break up time (1
another at its downstream end. While second interval, or 5 seconds interval
different segments could have different etc.) and length of each segment. We
diameters, a segment has uniform have seen earlier that the governing
diameter across its length. Apart from equations are mass balance and energy
diameter, a segment will have a given balance equations. These equations
length. The pipe for a segment will also involve time and space (distance along
have its wall roughness associated with the pipe segment) as independent
it. variables and velocity and pressure as
dependent variables. Discretization of
We have seen earlier, that for a tree type time and space is important for solving
network, the number of segments will be equations. You should therefore suggest
one less than the number of nodes in a how many divisions each segment be
network. For a network which has one or divided into for solution purposes.
more loops, the number of segments can
be equal to or even more than the Generally, once these inputs are in, the
number of nodes. simulator will analyze your inputs for
consistency, do degrees of freedom
The segment will have its specifications analysis, generate necessary equations
as above Unlike nodes which can have1, and solve them. As simulator output, you
2 or 3 segments associated with them will get pressures and flows at each node
depending on node type, a segment as a function of time.
always has two nodes associated with it
at its two ends. You can then analyze the simulation
result for design or other performance
A network has its own topology or parameters.
structure. This structure is in terms of
nodes and segments. The network The next section introduces you to the
simulator must be conveyed this simulator, which is an IIT Bombay
topology using some logic. The product.
simulator must be provided with all
relevant details of each node (type of
node, elevation of node, segments PAnORaMA
associated with nodes and user provided
pressure or flows at terminal nodes, The name stands for Piping Analysis,
etc.). The simulator must be provided all Operations Research and Maintenance
details of each segment such as its Application.
internal diameter, surface roughness,
length etc. The simulator should also be The software can simulate any gas or
given details of what is flowing through liquid network. The preparation to use
the network, such as whether it is liquid the software is simple. You should draw
or gas, its density, viscosity etc. The your own network. Number all the nodes
simulator then should be given some serially, starting from 1 and without
indications as to what numerical solution missing any serial number in between.
method it should use to solve the Similarly, number all the segments,

Design of flow Networks 6


PIPING ENGINEERING CELL

again starting with 1 and without networks being simulated in a demo


missing any serial number in between. film, you can use PAnORaMA for any
Have data on each segment ready with other network.
you and also data on each node ready
with you. Keep the fluid properties with To understand PAnORaMA, download
you (density, viscosity etc.). Make up a problem sheet with 10 problems. Then
your mind as to what time step you want also download a short film which solves
to use and what approximate length these problems for you on PAnORaMA.
interval you want to use to discretize the These downloads are available to the
segments. participants of the on-line course on
Piping Engineering on CEPGlobe.com.
PAnORaMA is a comprehensive
transient simulator for any fluid network That is complete training for you on how
that you can conceive of. Its input is to use PAnORaMA and to view and
quite intuitive and once you see few analyze results.

Design of flow Networks 7

You might also like