You are on page 1of 6

2015 European Control Conference (ECC)

July 15-17, 2015. Linz, Austria

Model Predictive Control for Pressure Regulation


and Surge Prevention in Centrifugal Compressors
Toufik Bentaleba , Alessio Cacittib , Sergio De Franciscisb , Andrea Garullia

UPSTREAM
Abstract— This paper proposes a multivariable model pre-
VALVE
dictive control scheme for discharge pressure regulation in V1
centrifugal compressors. The main novelty of the proposed Ts ∆po,s Inlet
Ps
approach is that three control inputs are considered: the
rotational speed of the compressor, an anti-surge valve for gas PT TT FT
recycle and the inlet guide vane, whose variations allow one
to significantly enlarge the operating region of the compressor
and hence to enhance the authority of the control system. Surge
prevention is achieved by including in the model an output
variable accounting for the distance of the operating point N FY
ASV
from the surge limit. Such distance is defined on a compressor
performance map which is invariant to changes in the inlet ST Pd
PT
conditions, and thus its computation requires only standard
pressure measurements available from the plant. Numerical IGV Td
ZT TT DOWNSTREAM
simulations show that the proposed control system is able to
VALVE
meet the desired specifications, in the presence of different types V2
of disturbances occurring along the pipeline. Outlet
COOLER
I. I NTRODUCTION
The objective of the control system of a centrifugal com- Fig. 1. Schematic description of the gas compression plant
pressor is to keep the primary process variable (for example,
suction/discharge pressure or mass flow rate) at a desired set
point level and to track the set point as quickly as possible In this paper we propose an MPC scheme which uses three
whenever a process disturbance occurs. At the same time, the control variables: the rotational speed, the IGV opening angle
operating point must be kept within the safe or acceptable and the position of the ASV. The control system has to pursue
train operating envelope, considering limits such as surge three main objectives: i) the controller has to maintain the
or stonewall. Moreover, limitations on speed, inlet guide discharge pressure at a desired set point; ii) some process-
vane, pressure and power, must be kept into account. The limiting variables (such as rotational speed, inlet guide vane
reference application considered in this paper is that of a and power) must be maintained within given ranges; iii)
plant for natural gas transportation, in which the centrifugal the control system has to prevent surge, without sacrificing
compressor is required to maintain a prescribed discharge energy efficiency or system capacity. A novel feature of the
pressure, no matter of the variations occurring upstream or proposed MPC approach is that a suitable distance to surge,
downstream along the pipeline. which can be computed by using only pressure measurements
The use of Model Predictive Control (MPC) for centrifugal available from standard plant transmitters, is included in
compressors has been considered and investigated by several the model as an additional output to be used for surge
works in the literature. In [1], a linear MPC scheme has prevention. The performance of the control scheme is tested
been designed for anti-surge control of a plant with two via numerical simulations on an accurate model of a gas
compressors. In [2], [3], [4], nonlinear MPC formulations compression plant, including performance maps from a real
have been proposed for different plant families. Some works industrial compressor.
use both the compressor rotational speed and the position of The paper is organized as follows. The reference plant is
an Anti-Surge Valve (ASV), also called recycle valve, for described in Section II. The compressor maps which are used
anti-surge control, see e.g. [5]. However, in all these studies to compute the distance of the operating point to the surge
the Inlet Guide Vane (IGV) is not used as a further degree of limit are illustrated in Section III. The MPC formulation is
freedom of the control system. In centrifugal compressors, introduced in Section IV, while the simulation setup and
IGV is typically used to modify the mass flow rate without the results on two specific case studies are presented in
acting on the rotational speed or compressor ratio [6]. Section V. Finally some conclusions are given in Section VI.
a Dipartimento di Ingegneria dell’Informazione e Scienze II. P LANT DESCRIPTION
Matematiche, Universita’ degli Studi di Siena, Italy. E-mail: A dynamic model for the simulation of a gas compres-
bentaleb@dii.unisi.it; garulli@ing.unisi.it.
b Nuovo Pignone Ge Oil & Gas Florence, Italy. E-mail: sion system has been developed. Figure 1 shows the plant
sergio.defranciscis@ge.com; alessio.cacitti@ge.com. model and the control system setup. It includes a variable

