You are on page 1of 5

PROCESS CONTROL:

Computer Control
Stabilizes Ammonia Operations

Computer control of this and similar plants has saved enough money
to pay for the changeover in only six months or less.

S. Weems, Cominco American, Inc., Borger, Texas


D. H. Ball, and D. E. Griffin, Applied Automation, Inc., Bartlesville, Okla.
In December, 1976, the 907 metric ton/day Kellogg ammo- expected. This increased efficiency was, in fact, obtained.
nia plant operated by Cominco American, Inc., in Borger, The analyzers required for control were installed two
Texas, was switched over to a computer control system. months before the arrival of the computer system in order
Prior to that time, the plant, which started up in October, to gain operating experience. The chromatographs quickly
1968, had been operated by conventional control. This revealed that the hydrogen-to-nitrogen ratio varied from
article discusses the implementation of that system. 2.8 to 3.1, with the optimum being somewhere between 2.8
Ammonia production at Cominco American is limited in to 3.0. In addition, the ratio was constantly varying, some-
that only a certain rate of natural gas usage is permited in a thing that was not previously suspected. This variation
24-hr period. The objective is to produce as much ammonia emphasized the need for computer control.
as possible from the gas allotment. Increasing the efficiency
of the plant by 1% would give more than 10 ton/day of Performance criteria
additional ammonia without increasing gas costs. Ammonia
prices fluctuate, but at $120/ton ($109/metric ton) each 1% To achieve the improvements in efficiency and stability
increase in efficiency returns $l,200/day or $420,000/yr. that were desired from control, the system has to meet
.Experience at Cominco American and similar plants has several performance criteria. These include:
shown the savings resulting from computer control of an 1. The system has to operate reliably with little or no
ammonia plant will pay for the computer in six months or maintenance.
less. 2. The control system has to control automatically over a
Many disturbances affect a modern ammonia plant. Feed wide range of plant throughputs without retuning or revert-
gas rate may be changed several times a day to fully utilize ing to conventional control.
but not exceed an allowable daily quota of gas. Changes in 3. The system has to have a simple, easy-to-understand
primary reformer operation affect the methane leakage into operator interface to win operator acceptance.
the synthesis loop. These changes in methane leakage will 4. The system has to include checks and alarms to assure
require changes in purge rate to hold loop pressure or inerts that only valid information is used for control.
level at the desired value. However, the change in purge rate
introduces another disturbance in the primary reformer 5. Analyzers used in the system have to operate reliably
where the purge is burned as fuel. The extensive heat and reproducibly with little or no maintenance.
exchange incorporated in modern ammonia plants has the 6. It must be possible to perform normal preventive
potential of feeding disturbances throughout the entire maintenance on the analyzers without going off control.
plant. Efficiency of the turbines driving the air, make-up Research, simulation, and plant tests have shown that
gas and recycle gas compressors shift due to weather and increased efficiency can be obtained by closely controlling
day-to-night changes. the steam-to-hydrocarbon ratio to the primary reformer,
Even the best of operators, at times, has difficulty in the hydrogen-to-nitrogen ratio in the synthesis loop and the
knowing when and how much correction to apply to purge rate from the synthesis loop, and the temperature of
compensate for a change in feed rate or purge rate. This the reformer effluent gas. Computer control can achieve
plant experienced the upsets and disturbances common to much closer control of these variables.
most ammonia plants. Therefore, a computer was installed Hydrogen-to-nitrogen ratio is probably the most difficult
to isolate certain disturbances and prevent them from variable to control. This loop is the most important in
echoing through the plant. A number of other inputs were stabilizing downstream operation. A hydrogen-to-nitrogen
incorporated in the system to provide information for the ratio controller implemented with software uses both
operator and management to monitor plant performance. makeup gas composition and synthesis loop composition to
By stabilizing the operation and holding the plant at generate an air-to-gas ratio set point. This controller
optimum conditions, increased plant efficiency was includes a patented form of dead-time compensation to
offset the process and analyzer lags.(7,2) The algorithm is
0360-7275/79/2416-0064 $01.00 © 1979 AIChE not affected by changes in throughput rate. Normally, the
39
air rate is adjusted to achieve the desired air-to-gas ratio. as necessary to hold total heat flow per hour at a value
This arrangement provides feed-forward compensation for needed to maintain primary reformer gas outlet tempera-
changes in gas rate. ture at its set point. Tube temperatures are checked to
The hydrogen-to-nitrogen ratio control loop has an alter- insure that reasonable measurements are being made. A
nate mode of operation to handle the situation where the model then is used to validate the reasonableness of the
plant is air limited. When this occurs, the control mode effluent temperature measurement. Control is permitted if
switches and the gas rate is adjusted to use all the air the temperatures pass these validation tests.
available and maintain the desired air-to-gas ratio. The operator of an ammonia plant measures his plant
Control of steam-to-hydrocarbon ratio to the primary performance in gas consumption per unit weight of ammo-
reformer is a second important control function. Volumetric nia. This and other operational information is summarized
flows are converted to a mass basis. The computer control in the charge and yield log, which is important in alerting
system includes checks to assure the steam flow is adequate plant management to changes that are occurring. A
to prevent coking of the catalyst in the reformer tubes. The decrease of 1 % in the plant efficiency indicates a problem
accurate material balances produced by the computer aided or a significant shift in operation of the plant. High accu-
process engineers at Cominco American in determining the racy of the calculated yields is obtained by using quality
optimum steam-to-hydrocarbon ratio for this plant. It was instrumentation including turbine meter on product ammo-
found that the influence of steam on the conversion of nia and pressure-temperature-gravity compensation of key
methane is more important than the cost of producing the flows. A customized charge and yield log is shown in Table
steam. 1.
The third important function is the control of purge flow.
One approach is to set the purge flow to maintain a constant Key role of analyzers
pressure in the synthesis loop. An alternative approach is to
adjust purge flow to maintain a constant level of inerts as Reliable and reproducible measurement of stream
indicated by the analyzer output. compositions is essential to the success of the control
The fourth important loop is control of primary reformer system. The corrective action cannot be correct if the
effluent gas temperature. Controlling this temperature measurements are wrong. Gas chromatographs were chosen
minimizes downstream disturbances as well as conserving because they have demonstrated reliability in thousands of
fuel. As indicated in Figure 1, the purge gas is used as part applications where properly installed and maintained.
of the fuel to the primary reformer. However, the heat value Two analyzers were installed at the plant, as shown in
of the purge is lower than that of the fuel. The computer Figure 1. One analyzer samples the makeup gas between the
calculates composite volumetric heat content for the two compression stages. The second samples the gas in the
composite fuel to the reformer. The computer adjusts fuel synthesis loop as it enters the converter. One analyzer could

