Hydrocarbon Processing - May 2021 - 75

Process Controls,
Instrumentation
and Automation
G. GOUS and P. DE VAAL, The University
of Pretoria, Pretoria, South Africa; and
G. VAN COLLER, Sasol, Secunda, South Africa

Implementation of averaging level control
using native DCS functions
When applying averaging level control in a process plant,
engineers can typically choose between proportional integral
derivative (PID)-based control, such as p-only, gap and non-linear, or a model-based control like optimal averaging level control. PID controllers allow the level to go outside of limits when
disturbances are larger than the assumed maximum disturbance
used during tuning. Model-based controllers will be more successful in keeping the level between limits, as no assumed maximum disturbance is used during tuning. However, model-based
control requires additional hardware and software and typically
runs at a slower execution interval of approximately 1 min.
Two simplifications of model-based averaging level controllers are proposed here. They ensure that levels stay within
limits in the same way as model-based controllers. They can
run at fast execution intervals, as they can be directly implemented on a standard distributed control system (DCS).
The first method is a simplification of the control of imbalanced ramps in standard advanced process control (APC)
software, called the ramp horizon controller. Here, the process
model is also simplified to use a gain only. The controller uses
a pre-defined time, called the ramp horizon, during which the
limits may not be exceeded. If no limits are exceeded within
the ramp horizon, then no controller moves are implemented.
If a limit violation is predicted, a move is implemented that is
large enough to prevent the calculated violation only.
The second method is a simplification of the optimal averaging level controller, called the simplified optimal averaging
level controller (SOALC). By simplifying the process model to
a gain only, the calculations required by the controller are decreased enough to enable implementation on a standard DCS.
The SOALC then calculates the minimum controller moves
that must be made continuously to reduce the rate-of-change
of the level to zero at the time it reaches the approached limit.
Averaging level control. Many plants have feed drums with
tightly tuned level controllers that essentially reduce a drum
to nothing more than a pipe, wasting the initial capital outlay
of installing the drum. Averaging level control will allow the
level to move away from setpoint to allow the controller to re-

duce movement of the output, which should stabilize downstream processes.
Averaging level control is typically done by using properly tuned PID-based controllers1,2 or by using model-based
controllers3,4,5,6 designed to minimize controller output (OP)
movement. The PID controllers include p-only,7 proportional-integral (PI), gap and non-linear techniques,2 typically
implemented as standard algorithms on modern DCSs8 and
programmable logic controllers (PLCs) and running at execution cycles of 1 sec or faster.
A shortcoming of PID-based controllers is that they are typically tuned to accommodate an assumed maximum size disturbance.2,9,10 If a larger disturbance is encountered, the desired
upper or lower limits for the level will be exceeded. This often
leads control engineers to make conservative estimates for the
maximum size disturbance that may be encountered. If smaller
disturbances than these occur, these controllers will not make
full use of the buffer capacity.
Model-based control is performed using APC software that
will normally operate on dedicated control servers that communicate via a network connection to the DCS or PLC. These
controllers typically run at 1-min execution cycles.
Model-based controllers will make full use of the buffer capacity by letting the level move between the high and low limits. Disadvantages of model-based control include:
*	 Additional hardware and software are required.
*	 A network connection is used to link the controller
to the DCS or PLC.
*	 Once the controllers have allowed the level to
move up to a limit, consecutive disturbances in the
same direction will cause the level to exceed the limit,
albeit not by a large amount.
Two new control methods are proposed that are simplifications of model-based averaging level control techniques. Benefits include:
*	 They run on a modern DCS using its standard control
functionality.
*	 They run at ≤ 1-sec execution cycles.
*	 They take full advantage of the available buffer capacity.
Hydrocarbon Processing | MAY 2021 75



Hydrocarbon Processing - May 2021

Table of Contents for the Digital Edition of Hydrocarbon Processing - May 2021

