You are on page 1of 8

Preprints of the 10th IFAC International Symposium on Dynamics and Control of Process Systems

The International Federation of Automatic Control


December 18-20, 2013. Mumbai, India

Closed-loop model identification and


PID/PI tuning for robust anti-slug control
Esmaeil Jahanshahi, Sigurd Skogestad 1

Department of Chemical Engineering, Norwegian Univ. of Science and


technology, Trondheim, NO-7491 (e-mail: skoge@ntnu.no).

Abstract: Active control of the production choke valve is the recommended solution to prevent
severe slugging ow at oshore oilelds. This requires operation in an open-loop unstable
operating point. It is possible to use PI or PID controllers which are the preferred choice in
the industry, but they need to be tuned appropriately for robustness against plant changes and
large inow disturbances. The focus of this paper is on nding tuning rules based on model
identication from a closed-loop step test. We perform an IMC (Internal Model Control) design
based on the identied model, and from this we obtain PID and PI tuning parameters. In
addition, we nd simple PI tuning rules for the whole operation range of the system considering
the nonlinearity of the static gain. The proposed model identication and tuning rules show
applicability and robustness in experiments on a test rigs as well as in simulations using the
OLGA simulator.

Keywords: Oil production, anti-slug control, unstable systems, robust control

1. INTRODUCTION Z
Prt Ps

The severe-slugging ow regime at oshore oilelds is w


characterized by large oscillatory variations in pressure
and ow rates. This ow regime in multi-phase pipelines
Pin
and risers is undesirable and an eective solution is needed Lr
wg,in wg
to suppress it (Godhavn et al. (2005)). One way to prevent wl,in
this behaviour is to reduce the opening of the top-side wl
Prb
choke valve. However, this conventional solution increases
the back pressure of the valve, and it reduces the produc-
tion rate from the oil wells. The recommended solution to Fig. 1. Schematic presentation of system
maintain a non-oscillatory ow regime together with the
maximum possible production rate is active control of the model for an IMC (Internal Model Control) design. Then,
topside choke valve (Havre et al. (2000)). Measurements we use the resulting IMC controller to obtain tuning
such as pressure, ow rate or uid density are used as the parameters for PID and PI controllers.
controlled variables and the topside choke valve is the main
manipulated variable. A third approach is to use a Hammerstein model consisting
of a nonlinear static gain and a linear unstable part.
Existing anti-slug control systems are not robust and tend Based on this model, we propose simple PI tuning rules
to become unstable after some time, because of inow considering nonlinearity of the system.
disturbances or plant changes. The main objective of our
research is to nd a robust solution for anti-slug control This paper is organized as follows. An OLGA test case for
systems. The nonlinearity at dierent operating conditions simulations and our experimental setup are introduced in
is one source of plant change, because gain of the system Section 2. Then, we present the closed-loop identication,
changes drastically for dierent operating conditions. In the IMC design and the related PID/PI tunings in Section
addition, the time delay is another problematic factor for 3. A new simple model for the static nonlinear gain
stabilization. of the system is provided in Section 4, and simple PI
tuning rules for the whole operation range are proposed
One solution is to use nonlinear model-based controllers to in Section 5. Experimental and simulation results are
counteract the nonlinearity (e.g. Di Meglio et al. (2010)). shown, respectively, in Section 6 and Section 7. Finally, we
However, these solutions are not robust against time delays summarize the main conclusions and remarks in Section 8.
or plant/model mismatch.
An alternative approach is to identify an unstable model of 2. PIPELINE-RISER SYSTEM
the system by a closed-loop step test. We use the identied
Fig. 1 shows a schematic presentation of the system. The
This work was supported by SIEMENS AS, Oil & Gas Solutions. inow rates of gas and liquid to the system, wg,in and wl,in ,
1 Corresponding author are assumed to be independent disturbances and the top-

Copyright 2013 IFAC 233