OTHER
PLANT
USES
FUEL TO
BURNERS ®-
PURGE
SAS
SYNTHESIS
CONVERTOR

SHIFT
PRIMARY REFORMER CONVERTER
FEED AND
REFORMER SECONDARY PURIFI-
CATION
STEAM —US*-
—cSi-
@i SAWPLE POINT FOR
CHAOMAT06RÂPHÏC ÄNALYZIR

Figure 1. Simplified process schematic, showing location of chromatographs.


40
have been used to alternately sample these two streams, but time the system operated on closed loop control, the
Cominco American chose to install two analyzers for reli- number of loops on control, and the benefits achieved.
ability reasons. Either analyzer can take alternate samples The significant dates in the project are summarized in
from the two streams should the other analyzer be out of Table 2. From receipt of the purchase order to completion
service. of the project was just under six months. The original
In defining their requirements, Cominco American purchase order included control of hydrogen-to-nitrogen
personnel visited eight plants in which process control ratio, steam-to-gas ratio, and purge flow rate. The history
computers were installed. Two of these visits were to an and management of this project was reviewed in detail
Applied Automation installation at Hoag, Neb. The first previously. (3)
was in the presence of Applied Automation personnel; the By the time the computer arrived at the plant, Cominco
second was made independently. In these and all other American personnel had completed all field wiring and
visits, primary attention was focused on the percentage of plant preparation. Only two days were required to place the

Table 1. Management report.


Charge and Yield Log
(DATE: 7/6/77 TIME: 18:1: 0)

Average Total
Current Daily for
Rate Rate Day
Charges
Primary Reformer:
Feed Gas XXXX MSCFH XXXXX MSCF
Reformer Steam XXX MLBHR XXXX MLB
Fuel Gas XXX MSCFH XXXX MSCF
Total Gas XXXX MSCF .. XX MMSCF
Boiler Feed Water XXX MLBHR XXXX MLB
Steam/Gas Ratio 3.72 3.71.
Secondary Reformer:
Secondary Air 1320 MSCFH 16105 MSCF

Synthesis Converters:
H2/N2 Ratio 2.96 2.96.
Purge to Burners 183 MSCFH 1979 MSCF
Purge Temperature — 12.96°F
Inerts 14.12 13.94...

Compressor Speeds:
101J XXXX RPM
103J XXXX RPM
105J XXXX RPM
Yields
Ammonia Produced. XXX tons
Calculated Data
Production Rate XXXX tons/day
Feed Gas/Ammonia XX MSCF/ton
Total Gas/Ammonia XX MSCF/ton

Chromatograph Analysis Log