978-3-9524269-4-4 © EUCA 3351


speed centrifugal compressor, driven by a gas turbine. The SLL
compressor is equipped with an adjustable IGV and an ASV SCL
which allows gas to recycle from compressor discharge to Choke line
Speed lines
inlet. The compressor dynamic model includes both the fluid Resistance line M
ax
dynamics equations and nonlinear functions which describe s V
pe
ed ↑ IG
the characteristics of the specific compressor. In particular,

Hp [kJ/kg]
ds OP
the dynamics of the mass flow wc is
 c
SM

1 pc
ẇc = − 1 wc (1)
Ts pd
Min
spe
ed
where Tc is the temperature at suction, pd is the discharge V
↓ IG
pressure, c is the convergence factor, and pc is the internal
compressor pressure. The latter is computed as a nonlinear
function of both gas properties and of the control inputs Qv [m3 /s]
(namely, speed and IGV). In this work, such function is
given in terms of a lookup table, derived from real data of Fig. 2. Hp vs Qv centrifugal compressor performance map.
an industrial centrifugal compressor.
Two volumes are present in the plant, one at suction (V 1)
and another one at discharge of the compressor (V 2). They where Z is the compressibility factor, R is the specific
are equipped with an upstream and downstream valve (U V gas constant, T denotes temperature, M W is the molecular
and DV , respectively) to simulate different load conditions. weight of the gas, Rc is the pressure ratio (Pd /Ps ), and σ is
Closing or opening of these valves cause sudden variations in the polytropic exponent. Throughout the paper, the subscripts
the flow at the upstream and downstream of the plant. These s, av and d mean “at compressor suction”, “average”, and “at
events represent disturbances that affect the compression compressor discharge”, respectively. A simplified expression
system due, for example, to changes that occur along the for the volumetric flow Qv is
pipeline. The plant includes several transmitters, measuring r
∆Po,s × Zs × R × Ts
the following variables: rotational speed (ST), inlet guide Qv = A × (3)
vane position (ZT), anti-surge valve position (FY), temper- Ps × M W
ature (TT), pressure (PT), and differential pressure across where A is the orifice coefficient and ∆Po,s is the differential
the suction orifice (FT). The model also includes a cooler pressure across the orifice plate in suction, measured by the
for gas cooling. By changing the position of the IGV, it FT transmitter.
is possible to modify the compressor characteristics, thus The centrifugal compressor operating behavior can be
enlarging the region of feasible operating conditions. In other represented in the (Hp vs Qv ) compressor map as shown
words, the use of IGV as an additional control variable in Figure 2. The feasible region of the map is limited by the
provides a significant enhancement of the authority of the resistance lines and the speed lines. The former are the Surge
control system, both in terms of performance and for surge Limit Line (SLL) and the choke line (or stonewall line),
prevention. A more detailed description of the complete plant while the latter are defined by the minimum and maximum
model can be found in [7]. permissible rotational speed of the compressor. The figure
The characteristics of a centrifugal compressor are usually also shows the so-called Surge Control Line (SCL), which is
described through suitable maps, usually known as perfor- used in standard control schemes to activate protections for
mance maps, which also allow one to define the distance surge prevention. In steady state, the operating point (OP)
of the operating point from critical conditions, like surge or of the compressor is always located at the intersection of
choke. The maps adopted in the present work are described a line of constant speed and a line of constant resistance,
next. where the system resistance lines are based on compressor
characteristics and pipeline conditions [8]. The Surge Margin
III. C ENTRIFUGAL C OMPRESSOR M AP (SM) is the distance from the SCL to the SLL (usually, about
10%). The distance to surge ds is defined as the relative
In this section, the compressor performance map are
distance from the OP to the SLL (expressed in percent). The
introduced and their use for surge prevention is explained.
black arrows show how the feasible region moves within the
Usually, the performance of the compressor is described in
(Hp vs Qv ) map, when the IGV opening is increased or
terms of the polytropic head Hp and the volumetric flow in
decreased.
suction Qv . This is referred to as the (Hp vs Qv ) map. The
Unfortunately, it turns out that the (Hp vs Qv ) map is
polytropic head is the amount of work required to compress
not easy to used for surge prevention of the centrifugal
a unit mass of gas by a polytropic process, and it is defined
compressor, due to the fact that these coordinates strongly
as
Zav × R × Ts Rσ − 1 depend on the inlet conditions which are typically not
Hp = × c (2) constant. The inlet conditions are basically the property
MW σ