IFAC DYCOPS 2013
December 18-20, 2013. Mumbai, India

Z = 4 [%] Z = 5 [%] Z = 6 [%] 85


78 78 78 min & max steadystate
80
P [bar]

76 76 76

Pin [bar]
74 74 74 75
in

72 72 72

70 70 70
70
0 50 100 150 0 50 100 150 0 50 100 150
t [min] t [min] t [min] 65
60 60 60
60
58 58 58 0 10 20 30 40 50 60 70 80 90 100
P [bar]

56 56 56 Z [%]
rt

54 54 54 62
min & max steadystate
52 52 52 60
0 50 100 150 0 50 100 150 0 50 100 150
58

Prt [bar]
t [min] t [min] t [min]
56
Fig. 2. Simulation results of OLGA case for dierent valve 54
openings 52

side choke valve opening (0 < Z < 100) is the manipulated 50


0 10 20 30 40 50 60 70 80 90 100
variable. Z [%]

2.1 Olga case Fig. 3. Bifurcation diagrams for OLGA case


P2
As a base case, we use a test case for severe-slugging Top-side
Valve
Air to atm.
Seperator
ow given in the OLGA simulator, which is a commercial
multiphase simulator widely used in the oil industry. In the
OLGA test case, the pipeline diameter is 0.12 m and its
length is 4300 m starting from the inlet (see Fig. 1). The Riser
rst 2000 m of the pipeline is horizontal and the remaining P1

2300 m is inclined downward with a 1 angle. The riser is a


safety valve
P3
FT water
vertical 300 m pipe with a diameter of 0.1 m. Then, follows Buffer
Mixing Point
a 100 m horizontal section with the same diameter as that FT air
Tank Pipeline P4

of the riser which connects the riser to the outlet choke


valve. The feed into the system is nominally constant at
Water
9 kg/s, with wl,in = 8.64 kg/s (oil) and wg,in = 0.36 kg/s Reservoir Pump Water Recycle

(gas). The pressure after the choke valve Ps (separator


pressure) is nominally constant at 50.1 bar. Fig. 4. Experimental setup
For the present case study, the critical value of the valve The topside choke valve is used as the input for control.
opening which gives the transition between a stable non- The separator pressure after the topside choke valve is
oscillatory ow regime and a limit-cycle ow regime (riser nominally constant at atmospheric pressure. The feed into
slugging) is Z = 5%. This is demonstrated by the OLGA the pipeline is assumed to be at constant ow rates, 4
simulations in Fig. 2 which show the inlet pressure and litre/min of water and 4.5 litre/min of air. With these
the topside pressure for the valve openings of 4% (no boundary conditions, the critical valve opening where the
slug) 5% (transient) and 6% (riser slugging). Simulations, system switches from stable (non-slug) to oscillatory (slug)
such as those in Fig. 2, were used to generate the bifur- ow is at Z = 15% for the top-side valve. The bifurcation
cation diagrams in Fig. 3, which show the behavior of diagrams are shown in Fig. 5.
the system over the whole working range of the choke
valve (Storkaas and Skogestad (2007)). The dashed line The desired steady-state (dashed middle line) slugging
in between represents the steady-state solution which is condition (Z > 15%) is unstable, but it can be sta-
unstable without control for valve opening larger than bilized by using control. The slope of the steady-state
5%. For valve openings more than 5%, in addition to the line (in the middle) is the static gain of the system,
steady-state solution, there are two other lines giving the k = y/u = Pin /Z. As the valve opening increase
maximum and minimum pressures of the persisted limit this slope decreases, and the gain nally approaches to
cycles (slugging ow). zero. This makes control of the system with large valve
openings very dicult.
2.2 Experimental setup
3. PID/PI TUNING BASED ON IMC DESIGN
The experiments were performed on a laboratory setup for
anti-slug control at the Chemical Engineering Department 3.1 Model Identification
of NTNU. Fig. 4 shows a schematic presentation of the
laboratory setup. The pipeline and the riser are made from We use a Hammerstein model structure (Fig. 6) to describe
exible pipes with 2 cm inner diameter. The length of the the desired unstable operating point (ow regime). The
pipeline is 4 m, and it is inclined with a 15 angle. The Hammerstein model consists of series connection of a static
height of the riser is 3 m. A buer tank is used to simulate nonlinearity and a linear time-invariant dynamic system.
the eect of a long pipe with the same volume, such that For our application, the static nonlinearity represents the
the total resulting length of pipe would be about 70 m. static gain (K) of the process and G (s) accounts for

