Research Article  Open Access
Vu Trieu Minh, Ahmad Majdi Abdul Rani, "Modeling and Control of Distillation Column in a Petroleum Process", Mathematical Problems in Engineering, vol. 2009, Article ID 404702, 14 pages, 2009. https://doi.org/10.1155/2009/404702
Modeling and Control of Distillation Column in a Petroleum Process
Abstract
This paper introduces a calculation procedure for modeling and control simulation of a condensate distillation column based on the energy balance structure. In this control, the reflux rate and the boilup rate are used as the inputs to control the outputs of the purity of the distillate overhead and the impurity of the bottom products. The modeling simulation is important for process dynamic analysis and the plant initial design. In this paper, the modeling and simulation are accomplished over three phases: the basic nonlinear model of the plant, the fullorder linearised model, and the reducedorder linear model. The reducedorder linear model is then used as the reference model for a modelreference adaptive control (MRAC) system to verify the applicable ability of a conventional adaptive controller for a distillation column dealing with the disturbance and the modelplant mismatch as the influence of the plant feed disturbances.
1. Introduction
Distillation is the most popular and important separation method in the petroleum industries for purification of final products. Distillation columns are made up of several components, each of which is used either to transfer heat energy or to enhance mass transfer. A typical distillation column contains a vertical column where trays or plates are used to enhance the component separations, a reboiler to provide heat for the necessary vaporization from the bottom of the column, a condenser to cool and condense the vapor from the top of the column, and a reflux drum to hold the condensed vapor so that liquid reflux can be recycled back from the top of the column.
Calculation of the distillation column in this paper is based on a real petroleum project to build a gas processing plant to raise the utility value of condensate. The nominal capacity of the plant is 130โ000 tons of raw condensate per year based on 24 operating hours per day and 350 working days per year. The quality of the output products is the purity of the distillate, , higher than or equal to 98% and the impurity of the bottoms, , less/equal than 2%. The basic feed stock data and its actual compositions are based on [1].
Most of distillation control systems, either conventional or advanced, assume that the column operates at a constant pressure. Pressure fluctuations make the control more difficult and reduce the performance. The LV structure, which is called energy balance structure, can be considered as the standard control structure for a dual composition control distillation. In this control structure the liquid flow rate and the vapor flow rate are the control inputs. The objective of the controller is to maintain the product outputs concentrations and despite the disturbance in the feed flow and the feed concentration (Figure 1).
The goals of this paper are twofold: first, to present a theoretical calculation procedure of a condensate column for simulation and analysis as an initial step of a project feasibility study, and second, for the controller design: a reducedorder linear model is derived such that it best reflects the dynamics of the distillation process and used as the reference model for a modelreference adaptive control (MRAC) system to verify the ability of a conventional adaptive controller for a distillation process dealing with the disturbance and the plantmodel mismatch as the influence of the feed disturbances.
In this study, the system identification is not employed since experiments requiring a real distillation column are still not implemented yet. So that a process model based on experimentation on a real process cannot be done. A mathematical modeling based on physical laws is performed instead. Further, the MRAC controller model is not suitable for handling the process constraints on inputs and outputs as shown in [2] for a coordinator model predictive control (MPC). In this paper, the calculations and simulations are implemented by using MATLAB (version 7.0) software package.
2. Process Model and Simulation
The feed can be considered as a pseudobinary mixture of Ligas (isobutane, butane and propane) and Naphthas (isopentane, pentane, and higher components). The column is designed with trays. The model is simplified by lumping some components together (pseudocomponents) and modeling of the column dynamics is based on these pseudocomponents only [3].
For the feed section, the operating pressure at the feed section is given at 4.6โatm. The feed temperature for the preheater is the temperature at which the required phase equilibrium is established. Consulting the equilibrium flash vaporization (EFV) curve at 4.6โatm, the required feed temperature is selected at corresponding to the point of 42% of the vapor phase feed rate .
For the rectifying section, the typical pressure drop per tray is 6.75โkPa. Thus, the pressure at the top section is 4โatm. Also consulting the Cox chart, the top section temperature is determined at . Then, we can calculate the reflux flow rate via the energy balance equation.
For the stripping section, the column base pressure is approximately the pressure of the feed section (4.6โatm) because the pressure drop across this section is neglected. Consulting the EFV curve and the Cox chart, the equilibrium temperature at this section (4.6โatm) is determined at . Then, we can calculate the reboiler duty or the heat input to increase the temperature of stripping section from to .
Table 1 summarizes the initial calculated data for the main streams of input feed flow rate (Condensate), output distillate overhead product: (LPG) and output bottom product (Raw gasoline).

