5XZ-3.0型重力式清選機(jī)下體設(shè)計(jì)【說明書+CAD】
5XZ-3.0型重力式清選機(jī)下體設(shè)計(jì)【說明書+CAD】,說明書+CAD,5XZ-3.0型重力式清選機(jī)下體設(shè)計(jì)【說明書+CAD】,xz,重力,式清選機(jī),下體,設(shè)計(jì),說明書,仿單,cad
Modeling and Control of Three-Phase Gravity Separators in Oil Production Facilities Atalla F. Sayda and James H. Taylor Abstract Oil production facilities exhibit complex and challenging dynamic behavior. A dynamic mathematical mod- eling study was done to address the tasks of design, control and optimization of such facilities. The focus of this paper is on the three-phase separator, where each phases dynamics are modeled. The hydrodynamics of liquid-liquid separation are modeled based on the American Petroleum Institute design criteria. Given some simplifying assumptions, the oil and gas phases dynamic behaviors are modeled assuming vapor-liquid phase equilibrium at the oil surface. In order to validate the developed mathematical model, an oil production facility simulation was designed and implemented based on such models. The simulation model consists of a two-phase separator followed by a three-phase separator. An upset in the oil component of the incoming oil-well stream is introduced to analyze its effect of the different process variables and produced oil quality. The simulation results demonstrate the sophistication of the model in spite of its simplicity. I. INTRODUCTION The function of an oil production facility is to separate the oil well stream into three components or “phases” (oil, gas, and water), and process these phases into some marketable products or dispose of them in an environmentally accept- able manner. In mechanical devices called “separators”, gas is flashed from the liquids and “free water” is separated from the oil. These steps remove enough light hydrocarbons to produce a stable crude oil with the volatility (i.e., vapor pressure) to meet sales criteria. Separators are classified as “two-phase” if they separate gas from the total liquid stream and “three-phase” if they also separate the liquid stream into its crude oil and water components. The gas that is separated is compressed and treated for sales 1. Modeling such facilities has become very crucial for controller design, fault detection and isolation, process optimization, and dynamic simulation. In this paper, we focus on three-phase gravity separators as they form the main processes in the upstream petroleum industry, and have a significant economic impact on produced oil quality. Three-phase separators have rich and complex dynam- ics, which span from hydrodynamics to thermodynamics and conservation laws. Many modeling techniques and approaches have been used to model three-phase separators. As far as the thermodynamics aspects of the separator are concerned (i.e., the oil and gas phases), many modeling approaches have been suggested in the literature. The phase equilibrium modeling approach have been used for 50 years James H. Taylor is a professor with the Department of Electrical other modeling approaches were also considered such as the computational model, the collocation model, and the bubble residence contact time model 3. Historically, the hydrodynamics of the separators aque- ous part have been modeled using complex mathematical- numerical models, which describe the coalescence and settling of oil droplets in oil-water dispersions. Such models take into account separator dimensions, flow rates, fluid physical properties, fluid quality and drop size distribution. The output of these models is the quality of the output oil 4. Other models, which describe the kinetics of low Reynolds number coalescence of oil droplets in water- oil dispersions, have been developed to give the volumes of separated continuous-phase and coalesced drops 5. A computational fluid dynamic (CFD) model was developed to model the hydrodynamics of a three-phase separator, based on the time averaging of Navier-stokes equations for three phases; it takes into consideration the non-ideal flow due to inlet /outlets and internal equipment for separation enhancement 6. The “alternative path model approach”, which exploits the residence time distribution (RTD) of both oil and aqueous phases in three-phase separators, was de- veloped to give a quantitative description of hydrodynamics and mixing in the aqueous phase 7. Powers 8 extended the American Petroleum Institute (API) gravity separator design criteria to design free-water knockout vessels for better capacity and performance. Powers showed that the API design criteria can handle nonideal flow by performing practical RTD experiments. This paper extends the API static design criteria to model the hydrodynamics of three phase separators, which results in a simpler modeling approach. Furthermore, a simple phase equilibrium model is developed to model the thermodynamic aspects of the separator. We describe the operation of gravity three-phase separators in section 2. A dynamic model of the separator is developed for each phase in section 3, where it can be used to estimate the steady state flows and to study the separator behavior during other operating conditions. An oil production facility simulation model is designed, implemented and tested to validate and demonstrate the separator behavior during normal operation and upsets in section 4. Finally, simulation results are discussed and summarized in section 5. II. THREE-PHASE GRAVITY SEPARATION PROCESS DESCRIPTION Three-phase separators are designed to separate and re- move the free water from the mixture of crude oil and water. Figure 1 is a schematic of a three phase horizontal separator. The fluid enters the separator and hits an inlet diverter. This sudden change in momentum does the initial gross separation of liquid and vapor. In most designs, the inlet diverter contains a downcomer that directs the liquid flow below the oil /water interface. This forces the inlet mixture of oil and water to mix with the water continuous phase (i.e., aqueous phase) in the bottom of the vessel and rise to the oil /water interface. This process is called “water-washing”; it promotes the coalescence of water droplets which are entrained in the oil continuous phase. The inlet diverter assures that little gas is carried with the liquid and assures that the liquid is not injected above the gas /oil or oil /water interface, which would mix the liquid retained in the vessel and make control of the oil /water interface difficult. Some of the gas flows over the inlet diverter and then horizontally through the gravity settling section above the liquid. As the gas flows through this section, small drops of liquid that were entrained in the gas and not separated by the inlet diverter are separated out by gravity and fall to the gas-liquid interface. Some of the drops are of such a small diameter that they are not easily separated in the gravity settling section. Before the gas leaves the vessel it passes through a coalescing section or mist extractor to coalesce and remove them before the gas leaves the vessel. Fig. 1: Three phase horizontal separator schematic. III. THREE PHASE GRAVITY SEPARATOR MATHEMATICAL MODELING When the hydrocarbon fluid stream enters a three-phase separator, two distinctive phenomena take place. The first phenomenon is fluid dynamic, which is characterized by the gravity separation of oil and water droplets entrained in the aqueous and the oil phases respectively, the gravity separation of gas bubbles entrained in the stream, and the gravity separation of liquid droplets which are dispersed in the gas phase. The second phenomenon is thermodynamic, in the sense that some light hydrocarbons and gas solution flash out the oil phase and reach a state of equilibrium due to the pressure drop in the separator. Due to the complexity of such phenomena, we are going to focus on the hydro- dynamic separation of oil droplets entrained in the aqueous phase and the thermodynamic separation of gas and light hydrocarbons from the oil phase. This decision is justified by the fact that the water washing process minimizes the water entrained in the oil phase. Furthermore, preceding gravity separation processes minimize the amounts of gas entrained in the main stream. Figure 2 illustrates the simplified separation process, where an oil-well fluid with molar flow Fin and gas, oil, and water molar fractions Zg; Zo; Zw respectively enters the separator. The hydrocarbon component of the fluid separates into two parts; the first stream Fh1 separates by gravity and enters the oil phase, and the second stream Fh2 stays in the aqueous phase due to incomplete separation. The liquid discharge from the aqueous phase FWout is a combination of the dumped water stream FW plus the unseparated hydrocarbon stream Fh2. The gas component in the separated hydrocarbon stream, which enters the oil phase, separates into two parts; the first gas stream Fg1 flashes out of the oil phase due to the pressure drop in the separator, and the second gas stream Fg2 stays dissolved in the oil phase. The oil discharge Foout from the separator contains the oil component of the separated hydrocarbon Fo and the dissolved gas component Fg2. The flashed gas Fgout flows out of the separator for further processing. Fig. 2: Main separated component streams in three-phase gravity separator We model the dynamics of each phase of the separa- tor in the subsequent sections, to simplify the modeling process. Additionally, some simplifying assumptions have to be made. The separation processes are assumed to be isothermal in all phases of the separator at 100oF. We also assume that the flow pattern in the liquid phases is plug flow, especially in the aqueous phase. Furthermore, the oil droplets in the aqueous phase have a uniform droplet size distribution with a diameter of dm = 500 micron. The oil droplets rising velocities are assumed to obey Stokes law. We model the equilibrium thermodynamics phenomenon under the assumption that Raoults law is valid. We assume that only one light hydrocarbon gas flashes out the oil phase into the gas phase, namely methane. Methane in the vapor phase is also assumed to be an ideal gas (i.e., the ideal gas law applies). Finally, there is liquid-vapor equilibrium at the oil surface and liquid-liquid equilibrium at the water-oil interface. A. The aqueous phase In order to model the aqueous phase of the separator, we will follow the API static design criteria under the usual simplifying assumptions. The API specification permits hydrocarbon droplets (i.e., oil and dissolved light gas) of design diameter to rise from the bottom of the separator to the surface during the water retention period, as illustrated in figure 3. A hydrocarbon droplet located on the cylinder bottom has the greatest distance to traverse to the oil-water interface. Therefore, modeling the oil separation hydrody- namics based on removal of this droplet would ensure re- moval of all others of the same or larger diameter. Given the simplifying assumptions, the traversing hydrocarbon droplet on its path to the oil-water interface is subjected to a vertical rising velocity component vv governed by Stokes law, and a horizontal velocity component vh governed by the plug flow pattern of the aqueous phase. The vertical velocity component is estimated from Stokes law by equation (1): vv = 1:7886106(SGh SGw)d 2m w (1) where SGh;SGw are the specific gravities of the hydro- carbon droplets and water, respectively, dm is the droplet diameter in microns, and w is the water viscosity in CP at 100oF. The horizontal velocity component is estimated from the aqueous phase retention as vh = L=, where L is the length of the separator and = Vwat =Fwat is the retention time of the aqueous phase; Vwat is the volume of the aqueous phase, and Fwat is the water outflow. The level of the oil-water interface h is determined from equations (2): Ac = Vwat=L = R2 0:5R2 sin(2 ) h = R(1cos( ) (2) where Ac is the cross-sectional area of the aqueous phase, R is the separator radius and is the angle which defines the circle sector of the cross sectional area Ac. The angle of the longest droplet path to the oil-water interface can be estimated from equation (3): = tan1 vvv h (3) Fig. 3: Oil separation hydrodynamics under normal operation conditions The design parameters fAc; h; ; g of the aqueous phase will take their nominal values under normal operating conditions of the three-phase separator, i.e., for the nominal value of Fwat which leads to complete separation, as shown in figure 3. However, our model must also be valid for off- nominal values. This is complicated at higher flow values, since we can no longer achieve complete separation. Let us assume that the water outflow Fwat has increased by a value of Fwat due to a corresponding increase in inflow. This will result in an increase in vh to vh + vh and an angle change of the longest path of a traversing hydrocarbon droplet from to 1 L 0 else (8) Fig. 5: Unseparated hydrocarbon fluid volume under high water outflow condition Having estimated the unseparated hydrocarbon fluid vol- ume fraction , we can calculate the separated and unsepa- rated volumetric flow components of the hydrocarbon fluid Fh1v; Fh2v respectively. Finally we can write the dynamic material balance of the aqueous phase by using equations (9), after we convert the molar flows to volumetric flows: Fh1v = (Zg +Zo)FinMwh62:43SG h Fh2v = (1)(Zg +Zo)FinMwh62:43SG h FWout = ZwFinMww62:43SG w +Fh2v dVwat dt = FinMwin 62:43SGin FWout Fh1v (9) where fMwh; Mww; Mwing are the hydrocarbon, water, and incoming mixture molecular weights; fSGh; SGw; SGing are the hydrocarbon, water, and incoming mixture specific gravities; Vwat is the aqueous phase volume; and FWout is the water discharge volumetric outflow. B. The oil phase In order to model the thermodynamic phenomenon in the oil phase, we first do the flash calculations to estimate the amounts of gas which will flash out of solution. Since we assumed that ideal phase equilibrium state is valid, then by applying Raoults law we can tell how much methane will stay entrained in the oil phase. Raoults law relates the vapor pressure of components to the composition of the solution. This can be formulated mathematically as yiP = xiPvi where yi is the mole fraction of the component i in the vapor phase, xi is the mole fraction of component i in the liquid phase, P is the total pressure of the vapor phase (i.e., the separator working pressure), and Pvi is the vapor pressure of component i 9, 10. Since we have only one flashing light hydrocarbon (i.e., methane), this implies that the mole fraction of methane in the vapor phase is y = 1, and that the mole fraction of methane entrained in the liquid phase is x = P=Pv. Given the composition fZg1; Zo1g of the separated hy- drocarbon stream Fh1, we can estimate the amounts of flashing methane Fg1 and dissolved methane in the oil phase Fg2. The oil discharge flow Foout can also be estimated along with its average molecular weight Mwo1 and its specific gravity SGo1. The complete dynamic model of the oil phase, which is given by equations (10), can be then formulated by taking the material balance: Fg1 = (1x)Zg1Fh1 Fg2 = xZg1Fh1 Foout = Fo +Fg2 dNoil dt = Fh1 Fg1 Foout Mwo1 = xMwg +(1x)Mwo SGo1 = xMwgNoil +(1x)MwoNoilxMw gNoil SGg + (1x)MwoNoil SGo (10) where Noil is the number of liquid moles in the oil phase; Fo is the molar oil component in the oil discharge flow Foout; fMwg; Mwog are the gas and oil molecular weights; and fSGg; SGog are the gas and oil specific gravities. C. The gas phase Given the ideal gas law assumption, the gas phase of the separator is modeled by taking the material balance. We can estimate the gas pressure P by applying the ideal gas law, as described by equations (11): dNgas dt = Fg1 Fgout Voil = Mwo1Noil62:43SG o1 Vgas = Vsep Vwat Voil P = NgasRTV gas (11) where Ngas is the number of gas moles in the gas phase; Fgout is the gas molar outflow from the separator; fVoil; Vgas; Vsepg are the volumes of the oil phase, gas phase, and separator respectively; R is the universal gas constant; and T is the absolute separator temperature. IV. SEPARATOR MODEL VALIDATION Having obtained the dynamic model of the three-phase gravity separator, we design a simulation model which emulates an oil production facility to validate the model behavior under several scenarios. The simulation model basically consists of three processes, as depicted in figure 6. The first is a two-phase separator in which hydrocarbon fluids from oil wells are separated into two phases (gas, oil + water) to remove as much light hydrocarbon gases as possible. The separator is 15 ft long and has a diameter of 5 ft. The two-phase separator model was developed based on the models of the oil and gas phases of the three-phase sep- arator. That is, we have modeled only the thermodynamic phenomenon of gas flashing out the liquid phase. The liquid produced is then pumped to the three-phase separator (i.e., the second process), where water and solids are separated from oil. The oil produced is then pumped out and sold to refineries and petrochemical plants if it meets the required specifications. The three-phase separator has length of 8.6 ft and a diameter of 4.8 ft. Flashed light and medium gases from the separation processes are sent to a gas scrubber where medium hydrocarbon and other liquid remnants are separated from gas and sent back for further treatment. Produced gas is then compressed by a compressor (i.e., the third process) and pumped out for sales. The third process model was not included in the simulation model for the sake of simplicity. The two separation processes in the simulation model are controlled to maintain the operating point at its nominal value, and to minimize the effect of disturbances on the produced oil quality. As shown in figure 6, the first separa- tion process is controlled by two PI controller loops. In the first loop, the liquid level is maintained by manipulating the liquid outflow valve. The second loop controls the pressure inside the two-phase separator by manipulating the amount of gas discharge. The second separation process has three PI controller loops. An interface level PI controller maintains the height of the oil /water interface by manipulating the water dump valve, while the oil level is controlled by the second PI controller through the oil discharge valve. The vessel pressure is maintained constant by the third PI loop. V. SIMULATION RESULTS The two-phase separator process operates at a liquid phase volume of 146 ft3 and working pressure of 625 PSI. In contrast, the three-phase separator operates at water phase volume of 77.5 ft3, oil phase volume of 46.5 ft3, and working pressure of 200 PSI. The working temperatures of the two separation processes are 100oF. The facility processes hydrocarbon streams of 25.23 moles /sec from oil wells under pressure of 1900 PSI. The incoming stream has mole fractions of 22:61% gas, 7:79% oil, and 69:6% water. In order to demonstrate the dynamic behavior of the separators, the oil content of the incoming stream has been increased linearly by 2 moles /sec between the time instants t1 = 150 sec and t2 = 250 sec of the simulation time. Figure 7 portrays this change in the incoming stream flow and in its molar composition; the oil mole fraction increased while the water and gas mole fractions decreased. Fig. 7: Incoming hydrocarbon fluid and its molar composition The ramp increase in the oil component of the incoming stream caused the liquid volume and gas pressure in the two-phase separator to peak to 167 ft3 and 630 PSI respec- tively, as shown in figure 8. The two PI control loops of the two-phase separator intervened to correct such operating point errors by manipulating the liquid and gas outflows. This operating point disturbance took approximately 300 sec to be totally rejected by the separator control system. Figure 8 also reveals the difference between the dynamics of the two phases of the separator. The liquid phase has slower dynamics than the gas phase dynamics, i.e., the pressure changes fast
收藏