234
IFAC DYCOPS 2013
December 18-20, 2013. Mumbai, India

50
min & max steadystate ys(s) e u y(s)
40 +_
Kc0 G(s)
P [kpa]

30
in

20

10
Fig. 7. Closed-loop system for step test
0 10 20 30 40 50 60 70 80 90 100
Z [%] 29
30 output
set point
min & max steadystate
25
28.5
20
P [kpa]

15 !ys
28
rt

10

5
27.5 B

y [kpa]
0
0 10 20 30 40 50 60 70 80 90 100
Z [%] 27

!y
!yp !yu

8
Fig. 5. Bifurcation diagrams for experimental setup
26.5
tu
tp
u
u u y 26
u
G '( s)
25.5
Static Nonlinearity Linear time!invariant 20 40 60 80 100 120 140
time [sec]

G ( s) Fig. 8. Closed-loop step response for stabilized experimen-


tal system
Fig. 6. Block diagram for Hammerstein model
poles is sucient for control design. Using balanced model
the unstable dynamics. For identication of the unstable truncation (square root method), we obtained a reduced-
dynamics, we need to assume a structure. We rst consider order model in the form of
a simple unstable rst-order plus dead time model: b1 s + b0
G(s) = 2 , (5)
Kes bes s a1 s + a0
G(s) = = (1)
s 1 sa where a0 > 0 and a1 > 0. The model has two unstable
where a > 0. If we control this system with a proportional poles and four parameters, b1 , b0 , a1 and a0 , need to be
controller with the gain Kc0 (see Fig. s 7), the closed-loop estimated. If we control the unstable system in (5) by a
transfer function from the set-point (ys ) to the output (y) proportional controller with the gain Kc0 , the closed-loop
becomes ! $ transfer function from the set-point (ys ) to the output (y)
y(s) Kc0 G(s) Kc0 bes will be B
= = . (2)
ys (s) 1 + Kc0 G(s) s a + Kc0 bes y(s)
= 2
Kc0 (b1 s + b0 )
. (6)
In order to get a stable closed-loop system, we need ys (s) s + (a1 + Kc0 b1 )s + (a0 + Kc0 b0 )
Kc0 bes > a and Kc0 b > a. The steady-state gain of For the closed-loop stable system, we consider a transfer
the closed-loop transfer function is function similar to the model used by Yuwana and Seborg
y Kc0 b s (1982):
= > 1. (3)
ys K!c0 b a y(s) K2 (1 + z s)
= 2 2 (7)
However, the closed-loop step response of the system in ys (s) s + 2 s + 1
experiments, as in Fig. 8, showsK that the steady-state gain We use six data (yp , yu , y , ys , tp and tu ) observed
of the system under study is smaller than one. Therefore, from the closed-loop response (see Fig. 8) to estimate the
the model form in (1) is not a correct choice. four parameters (K2 , z , and ) in (7). Then, we back-
If we linearize the four-state mechanistics model by Jahan- calculate the parameters of the open-loop unstable model
shahi and Skogestad (2011) around the desired unstable in (5). Details are given in Appendix A.
operating point, we will get a fourth-order linear model in
the form of 3.2 IMC design for unstable systems
1 (s + 2 )(s + 3 )
G(s) = 2 . (4)
(s 4 s + 5 )(s2 + 6 s + 7 ) Internal Model Control (IMC) is summarized by Morari
This model contains two unstable pole, " two stable poles and Zariou (1989). The block diagram of the IMC struc-
and two zeros. Seven parameters (i ) must be estimated ture is shown in Fig. 10. Where G(s) is model of the
to identify this model. However, if we look at the Hankel plant which in general has some mismatch with the real
Singular Values of the fourth order model (Fig. 9), we
plant Gp (s). Q(s) is the inverse of the minimum phase
nd that the stable part of the system has little dynamic part of G(s) and f (s) is a low-pass lter for robustness of
contribution. This suggests that a model with two unstable the closed-loop system. The IMC conguration cannot be