The vapor boilup generated by the heat input to the reboiler is calculated as [4]: (kmole/h), where is the heat input (kJ/h); is the flow rate of bottom product (kg/h); is the specific heat capacity (); is the inlet temperature (); is the outlet temperature (); is the latent heat or the heat of vaporization (kJ/kg). The latent heat at any temperature is described in terms of the latent heat at the normal boiling point [5] , where is the latent heat at the absolute temperature T in degrees Rankine (); is the latent heat at the absolute normal boiling point in degrees Rankine (); and is the correction factor obtained from the empirical chart.
Major design parameters to determine the liquid holdup on tray, column base and reflux drum are calculated mainly based on [6โ8].
Velocity of vapor phase is arising in the column , where (kg/m^{3}) is the density of liquid phase; (kg/m^{3}) is the density of vapor phase; is the correction factor depending flow rates of twophase flows.
The actual velocity is normally selected at for paraffinic vapor.
The diameter of the column is calculated on the formula: , where (kmole/h) is the mean flow of vapor in the column.
The holdup in the column base is (kmole), where (m) is the normal liquid level in the column base; is the molar weight of the bottom product (kg/kmole); is the density of the bottom product (kg/m^{3}).
Similarly, the holdup on each tray is (kmole), where is the average depth of clear liquid on a tray (m); is the molar weight of the liquid holdup on a tray (kg/kmole); is the mean density of the liquid holdup on a tray (kg/m^{3}). And the holdup in the reflux drum (kmole), where is the reflux flow rate (kmole/h); is the distillate flow rate (kmole/h).
The rate of accumulation of material in a system is equal to the amount entered and generated, less the amount leaving and consumed within the system. The model is simplified under assumptions in [9].
(i) Constant relative volatility throughout the column and the vaporliquid equilibrium relation can be expressed by where is the liquid concentration on stage; is the vapor concentration on stage; is the relative volatility.(ii) The overhead vapor is totally condensed.(iii) The liquid holdups on each tray, the condenser, and the reboiler are constant and perfectly mixed.(iv) The holdup of vapor is negligible throughout the system(v) The molar flow rates of the vapor and liquid through the stripping and rectifying sections are constant.Under these assumptions, the dynamic model can be expressed by the following equations:
โโcondenser ():
โโtray :
โโtray above the feed flow ():
โโtray below the feed flow ():
โโtray :
โโreboiler ():
Although the model is simplified, the representation of the distillation system is still nonlinear due to the vaporliquid equilibrium relationship between and in (2.1).
The distillation process simulation is done using Matlab Simulink as shown in Figure 2. The dynamic model is represented by a set of 16 nonlinear differential equations: is the liquid concentration in bottom; is the liquid concentration in the tray, is the liquid concentration in the nd is the liquid concentration in the tray; and is the liquid concentration in the distillate.
If there are no disturbance in the operating conditions as shown in Figure 3, the system is to reach the steady state such that the purity of the distillate product equals 0.9654 and the impurity of the bottoms product equals 0.0375.
Table 2 indicates the steadystate values of concentration of and on each tray.

Since the feed stream depends on the upstream processes, the changes of the feed stream can be considered as disturbances including the changing in feed flow rates and feed compositions. Simulations with these disturbances indicate that the quality of the output products gets worse if the disturbances exceed some certain ranges as shown in Table 3.

