You are on page 1of 5

R O TAT I N G E Q U I P M E N T

Validating anti-surge
control systems
At a gas processing plant, real time simulation was used to analyse the design
of a surge protection scheme for a natural gas compressor, after questions
arose over the systems effectiveness in the event of an emergency shutdown
Nikhil Dukle and Krishnan Narayanan
Compressor Controls Corporation

O
perators of petroleum plants
often contract compressor or

header (inlet boundary conditions):

Natural gas parameters in discharge


header (outlet boundary conditions):
Natural gas parameters in suction
turbine OEMs to supply an

P=81.47 bar (a), T=108.2C


P=36.23 bar (a), T=35C
entire turbomachinery train. The scope
of supply normally includes the design
of the peripherals systems, such as the
anti-surge control system for centrifugal
and axial compressors. While there are
advantages to having a single party
responsible for the entire train, it can
result in "finger pointing" and confusion Cooler
M volume=25 m3
when the various equipment OEMs dis- VO5=20 m3
agree on the design of the peripheral
systems.
Engineers at a gas processing plant
recently found themselves in this situa- KT-8001 A-8001
tion when adding a medium-pressure GT VO2=2 m3
natural gas compressor as part of a (not simulated) VO4=0.5 m3
major plant expansion. The gas turbine
manufacturer, who was the responsible VO3=25.8 m3
OEM, designed an anti-surge protection
scheme for the process compressor, but SDV-80002 FV-
the compressor manufacturer felt the 80162
design was inadequate. Specifically, the ASV-6511
compressor manufacturer felt that in
addition to the cold recycle loop provid-
ed in the initial design, a hot recycle VO1=47.5 m3
loop was also needed to protect the
compressor from surge, especially in the Figure 1 Simulation model schematic
event of an emergency shutdown (ESD).
Good anti-surge control system fidelity simulation can be applied suc- pressor operating at rated condition in
design is difficult, and it encompasses cessfully for scenario testing, and in an steady state.
the proper sizing, selection, and loca- attempt to determine the true require- The results of these simulation sce-
tion of all of the following elements: ments for machine protection, plant narios assisted the plant engineers in
piping that comprises the recycle loops, personnel commissioned Compressor analysing the competing solutions and
the recycle valves, volumes of vessels in Controls Corporation (CCC) to perform choosing an appropriate design for the
the recycle path, check valves, and last a dynamic simulation of the two anti- compressor anti-surge system.
but no less important the anti-surge surge control system proposals.
controller. Using readily available data, the abili- Simulation model
It is very difficult, using steady-state ty of the control systems to prevent A schematic of the dynamic simulation
analysis, to predict the effectiveness of a compressor surge under the following model used to describe the various ele-
proposed anti-surge control system for scenarios was validated through simula- ments of the compression system
various possible process-upset scenarios, tion: including both hot and cold recycle
due to the rapid onset of surge (approx- ESD of the compressor train while loops is presented in Figure 1. The entire
imately 300 milliseconds) and the inter- operating in steady-state at design con- system was broken down into the com-
action of the various components of the ditions pressor, valves, and a number of vol-
system. Because both manufacturers Full closure of a process valve on the umes for associated pipes, knockout
were basing their decisions on steady- compressor discharge side with the com- drums and the gas-cooler. The parameters
state analysis, the plant engineers lacked pressor operating at rated condition in of every element were determined from
confidence in either partys opinion. steady-state the data provided by the equipment
Validating anti-surge control system Full closure of a process valve on the manufacturers and the gas plant engi-
design is an area where advanced, high- compressor suction side with the com- neers. In the few cases where certain

1
P T Q SUMMER 2003
w w w. e p t q . c o m
ROTATING EQUIPMENT

data were not available, values were