235
IFAC DYCOPS 2013
December 18-20, 2013. Mumbai, India

Hankel Singular Values with a low-pass lter.


0.8
HSV(Stable Part of G) Ki Kd s
0.7 HSV(Unstable Part of G)
KP ID (s) = Kc + + (14)
s Tf s + 1
0.6
Where
0.5
Tf = 1/ (15)
abs

0.4
Tf
0.3 Ki = 3 (16)
k
0.2
Kc = Ki 1 Ki Tf (17)
0.1
Kd = Ki 2 Kc Tf (18)
0
1 2 3 4 We require Kc < 0 and Kd < 0, in order that the controller
Order
works in practice. We must choose such that these two
conditions are satised.
Fig. 9. Hankel Singular Values of fourth order model

e u y 3.4 PI tuning rules


f ( s) Q( s ) Plant
+_
For a PI controller in the following form
G (s)
" + ( )
_ 1
KP I (s) = Kc 1 + , (19)
I s
the tuning rules are derived from the controller (13) as
Fig. 10. Block diagram of Internal Model Control system follows
2
used directly for unstable systems; instead the stabilizing Kc = lim C(s) = 3 (20)
controller is given as
s k
Kc

Q(s)f (s) I = = 2 (21)
C(s) = (8) lim sC(s)
1 G(s)Q(s)f (s)
s0
This means that the PI-controller approximates high-
For internal stability, Qf and (1GQf ) have to be stable.
frequency and low-frequency asymptotes of C(s) in (13).
We use the identied model in the previous section as the
plant model: 4. SIMPLE MODEL FOR STATIC NONLINEARITY
b1 s + b0 k (s + )
G(s) = 2 = (9)
s a 1 s + a 0 (s 1 )(s 2 ) So far, we have used experimental work to obtain the
and we get model. However, we can estimate the static gain. The slope
f
of the steady-state line in Fig. 3 is the static gain of the
(1/k )(s 1 )(s 2 )
Q(s) = (10) system which is related to valve properties. We assume the
s+ valve equation as the following:
We design the lter f (s) as explained by Morari and
w = Cv f (z) P (22)
Zariou (1989):
k = number of RHP poles + 1 = 3 where w[kg/s] is the outlet mass ow and P [N/m2 ] is the
m = max(number of zeros of Q(s)
- number of pole of Q(s) pressure drop. From the valve equation, the pressure drop
over the valve for dierent valve openings can be written
,1) = 1 (this is for making Q = Qf proper)
as
n = m + k -1 = 3; filter order a

P = 2, (23)
The lter is in the following from: f (z)
2 s2 + 1 s + 0 where we assume a as a constant parameter calculated
f (s) = 3 , (11) in Appendix B. Our simple empirical model for the inlet
(s + 1)
pressure is as follows:
Where is an adjustable lter time-constant. We choose a