3352
of gas (such as molecular weight M W , compressibility
factor Z, etc.) and the specific gas composition in mole

L
L

SC
SL
percent. Measurements of these quantities are usually not
available to the control system, as they would require the

h̄r |OP = h̄r |SP


use of expensive equipments. Usually, only temperature and SP b
OP
pressure measurements are available in industrial plants.
In order to overcome this problem, a common approach is δs
to use alternative compressor maps that are invariant to inlet
conditions. In the literature, many different coordinate com-
binations for the analysis of the compressor performance, or
for surge prevention, have been proposed (see, e.g., [9], [10],
[8]). Only few of these are invariant to changes in the inlet
conditions. The ones used in this work are introduced next.
A. The (h̄r vs q̄s2 ) compressor map
q̄s2 |SP q̄s2 |OP
From equation (2) and (3), the ratio of Hp to Q2v can
be computed without measuring the molecular weight. If Fig. 3. Compressor performance map (h̄r vs q̄s2 ) with safety margin b and
compressibility variations are assumed to be negligible, one distance to surge δs .
has
Rcσ −1 av ×Ts
Hp σ × R×Z
MW hr
∝ ≈ 2 (4)
Q2v ∆P o,s
× R×Zs ×Ts qs where the function F(h̄r , IGV ) models the distance from
Ps MW
the OP to the SP and q̄s2 |SP is the value of q̄s2 at SP. Notice
where the reduced polytropic head hr and reduced flow rate that the position of the SP on the SLL depends on both h̄r
in suction qs are defined as and IGV, because changes in the IGV position modify also
the position of the SLL on the map. Figure 3 shows the
Rcσ − 1 ∆Po,s
hr = , qs2 = . (5) SLL for a constant value of IGV, the operating point and the
σ Ps
corresponding surge point. By measuring the values of q̄s2 at
The process variables Rc , ∆Po,s and Ps are easily mea- the OP and SP, the distance to surge becomes
sured by the available pressure and differential pressure  2 
transmitters. The only variable which remains to be deter- q̄s |OP
δs = − 1 × 100. (8)
mined is the polytropic exponent (σ). However, for a fairly q̄s2 |SP
wide variety of applications one can assume that σ ≈ 1 is a If the surge margin in the (Hp vs Qv ) coordinates is assumed
reasonable approximation. Hence, one gets to be 10%, then qs |SCL = 1.1 qs |SP . By substituing into (8),
Pd one gets that the surge margin in the (h̄r vs q̄s2 ) map is given
hr ∼ R c − 1 Ps − 1
= = ∆Po,s
(6) by b = 21% (see Fig. 3).
qs2 qs2
Ps
IV. M ODEL P REDICTIVE C ONTROL D ESIGN
where the rightmost term is not affected by the gas com-
position and it depends only on pressure measurements that In this section, the MPC approach proposed for the consid-
can be obtained from the plant. This motivates the use of ered plant is presented. The input, state and output variables
a map whose coordinates are h̄r = Rc − 1 and q̄s2 = qs2 P̄s of the plant are as follows.
(where the constant P̄s is the compressor inlet pressure at • Input variables:
design conditions and it is used here only for normalization – u1 : commanded inlet guide vane [deg].
purposes). In the following, we will refer to these coordinates – u2 : commanded rotational speed [rpm].
as the (h̄r vs q̄s2 ) map (sometimes addressed in the literature – u3 : commanded anti-surge vane [%].
as nearly invariant coordinates, see [9]).
• State variables:
B. Distance to surge in the (h̄r vs q̄s2 ) coordinates – x1 : mass flow rate [kg/s].
In order to prevent surge, the control scheme needs a – x2 : actual rotational speed [rpm].
measure of the distance of the operating point to the surge – x3 : actual inlet guide vane [deg].
limit line. As discussed above, the location of the operating – x4 : suction pressure [bara].
point in the (h̄r vs q̄s2 ) map is computed from available – x5 : discharge pressure [bara].
measurements. For each operating point, a corresponding – x6 : actual anti-surge vane [%].
Surge Point (SP) is defined as the point on the SLL which • Output variables:
has the same value of h̄r as the operating point. The relative – y1 : discharge pressure [bara].
distance to surge δs is then defined as – y2 : relative distance to surge δs in (8) [%].
F(h̄r , IGV ) – y3 : compressor power with respect to nominal
δs = (7) power provided by the turbine [%].
q̄s2 |SP