assumed based on field experience and
1.1
common-sense engineering practice. SDV80051 SDV80002
In addition, the simulation model 1.0
was connected to real controllers in an 0.9
in-the-loop setting. This enabled 0.8 Ss
direct comparison of a generic anti-
Speed
0.7
surge controller employing standard
0.6
PID-type algorithms and a purpose-built
anti-surge controller employing 0.5 ASV6511
advanced control methods and predic- 0.4
tive algorithms. 0.3
0.2
Model assumptions
0.1
The following is a list of the major fea- FV8016
tures of the model and associated sim- 0.0
0.0 0.5 1.0 1.5 2.0 2.5 3.0 3.5 4.0
plifying assumptions:
Time, seconds
Natural gas parameters molecular
weight, pressure and temperature Figure 2 Operating parameter trends on ESD, cold recycle only
in the suction and discharge headers
are assumed to be constant and are The OEM anti-surge controller was mod- were compared. The model-generated
set up as boundary conditions for the elled as a conventional PID algorithm flows exactly matched the design-calcu-
model. with a 20 millisecond loop-execution lated flows in steady-state conditions,
Three invariant coordinates compres- rate. Anti-surge controllers provided which validated the recycle valve model
sion ratio, reduced-speed and by machinery OEMs typically employ with respect to valve size and trim.
reduced-flow are used to approxi- standard PID algorithms or a minor
mate process compressor performance variation thereof. Simulation results
map. Compressor reduced-speed and The ESD scenario is simulated without Results for each test scenario are present-
compression ratio are used to calcu- any anti-surge controller in the con- ed as a plot of time traces of pertinent
late compressor inlet flow. Compres- trol loop. On ESD, the anti-surge compressor parameters. A proximity to
sion ratio and inlet flow are used to valves are opened and go full open surge variable, SS, describes the location
calculate shaft power. It is also based on their stroke times. The delay of the compressors operating point as
assumed that compressor perfor- between the ESD signal and the open- compared to its surge limit, and is invari-
mance curves provided are valid in ing of anti-surge valves is set to 20 ant to changes in suction conditions. If
steady-state as well as transient condi- milliseconds to simulate the time SS < 1, the compressor is operating in the
tions. The compressor map is defined required for a solenoid valve to de- safe zone of the available operating
only over the speed range provided pressurise. Actuator stroke-time for envelope; if SS = 1, the operating point is
by the manufacturer (that is, 70% to full opening was assumed as 2.0sec at the surge limit of the compressor; if SS
105%). No attempt has been made to for the hot recycle valve and 2.2sec >1, the operating point is in the non-sta-
extrapolate the map for speed beyond for the cold recycle valve. The stroke ble zone to the left of the surge limit and
this range. time for the cold recycle is set 0.2sec the compressor is in a surge condition.
All pipes are modelled using a lumped- longer for the purpose of display in
parameter approach to calculate pres- an effort to distinguish its trace from Scenario 1
sures, temperatures and flows along that of the hot recycle valve. This Compressor ESD
the process. Pipes resistances are assumption does not have any signif- Scenario 1 analysed the ability of the
included into resistance of associated icant impact on the results. hot and cold recycle-loops, as proposed
valves, and pipe volumes are split Shaft deceleration rate on ESD is 4% by the compressor manufacturer, to pro-
equally between the main upstream per second. tect the compressor in the event of an
and downstream volumes connected ESD. This scenario was further broken
by the pipe. Validation down into three separate sub-scenarios
Pressures and temperatures in process Once the model was developed, a com- (Cases 1 to 3) to analyse the effective-
volumes are calculated using ordinary parison was made between the design ness of the hot and cold recycle loops
differential equations describing the data provided by the OEM and the com- individually and together.
accumulation of mass and enthalpy pression system model results under Case 1: open cold recycle valve
in the volumes. steady-state conditions with the com- As seen in Figure 2, fully opening the
The volume associated with the gas cool- pressor at the rated operating point. The cold recycle valve (ASV6511) immediate-
er in the compressor discharge section values of speed, suction pressure, dis- ly on ESD does not prevent surge. In the
is split equally between adjacent charge pressure, discharge temperature, figure, the ESD occurs at time t = 0sec;
upstream and downstream volumes. compressor power and inlet flow were the cold recycle valve begins to open
Process valves are modelled using stan- compared, with a maximum error 20millisec after ESD and opens fully in
dard ISA sizing equations, and take between design values and model-calcu- 2.2sec. The hot recycle valve remains
into account the actual valve size and lated values of 0.9%. closed at all times. Note, however, that
flow conditions. The small error between the values the operating point reaches the surge
Suction and discharge block valves are validates the model under steady-state limit less than 1sec after the ESD.
assumed to have linear trim charac- conditions, and provides good initial The reason for surge is the inability of
teristics and a stroke-time of 2sec. reconciliation for the analyses of tran- the cold recycle valve to quickly and
Suction and discharge valve closure tests sient process disturbances. effectively de-pressurise the large vol-
were performed at constant compres- In addition, gas flows through the ume in the cold recycle flow loop. This
sor speed. cold recycle valve and hot recycle valve large volume is essentially made up of

2
P T Q SUMMER 2003
ROTATING EQUIPMENT

compressor operating point reaches the