Pin =
0 = 1 to get an integral action and the coecients 1 2 + Pf o (24)
and 2 are calculated by solving the following system of f (z)
linear equations: Where Pf o is another constant parameter that is the inlet
( 2 ) (2 ) ( 3) pressure when the valve is fully open, and it is given in
1 1 1 (1 + 1) Appendix B. By dierentiating (24) with respect to z, we
1 = (12)
2 2 2 1 0 (2 + 1)
3
get the static gain of the system as a function of valve
The feedback version of the IMC controller becomes opening.
[ 1 3 ](2 s2 + 1 s + 1) 2 a fz(z)
C(s) = k (13) k(z) = 3 (25)
s(s + ) f (z)
For a linear valve (i.e. f (z) = z) it reduces to
3.3 PID-F tuning rules 2 a
k(z) = 3 , (26)
z
The IMC controller in (13) is a second order transfer where 0 z 1. Fig. 11 compares the simple static model
function which can be written in form of a PID controller in (24) and (25) to the Olga model.

236
IFAC DYCOPS 2013
December 18-20, 2013. Mumbai, India

80 29
Olga model simple static model

28
75
P [bar]

Pin [kpa]
27
in

70
26
data setpoint filtered identified
65 25
0 10 20 30 40 50 60 70 80 90 100 0 20 40 60 80 100 120 140
Z [%] t [sec]
1

0 Fig. 12. Closed-loop step test for experiment 1


1
inlet pressure (controlled variable)
k(z)

40
2
35 openloop stable
3

P [kpa]
Olga model simple static model
30
4
0 10 20 30 40 50 60 70 80 90 100

in
25
Z [%]
20 openloop unstable
Fig. 11. Simple static model compared to OLGA case
15
0 2 4 6 8 10 12 14 16 18 20
5. PI TUNING CONSIDERING NONLINEARITY t [min]
actual valve position (manipulated variable)
80
The PID and PI tuning rules given in above are based openloop unstable
on a linear model identied at a certain operating point. 60
However, as we see in Fig. 11, the gain of the system Controller Off Controller On Controller Off
Z [%]

40
changes drastically with the valve opening. Hence, a con-
m

troller working at one operating point may not work at 20


other operating points. openloop stable
0
0 2 4 6 8 10 12 14 16 18 20
One solution is gain-scheduling with multiple controllers t [min]
based on mutiple identied modes. We propose simple PI
tuning rules based on single step test, but with a gain Fig. 13. Result of PID controller for experiment 1
correction to counteract the nonlinearity of the system.
For this, we use the static model given in (25). We perform The identied closed-loop transfer function is shown by
a closed-loop step test and we use the data in Fig. 8 to the red line in Fig. 12. Then, we back calculate to the
calculate open-loop unstable system:
( ) ( )2 0.012s 0.0041
yu yp y
ln y K k(z ) G(s) = 2 (31)
=
yp y
+
c0 0 y
, (27) s 0.0019s + 0.0088
2t 4tp We select = 10 for an IMC design to get the controller:
where z0 is the average valve opening in the closed-loop 25.94(s2 + 0.07s + 0.0033)
step test and Kc0 is the proportional gain used for the C(s) = (32)
s(s + 0.35)
test. The PI tuning values as functions of valve opening
The related PID tuning values, as in Section 3.3, are
are given as the following:
Kc = 4.44, Ki = 0.24, Kd = 60.49 and Tf = 2.81.
Tosc Fig. 13 shows result of control using the PID controller.
Kc (z) = (28)
k(z) z/z This controller was tuned for 20% valve opening, but it can
I (z) = 3Tosc (z/z ) (29) stabilize the system up to 32% valve opening which shows
good gain margin of the controller. In addition, we tested
Where Tosc is the period of slugging oscillations when the
its delay margin by adding time-delay to the measurement.
system is open-loop and z is the critical valve opening of
It was stable with 3 sec added time delay.
the system (at the bifurcation point).
The related PI tuning values, as in Section 3.4, are Kc =
6. EXPERIMENTAL RESULTS 25.95 and I = 107.38. Fig. 14 shows result of experiment
using the PI controller. This controller was stable with 2
6.1 Experiment 1: PID and PI tuning at Z=20% sec time-delay.