3353
MPC techniques usually require an analytical model of in the overall plant model. In particular, the results of
the plant to be controlled. Unfortunately, besides analytic two diferent case studies are presented, corresponding to
expressions for the compressor flow dynamics, the up- different types of load disturbances acting on the upstream
stream/downstream volumes and the control actuators, the and downstream volumes of the plant.
model contains also lookup tables representing the com-
pressor maps and the gas characteristics. For these reasons, A. Simulation Setup
linearized models around the considered operating points At the beginning of the simulations, the centrifugal com-
have been generated by applying the function linearize of pressor is assumed to be operating at steady state, with an
the Matlab/Simulink Control Toolbox to the Simulink model upstream volume V1 = 65.7 [m3 ] and a downstream volume
of the plant described in Section III. The linearised dynamics V2 = 80 [m3 ]. The upstream valve opening is initially set
around the nominal operating conditions are used only for to U V = 45%, while that of the downstream valve to
solving the MPC optimisation problems, as they are able to DV = 90.5%. Temperature at suction and discharge are
capture the dominant dynamics of the plant. Ts = 2.5 [C] and Td = 42.5 [C], respectively. The gas
The general MPC problem for the multi-input multi-output molecular weight is M W = 18.592 [g/mol]. The values uss ,
system is formulated as xss , y ss of input, state and output variables, at the resulting
( m−1 3
nominal steady state operating conditions, are reported in
2
X X uh Table I. The linearized model around this operating point
min w uh (k + i|k)

u(k|k),...,u(p−1+k|k) has been discretized with sampling time equal to 1 [s].
i=0 h=1
3
X 2 In the MPC optimization problem, the following weights
∆uh
+ ∆uh (k + i|k) (9) have been set, after an extensive trial and error procedure:

w
h=1 wu1 = wu2 = 0 (only variation rates of IGV and speed are
3
!)
X yh 
2
sp  penalized), wu3 = 1, w∆u1 = 5, w∆u2 = 0.1, w∆u3 = 1,
+ w yh (k + i + 1|k) − yh wy1 = 30. A prediction horizon of m = 5 time intervals has
h=1
been chosen. The manipulated variables are optimized over
subject to the linearised dynamic model of the plant and the p = 2 control steps. A key issue affecting the authority of
constraints the control system is clearly given by the constraints on the
control inputs and their rates, which are due to the physical
yhmin ≤ yh (k + i + 1|k) ≤ yhmax
limitations of the actuators. In the considered setting, they
umin
h ≤ uh (k + i|k) ≤ umax
h have been considered as follows:
∆umin ≤ ∆uh (k + i|k) ≤ ∆umax

h h  IGV: −70 ≤ u1 ≤ 10 and −4 ≤ ∆u1 ≤ 4,
∆uh (k + j|k) = 0 Speed: 4270 ≤ u2 ≤ 6405 and −15 ≤ ∆u2 ≤ 15,
ASV: 0 ≤ u3 ≤ 100 and −5 ≤ ∆u3 ≤ 50.

for h = 1, 2, 3, i = 0, . . . , m − 1, j = p, . . . , m − 1.
The output set-point for pressure regulation and output
In (9), y(k + i|k) denotes the predicted output value at
constraints are given by
time (k + i), based on the information available at time k;
sp