closest to its surge limit 1.1 seconds after
1.1 ESD. This is very similar to Case 2,
SDV80051 SDV80002
1.0 except that the compressor operation
0.9 does not reach the surge limit.
0.8 Speed Scenario 2
0.7 Discharge valve closure
0.6 Scenario 1 tests confirmed the compres-
0.5 sor manufacturer was correct in regard-
0.4 ing the absolute necessity of a hot
recycle loop for protection during an
0.3 FV8016 Ss ESD. Scenario 2 then analysed the abili-
0.2 2 ty of the hot and cold recycle loops to
0.1 ASV6511 protect the compressor in the event of a
0.0 full closure of the compressor discharge
0.0 0.5 1.0 1.5 2.0 2.5 3.0 3.5 4.0 valve, which was ramped from a fully-
Time, seconds open position to a fully-closed position
Figure 3 Operating parameter trends on ESD, hot recycle only over a period of 15sec. Initial tests
revealed that the cold recycle valve, by
the cooler and associated piping. The sor discharge as the flow through the itself, should be adequate to protect
time constant of this volume when compressor reduces when speed begins against slow disturbances, while both
operating at design conditions is about to drop. The check valve between the the hot and cold recycle valves may be
70sec, which is too long for effective hot and cold recycle loops is very effec- required for protection against fast dis-
and quick de-pressuring. Since the rate tive in isolating the large cooler volume turbances.
of speed reduction (and therefore com- from the hot recycle loop as compressor This scenario was initially run using a
pressor flow reduction) is greater than discharge pressure decreases. In this conventional PID controller, represent-
the rate of compressor pressure reduc- case, the time constant of the volume ing the OEM controller, as described in
tion, the compressor continues to surge between the compressor discharge and Case 1. A purpose-built anti-surge con-
as it coasts down. This is indicated by check valve upstream of the cooler is troller with several advanced-control
the proximity to surge indicator SS, about 2sec; much smaller than the 70sec features was substituted for the conven-
which remains greater than 1 for the for Case 1. tional PID controller in Case 2.
duration of coast-down. Because of the short time period Case 1: discharge valve closure (DVC)
Case 2: open hot recycle valve between the disturbance and the with OEM controller
As seen in Figure 3, fully opening the approach-to-surge event, the influence As seen in Figure 5, the discharge valve
hot recycle valve (FV8016) on ESD pre- of hot recycle valve opening on com- begins to close at time t = 33sec, and
vents surge, but the compressor opera- pressor suction temperature is ignored. reaches the fully-closed position in
tion reaches its surge limit (SS = 1). In Case 3: opening hot and cold recycle 15sec at time t = 48sec. The cold recycle
the figure, the ESD occurs at time t = valves valve comes into operation 17sec after
0sec; the hot recycle valve begins to As seen in Figure 4, fully opening both the discharge valve begins to close. The
open 20millisec after ESD and opens the hot and cold recycle valves simulta- time trace of SS, the proximity-to-surge
fully in 2sec. The cold recycle valve neously on ESD is very effective at pre- variable, indicates the oscillations expe-
remains closed at all times. Within venting surge. The compressor rienced by the compressor. Note that
1.2sec after ESD, the compressor operat- operation never reaches the surge limit, there is virtually no safety margin, that
ing point reaches its surge limit, but the as compared to Case 2 (maximum SS = is, SS nearly reaches a value of 1 (surge).
compressor is protected, albeit with very 0.75 as compared to SS = 1). In the fig- The compressor operating point is final-
little margin for error. ure, the ESD occurs at time t = 0sec; the ly stabilised with the cold recycle valve
Comparing this to Case 1, the hot hot and cold recycle valves both begin at the 38% open position.
recycle loop is obviously much more to open 20millisec after ESD and open Both hot and cold recycle controllers
effective in de-pressuring the compres- fully in 2.0 and 2.2sec respectively. The were configured with a surge-control
margin of 5.5% of suction flow.
Although the conventional controller
1.1 was able to prevent surge, it had to be
SDV80051 SDV80002 tuned very aggressively (Kp = 8, Kr = 4).
1.0
0.9
This lends itself to potential instability
in case of faster disturbances or when
0.8 Speed the compressor speed is changed to con-
0.7 trol a process parameter at the same
0.6 time that the recycle valve is modulated.
FV8016 Both of these occurrences are very com-
0.5
2 mon, especially during start-up and par-
0.4
0.3 ASV6511 tial-load operation.
Ss If the likelihood of oscillations is to
0.2
be reduced, the controller will either
0.1 have to be de-tuned, which will result in
0.0 compressor surge, or the surge control
0.0 0.5 1.0 1.5 2.0 2.5 3.0 3.5 4.0 margin will have to be increased, which
Time, seconds reduces the efficient operating envelope
Figure 4 Operating parameter trends on ESD, hot and cold recycle of the compressor and will result in