(DATE: 7/6/77 TIME: 18: 2: 0)
Chromatograph No. 1

Stream 1 Mol% Stream 2 Mol%


Helium 0. Helium 2.02
Hydrogen 74.03 Hydrogen 63.16
Argon 0.25 Argon 3.67
Nitrogen 25.01 Nitrogen 21.34
Methane 0.69 Methane 8.42
MSCFH (1,000 std cu ft/hr) = 28 mVh MLBHR (1,000 Ib/hr) = 454 kg/h °C = 5/9(°F—32) ton/day = 907 kg/d = 0.907 metric ton/d
MSCF/ton (1,000 std cu ft/ton) = 30.87 mVmetric ton
41
computer and attach the field wiring. After the system was Table 2. Project history.
Started up in a stand-alone mode, customer engineers spent
one week training the operators so that they would be November, 1975—Proposal and quotation submitted
familiar with the system. Commissioning of the loops February 11,1976—First trip to Hoag plant
required less than two weeks. The few software and plant February 19,1976—Second trip to Hoag plant
instrumentation problems that appeared were solved on- March 11,1976—Revised proposal and quotation
site during the two-week start-up period. June 17,1976—Purchase order for Chromatograph
The primary reformer control was added a year later. The
customer and supplier jointly developed an approach for June 20,1976—Purchase order number for control
controlling the reformer. In a period of two and one half system
months, the application was defined, software written and June 23,1976—Kick-off meeting
checked out, hardware installed and checked, and the July 8,1976—Purchase order received
control loops closed and tuned. The necessary plant work September 10,1976—Chromatographs delivered
proceeded concurrently. September-November, 1976—Customer engineers
attended training sessions
Project management October, 1976—Plant turnaround
November 17,1976—System shipped on expedited
Careful project management by both customer and basis
supplier avoided the delays and cost overruns that have
plagued many computer control projects. Listed below are November 19,1976—Field wiring completed
actions that materially contribute to the timely implemen- November 22-24,1976—Stand-alone start-up
tation of any computer control system. An important objec- November 29-December 3,1976—Operators trained
tive of these actions is to maintain functional lines of by customer personnel
communication between the purchaser and the supplier. December 6-17,1976—Application commissioning
1. The supplier must know what the customer wants, May 12,1977—Purchase order received to add
and the customer must know what he is buying. Much of reformer control
the groundwork for the project's success is laid in the July 27,1977—Reformer control loop closed
exchange of information leading to a proposal, before the
purchase order is issued.
2. Customer and supplier should each designate one
Individual as project manager. of the set point. Primary reformer temperature is held
within ±0.5°C normally, and to ±2.8°C with feed gas
3. A kick-off meeting should be scheduled early in the decreases of 0.5 root. Pressure variations in the synthesis
project. This conference between purchaser and supplier loop have been eliminated, allowing operation at higher
personnel has several objectives: pressure which increased ammonia production. The system
a. Set up lines of communication between purchaser has operated as low as 55% of the normal feed rate without
and supplier. retuning control loops or reverting to conventional control.
b. Review what has been purchased. Stabilization of hydrogen-to-nitrogen ratio and loop pres-
c. Make additions and deletions as desired or sure have made the NH3 converter operate at very stable
required. bed temperatures, so converter "tuning" by operators is
d. Discuss schedules (both supplier's and customer's). now viable, further enhancing operations.
e. Be certain both parties know what must be done. The system provides early warning of impending prob-
4. The vendor and the supplier must respond promptly lems. The rate-of-change alarm on inputs, rather than the
to requests for information. high or low alarms, usually provides the first warning.
5. Supplier should keep customer informed on progress These alarms have led to the identification of reformer tube
of project. problems and feed gas problems.
6. Plant preparation should be completed on schedule. The improvement in stability of process conditions in the
plant will enhance catalyst life and conditions, yielding
1. Engineering and operations personnel should be improved efficiency and a better on-stream factor for the
trained. The objectives of the training depend somewhat on plant. This is most important as catalysts damaged or
the orientation of the purchaser. As a minimum, the artificially aged by unstable or erratic plant conditions will
customer's engineers must know how to use the system. have shorter or less productive life cycles. This can cause a
Although the supplier may include training at the plant loss in cash flow ranging from $l,000/day up to an unsche-
site, better experience results when the customer engineers duled shutdown at a $100,000/day rate.
train the supervisors who, in turn, train the operators. This A most important aspect of any application is its avail-
helps to assure that customer personnel are familiar with ability for use. This system has remained on-line without
the system, and gives them a better image in the view of the problems other than power failure related causes. When
operators. It also provides an in-plant resource for training these power dips occur, the computer is restarted immedi-
of new operators. ately with no ill effects. Operator acceptance has been
8. Customer should budget an amount for contingen- excellent since it makes their job easier. They are reluctant
cies. Ten percent of the system cost is recommended. to have the system taken off control.
From a financial point of view, the computer control The analyzers are calibrated once per week. When a
system has been a success. The analyzers and computer Chromatograph is taken out of service for calibration, the
have been used as a part of a continuing plant improvement second Chromatograph becomes the controlling instrument.
program to identify the best steam-to-gas and hydrogen- The chromatographs have been very reliable, with only one
to-nitrogen ratios. This program has resulted in a signifi- backflush column having been replaced at this time. #
cant increase in ammonia production from the same raw
materials as consumed previously. Literature cited
The computer system has produced a marked improve-
ment in plant stability. When the final loop was closed (the 1. Giles, R. F., and L. D. Gaines, Instrum. Techn., 24 (10) 41 (1977).
2. Ball, D. H., R. W. Rutledge and J. D. Voelkers, U.S. Patent 4,094,959, to
primary reformer effluent temperature control), the small Phillips Petroleum Co. (June 13,1978).
variations that had been present were eliminated. The 3. Weems, S., D. Ball and W. S. Stewart, Processing, pp. 23-24 (March,
hydrogen-to-nitrogen ratio is held within a few hundredths 1978).

