Professional Documents
Culture Documents
26 Edad 90 Ec 0 BF 657
26 Edad 90 Ec 0 BF 657
600-614
600
NJES Vol.20, No.3, 2017 Sabri et al., pp.600-614
a. Remote Terminal Unit ( RTU ) The pipeline system is divided into different
The RTU gathers status data from field segments (pipes) that connect the nodes of the
devices, monitoring, controlling of the remote distribution network. Each pipe is modeled as a
location and transmit data and control signals to a fixed-size FIFO queue with a single server at the
central monitoring and control station (MTU). pipe extreme that permits the movement of
b. Communications and Network System material entities from one position to another by
In order for the central MTU to communicate combining different pipes, with particular sizes
with the RTUs that are located at the distant and service rates [6].
locations a communication link must exist to When an entity enters a pipeline segment at
transfer data from one location to another. the inlet point, it pushes the entity positioned at
the other extreme out of the queue. In other
c. Human Machine Interface (HMI) words, at every pipe end, a reservoir is located
The SCADA operates using HMI to presents
that dispatches the first entity on the queue
data to the operator, configure, monitor the
whenever a new entity enters the pipe at the inlet
system state and generate different control
section. Since the system transports multiple
activities.
products, the model keeps track of every pipeline
d. SCADA Software fill by updating the reservoir queues at every time
There are several software packages used for event.
designing HMI and SCADA. WINCC,
CIMPLICITY HMI, and LOOKOUT are 4.Oil Pipeline Operation Batch
examples for commercial SCADA packages. Scheduling
e. Master Terminal Unit (MTU) The problem of interest in this research is
The MTU is the centralized controller for the concerned with the sequencing of batches of
SCADA system. MTU initiates all different refined products to be shipped via single
communication, gathers data, stores information, pipeline system in order to minimize the total
and interfaces with operators. MTU processes the operational costs in a given period of time. Also
information received, sends it to the RTU sites, satisfying the considered operational constraints
and presents it to human operators in a form that of the system and the demand satisfaction of the
the operators can work with it. different products at the different market zones
within the corresponding delivery time.
3. Oil Plant Process Control System The challenge is to achieve an optimal
Process control system for distribution of oil sequence of batches of refined products to satisfy
product, which consists of the following the customer demands while optimizing the total
components: operational cost of the system or another
• Oil Field operational objective of interest. [6]
• Refinery Plant
a. Problems of Sharing Oil Pipeline
• Pumping Station Products transfer must satisfy the volume and
• Oil Depot Plant maximum flow rate that are the constraints in the
• Pipeline Network pipeline. There are also forbidden of specific
• Oil Product Distribution Terminal batch sequences of products in the pipeline. The
Operation of multiproduct pipelines has a unique
The oil plant started from filed to distribution feature, product contamination. Although
terminal output as shown in Figure (2). pipelines provide a safe mode of transportation,
product contamination is inevitable and it occurs
at the interface of two miscible products.
As products are transported by only one
pipeline and very large distances must be covered,
it is critical mission that the correct decisions
should be made.
601
NJES Vol.20, No.3, 2017 Sabri et al., pp.600-614
iii. The internal diameter of pipeline and the • ρ is the density of the fluid in (kg/m )
2
curvature of the pipe. • μ is the viscosity of the fluid in (N.s/m )
iv. The Reynolds s number.
v. The kinematic viscosity of the product 5.1 The Bernoulli Equation
mixture. The Bernoulli equation is an approximate
vi. The pipe friction coefficient and the relative relation between pressure, velocity, and elevation,
roughness in the pipe. and is valid in regions of steady, incompressible
flow where net frictional forces are negligible. it
5. Mathematical Model Of Oil Pipeline has proven to be a very powerful tool in fluid
mechanics[8].
System
There are three type of flow in the pipe:
i. Laminar Flow
All of the fluid velocity vectors line up in the
direction of flow.
ii. Transition Flow
The flow fluctuates between laminar and
turbulent flows before it becomes fully
turbulent.
iii. Turbulent Flow
Takes place in flow situations with high
fluid velocity and low fluid viscosity. Figure (5): Bernoulli Equation
The Figure (4) illustrate differences between
laminar and turbulent flow in a pipe. Turbulent
flow is characterized by turbulence and mixing
602
NJES Vol.20, No.3, 2017 Sabri et al., pp.600-614
𝑃𝑃 𝑉𝑉 2
+ + 𝑔𝑔𝑔𝑔 = 𝑐𝑐𝑐𝑐𝑐𝑐𝑐𝑐𝑐𝑐𝑐𝑐𝑐𝑐𝑐𝑐 (1.2)
𝜌𝜌 2
603
NJES Vol.20, No.3, 2017 Sabri et al., pp.600-614
604
NJES Vol.20, No.3, 2017 Sabri et al., pp.600-614
605
NJES Vol.20, No.3, 2017 Sabri et al., pp.600-614
606
NJES Vol.20, No.3, 2017 Sabri et al., pp.600-614
Start
IF
flow Exist in pipe
YES
IF
There is liquid in
Action No.13 Is Applied the pipe
YES
Sensing of density
sensor
Fluid density match Fluid density match Fluid density match Fluid density match
Kerosene density diesel density gasoil density slob density
YES IF IF IF
Action No.2 Is Applied IF
No Tank No.5 Is Tank No.7 Is
Tank No.1 Is Full Action No.5 Is Applied Tank No.3 Action No.8 Is Applied Action No.11 Is Applied
Full Full
Is Full
IF IF
IF IF
Tank No.6 Is Tank No.8 Is
tank no.2 is full YES Tank No4. Is Full YES YES
Full Full
NO NO NO
NO
Action No.3 Is Applied Action No.6 Is Applied Action No.9 Is Applied Actio n no.12 is applied
607
NJES Vol.20, No.3, 2017 Sabri et al., pp.600-614
ACTION
NO. Fluid Type
Action no.1 Action no.2 Action no.3
a- Open valve no.1-1 a- Open valve no.1-1 a- Open valve no.1-1
b- Close valve no.2-1 b- Open valve no.1-2 b- Close valve no.1-2
Gasoline
c- Close valve no.3-1 c- Close valve no.1-3 c- Open valve no.1-3
1
d- Close valve no.4-1 d- Pumping to tank no.1 with high d- Pumping to tank no.2 with high
e- Pumping with low speed (set speed (set booster main pumps speed (set booster main pumps
booster pump only )
Action no.4 Action no.5 Action no.6
Kerosene
a- Open valve no.2-1 a- Open valve no.2-1 a- Open valve no.2-1
b- Close valve no.1-1 b- Open valve no.2-2 b- Close valve no.2-2
2 c- Close valve no.3-1 c- Close valve no.2-3 c- Open valve no.2-3
d- Close valve no.4-1 d- Pumping to tank no.3 with d- Pumping to tank no.4 with high
e- Pumping with low speed (set high speed (set booster pump and speed (set booster main pumps )
booster pump only ) main pump )
Action no.7 Action no.8 Action no.9
Gasoil
a- Open valve no.3-1 a- Open valve no.3-1 a- Open valve no.3-1
b- Close valve no.1-1 b- Open valve no.3-2 b- Close valve no.3-2
3 c- Close valve no.2-1 c- Close valve no.3-3 c- Open valve no.3-3
d- Close valve no.4-1 d-Pumping to tank no.5 with high d- pumping to tank no.6 with high
e- Pumping with low speed (set speed (set booster main pumps) speed (set booster main pumps)
booster pump only )
Action no.10 Action no.11 Action no.12
Slob
a- Open valve no.4-1 a. Open valve no.4-1 a- Open valve no.4-1
b- Close valve no.1-1 B .Open valve no.4-2 b- Close valve no.4-2
4 c- Close valve no.2-1 c- Close valve no.4-3 c- Open valve no.4-3
d- Close valve no.3-1 d- pumping to tank no.7 with high d- Pumping to tank no.8 with high
e- Pumping with low speed (set speed(set booster main pumps) speed (set booster main pumps)
booster pump only )
Action no.13
Emergency
a. Close valve no.1-1 a. Close valve no.2-2 a. Shut down the main pump
Condition
b. Close valve no.2-1 b. Close valve no.2-3 b. Set alarm signal
5 c. Close valve no.3-1 c. Close valve no.3-2 c. Send signal to the main refinery pump
d. Close valve no.4-1 d. Close valve no.3-3 through the wireless
e. Close valve no.1-2 e. Close valve no.4-2 d. Send SMS to the manger of operation
f. Close valve no.1-3 f. Close valve no.4-3
608
NJES Vol.20, No.3, 2017 Sabri et al., pp.600-614
Code that are built from subroutines shown in products of each batch take about (27) sec. Figure
Figure 14. When system is run, signals and values (19) illustrate the products feeding arrangement as
from control modules flow through the block a batch sequences in a pipeline and the slob
diagram. The programming structure consists of (transmix) generation.
thirteen case structure as follows: As shown in Figure (19), the period time
a. The first module case structure (case 0) is used between (0-28.5) sec represents the time delay for
to implement initialization operation, product products transportation from pumping station to
pumping, products transportation, as shown in the oil depot tanks through pipeline network. The
Figure (15). time duration depends on the following factors:
b. The second, third, and fourth, module case • The length of pipeline network
structure is used to fill kerosene, gasoline and • The pipeline diameter
gas oil product respectively, to specified tanks • Products pumping speed
as shown in Figure (16). • Locations of the sensors in the system
c. The fifth and ninth module case structure is Figure (19) shows the scenario of execution a
used to (fill and discharge) slob to specified first cycle batch sequence as follow:
tank respectively. i. T-Phases 1, 3 and 5: Receive three segment
d. The sixth, seventh, and eighth modules (1900) cm3 of gasoline, kerosene, and gasoil
module case structure is used to discharge during a period time between (28.5-37.5, 40.5-
kerosene, gasoline, and gas oil products 49.5, and 52-61 ) sec respectively, then
respectively. loading in specified tanks.
8. Simulation scenario and Result of ii. T-Phases 2,4 and 6: Generate a segment of
SCADA system (155, 125, and 120) cm3 slob during a period
The system operational follows the batch time between (38-40, 50-51.5, and 58.5-60)
sequences scenario described in Figure (17). sec respectively, and discharge in tank no.7.
Figure (17a) shows a scenario of pumping batch The scenario of execution a second cycle batch
sequences contains three types of oil products, sequence was implemented during the T-phases
therefore two batch cycle are performed in six (7, 8, 9, 10, and 11).
pumping phases: Figure (20) shows the appropriate control
actions generated for valves system to perform
a. Pumping phases (1 and 4) (Pump of
gasoline loading. It is noticed that the system
gasoline product).
produces an ideal control action, because it is
b. Pumping phases (2 and 5) (Pump of behaving according to the ideal simulation
kerosene product). conditions.
c. Pumping phases (3 and 6) (Pump of gasoil Figure (21) shows the responses of the loading
product) gasoline product for tank no.1 and tank no.2.
The scenario of feeding products in the pipeline
has been implemented in eleven transportation Tank no.1 Received (950) cm3 of pure
phases, and each phase represents a specific fluid gasoline, while tank no.2 received (950) cm
segment, as shown in Figure (17b): The difference between the total product
d. Transportation phases (1 and 7) (Transport volume has been pumped and the quantity volume
of gasoline product) has been received through pipeline in the tanks is
e. Transportation phases (3 and 9) (Transport about (100) cm3. This represents a contamination
of kerosene product) that appears as slob segment no.1 product.
f. Transportation phases (5 and 11) (Transport When the pipeline started to receive a second
of gasoil product) product (kerosene), that will causes a
contamination in the product (i.e. transmix or slob
g. Transportation phases (2, 6, 8 and 11)
generate) because of residual gasoline in the
(Transport of slob product).
pipeline. When the density sensor detects
The products (density, level in the tanks, and contamination (slob) during the periods (85-40)
flow rate) are sensed and used as a feedback sec, (50-51.5) sec, (58.5-60) sec, (70-71.5) and
signal to generate a control actions in time. The (81.5-83.5) sec, the control system will generate a
perfect controls will lead to reduce sequence of control action no.10.
contamination product (slob). The pumping of kerosene and its transportation
Figure (18) describe pump station action through the pipeline to their destination tanks are
when feeding products through two cycle of a performed during the following phases:
batch sequences, each batch contains (6000) cm3 • Pumping phases (2) and (5): these are
of three different products. performed in the time periods (9.5-18.5) s
Each product segment in a batch takes (9) sec and (39.5-48.5) s.
to be fully discharged through the shared pipeline
to the oil depot. The total period time for pumping
609
NJES Vol.20, No.3, 2017 Sabri et al., pp.600-614
610
NJES Vol.20, No.3, 2017 Sabri et al., pp.600-614
Figure (16): Module Structure to Fill in Tanks (no.1 and no.2) With Kerosene Product
611
NJES Vol.20, No.3, 2017 Sabri et al., pp.600-614
Figure (18): Pump Station Feeding of Figure (19): Products Batch Sequences With
Two Cycle Batch Sequences of Products Slob Generation in Pipeline System
Figure (20): Control Action Generated for Valves Figure (21): Response of Loading Gasoline in
during Loading Gasoline Product Specific Tanks
• Transportation phases (3) and (9): these are An appropriate control actions generated for
performed in the time periods (40.5 – 49.5) s and valves system to perform kerosene loading. When
(72-81) s.
612
NJES Vol.20, No.3, 2017 Sabri et al., pp.600-614
the density sensor detect contamination (transmix Department of Electrical, Firuat University,
or slob generate) set of control action generated. Elsevier Journal, Expert Systems with
The pumping of gas oil and its transportation Applications 36, 2009.
through a pipeline to their destination tanks. [3] Ayman M., Ali Hussein, "Supervisory
These tasks are performed during the following Control and Data Acquisition (SCADA) For
phases. The timing sequence for gas oil in the Water Distribution System of Gaza City",
pipeline as follow: Electrical Engineering Depart., Islamic University
• Pumping phases (3) and (6): these are performed of Gaza, MSc thesis, 2010.
in the time periods (19-28) s and (49-58)s. [4] A. K. Pawrwal, G. Parwal, ” Implementation
• Transportation phases (5) and (11): these are of Fuzzy Technique Based on LabVIEW For
performed in the periods (52-61)s and (84-93)s Control Gas System, International Journal of
An appropriate control actions generated for Control and Automation, Vol. 6, No. 3, June,
valves system for loading and unloading gas oil. 2013.
The product contamination in the pipeline [5] Mohammed I. Issa , “Design and
Implementation Oil Pipeline and Depot Process
(transmix generate) was repeated cycle according to Control System”, University of Baghdad, Al-
the products pumping and transportation as a batch Khwarizmi College of Engineering, MSc thesis,
sequence. Baghdad – Iraq, 2014.
[6] Leandro Magatão, L. Arruda, Flávio, "Using
CLP and MILP for Scheduling Commodities in a
9. Conclusions Pipeline", The Federal Center of Technological
This paper proposes a framework to design Education of Paraná, European Symposium on
and build SCADA system to control oil pipeline. Computer Aided Process Engineering Journal,
The simulation develop and deploy a control Elsevier Science, 2005.
algorithm, which contain sets of control action to [7] Rolando J. Amado, "A Multi-Commodity
perform system tasks and functions. The adoption Network Flow Approach for Sequencing Refined
of GUI can improve monitoring system Products in Pipeline Systems", University Of
operations and logging activities execution. Tennessee, PH-Doctor thesis, 2011.
This research is concerned with the [8] Frank M. White, “Fluid Mechanics”,
sequencing of batches of different refined University of Rhode Island, Fourth Edition,
products to be shipped via single pipeline system McGraw-Hill Series in Mechanical Engineering,
in order to minimize the total operational costs in
2011.
a given period of time. SCADA system specified
[9] Samo Gerks, G. D., Damir Vranc,
acceptable contamination in the range of (3-5%),
“Advanced control algorithms embedded in a
while the manual system range about (12-15%).
programmable logic controller”, Control
The minimum amount limit of contamination
Engineering Practice, 2006.
(slob) segment have been generated in the
pipeline depend on many factors (pipeline [10] J. M. Pinto, R. R. J.a, "AN MILP
Formulation for the Scheduling Of Multiproduct
diameter, speed of product pumping, density of
Pipeline Systems", Brazilian Journal of Chemical
product and Reynolds number), and this slob must
Engineering, 2002.
be generated in all condition.
[11] Michael P. Ward, "Architectural Framework
The volume of contamination segment is
for Describing Supervisory Control and Data
inverted relation with respect to the volume of
transmitted products volume. Acquisition (SCADA) Systems", MSc thesis,
Department of Computer Science, Naval
Postgraduate School, California U.S.A.
10. Reference September, 2004.
[1] Nary Subramanian, “Improving Security of
Oil Pipeline SCADA Systems Using Service
Oriented Architectures”, Department Of
Computer Science, University Of Texas, U.S.A,
Springer-Verlag Berlin Heidelberg, pp. 344–353,
2008.
[2] Zafer Aydogmus, “Implementation of a
Fuzzy-Based Level Control Using SCADA”,
613
NJES Vol.20, No.3, 2017 Sabri et al., pp.600-614
ﻣﺣﻣد أﺑراھﯾم ﻋﯾﺳﻰ د .ﺻﺑﺣﻲ أﺳود ﻣﺣﻣد د .ﻟﯾث ﻋﺑد ﺻﺑري
ﺷرﻛﺔ ﺧطوط اﻻﻧﺎﺑﯾب اﻟﻧﻔطﯾﺔ ﻗﺳم ھﻧدﺳﺔ اﻟﻣﻧظوﻣﺎت ﻗﺳم ھﻧدﺳﺔ اﻟﻣﯾﻛﺎﺗروﻧﻛس
وزارة اﻟﻧﻔط ﺟﺎﻣﻌﺔ اﻟﻧﮭرﯾن ﺟﺎﻣﻌﺔ ﺑﻐداد
اﻟﺧﻼﺻﺔ
ﺑﺳﺑب ﻋدم ﺗوﻓر ﺧطوط اﻧﺎﺑﯾب ﻧﻔطﯾﺔ ﻣﺳﺗﻘﻠﺔ ﻟﻧﻘل اﻟﻣﻧﺗوﺟﺎت اﻟﻧﻔطﯾﺔ اﻟﻣﺧﺗﻠﻔﺔ ﻟذﻟك ﯾﺳﺗﺧدم اﺳﻠوب اﻟﻣﺷﺎرﻛﺔ ﻓﻲ اﺳﺗﺧدام ﺧطوط
اﻧﺎﺑﯾب اﻟﻧﻘل واﺟراء ﻋﻣﻠﯾﺔ اﻟﺿﺦ اﻟﺗﻌﺎﻗﺑﻲ ﻟﻠﻣﻧﺗوﺟﺎت ﻋﺑر اﻻﻧﺎﺑﯾب ﻋﻠﻰ ﺷﻛل دﻓﻌﺎت.
ﺗﮭدف اﻟدراﺳﺔ اﻟﻰ ﺗﻘﻠﯾل ﻛﻣﯾﺔ اﻟﺧﻠﯾط واﻟﺗﻠوث ﻓﻲ اﻟﻣﻧﺗوﺟﺎت اﻟﻧﻔطﯾﺔ ﺑﺳﺑب اﻟﻣﺷﺎرﻛﺔ ﻓﻲ اﺳﺗﺧدام ﺧطوط اﻧﺎﺑﯾب اﻟﻧﻘل ﻣﻧﺗوﺟﺎت
ﻧﻔطﯾﺔ و ﺗﺣﺳﯾن ﺟودة اﻟﻣﻧﺗوﺟﺎت اﻟﻧﻔطﯾﺔ اﺿﺎﻓﺔ اﻟﻰ ﺗﺎﻣﯾن اﺣﺗﯾﺎﺟﺎت اﻟﻣﺳﺗﮭﻠﻛﯾن ﻓﻲ ﺗوﻗﯾﺗﺎت ﻣﺣددة.
اﻋﺗﻣدت اﻟدراﺳﺔ اﺳﻠوب اﻟدﻣﺞ ﺑﯾن ﺧﺻﺎﺋص )ﻣﻧظوﻣﺎت اﻟﺳﯾطرة اﻟرﻗﺎﺑﯾﺔ واﻟﺗﺣﻛم واﻻﺷراف وﺟﻣﻊ اﻟﺑﯾﺎﻧﺎت( واﻟﻧظﺎم
) (LabVIEWﻣﻣﺎ ادى اﻟﻰ اﻛﺗﺳﺎب ﻣﺣﺎﺳن ھﺎﺗﯾن اﻟﺗﻘﻧﯾﺗﯾن.
ﺗﺿﻣﻧت اﻟدراﺳﺔ ﺗﺻﻣﯾم ﻣﻧظوﻣﺔ ﻣﻘﺗرﺣﺔ ﻣﺷﺎﺑﮫ ﻟﻣﻧظوﻣﺔ ﺣﻘﯾﻘﯾﺔ وﺑﻧﺎء اﻟﻣودﯾل اﻟرﯾﺎﺿﻲ ﻟﮭﺎ وﺗﻧﻔﯾذ واﺧﺗﺑﺎر اﻟﻣﻧظوﻣﺔ ﺑﺎﺳﻠوب
اﻟﻣﺣﺎﻛﺎت واﺟراء ﻋدد ﻛﺑﯾر ﻣن اﻻﺧﺗﺑﺎرات واﻟﺗﺷﻐﯾل ﻟﻠﻣﻧظوﻣﺔ .ﯾوﻓر اﻟﻧظﺎم اﻟﻣﻘﺗرح اﻣﻛﺎﻧﯾﺔ اﻟﺗﺷﻐﯾل اﻻﻟﻲ وﺗﻘﻠﯾل ﻧﺳﺑﺔ اﻟﺗﻠوث ﺑﻣﻘدار )-3
% (5ﺑﺎﻟﻘﯾﺎس اﻟﻰ اﻟﻧظﺎم اﻟﯾدوي.
614