3
P T Q SUMMER 2003
ROTATING EQUIPMENT

tioned algorithms can be seen by look-


1.1 ing at the detailed movements of the
SDV80002 recycle valves. The anticipatory control
1.0
algorithms begin to open the cold recy-
0.9 Speed cle valve at approximately t = 35sec,
0.8 SDV80051 based on the rate-of-change of the com-
pressors operating point measured as a
0.7 function of SS. Note that the opening
0.6 Ss begins when SS = 0.8, even though the
compressor operation is to the right of
0.5 the surge control line (SS = 0.9 on the
surge control line and SS = 1.0 on the
0.4
surge limit line).
0.3 ASV6511 With larger and/or faster distur-
bances, it may be necessary to manipu-
0.2
late both the hot and cold recycle valves
0.1 simultaneously. In such cases, the hot
FV8016, 2 recycle valve will open for a very short
0.0
time, arresting the movement of the
0.0 0.5 1.0 1.5 2.0 2.5 3.0 3.5 4.0
operating point towards the surge limit.
Time, seconds
Thus, the control strategy employed is
Figure 5 Operating parameter trends for discharge valve closure, PID controller to use the cold recycle loop exclusively
to protect against small disturbances
excessive wasteful recycling during start- imum value of 0.94, and the compressor and the hot recycle loop to protect
up and partial-load operation. does not experience any surge cycles. against large disturbances. Once the dis-
Another detrimental aspect of con- This test clearly shows the effective- turbance is sufficiently arrested, the hot
ventional PID algorithms is that con- ness of the advanced, surge-prevention recycle valve will close to prevent over-
stant tuning parameters are employed algorithms of the purpose-built con- heating the gas at the compressor suc-
for disturbances in both directions. troller when compared to a convention- tion, while the recycle flow required for
Thus, there is always a possibility that al PID controller. safe operation is slowly transferred to
the algorithm will be unable to provide In order to understand why the pur- the cold recycle loop.
appropriate control response for a new, pose-built anti-surge controller is more The two controllers (the hot-recycle
untested large disturbance. This prob- effective than the OEM controller, it is anti-surge controller and the cold-recy-
lem reveals itself later during the suction necessary to look at the action of the cle anti-surge controller) collaborate to
valve closure tests. control algorithms employed. The OEM provide effective and efficient anti-surge
Case 2: DVC with purpose-built anti- (PID) controller acts on the error protection.
surge between the compressors operating
As seen in Figure 6, the compressor dis- point and the surge control line, and no Scenario 3
charge valve (SDV80051) begins to close action is taken until the operating point Suction valve closure
at time t = 19sec. The valve reaches the moves to the left of the control line. The Scenario 3 analysed the effectiveness of
fully-closed position in 15sec at time t = purpose-built controller uses a combina- the cold recycle loop in protecting the
34sec. The cold recycle valve comes into tion of closed-loop, open-loop, and compressor in the event of a full closure
operation at time t = 34sec, approxi- anticipatory control responses, each of the compressor suction valve, which
mately 15sec after the discharge valve with different tuning and control was ramped from a fully-open position
begins to close, 2sec faster than in Case points. These algorithms allow the con- to a fully-closed position over a period
1. The cold-recycle anti-surge controller troller to begin moving the recycle valve of 25sec. This is analogous to a loss-of-
effectively turns the operating point even before the operating point crosses load condition.
back toward the stable zone before it the surge control line. Scenario 3 was run using both a con-
reaches the surge limit. SS reaches a max- The response of the previously men- ventional PID controller model
(described in Case 1) and a purpose-built
anti-surge controller (described in Case
1.1 2). The tuning constants for the two
SDV80002 controllers are identical to those used
1.0
for Scenario 2.
0.9 Speed Case 1: Suction valve closure (SVC)
0.8 (SDV80002) with OEM controller
Ss
0.7 As seen in Figure 7, the suction valve
0.6 (SDV80002) begins to close at time t =
SDV80051 29sec. The valve reaches the fully-closed
0.5
position in 25sec at time t = 54sec. The
0.4 cold recycle valve comes into operation
0.3 ASV6511 at time t = 51sec, approximately 22sec
0.2 after the suction valve begins to close.
0.1 The time trace of SS, the proximity-
FV8016, 2 to-surge variable, indicates the com-
0.0
10 20 30 40 50 60 70 80 90 100 pressors approach to its surge limit.
Time, seconds The compressor enters the unstable
surge region at time t = 53sec (SS >1)
Figure 6 Operating parameter trends for discharge valve closure, purpose-built controller and oscillates back and forth while the

4
P T Q SUMMER 2003
ROTATING EQUIPMENT