Contents
Hydrocarbon Processing - May 2021 - Intro
Hydrocarbon Processing - May 2021 - Cover1
Hydrocarbon Processing - May 2021 - Cover2
Hydrocarbon Processing - May 2021 - Contents
Hydrocarbon Processing - May 2021 - 4
Hydrocarbon Processing - May 2021 - 5
Hydrocarbon Processing - May 2021 - 6
Hydrocarbon Processing - May 2021 - 7
Hydrocarbon Processing - May 2021 - 8
Hydrocarbon Processing - May 2021 - 9
Hydrocarbon Processing - May 2021 - 10
Hydrocarbon Processing - May 2021 - 11
Hydrocarbon Processing - May 2021 - 12
Hydrocarbon Processing - May 2021 - 13
Hydrocarbon Processing - May 2021 - 14
Hydrocarbon Processing - May 2021 - 15
Hydrocarbon Processing - May 2021 - 16
Hydrocarbon Processing - May 2021 - 17
Hydrocarbon Processing - May 2021 - 18
Hydrocarbon Processing - May 2021 - 19
Hydrocarbon Processing - May 2021 - 20
Hydrocarbon Processing - May 2021 - 21
Hydrocarbon Processing - May 2021 - 22
Hydrocarbon Processing - May 2021 - 23
Hydrocarbon Processing - May 2021 - 24
Hydrocarbon Processing - May 2021 - 25
Hydrocarbon Processing - May 2021 - 26
Hydrocarbon Processing - May 2021 - 27
Hydrocarbon Processing - May 2021 - 28
Hydrocarbon Processing - May 2021 - 29
Hydrocarbon Processing - May 2021 - 30
Hydrocarbon Processing - May 2021 - 31
Hydrocarbon Processing - May 2021 - 32
Hydrocarbon Processing - May 2021 - 33
Hydrocarbon Processing - May 2021 - 34
Hydrocarbon Processing - May 2021 - 35
Hydrocarbon Processing - May 2021 - 36
Hydrocarbon Processing - May 2021 - 37
Hydrocarbon Processing - May 2021 - 38
Hydrocarbon Processing - May 2021 - 39
Hydrocarbon Processing - May 2021 - 40
Hydrocarbon Processing - May 2021 - 41
Hydrocarbon Processing - May 2021 - 42
Hydrocarbon Processing - May 2021 - 43
Hydrocarbon Processing - May 2021 - 44
Hydrocarbon Processing - May 2021 - 45
Hydrocarbon Processing - May 2021 - 46
Hydrocarbon Processing - May 2021 - 47
Hydrocarbon Processing - May 2021 - 48
Hydrocarbon Processing - May 2021 - 49
Hydrocarbon Processing - May 2021 - 50
Hydrocarbon Processing - May 2021 - 51
Hydrocarbon Processing - May 2021 - 52
Hydrocarbon Processing - May 2021 - 53
Hydrocarbon Processing - May 2021 - 54
Hydrocarbon Processing - May 2021 - 55
Hydrocarbon Processing - May 2021 - 56
Hydrocarbon Processing - May 2021 - 57
Hydrocarbon Processing - May 2021 - 58
Hydrocarbon Processing - May 2021 - 59
Hydrocarbon Processing - May 2021 - 60
Hydrocarbon Processing - May 2021 - 61
Hydrocarbon Processing - May 2021 - 62
Hydrocarbon Processing - May 2021 - 63
Hydrocarbon Processing - May 2021 - 64
Hydrocarbon Processing - May 2021 - 65
Hydrocarbon Processing - May 2021 - 66
Hydrocarbon Processing - May 2021 - 67
Hydrocarbon Processing - May 2021 - 68
Hydrocarbon Processing - May 2021 - 69
Hydrocarbon Processing - May 2021 - 70
Hydrocarbon Processing - May 2021 - 71
Hydrocarbon Processing - May 2021 - 72
Hydrocarbon Processing - May 2021 - 73
Hydrocarbon Processing - May 2021 - 74
Hydrocarbon Processing - May 2021 - 75
Hydrocarbon Processing - May 2021 - 76
Hydrocarbon Processing - May 2021 - 77
Hydrocarbon Processing - May 2021 - 78
Hydrocarbon Processing - May 2021 - 79
Hydrocarbon Processing - May 2021 - 80
Hydrocarbon Processing - May 2021 - 81
Hydrocarbon Processing - May 2021 - 82
Hydrocarbon Processing - May 2021 - 83
Hydrocarbon Processing - May 2021 - 84
Hydrocarbon Processing - May 2021 - 85
Hydrocarbon Processing - May 2021 - 86
Hydrocarbon Processing - May 2021 - 87
Hydrocarbon Processing - May 2021 - 88
Hydrocarbon Processing - May 2021 - 89
Hydrocarbon Processing - May 2021 - 90
Hydrocarbon Processing - May 2021 - Cover3
Hydrocarbon Processing - May 2021 - Cover4
https://www.nxtbook.com/gulfenergyinfo/gulfpub/HPI-Market-Data-2023-v3
https://www.nxtbook.com/gulfenergyinfo/gulfpub/hpi-market-data-2024-v2
https://www.nxtbook.com/gulfenergyinfo/gulfpub/hpi-market-data-2024
https://www.nxtbook.com/gulfenergyinfo/gulfpub/gas-processes-handbook-2022_v2
https://www.nxtbook.com/gulfenergyinfo/gulfpub/gas-processes-handbook-2022
https://www.nxtbook.com/gulfenergyinfo/gulfpub/hp_202212
https://www.nxtbook.com/gulfenergyinfo/gulfpub/hpi-market-data-2023-v2
https://www.nxtbook.com/gulfenergyinfo/gulfpub/hpi-market-data-2023
https://www.nxtbook.com/gulfenergyinfo/gulfpub/hp_202211
https://www.nxtbook.com/nxtbooks/gulfpub/hp_202210
https://www.nxtbook.com/nxtbooks/gulfpub/hp_202209
https://www.nxtbook.com/nxtbooks/gulfpub/hp_202208
https://www.nxtbook.com/nxtbooks/gulfpub/hp_202207_v2
https://www.nxtbook.com/nxtbooks/gulfpub/hp_202207
https://www.nxtbook.com/nxtbooks/gulfpub/hp_202206_v2
https://www.nxtbook.com/nxtbooks/gulfpub/hp_202206
https://www.nxtbook.com/nxtbooks/gulfpub/hp_202205_v2
https://www.nxtbook.com/nxtbooks/gulfpub/hp_202205
https://www.nxtbook.com/nxtbooks/gulfpub/hp_202204_v2
https://www.nxtbook.com/nxtbooks/gulfpub/hp_202204
https://www.nxtbook.com/nxtbooks/gulfpub/hp_032022
https://www.nxtbook.com/nxtbooks/gulfpub/hp_202203
https://www.nxtbook.com/nxtbooks/gulfpub/hp_202202
https://www.nxtbook.com/nxtbooks/gulfpub/hp_202201
https://www.nxtbook.com/nxtbooks/gulfpub/hp_202112
https://www.nxtbook.com/nxtbooks/gulfpub/hp_202111
https://www.nxtbook.com/nxtbooks/gulfpub/hp_202110
https://www.nxtbook.com/nxtbooks/gulfpub/hpimarket_2022_v2
https://www.nxtbook.com/nxtbooks/gulfpub/hpimarket_2022
https://www.nxtbook.com/nxtbooks/gulfpub/hp_202109
https://www.nxtbook.com/nxtbooks/gulfpub/hp_202108
https://www.nxtbook.com/nxtbooks/gulfpub/petrochemical_processes_handbook_2021_v2
https://www.nxtbook.com/nxtbooks/gulfpub/petrochemical_processes_handbook_2021
https://www.nxtbook.com/nxtbooks/gulfpub/hp_202107
https://www.nxtbook.com/nxtbooks/gulfpub/hp_202106
https://www.nxtbook.com/nxtbooks/gulfpub/hp_202105
https://www.nxtbook.com/nxtbooks/gulfpub/hp_202104
https://www.nxtbook.com/nxtbooks/gulfpub/hp_ebooks
https://www.nxtbook.com/nxtbooks/gulfpub/hp_202103
https://www.nxtbook.com/nxtbooks/gulfpub/hp_202102
https://www.nxtbook.com/nxtbooks/gulfpub/hp_202101
https://www.nxtbook.com/nxtbooks/gulfpub/catalyst_handbook_2020_v2
https://www.nxtbook.com/nxtbooks/gulfpub/catalyst_handbook_2020
https://www.nxtbook.com/nxtbooks/gulfpub/hp_202012
https://www.nxtbook.com/nxtbooks/gulfpub/hp_202011
https://www.nxtbook.com/nxtbooks/gulfpub/hp_202010
https://www.nxtbook.com/nxtbooks/gulfpub/hpimarket_2021
https://www.nxtbook.com/nxtbooks/gulfpub/hp_202009
https://www.nxtbook.com/nxtbooks/gulfpub/hp_202008
https://www.nxtbook.com/nxtbooks/gulfpub/refining_processes_handbook_2020
https://www.nxtbook.com/nxtbooks/gulfpub/refining_processes_handbook_2020_v2
https://www.nxtbook.com/nxtbooks/gulfpub/hp_202007
https://www.nxtbook.com/nxtbooks/gulfpub/hp_202006
https://www.nxtbook.com/nxtbooks/gulfpub/hp_202005
https://www.nxtbook.com/nxtbooks/gulfpub/hp_202004
https://www.nxtbook.com/nxtbooks/gulfpub/hp_202003
https://www.nxtbook.com/nxtbooks/gulfpub/hp_202002
https://www.nxtbook.com/nxtbooks/gulfpub/hp_202001
https://www.nxtbook.com/nxtbooks/gulfpub/hp_201912
https://www.nxtbook.com/nxtbooks/gulfpub/hp_201911
https://www.nxtbook.com/nxtbooks/gulfpub/hpimarket_2020_v2
https://www.nxtbook.com/nxtbooks/gulfpub/hpimarket_2020
https://www.nxtbook.com/nxtbooks/gulfpub/hp_201910
https://www.nxtbook.com/nxtbooks/gulfpub/hp_201909
https://www.nxtbook.com/nxtbooks/gulfpub/hp_201908
https://www.nxtbook.com/nxtbooks/gulfpub/hp_201907
https://www.nxtbook.com/nxtbooks/gulfpub/hp_201906
https://www.nxtbook.com/nxtbooks/gulfpub/hp_201905
https://www.nxtbook.com/nxtbooks/gulfpub/hp_201904
https://www.nxtbook.com/nxtbooks/gulfpub/hp_201903
https://www.nxtbook.com/nxtbooks/gulfpub/hp_201902
https://www.nxtbook.com/nxtbooks/gulfpub/hp_201901
https://www.nxtbook.com/nxtbooks/gulfpub/petrochemical_2018_v2
https://www.nxtbook.com/nxtbooks/gulfpub/petrochemical_2018
https://www.nxtbook.com/nxtbooks/gulfpub/hp_201812
https://www.nxtbook.com/nxtbooks/gulfpub/hpimarket_2019_v2
https://www.nxtbook.com/nxtbooks/gulfpub/hpimarket_2019
https://www.nxtbook.com/nxtbooks/gulfpub/hp_201811
https://www.nxtbook.com/nxtbooks/gulfpub/hp_201810
https://www.nxtbook.com/nxtbooks/gulfpub/hp_201809
https://www.nxtbook.com/nxtbooks/gulfpub/hp_201808
https://www.nxtbook.com/nxtbooks/gulfpub/hp_201807
https://www.nxtbook.com/nxtbooks/gulfpub/hp_201806
https://www.nxtbook.com/nxtbooks/gulfpub/hp_201805
https://www.nxtbook.com/nxtbooks/gulfpub/hp_201804
https://www.nxtbook.com/nxtbooks/gulfpub/hp_201803
https://www.nxtbook.com/nxtbooks/gulfpub/hp_201802
https://www.nxtbook.com/nxtbooks/gulfpub/hp_201801
https://www.nxtbook.com/nxtbooks/gulfpub/hp_201712
https://www.nxtbook.com/nxtbooks/gulfpub/hp_201711
https://www.nxtbook.com/nxtbooks/gulfpub/hp_201710
https://www.nxtbook.com/nxtbooks/gulfpub/hp_201709
https://www.nxtbook.com/nxtbooks/gulfpub/hp_201708
https://www.nxtbook.com/nxtbooks/gulfpub/hp_201707
https://www.nxtbook.com/nxtbooks/gulfpub/hp_201706
https://www.nxtbook.com/nxtbooks/gulfpub/hp_201705
https://www.nxtbook.com/nxtbooks/gulfpub/hp_201704
https://www.nxtbook.com/nxtbooks/gulfpub/hp_201703
https://www.nxtbook.com/nxtbooks/gulfpub/hp_201702
https://www.nxtbook.com/nxtbooks/gulfpub/hp_201701
https://www.nxtbook.com/nxtbooks/gulfpub/hp_2017mediaplanner
https://www.nxtbook.com/nxtbooks/gulfpub/hp_201612
https://www.nxtbook.com/nxtbooks/gulfpub/hp_201611
https://www.nxtbook.com/nxtbooks/gulfpub/hp_201610
https://www.nxtbook.com/nxtbooks/gulfpub/hp_201609
https://www.nxtbook.com/nxtbooks/gulfpub/hp_201608
https://www.nxtbook.com/nxtbooks/gulfpub/hp_201607
https://www.nxtbook.com/nxtbooks/gulfpub/hp_201606
https://www.nxtbook.com/nxtbooks/gulfpub/hp_201605
https://www.nxtbook.com/nxtbooks/gulfpub/hp_201604
https://www.nxtbook.com/nxtbooks/gulfpub/hp_201603
https://www.nxtbook.com/nxtbooks/gulfpub/hp_201602
https://www.nxtbook.com/nxtbooks/gulfpub/hp_201601
https://www.nxtbook.com/nxtbooks/gulfpub/hp_201512
https://www.nxtbook.com/nxtbooks/gulfpub/hp_201511
https://www.nxtbook.com/nxtbooks/gulfpub/hp_201510
https://www.nxtbook.com/nxtbooks/gulfpub/hp_2016mediaplanner
https://www.nxtbook.com/nxtbooks/gulfpub/hp_201509
https://www.nxtbook.com/nxtbooks/gulfpub/hp_201508
https://www.nxtbook.com/nxtbooks/gulfpub/hp_201507
https://www.nxtbook.com/nxtbooks/gulfpub/hp_2015tmsd
https://www.nxtbook.com/nxtbooks/gulfpub/hp_201506
https://www.nxtbook.com/nxtbooks/gulfpub/hp_201505
https://www.nxtbook.com/nxtbooks/gulfpub/hp_201504
https://www.nxtbook.com/nxtbooks/gulfpub/hp_201503
https://www.nxtbook.com/nxtbooks/gulfpub/hp_201502
https://www.nxtbook.com/nxtbooks/gulfpub/hp_201501
https://www.nxtbook.com/nxtbooks/gulfpub/hp_201412
https://www.nxtbook.com/nxtbooks/gulfpub/hp_201411
https://www.nxtbook.com/nxtbooks/gulfpub/hp_2015mediaplanner
https://www.nxtbook.com/nxtbooks/gulfpub/hp_201410
https://www.nxtbook.com/nxtbooks/gulfpub/hp_201409
https://www.nxtbook.com/nxtbooks/gulfpub/hp_201408
https://www.nxtbook.com/nxtbooks/gulfpub/hp_201407
https://www.nxtbook.com/nxtbooks/gulfpub/hp_2014petrochemicalprocesses_v2
https://www.nxtbook.com/nxtbooks/gulfpub/hp_2014petrochemicalprocesses
https://www.nxtbook.com/nxtbooks/gulfpub/hp_201406
https://www.nxtbook.com/nxtbooks/gulfpub/hp_201405
https://www.nxtbook.com/nxtbooks/gulfpub/hp_201404
https://www.nxtbook.com/nxtbooks/gulfpub/hp_201403
https://www.nxtbook.com/nxtbooks/gulfpub/hp_2014calendar
https://www.nxtbook.com/nxtbooks/gulfpub/hp_201402
https://www.nxtbook.com/nxtbooks/gulfpub/hp_201401
https://www.nxtbook.com/nxtbooks/gulfpub/hp_201312
https://www.nxtbook.com/nxtbooks/gulfpub/hp_2014mediaplanner
https://www.nxtbook.com/nxtbooks/gulfpub/hp_201311
https://www.nxtbook.com/nxtbooks/gulfpub/hp_201310
https://www.nxtbook.com/nxtbooks/gulfpub/hp_201309
https://www.nxtbook.com/nxtbooks/gulfpub/hp_201308
https://www.nxtbook.com/nxtbooks/gulfpub/hp_srsguide2013
https://www.nxtbook.com/nxtbooks/gulfpub/hp_201307
https://www.nxtbook.com/nxtbooks/gulfpub/hp_201306
https://www.nxtbook.com/nxtbooks/gulfpub/hp_201305
https://www.nxtbook.com/nxtbooks/gulfpub/hp_201304
https://www.nxtbook.com/nxtbooks/gulfpub/hp_201303
https://www.nxtbook.com/nxtbooks/gulfpub/hp_201302
https://www.nxtbook.com/nxtbooks/gulfpub/hp_201301
https://www.nxtbook.com/nxtbooks/gulfpub/hp_201212
https://www.nxtbook.com/nxtbooks/gulfpub/hp_201211
https://www.nxtbook.com/nxtbooks/gulfpub/hp_201210
https://www.nxtbook.com/nxtbooks/gulfpub/hp_201209
https://www.nxtbook.com/nxtbooks/gulfpub/hp_201208
https://www.nxtbook.com/nxtbooks/gulfpub/hp_201207
https://www.nxtbook.com/nxtbooks/gulfpub/hp_srsguide2012
https://www.nxtbook.com/nxtbooks/gulfpub/hp_201206
https://www.nxtbook.com/nxtbooks/gulfpub/hp_201205
https://www.nxtbook.com/nxtbooks/gulfpub/hp_201204
https://www.nxtbook.com/nxtbooks/gulfpub/hp_201203
https://www.nxtbook.com/nxtbooks/gulfpub/hp_201202
https://www.nxtbook.com/nxtbooks/gulfpub/hp_201201
https://www.nxtbook.com/nxtbooks/gulfpub/hp_201112
https://www.nxtbook.com/nxtbooks/gulfpub/hp_201111
https://www.nxtbook.com/nxtbooks/gulfpub/hp_201110
https://www.nxtbook.com/nxtbooks/gulfpub/hp_201109
https://www.nxtbook.com/nxtbooks/gulfpub/hp_201108
https://www.nxtbook.com/nxtbooks/gulfpub/hp_201107_srsguide
https://www.nxtbook.com/nxtbooks/gulfpub/hp_201107
https://www.nxtbook.com/nxtbooks/gulfpub/hp_201106
https://www.nxtbook.com/nxtbooks/gulfpub/hp_201105
https://www.nxtbook.com/nxtbooks/gulfpub/hp_201104
https://www.nxtbook.com/nxtbooks/gulfpub/hp_201103
https://www.nxtbook.com/nxtbooks/gulfpub/hp_201102
https://www.nxtbook.com/nxtbooks/gulfpub/hp_201101
https://www.nxtbook.com/nxtbooks/gulfpub/hp_201012
https://www.nxtbook.com/nxtbooks/gulfpub/hp_201011
https://www.nxtbook.com/nxtbooks/gulfpub/hp_201010
https://www.nxtbook.com/nxtbooks/gulfpub/hp_201009
https://www.nxtbook.com/nxtbooks/gulfpub/hp_201008
https://www.nxtbook.com/nxtbooks/gulfpub/hp_201007
https://www.nxtbook.com/nxtbooks/gulfpub/hp_201006
https://www.nxtbook.com/nxtbooks/gulfpub/hp_201005
https://www.nxtbook.com/nxtbooks/gulfpub/hp_201004
https://www.nxtbook.com/nxtbooks/gulfpub/hp_201003
https://www.nxtbook.com/nxtbooks/gulfpub/hp_201002
https://www.nxtbook.com/nxtbooks/gulfpub/hp_201001
https://www.nxtbook.com/nxtbooks/gulfpub/hp_200912
https://www.nxtbook.com/nxtbooks/gulfpub/hp_200911
https://www.nxtbook.com/nxtbooks/gulfpub/hp_200910
https://www.nxtbook.com/nxtbooks/gulfpub/hp_200909
https://www.nxtbook.com/nxtbooks/gulfpub/hp_200908
https://www.nxtbook.com/nxtbooks/gulfpub/hp_200907
https://www.nxtbook.com/nxtbooks/gulfpub/hp_200906
https://www.nxtbook.com/nxtbooks/gulfpub/hp_200905
https://www.nxtbook.com/nxtbooks/gulfpub/hp_200904
https://www.nxtbook.com/nxtbooks/gulfpub/hp_200903
https://www.nxtbook.com/nxtbooks/gulfpub/hp_200902
https://www.nxtbook.com/nxtbooks/gulfpub/hp_200901
https://www.nxtbookmedia.com