The system switches to slugging ow at 15% of valve 6.2 Experiment 2: PID and PI tuning at Z=30%
opening, hence it is unstable at 20%. We closed the loop
by a proportional controller Kc0 = 10 and changed the We repeated the previous experiment at 30% valve open-
set-point by 2 kPa (Fig. 12). Since the response is noisy, ing. We closed the loop by a proportional controller Kc0 =
a low-pass lter was used to reduce the noise eect. Then, 20 and changed the set-point by 2 kPa (Fig. 15). Then,
we use the method explained in Section 3.1 to identify the we use the method explained in Section 3.1 to identify the
closed-loop stable system as the following: closed-loop stable system as the following:
y(s) 2.317s + 0.8241 y(s) 2.634s + 0.6635
= (30) = (33)
ys (s) 19.91s2 + 2.279s + 1 ys (s) 13.39s2 + 2.097s + 1

237
IFAC DYCOPS 2013
December 18-20, 2013. Mumbai, India

inlet pressure (controlled variable) inlet pressure (controlled variable)


40 40

35 openloop stable 35 openloop stable


P [kpa]

P [kpa]
30 30
in

in
25 25

20 openloop unstable 20
openloop unstable
15 15
0 2 4 6 8 10 12 14 16 18 20 0 2 4 6 8 10 12 14 16 18 20
t [min] t [min]
actual valve position (manipulated variable) actual valve position (manipulated variable)
80 80
openloop unstable openloop unstable
60 60
Controller On
Controller Off Controller On Controller Off Controller Off Controller Off
Z [%]

Z [%]
40 40
m

m
20 20

openloop stable openloop stable


0 0
0 2 4 6 8 10 12 14 16 18 20 0 2 4 6 8 10 12 14 16 18 20
t [min] t [min]

Fig. 14. Result of PI controller for experiment 1 Fig. 16. Result of PID controller for experiment 2
27 inlet pressure (controlled variable)
40
26
35 openloop stable
Pin [kpa]

P [kpa]

25 30
in

25
24
data setpoint filtered identified 20
23
openloop unstable
0 20 40 60 80 100 120 140 15
t [sec] 0 2 4 6 8 10 12 14 16 18 20
t [min]
actual valve position (manipulated variable)
Fig. 15. Closed-loop step test for experiment 2 80
openloop unstable
The identied closed-loop transfer function is shown by 60
Controller On
the red line in Fig. 15. Then, we back calculate to the Controller Off Controller Off
Z [%]

40
open-loop unstable system:
m

0.0098s 0.0025 20
G(s) = 2 (34)
s 0.0401s + 0.0251 openloop stable
0
We select = 8 for an IMC design to get the controller: 0 2 4 6 8 10 12 14 16 18 20
t [min]
42.20(s2 + 0.052s + 0.0047)
C(s) = (35)
s(s + 0.251) Fig. 17. Result of PI controller for experiment 2
The related PID tuning values, as in Section 3.3, are shown in Fig. 18. The controller gains are given in Fig. 19.
Kc = 5.65, Ki = 0.79, Kd = 145.15 and Tf = 3.97. This simple adaptive controller could stabilize the system
Fig. 16 shows result of control using the PID controller. from 20% to 50%, and it was stable even with 1sec added
This controller was tuned for 30% valve opening, but it can time delay.
stabilize the system up to 50% valve opening which shows
good gain margin of the controller. In addition, we tested 7. OLGA SIMULATION
its delay margin by adding time-delay to the measurement.
It was stable with 2 sec added time delay.
We tested the PI tuning rules in (28) and (29) on the
The related PI tuning values, as in Section 3.4, are Kc = Olga case presented in Section 2.1. The PI tuning values
42.20 and I = 53.53. Fig. 17 shows result of experiment are given in Table 1 and the simulation result is shown in
using the PI controller. This controller was stable only Fig. 20. The open-loop system switches to slugging ow at
with less than 1 sec time-delay. 5% valve opening (Fig. 2), but by using the proposed PI
tuning the system could be stabilized up to 23.24% valve
6.3 Experiment 3: Adaptive PI tuning opening.