u(k + i|k) is the input value at time k + i, for the input  Discharge pressure: y1 = y1ss ,
sequence starting at time k; ∆u(k + i|k) = u(k + i + 1|k) − Distance to surge: y2 ≥ b1 ,
u(k + i|k) and y sp is the set-point reference value of the Compressor power: 30 ≤ y3 ≤ 100.

output. The tuning parameters of the MPC scheme are: the
In the considered case studies, the reference discharge pres-
prediction horizon length m, the control horizon length p,
sure is equal to the discharge pressure at steady state, which
the input weights wuh , the input increment weights w∆uh ,
means that such a value must be maintained by the control
and the output weights wyh . In particular, in the considered
system, no matter of the disturbances occurring along the
application the output weights wy2 and wy3 have been set
pipeline, which are modeled in terms of variations of the
to zero, because the control objective is to regulate only
upstream and downstream valve openings.
the output pressure to a desired reference value y1sp , while
the other two outputs enter only in the constraints of the B. Case Study I
optimization problem (9) to enforce surge prevention and In this test, we close slowly the upstream and downstream
guarantee that the gas turbine power limitations are satisfied. valves as shown in Figure 5. Notice that, by closing the
Notice that the above formulation includes also other hard
process constraints, involving both control input variables
TABLE I
and their rates. The cost function is minimized by using the
N OMINAL OPERATING CONDITIONS CONSIDERED IN THE SIMULATIONS
quadratic programming solver provided by the Matlab Model
Predictive Control Toolbox [11]. Parameter Value Unit Parameter Value Unit
xss
1 463.6 [kg/s] xss
5 = y1
ss 121.2 [bara]
V. P ERFORMANCE E VALUATION O F MPC C ONTROLLER xss ss xss ss
2 = u2 6053.3 [rpm] 6 = u 3 0 [%]
ss
x3 = u1 ss 0 [deg] y2ss 126.9 [%]
In this section, the performance of the multivariable MPC
xss 71.6 [bara] y3ss 95 [%]
control scheme is evaluated through numerical simulations 4

3354
Inputs Outputs
122
pd
0 121.8 pss
d

−20 121.6

u1

y1
−40 121.4

−60 121.2

121
6100
50 SLL
SCL
40
6050
30
u2

ds
20
6000
10
0
5950
4
100
3
90
2
80
u3

y3
1 70
0 60

−1 50
0 50 100 150 200 0 50 100 150 200
time [s] time [s]

Fig. 4. Case study I. Input and output signals.

100
valves the flow rate is reduced, which drives the compressor UV
operating point towards the surge region. The results of the 90 DV

simulation are presented in Figure 4, which shows the three 80


inputs (IGV position, rotational speed, and ASV position)
70
U V /DV [%]

and the three outputs of the system, namely the discharge


pressure, the distance to surge and the compressor power. 60

The distance to surge is reported in terms of ds , as defined 50


in the (Hp vs Qv ) map (and not in terms of the actual 40
y2 = δs used by the MPC) because this is the standard
30
practice in industrial applications. The control system is able
to regulate the output pressure with negligible tracking error, 20
0 50 100 150 200 250
while keeping all the input and output variables within the time [s]
prescribed limitations and the operating point faraway from
Fig. 5. Case study I: upstream and downstream valve opening.
the surge control line. It can be observed that when the valves
start closing, IGV is first used to regulate the pressure, while
the speed starts changing only after IGV is saturated at -70
evolution of the input and output variables. Clearly, in this
deg. Moreover, a moderate opening of the anti-surge valve
case the predictive controller detects that the distance to
occurs to improve pressure regulation, when rotational speed
surge is rapidly decreasing and reacts with a fast opening
is decreasing at the maximum admissible rate.
of the anti-surge valve. This causes the quick rebound of the
operating point throughout the time interval from 20 [s] to
C. Case Study II 27 [s]. After that, being IGV saturated at -70 [deg] and shaft
The second simulation test is conducted starting from the speed decaying at the maximum admissible rate, the closure
same operating point; the only difference is in the profile of the ASV is used to guarantee tracking of the reference
of the closing upstream/downstream valve, which undergo a discharge pressure.
step change instead of a slow closing, as shown in Figure 7.
This sudden closing of the valves causes a large upset, which VI. C ONCLUSION
quickly moves the operating point close to the surge limit A new multivariable model predictive control scheme
line. Without control, the operating point would cross the has been proposed for a centrifugal compressor in a gas
surge limit line in less than 5 [s]. Figure 6 shows the resulting transportation plant. Numerical simulations has shown that