The designed system does not achieve the operational objective of the product quality ( and ) and the product quality will get worse dealing with disturbances. Hence we will use an adaptive controllerโMRACโto take the system from these steadystate outputs of and to the desired output targets.
3. Linearization of the Distillation Process
In order to obtain a linear control model for this nonlinear system, we assume that the variables deviate only slightly from some operating conditions [10]. Then the nonlinear equation in (2.1) can be expanded into a Taylorโs series. If the variation is small, we can neglect the higherorder terms in . The linearization of the distillation column leads to a order linear model in the state space form:
where
The matrix A elements (n for each stage) are
โโreboiler:
โโstripping section, tray :
โโfeeding section, tray :
โโrectifying section, tray :
โโcondenser:
where is the linearized VaporLiquid Equilibria (VLE) constant:
The matrix elements are
The output matrix is
The fullorder linear model which represents a two inputstwo outputs plant in equation in (3.3) can be expressed as a reduced order linear model as in [11, 12]:
where is the steadystate gain: , is the time constant: where (kmole) is the total holdup of liquid inside the column; (kmole) is the liquid holdup in the condenser; (kmole) is the liquid holdup in the reboiler; is the โimpurity sumโ; is the separation factor.
As the result of calculation, the reducedorder linear model of the plant is a firstorder system with a time constant of :
Equation (3.13) is equivalent to the following linear model in state space: Where are state variable, are two manipulated inputs, and are two outputs of LPG and gasoline product.
Stability test. The system is asymptotically stable since all eigenvalues of the state matrix are in the left half of the complex plane ().
4. MRAC Building and Simulation
Adaptive control system is the ability of a controller which can adjust its parameters in such a way as to compensate for the variations in the characteristics of the process. Adaptive control is widely applied in petroleum industries because of the two main reasons: firstly, most of processes are nonlinear and the linearized models are used to design the controllers, so that the controller must change and adapt to the modelplant mismatch; secondly, most of the processes are nonstationary or their characteristics are changed with time, and this leads again to adapt the changing control parameters.
The general form of an MRAC is based on an innerloop Linear Model Reference Controller (LMRC) and an outer adaptive loop shown in Figure 4. In order to eliminate errors between the model and the plant and the controller is asymptotically stable, MRAC will calculate online the adjustment parameters in gains and by and as detected state error when changing , in the process plant.
Simulation program is constructed using Maltab Simulink with the following data.
โโProcess Plant:
where , , and , , , are changing and dependent on the process dynamics.
โโReference Model:
where , ,
โโState Feedback:
where and .
โโClosed Loop:
โโError Equation:
is a vector of state errors,
where .
โโLyapunov Function:
where is an adaptive gain and is a chosen positive matrix.
โโDerivative Calculation of Lyapunov Function:
where .
For the stability of the system, , we can assign the second item or . Then we always have . If we select a positive matrix , for instance, , then we have . Since matrix is obviously positive definite, then we always have and the system is stable with any plantmodel mismatches.
โโParameters Adjustment:
โโSimulation Results and Analysis:
We assume that the reducedorder linear model in (3.14) can also maintain the similar steadystate outputs as the basic nonlinear model. Now we use this model as an MRAC to take the process plant from these steadystate outputs ( and ) to the desired targets ( and ) amid the disturbances and the plantmodel mismatches as the influence of the feed stock disturbances.
The design of a new adaptive controller is shown in Figure 5 where we install an MRAC and a closedloop PID (Proportional, Integral, Derivative) controller to eliminate the errors between the reference setpoints and the outputs.
We run this controller system with different plantmodel mismatches, for instance, a plant with , and an adaptive gain . The operating setpoints for the real outputs are and . Then, the reference setpoints for the PID controller are and since the real steadystate outputs are and . Simulation in Figure 6 shows that the controlled outputs and are always stable and tracking to the model outputs and the reference setpoints (the dotted lines, and ) amid the disturbances and the plantmodel mismatches.
5. Conclusion
We have introduced a procedure to build up a mathematical model and simulation for a condensate distillation column based on the energy balance (LV) structure. The mathematical modeling simulation is accomplished over three phases: the basic nonlinear model, the fullorder linearized model and the reducedorder linear model. Results from the simulations and analysis are helpful for initial steps of a petroleum project feasibility study and design.
The reducedorder linear model is used as the reference model for an MRAC controller. The controller of MRAC and PID theoretically allows the plant outputs tracking the reference setpoints to achieve the desired product quality amid the disturbances and the modelplant mismatches as the influence of the feed stock disturbances.
In this paper, the calculation of the mathematical model building and the reducedorder linear adaptive controller is only based on the physical laws from the process. The real system identifications including the experimental production factors, specific designed structures, parameters estimation, and the system validation are not mentioned here. Further, the MRAC controller is not suitable for the online handling of the process constraints.
References
 PetroVietnam Gas Company, โCondensate processing plant project—process description,โ Tech. Rep. 8203602BM01, PetroVietnam, Washington, DC, USA, 1999. View at: Google Scholar
 E. Marie, S. Strand, and S. Skogestad, โCoordinator MPC for maximizing plant throughput,โ Computers & Chemical Engineering, vol. 32, no. 12, pp. 195โ204, 2008. View at: Publisher Site  Google Scholar
 H. Kehlen and M. Ratzsch, โComplex multicomponent distillation calculations by continuous thermodynamics,โ Chemical Engineering Science, vol. 42, no. 2, pp. 221โ232, 1987. View at: Publisher Site  Google Scholar
 R. G. E. Franks, Modeling and Simulation in Chemical Engineering, WileyInterscience, New York, NY, USA, 1972.
 W. L. Nelson, Petroleum Refinery Engineering, McGrawHill, Auckland, New Zealand, 1982.
 M. V. Joshi, Process Equipment Design, Macmillan Company of India, New Delhi, India, 1979.
 W. L. McCabe and J. C. Smith, Unit Operations of Chemical Engineering, McGrawHill, New York, NY, USA, 1976.
 P. Wuithier, Le Petrole Raffinage et Genie Chimique, Paris Publications de l'Institut Francaise du Petrole, Paris, France, 1972.
 G. Stephanopoulos, Chemical Process Control, PrenticeHall, Englewood Cliffs, NJ, USA, 1984.
 O. Katsuhiko, Model Control Engineering, PrenticeHall, Englewood Cliffs, NJ, USA, 1982.
 A. Papadouratis, M. Doherty, and J. Douglas, โApproximate dynamic models for chemical process systems,โ Industrial & Engineering Chemistry Research, vol. 28, no. 5, pp. 522โ546, 1989. View at: Google Scholar
 S. Skogestad and M. Morari, โThe dominant time constant for distillation columns,โ Computers & Chemical Engineering, vol. 11, no. 7, pp. 607โ617, 1987. View at: Publisher Site  Google Scholar
Copyright
Copyright © 2009 Vu Trieu Minh and Ahmad Majdi Abdul Rani. This is an open access article distributed under the Creative Commons Attribution License, which permits unrestricted use, distribution, and reproduction in any medium, provided the original work is properly cited.