We calculated = 0.061 from (27) using the step test 8. CONCLUSION


information of Experiment 1 (Fig. 12) and the period of
the slugging oscillations Tosc = 68 sec. We used the PI A model structure including two unstable poles and one
tuning given in (28) and (29) in an adaptive manner to zero was used to identify an unstable model for slugging
control the system. The valve opening has many variations ow dynamics. The model parameters were estimated from
and it cannot be used directly; a low-pass lter was used to a closed-loop step test (step change in the set-point of
make it smooth. The result of control using this tuning is the controller). The identied model was used for an IMC

238
IFAC DYCOPS 2013
December 18-20, 2013. Mumbai, India

inlet pressure (controlled variable)


design, then PID and PI tunings were obtained from
40 the resulted IMC controller. This scheme was tested in
35 openloop stable experiments which shows applicability and robustness of
the method. A PID controller with the proposed tuning
P [kpa]

30
was identical to the IMC that retains good phase-margin
and gain-margin.
in

25

20
openloop unstable Moreover, a simple static model was introduced to account
15
0 5 10 15 20 25 30
for the intense nonlinearity in static gain of the system,
t [min] then a one-step PI tuning was proposed based on the
actual valve position (manipulated variable) static model. This method could stabilize the system on a
80
openloop unstable wide range of valve opening in both experiments and Olga
60 Controller On simulations.
Controller Off Controller Off
Z [%]

40
REFERENCES
m

20
Di Meglio, F., Kaasa, G.O., Petit, N., and Alstad, V.
openloop stable (2010). Model-based control of slugging ow: an exper-
0
0 5 10 15 20 25 30
t [min] imental case study. In American Control Conference.
Baltimore, USA.
Fig. 18. Result of control using adaptive PI tuning in Godhavn, J.M., Fard, M.P., and Fuchs, P.H. (2005). New
experiment 3 slug control strategies, tuning rules and experimental
results. Journal of Process Control, 15, 547557.
proportional
openloop gain
stable
Havre, K., Stornes, K., and Stray, H. (2000). Taming slug
0 ow in pipelines. ABB Review, (4), 5563.
20 Jahanshahi, E. and Skogestad, S. (2011). Simplied dy-
40
namical models for control of severe slugging in multi-
Kc []

phase risers. In 18th IFAC World Congress, 16341639.


60
Milan, Italy.
80 Morari, M. and Zariou, E. (1989). Robust Process Con-
100 trol. Prentice Hall, Englewood Clis, New Jersey.
0 5 10 15 20 25 30
t [min] Storkaas, E. and Skogestad, S. (2007). Controllability
integral time analysis of two-phase pipeline-riser systems at riser slug-
700
ging conditions. Control Engineering Practice, 15(5),
600
567581.
500
Taitel, Y. (1986). Stability of severe slugging. Interna-
[sec]

400
tional Journal of Multiphase Flow, 12(2), 203217.
I

300
Yuwana, M. and Seborg, D.E. (1982). A new method for
200 on-line controller tuning. AIChE Journal, 28(3), 434
100
0 5 10 15 20 25 30 440.
t [min]
Appendix A. MODEL IDENTIFICATION
Fig. 19. Controller gains resulted from adaptive PI tuning CALCULATIONS
in experiment 3
Stable closed-loop transfer function:
inlet pressure (controlled variable)
67.5 y(s) K2 (1 + z s)
= 2 2 (A.1)
ys (s) s + 2 s + 1
The Laplace inverse (time-domain) of the transfer function
Pin [bar]

67
in (A.1) is (Yuwana and Seborg (1982))
y(t) = ys K2 [1 + D exp(t/ ) sin(Et + )] , (A.2)
measurement setpoint
where [
66.5
0 1 2 3 4 5 6 ( z )2 ] 12
t [h] 1 2