42
DISCUSSION
PHIL RUZISKA, Exxon Chemical: I think you said looking at the methane leakage, either of the prim-
that you measure tube metal temperatures and use ary or the secondary as the control point, as
those to check that you are ot overheating the fur- opposed to temperature, and then perhaps going to
nace. How is that done? high constraint?
DONALD BALL, Applied Automation, Inc.: It's not BALL: I know that function has been done several
really the tube temperatures themselves. Stan times, but no, we did not do that in this plant. We
Weems from Cominco can give you answers for worked with the plant to decide what functions they
most of the instrumentation questions about the particularly wanted.
plant and the operation. JOHN ARMSTRONG, Chevron Chemical: Could
STAN WEEMS, Cominco: We don't measure the you elaborate a little bit more on how you decide
metal temperatures. We measure effluent. what is the proper steam to gas ratio to run?
JOHN LAWRENCE, CF Industries: I've probably WEEMS: Originally we thought that probably the
been in the overhead building too long but some of most efficent way to run was to use as little steam as
these things intrigue me. One is, you're controlling 5 possible for energy consumption. But we are rate-
psi in the synloop and 1$F. There must be a lot of limited, and we found through operation, trial and
good instruments developed lately. My qustion is: error more or less, that as you increase the steam to
How does the instrument package here compare gas ratio, production goes up, to a point. At some
with computer costs? I have one other question: point there is a balance between production and
Why do you control the pressure in the synloop fuel costs; we found it by trial and error. We don't
rather than the purge flow? Wouldn't it be better to really have any hard rules on that, and we still do this
control the purge flow, and let the pressure fluctu- periodically.
ate? A increased pressure would give you a little RON MULHOLLAND, El Paso Products Co.: Is the
more leeway on reaction rate. capital cost of your system that is, the cost of equip-
WEEMS: First of all, we have a pressure limit on the ment, essentially independent of plant size?
loop, due to piping in vessels. The relief valve limit WEEMS: Yes, that's relatively independent of plant
determines our settings. We run as close as possible size.
to this pressure limit. As far as instrumentation lim- MULHOLLAND: Have you done recent economics
its, we are controlling to the measured values. As to basded on the current price of ammonia? One
the accuracy of these values—of course, they are hundred and twenty dollars is a little high, right now.
only as good as thermocouples or the transducers, WEEMS: No, I havent't.
and we realize that. But we are measuring, and we CARNELL, Imperial Chemicals Industries: You
are controlling, to these limits. mentioned an increase in efficiency of 1%. Was that
BALL: The other thing is that we use a 14-bit A to D what you actually achieved, or did you achieve
converter in the computer. This allows you to get more?
down to this resolution and look at temperatures of WEEMS: More.
one degree and so forth on K-type thermocouples. CARNELL: Would you care to give a figure?
LAWRENCE: The last part of my question was the WEEMS: No.
relative cost to the instrument package aside from CARNELL:Second question: Could you tell me what
the computer itself. Did you include that in your makes chromatographs you used in the computer
numbers? system?
WEEMS: Yes, our plant originally had electronic WEEMS: They were Applied Automation's also. We
implementation, so the interface instrumentation selected them because we felt they were more
cost was really relatively small. compatible with the computer and because of the
JIM GERDES, Chevron Chemical: Did you consider good performance we saw in the chromatographs.

43

You might also like