out simulation. Simulation was also


1.1 indispensable in identifying a problem
1.0 SDV80051 the end-user was unaware of that is,
0.9 the inability of the OEM controller to
0.8 Speed adequately protect the compressor from
surge in the case of all potential distur-
0.7
bances. Simulation also helped in iden-
0.6 tifying the many benefits of a
0.5
Ss
ASV6511 purpose-built anti-surge controller:
0.4 The anticipatory algorithms of the
0.3 SDV80002 purpose-built controller were able to
0.2 protect the compressor in the case of
FV8016 suction valve and discharge valve clo-
0.1
2 sures. In fact, purpose-built controllers
0.0 can tailor their control response to the
25 30 35 40 45 50 55 60 65
size and speed of the disturbance and
Time, seconds
can effectively protect against any dis-
Figure 7 Operating parameter trends for suction valve closure, OEM controller turbance. The OEM approach of open-
ing the recycle valves only when the
PID controller modulates the cold recy- fully closed position in 25sec at time t = operating point reaches the surge con-
cle valve in an effort to move the com- 48sec. The cold recycle valve comes into trol line was neither sufficient nor effec-
pressor back into the stable operating operation at time t = 43sec, approxi- tive in preventing surge over a wide
zone. mately 20sec after the suction valve range of disturbances.
The tuning constants were the same begins to close; the hot recycle valve In the case of disturbances larger than
as those used in Scenario 2, Case 1. does not open at all. The maximum those tested, coordination between hot
While these settings provided an ade- value of SS is 0.93, indicating that the and cold recycle loops, as provided by
quate response for Scenario 2, they compressor operating point remained the purposed-built anti-surge con-
result in very aggressive valve move- well within the stable operating zone. trollers, will be more effective both in
ment for this scenario and cause unsta- The advanced algorithms of the pur- surge prevention and in minimising
ble and unsafe operation. In fact, the pose-built controller are able to prevent heating of the compressor suction due
compressor operation is initially compressor surge effectively, without to hot recycle.
pushed into the surge region because any control-loop oscillations. In fact, The use of simulation is obviously not
of the valve oscillation seen at time t = the cold recycle valve begins to open always required or appropriate, but in
50 to 53sec. The only alternative avail- through a combination of anticipatory cases where design questions exist, or
able to the operator is to manually and open-loop algorithms before the the effectiveness of different controllers
position the cold recycle valve such operating point even reaches the surge is being evaluated, high-fidelity simula-
that surging stops. control line. tion can be an effective and useful tool.
If the algorithm is de-tuned to suit
this scenario, then it becomes ineffec- Conclusion Acknowledgements
tive for Scenario 2. This is the dilemma In the situation described in this article, The authors wish to thank Gregory Lyulko
presented by a constant-gain PID algo- where the end user was faced with try- and Al Sheldon, of Compressor Controls
rithm. While it can be effectively tuned ing to reconcile the differing recom- Corporation, for their assistance in the
for one scenario, it may prove to be mendations of the two manufacturers, preparation of this article.
totally ineffective for all others. high-fidelity simulation was useful in
Case 2: SVC (SDV80002) with purpose- evaluating the effectiveness of each
built anti-surge competing solution. Clearly, the com- Nikhil M Dukle is manager of simulation
As seen in Figure 8, the compressor suc- pressor manufacturers recommendation and sales support with Compressor
tion valve (SDV80002) begins to close at to include a hot recycle loop was appro- Controls Corporation, Des Moines, Iowa,
time t = 23sec. The valve reaches the priate, a result that is not evident with- USA. He designs, tests, and commissions
integrated control systems and
turbomachinery simulation systems for
internal and external use, and provides
1.1 sales support. He has a BS in mechanical
SDV80051 engineering from the University of Poona,
1.0
India, and an MS in mechanical
0.9 Speed engineering from the University of
0.8 Ss Houston, Texas.
0.7 E-mail: ndukle@cccglobal.com
0.6 Krishnan Narayanan is director of
0.5 application technology development at
ASV6511 Compressor Controls Corporation. He
0.4
0.3 develops and implements new algorithms
0.2 for turbo-machinery control systems. He
FV8016 SDV80002 has a BS in technology in mechanical
0.1
2 engineering from the Indian Institute of
0.0
20 30 40 50 60 70 80 90 100 110 Technology, Madras, an MS in mechanical
Time, seconds engineering from the University of
Minnesota, Minneapolis, and an MBA
Figure 8 Operating parameter trends for suction valve closure, purpose-built controller from Iowa State University in Ames, Iowa.

5
P T Q SUMMER 2003

You might also like