3355
Inputs Outputs
132
pd
0 130 pss
d

−20 128

u1

y1
126
−40
124
−60
122

100
6000 SLL
80 SCL

5500 60
u2

ds
40
5000
20
4500
0

100 100
80
80
60
u3

y3
40 60

20
40
0
0 50 100 150 200 0 50 100 150 200
time [s] time [s]

Fig. 6. Case study II. Input and output signals.

100
UV R EFERENCES
90 DV
[1] J.P.M. Smeulers, W.J. Bouman, and H.A. van Essen. Model predictive
80 control of compressor installations. In Proceedings of the Conference
on Compressors and their systems, I Mech E, London, 1999.
70 [2] T.A. Johansen. On multi-parametric nonlinear programming and
U V /DV [%]

explicit nonlinear model predictive control. In IEEE Conf. Decision


60 and Control, volume 3, pages 2768–2773, Las Vegas, NV, 2002.
[3] P.J.H. Zillinger Molenaar. Model predictive compressor surge con-
50
trol. Master’s thesis, Technische Universiteit Eindhoven, Eindhoven,
40 August 2007.
[4] A. Grancharova, T. A. Johansen, and P. Tndel. Computational aspects
30 of approximate explicit nonlinear model predictive control assessment
and future directions of NMPC. In Springer Verlag, pages 181–192,
20
0 50 100 150 200 2007.
time [s] [5] A. Cortinovis, D. Pareschi, M. Mercangez, and Th. Besselmann.
Model predictive anti-surge control of centrifugal compressors with
Fig. 7. Case study II: upstream and downstream valve opening. variable-speed drives. In IFAC Workshop on Automatic Control in
Offshore Oil and Gas Production, pages 251–256, Norway, May 31 -
June 1 2012.
[6] A. Mohseni, R. A. Van den Braembussche, J. R. Seume, and E. Gold-
hahn. Novel igv designs for centrifugal compressors and their
interaction with the impeller. Journal of Turbomachinery, 134:021006,
June 22 2011.
the proposed approach is able to meet the requirements [7] T. Bentaleb, A. Cacitti, S. De Franciscis, and A. Garulli. Multivari-
in terms of both discharge pressure regulation and surge able control for regulating high pressure centrifugal compressor with
prevention, under different types of variations in the upstream variable speed and IGV. In 2014 IEEE Multi-conference on Systems
and Control (MSC), pages 486–491, Antibes, France, Oct. 8-10, 2014.
and downstream conditions along the pipeline. In particu- [8] S. Mirsky, J. M. Whirter, W. Jacobson, M. Zaghloul, and D. Tiscornia.
lar, it has been observed that the anti-surge valve, besides Development and design of antisurge and performance control systems
guaranteeing protection from surge when a critical process for centrifugal compressors. In Proceedings of the Forty-Second
Turbomachinery Symposium, Houston, Texas, October 1-3, 2012.
upset occurs, is also useful in the pressure regulation task, [9] B. W. Batson. Invariant coordinate systems for compressor control.
especially when the other control variables are saturated or In International gas turbine and aeroengine congress & Exhibition,
they already reached their maximum rate of variation. Future pages 1–16, Birmingham, UK, June 10-13 1996.
[10] H.P. Bloch. Apractical guide to compressor Technology. McGraw-Hill
work will concern the use of explicit MPC formulations and Companies, 1996.
the investigation of LPV models for describing the plant [11] A. Bemporad, M. Morari, and R. N. Lawrence. Model Predictive
dynamics under different operating conditions. Control Toolbox for use with Matlab. Mathworks, 2005.

3356

You might also like