z
+
50
valve position (manipulated variable)
D= (A.3)
1 2
40

30
Table 1. PI tuning values in Olga simulation
Z [%]

20 set-point valve opening Kc I


10 67.36 14 0.5 8400
67.19 16.1 0.7 9600
0
0 1 2 3 4 5 6 67.07 18.2 0.94 10800
t [h] 66.99 20.1 1.23 12000
66.93 23.24 1.56 13200
Fig. 20. Result of control from Olga simulation 66.88 1.93 14400

239
IFAC DYCOPS 2013
December 18-20, 2013. Mumbai, India

From this, we can estimate the four model parameters in


1 2
E= (A.4) equation (5) are
1
[ ] a
0 = (A.19)
2 p)
(1 + Kc0 K
1 1 2
= tan (A.5) b0 = K pa
0 (A.20)
z

By dierentiating (A.2) with respect to time and setting b1 = K2 z (A.21)
the derivative equation to zero, one gets time of the rst Kc0 2
peak: 1 = 2/
a + Kc0b1 , (A.22)
( 2
)
tan1 1 + where a
1 > 0 gives an unstable system.
tp = (A.6)
1 2 / Appendix B. CALCULATION OF STATIC
And the time between the rst peak (overshoot) and the NONLINEARITY PARAMETERS
undershoot:
tu = / 1 2 (A.7) From equation (22) we have
( )2
The damping ratio can be estimated as 1 w
a
= (B.1)
ln v Cv
= (A.8)
2 Where Cv is the known valve constant, w is the steady-
2 + (ln v)
state average outlet ow rate and is the steady-state
where average mixture density. The average outlet mass ow is
y yu approximated by constant inow rates.
v= (A.9)
yp y w
= wg,in + wl,in (B.2)
Then, using equation (A.7) we get In order to estimate the average mixture density , we
perform the following calculations, assuming a fully open
tu 1 2 valve.
= . (A.10) Average gas mass fraction:

The steady-state gain of the closed-loop system is esti- wg,in

= (B.3)
mated as wg,in + wl,in
2 = y .
K (A.11) Average gas density at top of the riser from ideal gas law:
ys (Ps + Pv,min )Mg
We use time of the peak tp and (A.6) to get an estimate g = (B.4)
RT
of : where Ps is the constant separator pressure, and Pv,min
[ ]
is the (minimum) pressure drop across the valve that
1 2 tp 1 2
= tan1 (A.12) exists with a fully open valve. In the numerical simulations
Pv,min is assumed to be zero but in our experiments it
was 2 kPa.
From (A.4), we get Liquid volume fraction:

1 2 (1 )
g
=
l = . (B.5)
E (A.13) (1 )
g + L

The overshoot is dened as Average mixture density:
yp y = l l + (1 l )
g (B.6)
D0 = . (A.14)
y In order to calculate the constant parameters Pf o in (24),
By evaluating (A.2) at time of peak tp we get we use the fact that if the inlet pressure is large enough
[ ] to overcome a riser full of liquid, slugging will not happen.
yp = ys K2 1 + D p /
exp(t (A.15)
p + )
) sin(Et Taitel (1986) used the same concept for stability analysis,
also this was observed in our experiments. we dene the
Combining equation (A.11), (A.14) and (A.15) gives critical pressure as
D0
D = . (A.16) Pin = L gLr + Ps + Pv,min (B.7)

exp(tp / ) sin(Et
p + ) This pressure is associated with the critical valve opening
We can estimate the last parameter by solving (A.3): at the bifurcation point z . From (24), we get Pf o as the
[ ] following:
+ 2 2 2 1 D
2 (1 2 ) a

z = (A.17) Pf o = Pin 2 (B.8)
f (z )
Then, we back-calculate to parameters of the open-loop
unstable model. The steady-state gain of the open-loop
model is
= y
K (A.18)
Kc0 |ys y |

240

You might also like