Transient - Chapter 11 - Advanced Topics
Transient - Chapter 11 - Advanced Topics
TRAINING MANUAL
TRANSIENT MODULE
CHAPTER 11
ADVANCED TOPICS
This chapter covers some of the advanced topics for using PIPENET. The networks in this
chapter are very simple because the objective is to show a large number of examples
which can be quickly set up. This chapter can be used for training. It can also be used as
a reference document even without an associated training course.
PIPENET VISION TRAINING MANUAL TRANSIENT:CHAPTER 11
PAGE 2 OF 180 REVISION 2.3, FEB 2016
1. MISCELLANEOUS TOPICS:
What are Numerical Stability and Maximum Time Step for Numerical Stability?
A numerical solution procedure often has a maximum limit on the time step. If we used a
time step bigger than this, the numerical procedure may become unstable. Essentially the
term numerical instability means any errors in the solution at one time step will increase at
the next time step. After a few time steps the real solution could be completely swamped
so that the calculated solution bears no resemblance to the real solution.
In the case of the method of characteristics which is used in PIPENET Transient module,
the maximum time step for numerical stability is easy to understand intuitively. A
knowledge of numerical methods is not necessary. Let us consider a single pipe filled with
a liquid. If we create a pressure disturbance at one end of the pipe, it will travel at the
wave speed along the pipe, reflect at the other end and return. In other words, the
disturbance will travel back and forth along the pipe at the wave speed. It is clear that it is
essential to model the reflection of the disturbance because without that we will not have
oscillations in the pressure.
Let us now consider what the maximum time step for the calculation should be. It is
obvious that the maximum time step has to be the time it takes for the wave to reach from
one end of the pipe to the other. This is because a pressure disturbance created at one
end of the pipe will go past the other end of the pipe if we took a bigger time step. It will
not be possible to predict the reflection of the wave if that happened. In the case of a
single pipe we can define the following.
Time step for numerical stability = length of pipe/wave speed
In the case of a system with multiple pipes, each pipe would have its own time step for
numerical stability. The smallest of such time steps would be the time step for numerical
stability for the complete system. In this context it is important to note that the wave speed
is usually different for different pipes.
How can We Look at the Time Step Determined by PIPENET?
It would be of interest to be able to see what time step PIPENET will use and how it
arrived at that time step. This can be done by following the steps below.
Click on tab
Output
Click on
Timestep
PIPENET VISION TRAINING MANUAL TRANSIENT:CHAPTER 11
PAGE 4 OF 180 REVISION 2.3, FEB 2016
make more accurate calculations and in order to follow the pressure wave along the pipe,
we need to subdivide the pipe.
If we specify a time step for calculation, which is considerably smaller than the time step
for numerical stability, then the pipe will be sub-divided. This is because the pressure
wave will only move a fraction of the length of pipe in one time step. Each such sub-
division of the length is called a grid and its length is called the grid size. We can say,
Grid size = the length travelled by the wave during the time step
= wave speed x time step specified by the user
In this way the pipe is sub-divided into sections or grids. This is important for accuracy. It
also enables us to follow the movement of the pressure wave along the pipe.
There are two ways this can be done.
1. Specify the time step for graphical output which is much smaller than the time step
for numerical stability.
The time step for calculation cannot be bigger than the graphical output time step.
For that reason the calculation time step will be taken as the graphical output time
step.
The drawback of this method is the fact that it is not possible to perform the
calculations with a short time step, with the graphical output using a bigger time
step. They both have to be the same.
2. The second option is simply to select user defined time step.
The advantage of this approach is to different values can be specified for the time
step for calculation and the time step for output.
PIPENET VISION TRAINING MANUAL TRANSIENT:CHAPTER 11
PAGE 6 OF 180 REVISION 2.3, FEB 2016
Select user
defined time step
Specify the
time step
where:
is the wavespeed,
is the fluid bulk modulus,
is the internal pipe diameter,
is the Young's Modulus for the pipe material,
is the pipe wall thickness,
is the pipe distensibility (restraint factor),
the fluid density.
In general the wave speed and hence the time step will be different for different pipes. For
this reason, it will often be unnecessary for the user to sub-divide the pipes in the system
with multiple pipes. The time step for calculation will be determined by the pipe with the
shortest. This in turn will result in the longer pipes in the system being automatically sub-
divided. Nevertheless, it is a good idea to look at how pipes are sub-divided as shown in
the above section ‘How can we look at the time step determined by PIPENET?’
An example is shown below:
Data for pipes:
An example of the Calculation Timestep window is shown below. Please note that the
user defined time step is bigger than the time step for numerical stability.
On the other hand the pressure wave does not move exactly this distance during each
time step.
Time step (user defined) = 0.002 sec
Wave speed = 484.018 m/sec
Distance per time step = 0.002 x 484.018
= 0.968036 m
These are not exactly the same although they have the same order of magnitude.
Interpolation error (%) = 100 x (1.063 – 0.968036)/1.063
= 8.93358 %
PIPENET VISION TRAINING MANUAL TRANSIENT:CHAPTER 11
PAGE 11 OF 180 REVISION 2.3, FEB 2016
This not only decreases the time step by a factor of 10,000, it also increases the number of
grids by a factor of 10,000. In other words, the amount of calculation which needs to be
done is 10000 x 10000 = 1.0e08 times more.
Why is this of little benefit?
In order to understand this, we must look at the cause of pressure surge intuitively. Please
note that the discussion below must not be used for calculations. It is merely for
explaining the concept intuitively.
PIPENET VISION TRAINING MANUAL TRANSIENT:CHAPTER 11
PAGE 13 OF 180 REVISION 2.3, FEB 2016
The momentum of the liquid in the pipe is , where is the mass of fluid in the pipe
and is the velocity.
The mass of the liquid in the short pipe is negligible in comparison to the mass of liquid in
the longer pipe. Hence the momentum is also negligible. So, the contribution of the first
pipe to the pressure surge is negligible.
So essentially, PIPENET has to do is increased by a factor of 1.0e08 for little benefit.
For this reason, short pipes should be avoided whenever possible.
PIPENET VISION TRAINING MANUAL TRANSIENT:CHAPTER 11
PAGE 14 OF 180 REVISION 2.3, FEB 2016
The initial steady state is sometimes difficult to determine. PIPENET has a number of
tools to assist the user in determining the initial steady state. The Initial State dialog box
shown above is for this purpose.
The principle of ‘Run-in time’ is one of the most important principles to understand. To put
it quite simply, it a very good way of generating sound initial guesses. We can start from
the meaning of the term steady state. The mathematical definition of steady state is that
the partial derivatives of all the variables with respect to time are 0. These equations are
sometimes difficult to solve because it is not easy to find good initial guesses for the
iterations. In contrast if the state of the system is known at one point in time, it is usually a
stable process to take the next step in time. So, rather than start with the mathematical
definition of steady state we can start with a more pragmatic definition. Basically, steady
state would be ultimately reached if we start with a random state of the system and run it
for an infinitely long time without changing the operating conditions. In fluid flow terms it
means if we start with a random state of the system and run it for sufficiently long time, the
system will reach its steady state. Run-in time is the time we allow the simulation to run in
PIPENET using the boundary conditions at time = 0. So, the run-in time can be used in
two different ways.
(i) Use a long run-in time which is long enough for the steady state to be reached.
The “Calculate initial steady state” button is usually unchecked under these
conditions. This is the preferred option if the system has control loops.
PIPENET VISION TRAINING MANUAL TRANSIENT:CHAPTER 11
PAGE 15 OF 180 REVISION 2.3, FEB 2016
(ii) Use a run-in time which is shorter but which would nevertheless produce a good
initial guess starting from a random guess. The “Calculate initial steady state”
button must be checked under these conditions.
There are many other ways the initial state can be specified or the initial guesses
generated. These tools are not often used but they are there if needed.
(a) It can be the initial starting point for the simulations. This could for example be
used as a re-start file. If this is the case the run-in time should be set to 0 and
the “Calculate initial steady state” button is usually unchecked.
(b) The user can specify the initial starting guess for finding the steady state. This
could be used in conjunction with the run-in time and/or “Calculate initial steady
state”.
The initial guess file has a pre-defined structure and data can be
entered/modified by the user. The “Make initial guess file” and “Edit initial
guess file” buttons are for this purpose.
(ii) Default.
PIPENET uses its own default values using which the steady state calculation process will
start. It is generally use in conjunction with run-in time and Calculate initial steady state
button being activated.
Remember that static means all flows are 0 and is different from steady state. In some
cases it may be known that all the flows will be 0 at the start. In such cases this may be a
better to generate the initial guesses on the assumption that the flows are 0.
It is also important to bear the following point in mind. It is usually a good idea to run
the system in PIPENET without introducing events (changes to the boundary conditions)
for a certain length of the simulation. We can then assess if steady state has been
reached by looking at the graphs.
Tabular output has a useful purpose in that it gives exact numbers, rather than graphical
results.
By default it shows the following
Global maximum and minimum for the pressure thought the system.
PIPENET VISION TRAINING MANUAL TRANSIENT:CHAPTER 11
PAGE 16 OF 180 REVISION 2.3, FEB 2016
The maximum and minimum pressures for every item in the network, at the input and
output nodes.
For pipes the maximum and minimum pressures which occur at the internal points
The maximum and minimum pressure for each pipe schedule which is used in the
system
The maximum/minimum pressure for each pipe schedule would be important under certain
circumstances. If the system has several pipe schedules, the worst point may not be at
the place where the maximum pressure occurs. There may a weaker pipe schedule in the
somewhere else where the pressure may be higher than the design pressure. Extracts
from the tabular output file are shown below.
PRESSURE EXTREMA
----------------
MAXIMUM/MINIMUM PRESSURE
------------------------
Inlet max. Inlet min. Outlet max. Outlet min. Middle max. Middle min.
Component pressure Time pressure Time pressure Time pressure Time pressure Time pressure Time
bar G seconds bar G seconds bar G seconds bar G seconds bar G seconds bar G seconds
----------------------------------------------------------------------------------------------------------------------------------
PIPE
3 0.159E+02 0.10E+02 0.155E+02 0.95E+00 0.159E+02 0.10E+02 0.155E+02 0.95E+00 0.159E+02 0.10E+02 0.155E+02 0.95E+00
4 0.159E+02 0.10E+02 0.155E+02 0.95E+00 0.156E+02 0.10E+02 0.152E+02 0.95E+00 0.159E+02 0.10E+02 0.152E+02 0.95E+00
5 0.156E+02 0.10E+02 0.152E+02 0.95E+00 0.156E+02 0.10E+02 0.152E+02 0.95E+00 0.156E+02 0.10E+02 0.152E+02 0.95E+00
6 0.159E+02 0.10E+02 0.155E+02 0.95E+00 0.159E+02 0.10E+02 0.155E+02 0.95E+00 0.159E+02 0.10E+02 0.155E+02 0.95E+00
7 0.159E+02 0.10E+02 0.155E+02 0.95E+00 0.159E+02 0.10E+02 0.155E+02 0.95E+00 0.159E+02 0.10E+02 0.155E+02 0.95E+00
9 0.160E+02 0.10E+02 0.156E+02 0.95E+00 0.160E+02 0.10E+02 0.156E+02 0.10E+01 0.160E+02 0.10E+02 0.156E+02 0.10E+01
10 0.160E+02 0.10E+02 0.156E+02 0.10E+01 0.160E+02 0.10E+02 0.156E+02 0.10E+01 0.160E+02 0.10E+02 0.156E+02 0.10E+01
8 0.159E+02 0.10E+02 0.155E+02 0.95E+00 0.160E+02 0.10E+02 0.156E+02 0.95E+00 0.160E+02 0.10E+02 0.155E+02 0.95E+00
11 0.160E+02 0.10E+02 0.156E+02 0.95E+00 0.156E+02 0.10E+02 0.152E+02 0.95E+00 0.160E+02 0.10E+02 0.152E+02 0.95E+00
12 0.156E+02 0.10E+02 0.152E+02 0.95E+00 0.151E+02 0.10E+02 0.147E+02 0.95E+00 0.156E+02 0.10E+02 0.147E+02 0.95E+00
13 0.151E+02 0.10E+02 0.147E+02 0.95E+00 0.139E+02 0.10E+02 0.135E+02 0.95E+00 0.151E+02 0.10E+02 0.135E+02 0.95E+00
14 0.160E+02 0.10E+02 0.156E+02 0.10E+01 0.156E+02 0.10E+02 0.152E+02 0.10E+01 0.160E+02 0.10E+02 0.152E+02 0.10E+01
15 0.156E+02 0.10E+02 0.152E+02 0.10E+01 0.142E+02 0.10E+02 0.135E+02 0.10E+01 0.156E+02 0.10E+02 0.135E+02 0.10E+01
16 0.160E+02 0.10E+02 0.156E+02 0.10E+01 0.159E+02 0.10E+02 0.155E+02 0.95E+00 0.160E+02 0.10E+02 0.155E+02 0.95E+00
18 0.159E+02 0.10E+02 0.155E+02 0.95E+00 0.155E+02 0.10E+02 0.151E+02 0.95E+00 0.159E+02 0.10E+02 0.151E+02 0.95E+00
20 0.151E+02 0.10E+02 0.147E+02 0.95E+00 0.141E+02 0.10E+02 0.137E+02 0.95E+00 0.151E+02 0.10E+02 0.137E+02 0.95E+00
21 0.159E+02 0.10E+02 0.155E+02 0.95E+00 0.148E+02 0.10E+02 0.144E+02 0.90E+00 0.159E+02 0.10E+02 0.144E+02 0.90E+00
23 0.148E+02 0.10E+02 0.144E+02 0.90E+00 0.148E+02 0.10E+02 0.144E+02 0.90E+00 0.148E+02 0.10E+02 0.144E+02 0.90E+00
26 0.148E+02 0.10E+02 0.144E+02 0.90E+00 0.148E+02 0.10E+02 0.144E+02 0.90E+00 0.148E+02 0.10E+02 0.144E+02 0.90E+00
27 0.148E+02 0.10E+02 0.144E+02 0.90E+00 0.150E+02 0.10E+02 0.146E+02 0.80E+00 0.150E+02 0.10E+02 0.144E+02 0.90E+00
28 0.150E+02 0.10E+02 0.146E+02 0.80E+00 0.150E+02 0.10E+02 0.146E+02 0.80E+00 0.150E+02 0.10E+02 0.146E+02 0.80E+00
30 0.150E+02 0.10E+02 0.146E+02 0.80E+00 0.128E+02 0.10E+02 0.124E+02 0.75E+00 0.150E+02 0.10E+02 0.124E+02 0.75E+00
31 0.150E+02 0.10E+02 0.146E+02 0.80E+00 0.147E+02 0.10E+02 0.144E+02 0.80E+00 0.150E+02 0.10E+02 0.144E+02 0.80E+00
17 0.159E+02 0.10E+02 0.155E+02 0.95E+00 0.159E+02 0.10E+02 0.155E+02 0.95E+00 0.159E+02 0.10E+02 0.155E+02 0.95E+00
19 0.155E+02 0.10E+02 0.151E+02 0.95E+00 0.151E+02 0.10E+02 0.147E+02 0.95E+00 0.155E+02 0.10E+02 0.147E+02 0.95E+00
29 0.150E+02 0.10E+02 0.146E+02 0.80E+00 0.150E+02 0.10E+02 0.146E+02 0.90E+00 0.150E+02 0.10E+02 0.146E+02 0.80E+00
2 0.159E+02 0.10E+02 0.155E+02 0.95E+00 0.159E+02 0.10E+02 0.155E+02 0.95E+00 0.159E+02 0.10E+02 0.155E+02 0.95E+00
33 0.159E+02 0.10E+02 0.155E+02 0.95E+00 0.160E+02 0.10E+02 0.156E+02 0.10E+01 0.160E+02 0.10E+02 0.155E+02 0.95E+00
34 0.159E+02 0.10E+02 0.155E+02 0.95E+00 0.159E+02 0.10E+02 0.155E+02 0.95E+00 0.159E+02 0.10E+02 0.155E+02 0.95E+00
35 0.159E+02 0.10E+02 0.155E+02 0.95E+00 0.159E+02 0.10E+02 0.155E+02 0.95E+00 0.159E+02 0.10E+02 0.155E+02 0.95E+00
22 0.147E+02 0.10E+02 0.144E+02 0.80E+00 0.130E+02 0.10E+02 0.127E+02 0.80E+00 0.147E+02 0.10E+02 0.127E+02 0.80E+00
24 0.000E+00 0.00E+00 0.000E+00 0.00E+00 0.161E+01 0.59E+01 0.161E+01 0.10E+02 0.161E+01 0.59E+01 0.000E+00 0.00E+00
25 0.150E+02 0.10E+02 0.146E+02 0.90E+00 0.148E+02 0.10E+02 0.144E+02 0.90E+00 0.150E+02 0.10E+02 0.144E+02 0.90E+00
1 0.159E+02 0.10E+02 0.155E+02 0.95E+00 0.156E+02 0.10E+02 0.152E+02 0.95E+00 0.159E+02 0.10E+02 0.152E+02 0.95E+00
32 0.159E+02 0.10E+02 0.155E+02 0.95E+00 0.157E+02 0.10E+02 0.153E+02 0.95E+00 0.159E+02 0.10E+02 0.153E+02 0.95E+00
37 0.157E+02 0.10E+02 0.153E+02 0.95E+00 0.157E+02 0.10E+02 0.153E+02 0.95E+00 0.157E+02 0.10E+02 0.153E+02 0.95E+00
38 0.154E+02 0.10E+02 0.151E+02 0.95E+00 0.150E+02 0.10E+02 0.146E+02 0.90E+00 0.154E+02 0.10E+02 0.146E+02 0.90E+00
36 0.185E+02 0.10E+02 0.182E+02 0.12E+01 0.154E+02 0.10E+02 0.151E+02 0.95E+00 0.185E+02 0.10E+02 0.151E+02 0.95E+00
--------------------
PUMP
2 0.161E+01 0.59E+01 0.161E+01 0.10E+02 0.185E+02 0.10E+02 0.182E+02 0.12E+01
--------------------
VALV
1 0.156E+02 0.10E+02 0.152E+02 0.95E+00 0.000E+00 0.00E+00 0.000E+00 0.00E+00
3 0.550E+01 0.00E+00 0.550E+01 0.00E+00 0.159E+02 0.10E+02 0.155E+02 0.95E+00
2 0.156E+02 0.10E+02 0.152E+02 0.95E+00 0.000E+00 0.00E+00 0.000E+00 0.00E+00
4 0.157E+02 0.10E+02 0.153E+02 0.95E+00 0.000E+00 0.00E+00 0.000E+00 0.00E+00
5 0.154E+02 0.10E+02 0.151E+02 0.95E+00 0.000E+00 0.00E+00 0.000E+00 0.00E+00
6 0.142E+02 0.10E+02 0.135E+02 0.10E+01 0.000E+00 0.00E+00 0.000E+00 0.00E+00
--------------------
PIPENET VISION TRAINING MANUAL TRANSIENT:CHAPTER 11
PAGE 17 OF 180 REVISION 2.3, FEB 2016
NRTV
1 0.154E+02 0.10E+02 0.151E+02 0.95E+00 0.154E+02 0.10E+02 0.151E+02 0.95E+00
--------------------
VBRK
1 0.139E+02 0.10E+02 0.135E+02 0.95E+00 0.139E+02 0.10E+02 0.135E+02 0.95E+00
2 0.142E+02 0.10E+02 0.135E+02 0.10E+01 0.142E+02 0.10E+02 0.135E+02 0.10E+01
3 0.141E+02 0.10E+02 0.137E+02 0.95E+00 0.141E+02 0.10E+02 0.137E+02 0.95E+00
4 0.128E+02 0.10E+02 0.124E+02 0.75E+00 0.128E+02 0.10E+02 0.124E+02 0.75E+00
5 0.130E+02 0.10E+02 0.127E+02 0.80E+00 0.130E+02 0.10E+02 0.127E+02 0.80E+00
Pipe type Max. pressure Time Pipe id Position Min. pressure Time Pipe id Position
bar G seconds metres bar G seconds metres
------------------------------------------------------------------------------------------------------------------------
2. PUMPS:
There are three types of pump in PIPENET. Typically the data would be input into a library
because pump curves are often used several times in one network or indeed in several
networks. Pump model is selected on the basis of three factors: available pump curves,
the exact network and the scenarios.
Simple pump: the performance curve H-Q (head – flow rate) is required in the pump
library. Simple pump is used to model variable speed pump within the working range,
i.e. pump head, flow rate, rotation speed and driving torque are positive. This pump
model only requires less data. However, the pump speed during run up and/or spin
down has to be input by the user. In addition, this pump cannot model reverse flow or
reverse rotation. The calculation accuracy also deteriorates beyond the working
range.
Initial pump: the pump curves H-Q (head – flow rate) and P-Q (power – flow rate)
are required in the library. Alternatively, the pump efficiency curve -Q (efficiency –
flow rate) could be input. This is used by PIPENET to calculate the power curve P-Q,
except the data at zero flow rate where the pump power has to be input by the user.
In addition the motor torque curve T-S (torque – speed) is required when the start-up
scenario is modelled. Similar to the simple pump, the initial pump cannot simulate
reverse flow or reverse rotation, and the calculation accuracy deteriorates beyond the
working range. The main advantage of the inertial pump is that it can calculate pump
speed automatically during pump start-up or trip, whilst the pump speed of simple
pump has to be set manually.
Turbo pump: the input Sutter curves WH and WB should cover all four quadrants,
i.e. pump head, flow rate, rotation speed and driving torque can be positive or
negative in any combination. Therefore, it can be used to model reverse flow or
reverse rotation. In addition, pump trip can be calculated automatically. This is the
most comprehensive pump model in PIPENET. However, Sutter curves may not be
readily available.
The following network is composed of a pump, a pipe and a high-position tank. Please
explain why the turbo pump model is recommended in the scenario of pump trip. If a fast-
acting check valve is installed at the pump output, can we use simple pump or initial pump
to model pump trip? Please explain the difference.
PIPENET VISION TRAINING MANUAL TRANSIENT:CHAPTER 11
PAGE 19 OF 180 REVISION 2.3, FEB 2016
This uses the normal pump performance curve which is usually supplied by the vendor.
This model can be used as a variable speed pump. The speed can be specified by the
user or set by a control loop. A simple pump can be used in cases where the head and
flow rate are always positive throughout the scenario.
Points taken from the vendor’s pump performance curve are shown below.
The input is shown by showing the dialog box sequentially below. The data in the dialog
boxes require little description.
PIPENET VISION TRAINING MANUAL TRANSIENT:CHAPTER 11
PAGE 20 OF 180 REVISION 2.3, FEB 2016
We saw earlier the principles used for determining the time step. Usually if there is only
one pipe, the user has to provide the calculation time step which is smaller than the time
step determined by PIPENET. Remember that in general the maximum time for numerical
stability would be based on not sub-dividing the pipe if there was only one pipe. This
means the pipe would be regarded as a single grid. On the other hand, if the network
includes several pipes of different lengths the time step for numerical stability would be
usually based on the length of the shortest pipe. That is not the case here and so we have
to provide a calculation time step which is shorter than the time step for numerical stability.
We learn how to model a valve closing, staying closed for a while and then opening again.
For this purpose we use the linear function for the boundary condition. PIPENET has
several options for boundary conditions. However, most commonly one of the following
three functions is used:
Constant
Power Ramp
Linear Profile
(ii) If it is to be used in pump start up or shut down conditions the user has to define the
ramp up or spin down profile. Vendors sometimes provide these times. However,
typically the network characteristics will have an influence on the times and for this
reason the data provided by the vendor could be inaccurate.
For these reasons two other pump models have been made available with PIPENET,
namely, inertial pump and turbo pump.
PIPENET VISION TRAINING MANUAL TRANSIENT:CHAPTER 11
PAGE 25 OF 180 REVISION 2.3, FEB 2016
As mentioned above, it is not possible to calculate the power at 0 lit/min given the
efficiency. So at 0 lit/min flowrate it is a mandatory requirement to specify the power.
Alternatively, it is possible to input points from the power against flowrate curve.
Base case – Pump Trips at 8 seconds.
In addition to the above data, the following information is also necessary.
Moment of inertia (Impeller + Motor rotor + retained liquid) = 1000 kg m2
PIPENET VISION TRAINING MANUAL TRANSIENT:CHAPTER 11
PAGE 26 OF 180 REVISION 2.3, FEB 2016
The rest of the data, including the relevant dialog boxes is shown below.
Case 2: Effect of Low Moment of Inertia of the Pump and Bigger Pipe with +ve
Elevation
Make the following changes and see the effect.
Change the Moment of Inertia of the pump to 10 kg m 2, pipe diameter to 300 mm and the
pipe length to 4000 m with an elevation change of 30 m.
PIPENET VISION TRAINING MANUAL TRANSIENT:CHAPTER 11
PAGE 30 OF 180 REVISION 2.3, FEB 2016
Note elevation
PIPENET VISION TRAINING MANUAL TRANSIENT:CHAPTER 11
PAGE 31 OF 180 REVISION 2.3, FEB 2016
PIPENET VISION TRAINING MANUAL TRANSIENT:CHAPTER 11
PAGE 32 OF 180 REVISION 2.3, FEB 2016
Case 3: Effect of Low Moment of Inertia of the Pump and Bigger Pipe with -ve
Elevation
Note elevation
PIPENET VISION TRAINING MANUAL TRANSIENT:CHAPTER 11
PAGE 33 OF 180 REVISION 2.3, FEB 2016
Trip time
Note that the trip time is given here and not through the information node. This is because
the information node may be connected to a control loop which sets its speed. In general
this speed will not be known to the user when a control system is in operation. The user
can specify the trip time through the properties window. This is the time which the trip
starts.
PIPENET VISION TRAINING MANUAL TRANSIENT:CHAPTER 11
PAGE 35 OF 180 REVISION 2.3, FEB 2016
In this case the pump is assumed to run at 100% rpm when it trips. The trip is assumed to
occur at 8 sec into the simulation as specified through the above dialog box.
PIPENET VISION TRAINING MANUAL TRANSIENT:CHAPTER 11
PAGE 36 OF 180 REVISION 2.3, FEB 2016
Case 2: Effect of Low Moment of Inertia and Bigger Pipe, with +ve elevation
Make the following changes and see the effect.
Change the Moment of Inertia of the pump to 10 kg m 2, the torque to 50 Nm, pipe diameter
to 300 mm and the pipe length to 4000 m with an elevation of 30 m.
PIPENET VISION TRAINING MANUAL TRANSIENT:CHAPTER 11
PAGE 37 OF 180 REVISION 2.3, FEB 2016
Note Values
PIPENET VISION TRAINING MANUAL TRANSIENT:CHAPTER 11
PAGE 38 OF 180 REVISION 2.3, FEB 2016
PIPENET VISION TRAINING MANUAL TRANSIENT:CHAPTER 11
PAGE 39 OF 180 REVISION 2.3, FEB 2016
PIPENET VISION TRAINING MANUAL TRANSIENT:CHAPTER 11
PAGE 40 OF 180 REVISION 2.3, FEB 2016
Case 3: Effect of Low Moment of Inertia and Bigger Pipe, with -ve elevation
PIPENET VISION TRAINING MANUAL TRANSIENT:CHAPTER 11
PAGE 41 OF 180 REVISION 2.3, FEB 2016
PIPENET VISION TRAINING MANUAL TRANSIENT:CHAPTER 11
PAGE 42 OF 180 REVISION 2.3, FEB 2016
3. TANKS:
PIPENET offers several types of tank model. They are listed below.
Simple tank: this is a two-node tank with constant pressure above the liquid level
which is specified by the user. The inlet node locates at the top gas side whilst the
outlet node connects to the bottom liquid side. The calculation will abort if a simple
tank drains or overflows or flow reverses at the inlet node.
Accumulator: this is sealed, pressurized one-node vessel. Some air is trapped
inside to provide cushioning effect. The air pressure is variable depending on the
liquid level in the vessel. The calculation will abort if it completely drains.
Surge tank: this is an open, atmospheric one-node vessel. The vessel top is open
to the ambient conditions and its pressure is constant 0 bar G. The calculation will
abort if it overflows or completely drains (dry pipe model is disabled).
Receiving vessel: this model is same as the surge tank except (1) The calculation
will not abort when it overflows; (2) the calculation can calculate the overflow rate
and total overflow; (3) it can consider the effect of weir crest.
The user can select regular tank from the predefined list (vertical cylinder, horizontal
cylinder, sphere, conical frustum and uniform section) or define an irregular tank (e.g.
reservoir) in the tanks library, see an example below. This would be invaluable in
modeling hydro-electric power stations where the ‘surge tank’ can actually be a lake, a
cave or whatever is available. In such a case the height vs area may have to be input in
the form of a table.
PIPENET VISION TRAINING MANUAL TRANSIENT:CHAPTER 11
PAGE 43 OF 180 REVISION 2.3, FEB 2016
Base Case
PIPENET VISION TRAINING MANUAL TRANSIENT:CHAPTER 11
PAGE 45 OF 180 REVISION 2.3, FEB 2016
PIPENET VISION TRAINING MANUAL TRANSIENT:CHAPTER 11
PAGE 46 OF 180 REVISION 2.3, FEB 2016
Give an explanation for why the simulation stops prematurely. The simulation time was
input as 1200 secs. But the simulation stopped at about 110 secs.
3.2. Accumulator
In all the cases below we consider valve closure scenarios.
Case 1: System without an Accumulator:
The calculation results show the pressure surge can’t absorbed by a small accumulator,
which indicates that PIPENET can be used to optimize the tank size.
Trip time
PIPENET VISION TRAINING MANUAL TRANSIENT:CHAPTER 11
PAGE 62 OF 180 REVISION 2.3, FEB 2016
PIPENET VISION TRAINING MANUAL TRANSIENT:CHAPTER 11
PAGE 63 OF 180 REVISION 2.3, FEB 2016
The trip time is set to 100 sec so that we can clearly see the initial steady state solution.
As discussed above the run-in time will be very long.
We also have to increase the simulation time and this is shown below.
PIPENET VISION TRAINING MANUAL TRANSIENT:CHAPTER 11
PAGE 65 OF 180 REVISION 2.3, FEB 2016
Why does the simulation stop before the 5000 sec simulation time?
PIPENET VISION TRAINING MANUAL TRANSIENT:CHAPTER 11
PAGE 66 OF 180 REVISION 2.3, FEB 2016
Case 4c: Effect of adding a non-return valve and elevation change in the pipe
Note elevation
change
PIPENET VISION TRAINING MANUAL TRANSIENT:CHAPTER 11
PAGE 67 OF 180 REVISION 2.3, FEB 2016
Click on the ‘Linear’ button to develop the derivatives. Then click on ‘apply’.
PIPENET VISION TRAINING MANUAL TRANSIENT:CHAPTER 11
PAGE 71 OF 180 REVISION 2.3, FEB 2016
What do the above graphs indicate and what action do you think we should take?
PIPENET VISION TRAINING MANUAL TRANSIENT:CHAPTER 11
PAGE 76 OF 180 REVISION 2.3, FEB 2016
4. FORCE CALCULATION:
`
Two very important conceptual differences between PIPENET and pipe stress analysis
programs are described below.
(i) If a disturbance is made to fluid in a pipe network system, it will travel throughout
the connected parts of the network at the wave speed. In comparison pipe
stress is essentially a local phenomenon. It can generally be assumed that
forces and stresses do not go past anchors.
(ii) When it comes to flow analysis the exact 3 D geometry of the network usually is
not important. It is the length of pipes and elevation changes which are
important. Three dimensional changes in direction are not important. Fittings
can be regarded as attributes of pipes. Only valves which operate are regarded
as models. Otherwise they can simply be added as fittings.
We also recognise that it would be extremely inconvenient for a professional engineer to
input the drawing as a piping isometric into PIPENET. It could take many times as long to
input the piping drawing as an isometric into PIPENET in comparison to a schematic. That
is why the network in PIPENET is represented as a schematic drawing. On the other
hand, it is essential in pipe stress analysis to work with isometrics data albeit in relatively
small parts of the network. The force calculation capability in PIPENET is intended to
bridge this dichotomy.
The forces calculation capability in PIPENET was developed with pipe stress analysis in
mind. For this reason it recognises the following;
(i) PIPENET analysis will have to be carried out by defining the complete network.
(ii) For each such case the pipe stress engineer would require the forces to be
calculated for a large number of load cases. Furthermore, care has to be taken
to take into account that the forces should lend themselves to be defined and
calculated quickly for each load case. PIPENET is designed in such way that
the forces for the load cases can be calculated easily without changing the basic
network.
4.1. Simple Force:
Unbalanced
Force = 0
In the following graphics the symbol represents the position of the pressure assuming
that it is a sharp spike. The symbol represents the steady state force.
The symbol represents the high force caused by the pressure surge.
Unbalanced
Force = down
Unbalanced
Force = up
Given the positions of the elbows PIPENET can calculate the unbalanced forces. It is
important to understand three key points.
(i) The first key point is that the elbows do not need to be on one single pipe. The
elbows can have items such as valves, T pieces and so on between them. The
important point is the elbows and the items in between need to be on a straight.
In fact the end points need not be elbows. If there is a point across which there
is no transfer of the force (such as an anchor) such a point could be defined as
an end point. The typical end points are summarized in the table below. We
should also remember that PIPENET uses schematic drawings. So an elbow
may not be shown in the schematic. There may not be a one-to-one
PIPENET VISION TRAINING MANUAL TRANSIENT:CHAPTER 11
PAGE 78 OF 180 REVISION 2.3, FEB 2016
(ii) The second key point is the position is always defined with reference to the input
node of a pipe.
(iii) We also recognise that a simple or unbalanced force will only have one
component because it will always be in the direction of the pipe. In fact, that is
why it is called a simple force. Furthermore, it is not necessary to create nodes
at the positions where unbalanced forces need to be calculated. As we will see
later a complex force will have three dimensional components and must have
nodes where the pipeline changes directions.
PIPENET uses the concept of control volumes to calculate the forces. A control volume
need not be between two elbows at all. This may be because a pipe may be anchored at
a point. We assume that the force cannot go past an anchor. This is important from a
pipe stress analysis point of view. Typically each straight section of pipe will have a
control volume and each anchor will also divide a control volume. Let us consider the
control volumes as shown below:
Control volume
ANCHOR
ANCHOR ANCHOR
200 m
100 m
100 m
100 m
PIPENET VISION TRAINING MANUAL TRANSIENT:CHAPTER 11
PAGE 79 OF 180 REVISION 2.3, FEB 2016
Control volumes are defined by their intersection with pipes. By definition a control volume
for a simple force can only have two such intersections.
Network data.
PIPENET VISION TRAINING MANUAL TRANSIENT:CHAPTER 11
PAGE 80 OF 180 REVISION 2.3, FEB 2016
PIPENET VISION TRAINING MANUAL TRANSIENT:CHAPTER 11
PAGE 81 OF 180 REVISION 2.3, FEB 2016
Forces tab
Forces are not components in the schematic and so it is not possible to point and select
them for graphical output.
Click here
The main difference here is that complex forces are 3 dimensional forces. It is necessary
to create nodes at the positions where the flow direction swerves.
Complex forces are less commonly used. This is because typically pipe stress analysis
programs work with simple forces (unbalanced forces in the direction of the pipe) even if
such forces are applied to one end of a pipe. Complex forces would be useful if the finite
element analysis is applied for local stress analysis.
Complex forces again are based on defining control volumes.
Control
volume
Control
volume
PIPENET VISION TRAINING MANUAL TRANSIENT:CHAPTER 11
PAGE 87 OF 180 REVISION 2.3, FEB 2016
As complex forces are 3 dimensional forces they need to be calculated with reference to a
defined co-ordinate system. The user can freely choose the co-ordinate system he would
prefer to use. We can choose the following co-ordinate system, with the Z dimension
coming vertically out of the paper.
There are two types of data for each intersection between the control volume and the pipe.
(i) Position with reference to the input node of the pipe.
(ii) The unit normal coming out of the control volume in the direction of the pipe. In
fact this is what defines the 3D direction of the force.
(iii) Whether the end points are elastic or rigid. The typical end points please refer to
the summary in the simple force section.
Let us consider one of the control volumes above.
If we take the first elbow on its own we can define the force as follows.
Unit normal 1
Unit normal
2
PIPENET VISION TRAINING MANUAL TRANSIENT:CHAPTER 11
PAGE 88 OF 180 REVISION 2.3, FEB 2016
The following table shows the data for the unit normal
Unit Pipe label Position, x- y- z-
normal m component component component
number
1 1 99 -1 0 0
2 2 1 0 -1 0
PIPENET automatically infers the direction of the unit normal with reference to the
direction of pipe. This is necessary for assigning the sign of the force.
The end points should also be set to elastic. This is because the force on the elbow must
be calculated without the restraining effect of the pipe.
Elastic
PIPENET VISION TRAINING MANUAL TRANSIENT:CHAPTER 11
PAGE 89 OF 180 REVISION 2.3, FEB 2016
Elastic
As before, forces are not components in the schematic and so it is not possible to point
and select them for graphical output.
Click here
In the graph Viewer it is possible to see three components for the forces and also the
magnitude of the three dimensional force.
PIPENET VISION TRAINING MANUAL TRANSIENT:CHAPTER 11
PAGE 91 OF 180 REVISION 2.3, FEB 2016
Change the valve closure time to 1 sec and see the effect on the complex forces.
PIPENET VISION TRAINING MANUAL TRANSIENT:CHAPTER 11
PAGE 92 OF 180 REVISION 2.3, FEB 2016
Generally engineers are more interested in total force because it presents the real
hydraulic force that flow transfers to structure. The hydraulic force is always zero at steady
state if both the end points are rigid. Therefore, the total force is equal to the dynamic force
in this case, see the comparisons below.
PIPENET VISION TRAINING MANUAL TRANSIENT:CHAPTER 11
PAGE 94 OF 180 REVISION 2.3, FEB 2016
An extract from the .frc file for one of the simple forces case is shown below.
DIFF : F/1
.220000E+1 0.115313E-02
.221000E+1 0.114627E-02
.222000E+1 2.17615
.223000E+1 7.89779
.224000E+1 14.1450
.225000E+1 20.4487
PIPENET VISION TRAINING MANUAL TRANSIENT:CHAPTER 11
PAGE 96 OF 180 REVISION 2.3, FEB 2016
.226000E+1 26.7713
.227000E+1 33.1121
.228000E+1 39.4712
.229000E+1 45.8497
.230000E+1 52.2479
.231000E+1 58.6670
.232000E+1 65.1072
.233000E+1 71.5698
.234000E+1 78.0550
.235000E+1 84.5641
.236000E+1 91.0973
.237000E+1 97.7186
.238000E+1 104.382
.239000E+1 111.074
.240000E+1 117.795
.241000E+1 124.545
.242000E+1 131.324
.243000E+1 138.135
.244000E+1 144.977
.245000E+1 151.851
.246000E+1 158.759
.247000E+1 165.701
.248000E+1 172.679
.249000E+1 179.692
.250000E+1 186.743
.251000E+1 191.401
.252000E+1 193.652
.253000E+1 195.222
.254000E+1 196.699
.255000E+1 198.187
.256000E+1 199.699
.257000E+1 201.236
.258000E+1 202.800
.259000E+1 204.391
.260000E+1 206.008
.261000E+1 207.653
.262000E+1 209.326
PIPENET VISION TRAINING MANUAL TRANSIENT:CHAPTER 11
PAGE 97 OF 180 REVISION 2.3, FEB 2016
.263000E+1 211.027
.264000E+1 212.757
.265000E+1 214.517
PIPENET VISION TRAINING MANUAL TRANSIENT:CHAPTER 11
PAGE 98 OF 180 REVISION 2.3, FEB 2016
5. CONTROL SYSTEMS
If the flow sensor is moved to the main pipeline, the PID’s gain should be positive
because the bypass valve tends to open further when the measured flow rate is above
the set point, see the figure below.
PIPENET VISION TRAINING MANUAL TRANSIENT:CHAPTER 11
PAGE 99 OF 180 REVISION 2.3, FEB 2016
The network may need extremely long time to settle down if the gain is too small. On
the contrary, the control system may cause unstable oscillation if the gain is too big.
The correct scale should base on the sensitivity of control signal to the operation of the
control element. In the above example, the flow rate at the main pipeline increases
about 334 l/min when the bypass valve changes the position from opening to closure.
Therefore, the gain can be approximately set as (1-0)/334 = 0.003 1/l/min.
Reset time is used to scale I-term (integral) controller whilst rate time is used to scale
D-term (differential) controller. The output control curve tends to be smooth with big
reset time but the system needs more time to settle down. However, small reset time
or big rate time may lead oscillations. Generally the rate time should not more than
25% of the reset time.
Anti-windup introduces a negative-feedback signal to offset the saturated I-term signal,
which makes PID controllers quickly respond to the input signal after the saturation is
over. Tracking time is required when the anti-windup function is activated. Ideally the
tracking time should be larger than the rate time but smaller than the reset time.
Cascade Controller – Set point of the PID controller itself is variable and is often set
by the signal from another control loop. The input parameter setting is same as the
conventional PID controller, except the input set point. The cascade controller is
usually used to implement quick control but its complexity and cost restrict the
application.
Switch – Can be pressure, flow, differential pressure or timer type. The parameters
hysteresis and dead time delay can avoid oscillation phenomenon.
Signal selector – selects between two input signals based on minimum, maximum or
time; signal can be pressure, flow, differential pressure or information. It is usually
used to build complex control logic.
It is very important that the following points are noted.
(i) The values of the control system parameters, including their signs, are important
and attention must be paid to the fact that they must have reasonable values.
(ii) Control loops have a direction of signal flow and the items on the schematic
should be input in the same direction.
(iii) Control systems may not have steady state solutions which can be directly
calculated. So, typically it is better to work with the initial state being determined
by extending the run-in time and unchecking the initial steady state switch. An
example can be seen in the dialog box below.
PIPENET VISION TRAINING MANUAL TRANSIENT:CHAPTER 11
PAGE 100 OF 180 REVISION 2.3, FEB 2016
It is also a good idea to check if the run-in time is long enough for the system to reach
steady state. (The principle of run-in was described in section 1.2. of this chapter.)
See the following graphs. We will look at this network in detail later. At this point we are
merely considering the effect of the run-in time.
PIPENET VISION TRAINING MANUAL TRANSIENT:CHAPTER 11
PAGE 101 OF 180 REVISION 2.3, FEB 2016
Our aim is to maintain a pressure of 8 bar G on node 7. The event we are considering is
the closure of valve 2.
In the above schematic let us first consider the function of the various parts of the control
loop.
PID Controller
Operating
valve
Pressure
transmitter
Operating valve: The operating valve in this system has the role of a control valve. A
control valve also takes a finite time to respond to a signal to change its position. This is
modelled by a transfer function. If the operating valve is closed linearly, say 5 seconds
from fully open to closed position, the transfer function can be set as linear power ramp
order with 0.21/sec ramp speed. Note that valve 1 does not have a specification because
its information node is connected to a control loop.
PID Controller: This is the conventional PID controller. The P, I and D terms can be used
in any combination.
Module Options:
PIPENET VISION TRAINING MANUAL TRANSIENT:CHAPTER 11
PAGE 104 OF 180 REVISION 2.3, FEB 2016
Pipe data:
PIPENET VISION TRAINING MANUAL TRANSIENT:CHAPTER 11
PAGE 106 OF 180 REVISION 2.3, FEB 2016
PIPENET VISION TRAINING MANUAL TRANSIENT:CHAPTER 11
PAGE 107 OF 180 REVISION 2.3, FEB 2016
Input the same pressure specifications for the two output nodes.
PIPENET VISION TRAINING MANUAL TRANSIENT:CHAPTER 11
PAGE 108 OF 180 REVISION 2.3, FEB 2016
Dynamic Case: Response of the system when the second valve closes completely:
PIPENET VISION TRAINING MANUAL TRANSIENT:CHAPTER 11
PAGE 110 OF 180 REVISION 2.3, FEB 2016
Effect of gain:
The system needs longer time to reach new steady state when the gain of the PID
controller is decreased, e.g. the gain decreases to 0.0075 l/bar in the above network, see
the figure below.
PIPENET VISION TRAINING MANUAL TRANSIENT:CHAPTER 11
PAGE 111 OF 180 REVISION 2.3, FEB 2016
On the contrary, the system may oscillate with big gain, see the figure below in which the
gain is increased to 0.75 l/bar.
PIPENET VISION TRAINING MANUAL TRANSIENT:CHAPTER 11
PAGE 112 OF 180 REVISION 2.3, FEB 2016
Change the integral term in the PID controller to 0.01 sec and see what happens.
PIPENET VISION TRAINING MANUAL TRANSIENT:CHAPTER 11
PAGE 113 OF 180 REVISION 2.3, FEB 2016
The instability occurs because the integral term becomes very large as a result of the reset
time being set very small.
In this simulation, valves 1 and 2 close at the same time creating a relatively large
pressure surge. A pressure switch shuts down the pump on high pressure.
PIPENET VISION TRAINING MANUAL TRANSIENT:CHAPTER 11
PAGE 114 OF 180 REVISION 2.3, FEB 2016
Strictly speaking a system of this type will have a check valve after the pump and the
pump itself should be modelled as an Inertial Pump. However, the main aim is the control
system model and so the network has not been changed.
Graphical output has been selected for the items shown in the schematic below.
The dialog boxes for the relevant items are shown below.
PIPENET VISION TRAINING MANUAL TRANSIENT:CHAPTER 11
PAGE 115 OF 180 REVISION 2.3, FEB 2016
PIPENET VISION TRAINING MANUAL TRANSIENT:CHAPTER 11
PAGE 116 OF 180 REVISION 2.3, FEB 2016
Note the following points about the data for the switch.
(i) The choice of negative means that the pump will switch off above 12 bar G.
(ii) The initial setting of ‘On’ means the pump will run until the pressure on node 7
reaches 12 bar G.
(iii) The dead time of 0 sec means there is no explicit delay in the switch itself. The
pressure transmitter and the pump have dynamics introduced by the transfer
functions.
(iv) The setting for ‘Switch on below’ is set to -1 bar G in order to prevent the pump
restarting as the pressure decreased when the pump shut down.
Note that the time constant is not the same as the time it takes for the pump to spin. It is a
measure of the rate at which it will spin down.
PIPENET VISION TRAINING MANUAL TRANSIENT:CHAPTER 11
PAGE 117 OF 180 REVISION 2.3, FEB 2016
The network below presents a typical control system to control the tank’s liquid level.
PIPENET VISION TRAINING MANUAL TRANSIENT:CHAPTER 11
PAGE 118 OF 180 REVISION 2.3, FEB 2016
Two control loops are designed to maintain the liquid level. The PID loop regulates the
control valve 2 to keep the liquid level at the middle position. The switch loop is used at
emergency situations to open the drain valve 1 when the liquid exceeds the warning level.
In the discussed scenario, the inlet valve 3 is fully opened from half opening.
The input data and the dialog boxed are shown below:
Valve data:
PIPENET VISION TRAINING MANUAL TRANSIENT:CHAPTER 11
PAGE 119 OF 180 REVISION 2.3, FEB 2016
Tank data:
PIPENET VISION TRAINING MANUAL TRANSIENT:CHAPTER 11
PAGE 120 OF 180 REVISION 2.3, FEB 2016
The scenario is to study dynamic response of the system when the inlet valve is opened
further, see the figure below.
PIPENET VISION TRAINING MANUAL TRANSIENT:CHAPTER 11
PAGE 123 OF 180 REVISION 2.3, FEB 2016
The run-in time is 200 seconds and the option “Calculate initial steady state” is ticked on
because the system is very close to the steady state after 200 seconds run-in time.
PIPENET VISION TRAINING MANUAL TRANSIENT:CHAPTER 11
PAGE 124 OF 180 REVISION 2.3, FEB 2016
The control valve 2 is opened further to cope with the opening of the inlet valve 3.
The drain valve 1 is opened when the liquid lever exceed the 5 m warning level and
then closed when the liquid level drops below 4.5 m.
The input data is same as the model in the base case except the following.
The run-in time increase to 1000 seconds.
The outlet valve 2 keeps at constant 70% opening.
Valve data:
PIPENET VISION TRAINING MANUAL TRANSIENT:CHAPTER 11
PAGE 126 OF 180 REVISION 2.3, FEB 2016
The input set point of the primary PID controller is input as constant 4 m fluid, see the
figure below.
PIPENET VISION TRAINING MANUAL TRANSIENT:CHAPTER 11
PAGE 127 OF 180 REVISION 2.3, FEB 2016
The calculation results show the system is much stable after the inlet valve is fully opened.
The liquid level only oscillates about 0.2 m which is much smaller than that using
conventional PID controller in the base case. The emergency drain valve keeps at its
closed position in this scenario, as can be seen in the figure below.
PIPENET VISION TRAINING MANUAL TRANSIENT:CHAPTER 11
PAGE 129 OF 180 REVISION 2.3, FEB 2016
PIPENET VISION TRAINING MANUAL TRANSIENT:CHAPTER 11
PAGE 130 OF 180 REVISION 2.3, FEB 2016
6. CHECK VALVES:
Certain changes are made to the system in order to enable the simulation to run faster.
PIPENET VISION TRAINING MANUAL TRANSIENT:CHAPTER 11
PAGE 131 OF 180 REVISION 2.3, FEB 2016
Reduce the simulation time to 30 sec. Also the vapour cavitation option is chosen in order
to introduce cavitation effects.
Vapour
Cavitation
All other data is the same as the simple pump example we saw before.
The inertial check valve model is a mechanistic model which starts from first principles. It
considers many parameters which would influence the behaviour of the check valve. The
parameters are listed below.
The characteristics of the valve as Cv or k-factor and area just as for any other
valve.
The mass of the door of the valve
The actual radius of the door of the valve
The spring constant if the valve is spring assisted
The angle of the closed door with reference to the vertical
The inclination of the valve with reference to the horizontal
PIPENET VISION TRAINING MANUAL TRANSIENT:CHAPTER 11
PAGE 137 OF 180 REVISION 2.3, FEB 2016
All parameters are the same as before except the check valve characteristics. They are
shown below for the different cases as appropriate.
Case 1:
PIPENET VISION TRAINING MANUAL TRANSIENT:CHAPTER 11
PAGE 138 OF 180 REVISION 2.3, FEB 2016
Case 2:
PIPENET VISION TRAINING MANUAL TRANSIENT:CHAPTER 11
PAGE 139 OF 180 REVISION 2.3, FEB 2016
PIPENET VISION TRAINING MANUAL TRANSIENT:CHAPTER 11
PAGE 140 OF 180 REVISION 2.3, FEB 2016
7. CAVITATION MODELLING:
The calculation results show the cavity volume increases up to a maximum 10 litres. This
is much smaller than the liquid volume in the pipe. Therefore, the vapour cavitation model
is appropriate for this scenario.
PIPENET VISION TRAINING MANUAL TRANSIENT:CHAPTER 11
PAGE 146 OF 180 REVISION 2.3, FEB 2016
It can be seen that the cavity size is growing indefinitely. Furthermore, the flowrate
through valve 3 does not go to 0. That is unrealistic. This shows the inadequacy of using
the vapour cavitation model under certain circumstances. So, it is necessary to use the
channel cavitation model in this case.
PIPENET VISION TRAINING MANUAL TRANSIENT:CHAPTER 11
PAGE 149 OF 180 REVISION 2.3, FEB 2016
Apart from the choice of channel cavitation option all the data is the same.
PIPENET VISION TRAINING MANUAL TRANSIENT:CHAPTER 11
PAGE 150 OF 180 REVISION 2.3, FEB 2016
It can be seen that the cavity length reaches at around 22 m and stays there.
Furthermore, the flowrate through valve 3 goes to 0. So, we can conclude that the
channel cavitation model predicts the cavity formation phenomenon well.
PIPENET VISION TRAINING MANUAL TRANSIENT:CHAPTER 11
PAGE 151 OF 180 REVISION 2.3, FEB 2016
The pipe model in PIPENET is designed to simulate the following three flow conditions.
Dry condition: pipe is occupied by air entirely or partly.
Wet condition: pipe is filled with liquid.
Cavitation condition: Liquid and vapour coexist in pipe.
The dry pipe model can simulate both filling up and discharge processes. The typical
applications include: (1) estimating the prime time of dry system; (2) calculating the
pressure surge when dry pipeline fills up; (3) improving the simulation accuracy.
The air in dry pipes may come from four sources: (1) original air in dry pipes; (2) dry
specification nodes; (3) nozzles; (4) surge tanks or receiving vessels. In other side the air
in dry pipes can discharge to anywhere with atmospheric conditions. The dry pipe model is
a simplified model so there are a few restrictions..
A dry pipe can only be modelled by an elastic pipe (not a short pipe).
We assume that there are no wet pipes or dead ends downstream of the dry pipes
which block air flow. The back pressure of dry pipes is assumed to be 0 bar G, i.e.
the pressure drop in a dry pipeline is negligible.
Similarly we assume that there are no short pipe; pipe bundle; tanks and caissons
downstream of the dry pipes to block air flow.
Dry state cannot coexist with channel cavitation state in a single pipe. Therefore,
the channel cavitation model for that pipe is disabled during filling up and enabled
after the pipe is filled up.
8.1. Base network:
Dry pipe
symbol
Uncheck “Treat all pipes as wet” to enable the dry pipe function.
PIPENET VISION TRAINING MANUAL TRANSIENT:CHAPTER 11
PAGE 152 OF 180 REVISION 2.3, FEB 2016
Valve Data
Nozzles data
Specification data
PIPENET VISION TRAINING MANUAL TRANSIENT:CHAPTER 11
PAGE 154 OF 180 REVISION 2.3, FEB 2016
The prime time of nozzles is summarized in the calculation report, data window and
property window. Please note that the priming time here means the time at which the
nozzle discharges initial flow; it is not necessarily the time at which full steady state flow is
established.
Calculation report
PRIMED TIME OF NOZZLES
----------------------
1 0.219E+02
2 0.259E+02
3 0.299E+02
Data window
Property window
PIPENET VISION TRAINING MANUAL TRANSIENT:CHAPTER 11
PAGE 155 OF 180 REVISION 2.3, FEB 2016
The calculated maximum pressure is 26 bar G and the nozzle capacity is 69.66 lit/min at
final steady state.
The prime time of the most remote nozzle shorten to 18.6 sec.
PRIMED TIME OF NOZZLES
----------------------
3 0.186E+02
2 0.154E+02
1 0.126E+02
However, the flow capacity of the nozzle decreases to e 63.7 lit/min and the flow velocity in
the pipeline increases to 1.48 m/s at final steady state.
PIPENET VISION TRAINING MANUAL TRANSIENT:CHAPTER 11
PAGE 159 OF 180 REVISION 2.3, FEB 2016
Solution 2: add a closed end dry pipe which will act like an accumulator
If it is only necessary to depress the pressure surge, we can install a blocked dry pipe near
the remote nozzle to absorb the pressure surge when the nozzle is primed. This blocked
dry pipe can be modelled by an accumulator or a caisson, see the network below.
The prime time of the most remote nozzle is unchanged 29.92 sec.
PRIMED TIME OF NOZZLES
----------------------
1 0.219E+02
2 0.259E+02
3 0.299E+02
PIPENET VISION TRAINING MANUAL TRANSIENT:CHAPTER 11
PAGE 161 OF 180 REVISION 2.3, FEB 2016
The flow capacity of the nozzle is also the same 63.7 lit/min, but the maximum pressure
drops to 9.64 bar G
The dry pipe model requires at least an exit for air flow out. However, this requirement may
not be satisfied in some networks, such as the looped network shown below.
PIPENET VISION TRAINING MANUAL TRANSIENT:CHAPTER 11
PAGE 162 OF 180 REVISION 2.3, FEB 2016
The pipe 8 cannot be modelled by a dry pipe because there is no an exit for the air in the
pipe 8 after both the nozzles 3 and 6 are primed. This network may predict a non-existent
pressure surge when the dry pipe 8 is filled up, which is impossible in a real network.
We recommend modelling this dry pipe without a path for air to get out by an accumulator
or caisson model to consider the effect of air cushion in the pipe. Please refer to the
network below.
In the network below, the pipeline’s exit is open to the atmospheric conditions. The
ambient air may refill the pipeline after the pump trip. What we concern is to make sure the
pump’s reverse rotation cannot exceed the allowed maximum limit. The way the dry pipe is
modeled can affect the accuracy of the results in this scenario.
PIPENET VISION TRAINING MANUAL TRANSIENT:CHAPTER 11
PAGE 163 OF 180 REVISION 2.3, FEB 2016
There is no air source from the exit of this network in this scenario so that the pipe 1 is
always filled with water. The model may overestimate the reverse flow and rotation
speed because of unreal high static pressure at the pump outlet. The calculated
reverse flow and rotation speed are -16041 lit/min and -6.6 revs/sec respectively.
PIPENET VISION TRAINING MANUAL TRANSIENT:CHAPTER 11
PAGE 166 OF 180 REVISION 2.3, FEB 2016
Air can flow into the pipeline from the dry node specification. The water level in the
pipe drops gradually after the pump trip. The reverse flow and rotation speed cannot
reach the values expected in the scenario 1 because of smaller static head at the
pump outlet. The calculated flow rate finally tends to be 0 lit/min and the maximum
reverse speed is about -3.5 revs/sec.
PIPENET VISION TRAINING MANUAL TRANSIENT:CHAPTER 11
PAGE 167 OF 180 REVISION 2.3, FEB 2016
PIPENET VISION TRAINING MANUAL TRANSIENT:CHAPTER 11
PAGE 168 OF 180 REVISION 2.3, FEB 2016
We use the same network as we did in the previous section namely the loading system.
We assume that the maximum pressure the system is allowed is 15 bar G. This occurs in
front of the operating valve which closes.
The pressure in front of the valve exceeds 15 bar G without any protection. The graph is
shown below.
These are also known as rupture discs. As the pressure must not exceed 15 bar G, the bursting
pressure is set at 14 bar G. The bursting disc is fully opened once the inlet pressure exceeds 14
bar G and keeps at open condition until a new disc is replaced. The bursting time is the time it
PIPENET VISION TRAINING MANUAL TRANSIENT:CHAPTER 11
PAGE 169 OF 180 REVISION 2.3, FEB 2016
takes for the disc to reach its final area and the Cv reaches its final value. The opening profile
should not make a significant difference to the results.
PIPENET VISION TRAINING MANUAL TRANSIENT:CHAPTER 11
PAGE 170 OF 180 REVISION 2.3, FEB 2016
A regulator can also be used as a relief valve if its downstream pressure is set to 0 bar G.
The time response refers to the dynamics of the regulating valve and the time constant is a
measure of the speed of its response.
PIPENET VISION TRAINING MANUAL TRANSIENT:CHAPTER 11
PAGE 171 OF 180 REVISION 2.3, FEB 2016
The pressure profile is much stable in this scenario because the operation of small valve
has less impact on the flow in the main pipeline.
only around 14%. There is a lot to be gained by reducing its size. The result is very
encouraging because the valve opens around 55% and is able to control the maximum
pressure quite well.
PIPENET VISION TRAINING MANUAL TRANSIENT:CHAPTER 11
PAGE 176 OF 180 REVISION 2.3, FEB 2016
In the following example, the same pipeline has been input in two different ways in parallel. Pipes
3,4,5,6 and 7 have been input as straight segments of pipe. The pipe with the label LONG/1 has
been input with the milepost data as shown.
PIPENET VISION TRAINING MANUAL TRANSIENT:CHAPTER 11
PAGE 177 OF 180 REVISION 2.3, FEB 2016
PIPENET VISION TRAINING MANUAL TRANSIENT:CHAPTER 11
PAGE 178 OF 180 REVISION 2.3, FEB 2016
It can be seen that the pressure against distance graph for pipes 3,4,5,6 and 7 are pieces
of the above graph for pipe LONG/1.
PIPENET VISION TRAINING MANUAL TRANSIENT:CHAPTER 11
PAGE 180 OF 180 REVISION 2.3, FEB 2016