US11492557B2 - Demulsifier control algorithm for dual frequency desalting electrostatic coalescers - Google Patents

Demulsifier control algorithm for dual frequency desalting electrostatic coalescers Download PDF

Info

Publication number
US11492557B2
US11492557B2 US16/933,493 US202016933493A US11492557B2 US 11492557 B2 US11492557 B2 US 11492557B2 US 202016933493 A US202016933493 A US 202016933493A US 11492557 B2 US11492557 B2 US 11492557B2
Authority
US
United States
Prior art keywords
demulsifier
hppt
dfd
computer
dosage
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active, expires
Application number
US16/933,493
Other versions
US20220017828A1 (en
Inventor
Miguel Angel Lopez Andreu
Ramsey James White
Freddy Rubiano Morales
Sultan I. Alghamdi
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Saudi Arabian Oil Co
Original Assignee
Saudi Arabian Oil Co
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Saudi Arabian Oil Co filed Critical Saudi Arabian Oil Co
Priority to US16/933,493 priority Critical patent/US11492557B2/en
Assigned to SAUDI ARABIAN OIL COMPANY reassignment SAUDI ARABIAN OIL COMPANY ASSIGNMENT OF ASSIGNORS INTEREST (SEE DOCUMENT FOR DETAILS). Assignors: ALGHAMDI, SULTAN I., LOPEZ ANDREU, MIGUEL ANGEL, MORALES, FREDDY RUBIANO, WHITE, RAMSEY JAMES
Priority to PCT/US2021/042291 priority patent/WO2022020296A1/en
Priority to EP21752425.5A priority patent/EP4182418A1/en
Publication of US20220017828A1 publication Critical patent/US20220017828A1/en
Application granted granted Critical
Publication of US11492557B2 publication Critical patent/US11492557B2/en
Active legal-status Critical Current
Adjusted expiration legal-status Critical

Links

Images

Classifications

    • CCHEMISTRY; METALLURGY
    • C10PETROLEUM, GAS OR COKE INDUSTRIES; TECHNICAL GASES CONTAINING CARBON MONOXIDE; FUELS; LUBRICANTS; PEAT
    • C10GCRACKING HYDROCARBON OILS; PRODUCTION OF LIQUID HYDROCARBON MIXTURES, e.g. BY DESTRUCTIVE HYDROGENATION, OLIGOMERISATION, POLYMERISATION; RECOVERY OF HYDROCARBON OILS FROM OIL-SHALE, OIL-SAND, OR GASES; REFINING MIXTURES MAINLY CONSISTING OF HYDROCARBONS; REFORMING OF NAPHTHA; MINERAL WAXES
    • C10G33/00Dewatering or demulsification of hydrocarbon oils
    • C10G33/08Controlling or regulating
    • BPERFORMING OPERATIONS; TRANSPORTING
    • B01PHYSICAL OR CHEMICAL PROCESSES OR APPARATUS IN GENERAL
    • B01DSEPARATION
    • B01D17/00Separation of liquids, not provided for elsewhere, e.g. by thermal diffusion
    • B01D17/02Separation of non-miscible liquids
    • B01D17/04Breaking emulsions
    • B01D17/047Breaking emulsions with separation aids
    • BPERFORMING OPERATIONS; TRANSPORTING
    • B01PHYSICAL OR CHEMICAL PROCESSES OR APPARATUS IN GENERAL
    • B01DSEPARATION
    • B01D17/00Separation of liquids, not provided for elsewhere, e.g. by thermal diffusion
    • B01D17/12Auxiliary equipment particularly adapted for use with liquid-separating apparatus, e.g. control circuits
    • CCHEMISTRY; METALLURGY
    • C10PETROLEUM, GAS OR COKE INDUSTRIES; TECHNICAL GASES CONTAINING CARBON MONOXIDE; FUELS; LUBRICANTS; PEAT
    • C10GCRACKING HYDROCARBON OILS; PRODUCTION OF LIQUID HYDROCARBON MIXTURES, e.g. BY DESTRUCTIVE HYDROGENATION, OLIGOMERISATION, POLYMERISATION; RECOVERY OF HYDROCARBON OILS FROM OIL-SHALE, OIL-SAND, OR GASES; REFINING MIXTURES MAINLY CONSISTING OF HYDROCARBONS; REFORMING OF NAPHTHA; MINERAL WAXES
    • C10G31/00Refining of hydrocarbon oils, in the absence of hydrogen, by methods not otherwise provided for
    • C10G31/08Refining of hydrocarbon oils, in the absence of hydrogen, by methods not otherwise provided for by treating with water
    • CCHEMISTRY; METALLURGY
    • C10PETROLEUM, GAS OR COKE INDUSTRIES; TECHNICAL GASES CONTAINING CARBON MONOXIDE; FUELS; LUBRICANTS; PEAT
    • C10GCRACKING HYDROCARBON OILS; PRODUCTION OF LIQUID HYDROCARBON MIXTURES, e.g. BY DESTRUCTIVE HYDROGENATION, OLIGOMERISATION, POLYMERISATION; RECOVERY OF HYDROCARBON OILS FROM OIL-SHALE, OIL-SAND, OR GASES; REFINING MIXTURES MAINLY CONSISTING OF HYDROCARBONS; REFORMING OF NAPHTHA; MINERAL WAXES
    • C10G33/00Dewatering or demulsification of hydrocarbon oils
    • C10G33/02Dewatering or demulsification of hydrocarbon oils with electrical or magnetic means
    • CCHEMISTRY; METALLURGY
    • C10PETROLEUM, GAS OR COKE INDUSTRIES; TECHNICAL GASES CONTAINING CARBON MONOXIDE; FUELS; LUBRICANTS; PEAT
    • C10GCRACKING HYDROCARBON OILS; PRODUCTION OF LIQUID HYDROCARBON MIXTURES, e.g. BY DESTRUCTIVE HYDROGENATION, OLIGOMERISATION, POLYMERISATION; RECOVERY OF HYDROCARBON OILS FROM OIL-SHALE, OIL-SAND, OR GASES; REFINING MIXTURES MAINLY CONSISTING OF HYDROCARBONS; REFORMING OF NAPHTHA; MINERAL WAXES
    • C10G33/00Dewatering or demulsification of hydrocarbon oils
    • C10G33/04Dewatering or demulsification of hydrocarbon oils with chemical means
    • GPHYSICS
    • G01MEASURING; TESTING
    • G01KMEASURING TEMPERATURE; MEASURING QUANTITY OF HEAT; THERMALLY-SENSITIVE ELEMENTS NOT OTHERWISE PROVIDED FOR
    • G01K13/00Thermometers specially adapted for specific purposes
    • G01K13/02Thermometers specially adapted for specific purposes for measuring temperature of moving fluids or granular materials capable of flow
    • GPHYSICS
    • G01MEASURING; TESTING
    • G01KMEASURING TEMPERATURE; MEASURING QUANTITY OF HEAT; THERMALLY-SENSITIVE ELEMENTS NOT OTHERWISE PROVIDED FOR
    • G01K3/00Thermometers giving results other than momentary value of temperature
    • G01K3/02Thermometers giving results other than momentary value of temperature giving means values; giving integrated values
    • G01K3/04Thermometers giving results other than momentary value of temperature giving means values; giving integrated values in respect of time
    • GPHYSICS
    • G01MEASURING; TESTING
    • G01RMEASURING ELECTRIC VARIABLES; MEASURING MAGNETIC VARIABLES
    • G01R19/00Arrangements for measuring currents or voltages or for indicating presence or sign thereof
    • G01R19/12Measuring rate of change
    • GPHYSICS
    • G01MEASURING; TESTING
    • G01KMEASURING TEMPERATURE; MEASURING QUANTITY OF HEAT; THERMALLY-SENSITIVE ELEMENTS NOT OTHERWISE PROVIDED FOR
    • G01K13/00Thermometers specially adapted for specific purposes
    • G01K13/02Thermometers specially adapted for specific purposes for measuring temperature of moving fluids or granular materials capable of flow
    • G01K13/024Thermometers specially adapted for specific purposes for measuring temperature of moving fluids or granular materials capable of flow of moving gases

Definitions

  • This disclosure generally relates to control processes and apparatus in a Gas Oil Separation Plant (GOSP).
  • GOSP Gas Oil Separation Plant
  • a Gas-Oil Separation Plant can separate water from crude oil to produce dry crude.
  • the GOSP can achieve such separation by injecting demulsifier to separate free water using gravity separators then by using electrostatic coalescers for removing emulsified water and crude.
  • the present disclosure describes a computer-implemented method that includes: monitoring, at a gas oil separation plant (GOSP) facility having a high-pressure production trap (HPPT) apparatus and a Dual Frequency Desalting (DFD) device, a plurality of parameters, wherein the plurality of parameters include one or more current measurements from the DFD device, as well as gas temperature and demulsifier concentration from the HPPT apparatus; based on the one or more current measurements, determining a rate of change of the one or more current measurements from the DFD device; and in response to the rate of change as well as the gas temperature and the demulsifier concentration, adjusting a demulsifier dosage being injected into the HPPT apparatus.
  • GOSP gas oil separation plant
  • HPPT high-pressure production trap
  • DFD Dual Frequency Desalting
  • Implementations may include one or more of the following features.
  • the adjusting may include: when the rate of change indicates an unstable condition, ramping up the demulsifier dosage but not to exceed a maximum dosage concentration; and when the determined rate of change indicates a trend stability, ramping down the demulsifier dosage but above a minimum dosage concentration.
  • the method may include: using a controller logic to implement a current override to affect the demulsifier concentration at the HPPT apparatus when adjusting the demulsifier dosage to mitigate the unstable condition.
  • the method may include: in response to determining that a separation efficiency is below a threshold value, switching off monitoring of the HPPT apparatus so that DFD device alone drives the adjusting of the demulsifier dosage.
  • the current measurements record currents at a plurality of transformers on the DFD device.
  • the method may further include determining an optimum demulsifier dosage based on the rate of change of the one or more current measurements at the plurality of transformers on the DFD device. Determining the optimum demulsifier dosage is further based on a gas temperature indication at the HPPT apparatus.
  • the present disclosure describes a computer system comprising a computer memory and a hardware processor interoperably coupled with the computer memory and configured to perform operations including: monitoring, at a gas oil separation plant (GOSP) facility that includes a high-pressure production trap (HPPT) apparatus and a dual frequency desalting (DFD) device, a plurality of parameters, wherein the plurality of parameters include one or more current measurements from the DFD device, as well as gas temperature and demulsifier concentration from the HPPT apparatus; based on the one or more current measurements, determining a rate of change of the one or more current measurements from the DFD device; and in response to the rate of change as well as the gas temperature and the demulsifier concentration, adjusting a demulsifier dosage being injected into the HPPT apparatus.
  • GOSP gas oil separation plant
  • HPPT high-pressure production trap
  • DFD dual frequency desalting
  • Implementations may include one or more of the following features.
  • the adjusting may include when the rate of change indicates an unstable condition, ramping up the demulsifier dosage but not to exceed a maximum dosage concentration; and when the determined rate of change indicates a trend stability, ramping down the demulsifier dosage but above a minimum dosage concentration.
  • the operations may include: using a controller logic to implement a current override to affect the demulsifier concentration at the HPPT apparatus when adjusting the demulsifier dosage to mitigate the unstable condition.
  • the operations may further include: in response to determining that a separation efficiency is below a threshold value, switching off monitoring of the HPPT apparatus so that DFD device alone drives the adjusting of the demulsifier dosage.
  • the current measurements may record currents at a plurality of transformers on the DFD device.
  • the operations may further include: determining an optimum demulsifier dosage based on the rate of change of the one or more current measurements at the plurality of transformers on the DFD device. Determining the optimum demulsifier dosage may be further based on a gas temperature indication at the HPPT apparatus.
  • the present disclosure describes a non-transitory, computer-readable medium storing one or more instructions executable by a computer system to perform operations comprising: monitoring, at a gas oil separation plant (GOSP) facility having a high-pressure production trap (HPPT) apparatus and a dual frequency desalting (DFD) device, a plurality of parameters, wherein the plurality of parameters include one or more current measurements from the DFD device, as well as gas temperature and demulsifier concentration from the HPPT apparatus; based on the one or more current measurements, determining a rate of change of the one or more current measurements from the DFD device; and in response to the rate of change as well as the gas temperature and the demulsifier concentration, adjusting a demulsifier dosage being injected into the HPPT apparatus.
  • GOSP gas oil separation plant
  • HPPT high-pressure production trap
  • DFD dual frequency desalting
  • Implementations may include one or more of the following features.
  • the adjusting may include when the rate of change indicates an unstable condition, ramping up the demulsifier dosage but not to exceed a maximum dosage concentration; and when the determined rate of change indicates a trend stability, ramping down the demulsifier dosage but above a minimum dosage concentration.
  • the operations may include: using a controller logic to implement a current override to affect the demulsifier concentration at the HPPT apparatus when adjusting the demulsifier dosage to mitigate the unstable condition.
  • the operations may further include: in response to determining that a separation efficiency is below a threshold value, switching off monitoring of the HPPT apparatus so that DFD device alone drives the adjusting of the demulsifier dosage.
  • the current measurements may record currents at a plurality of transformers on the DFD device.
  • the operations may further include: determining an optimum demulsifier dosage based on the rate of change of the one or more current measurements at the plurality of transformers on the DFD device. Determining the optimum demulsifier dosage may be further based on a gas temperature indication at the HPPT apparatus.
  • Implementations according to the present disclosure may be realized in computer implemented methods, hardware computing systems, and tangible computer readable media.
  • a system of one or more computers can be configured to perform particular actions by virtue of having software, firmware, hardware, or a combination of them installed on the system that in operation causes or cause the system to perform the actions.
  • One or more computer programs can be configured to perform particular actions by virtue of including instructions that, when executed by data processing apparatus, cause the apparatus to perform the actions.
  • FIG. 1 illustrates an example of a Smart Demulsifier Control (SDC) architecture relevant to some implementation of the present disclosure.
  • SDC Smart Demulsifier Control
  • FIG. 2 illustrates another example of a modified Smart Demulsifier Control (SDC) architecture according to an implementation of the present disclosure.
  • SDC Smart Demulsifier Control
  • FIG. 3 illustrates an example of the performance of the controller logic according to an implementation of the present disclosure.
  • FIG. 4 illustrate examples of a control interface according to an implementation of the present disclosure.
  • FIGS. 5A and 5B illustrate an example of a control screen according to an implementation of the present disclosure.
  • FIG. 5C illustrated an example of a flow chart according to an implementation of the present disclosure.
  • FIG. 6 is a block diagram illustrating an example of a computer system used to provide computational functionalities associated with described algorithms, methods, functions, processes, flows, and procedures, according to an implementation of the present disclosure.
  • the disclosed technology is directed to a Gas-Oil Separation Plant (GOSP) facility with improved feedback control.
  • GOSP Gas-Oil Separation Plant
  • One of the primary functions of the GOSP facility is to separate water from crude oil to produce dry crude. This is achieved by separating free water using gravity separators (e.g., 3-Phase Separators also known as Production Traps) then by using electrostatic coalescers (e.g., Dehydrators and Desalters) for removing emulsified water and crude.
  • demulsifier chemical is added to the production header. Demulsifier is a chemical that promotes water separation from the oil.
  • the required amount of demulsifier in a GOSP facility depends upon a number of factors such as crude type, emulsion characterization, vessels design and chemical formulation effectiveness.
  • electrostatic coalescers use electric field to promote water separation from oil.
  • a particular amount of demulsifier can be introduced in the system to prevent upsets associated to the formation of rag layers around the interface of these separators.
  • the separation facility can be equipped with a conventional AC coalescer that provides the voltage measurements for each transformer as feedback signals to the control system.
  • implementations of the present disclosure incorporate a demulsifier control logic that uses the electric current readings (particularly the rate of change of current) of the Dual Frequency Desalting (DFD) technology as it strongly correlates to water-oil interface layer quality.
  • DFD Dual Frequency Desalting
  • DFD Dual Frequency Desalting
  • DCS Distributed Control System
  • implementations of the present disclosure can pursue a DFD monitoring logic to determine the optimum dosage based on the stability of the trends of the rate of change of current of all the DFD transformers as well as other parameters.
  • Some cases allow switching off the HPPT separation (e.g., the 3-phase separator) monitor for cases of low separation.
  • the DFD Dehydrator alone will be the demulsifier driver if the HPPT apparatus is not separating sufficiently enough.
  • optimum dosage based on DFD monitoring is related to the overall demulsifier limits (including the minimum and maximum concentration limits). Therefore, the optimum demulsifier dosage will also depend on the current trends and the overall process temperature.
  • a typical GOSP can include equipment identified in Table 1:
  • HPPT separates gas at high pressure (for example, 150-450 psig) from the crude oil. It can operate as a three-phase separator to separate free water also.
  • Demulsifier This demulsifier injection skid injects demulsifier Injection Skid chemical at the production header. Demulsifier breaks emulsions to allow for separation of free water in the high-pressure production trap and assist in crude desalting.
  • LPPT The low pressure production trap (LPPT) separates gas at low pressure (for example, 50 psig) from the crude oil.
  • Charge Pumps The charge pumps pressure the crude oil from the LPPT to discharge into the crude oil desalting train.
  • Dehydrator which receives crude from the charge pumps, is the first stage electrostatic coalescer of the desalting train to remove the bulk emulsions from the crude oil under an electrostatic field.
  • Mixing Valve The mixing valve station shears injection wash water Station to mix with residual produced water. This will bring the average salinity of the water in the oil.
  • Desalter The desalter is the second-stage electrostatic coalescer of the desalting train.
  • WOSEP water-oil separator
  • a “demulsifier concentration” is a measurement of concentration, typically in parts per million (ppm), of demulsifier chemical in the total fluid, such as a fluid including oil and water.
  • An “HPPT separation efficiency” is a percentage of water separated in the HPPT versus the total water removed at the GOSP.
  • An “HPPT retention time” is a time, in minutes, for water to separate from crude in an HPPT separation compartment, such as an upstream water weir.
  • GOSP configurations can serve as a basis for understanding the Smart Demulsifier Control (SDC).
  • SDC Smart Demulsifier Control
  • the GOSP configuration would be used to determine the best possible control scheme, including the number of production manifolds, HPPTs, line-up options between manifolds and HPPTs, and mode of operation of each HPPT, such as whether the mode is three-phase or 2-phase.
  • a demulsifier is normally added upstream of the HPPT through an automatic flow control.
  • FIG. 1 shows an example of a Smart Demulsifier Control (SDC) architecture 100 , according to an implementation.
  • the architecture 100 illustrates adjusting demulsifier injection rates to control high-pressure production trap (HPPT) separation efficiency based on, for example, AC dehydrator/desalter control.
  • Components in the SDC architecture 100 include the following annotations.
  • a flow indication (FI) can indicate, for example, a flow reading from flow transmitter.
  • a temperature indication (TI) can indicate, for example, a temperature reading from temperature transmitter.
  • a process value (PV) can indicate, for example, a value of a process variable that is being controlled.
  • a manipulated value (MV) can indicate, for example, a controller output that triggers action of a final control element to a control process variable.
  • a set value (SV) can indicate, for example, a desired set point of the process variable that is being controlled.
  • the SDC architecture 200 also identifies one or more instances of a flow indication controller, a proportional integral derivative (PID) control, an hourly average (HAV), and a GOSP.
  • PID proportional integral derivative
  • HAV hourly average
  • GOSP GOSP
  • dehydrator outlet water rate 101 is analyzed to generate average dehydrator water rate 107 .
  • the average dehydrator water rate is represented by a rolling average on a 1-hour basis ( 107 ).
  • Injection water rate ( 102 ) and wash water rate ( 103 ) are combined to generate average production water rate ( 108 ).
  • the average produced water rate is a rolling average on a 1-hour basis.
  • HPPT water rate 104 can lead to a rolling average of the water flow rate from the HPPT ( 109 ). The rolling average can be on an hourly basis.
  • Dehydrator water rate 107 can lead to a first HPPT water efficiency 111 that is based on dehydrator water rate and a second HPPT water efficiency 112 that is based on HPPT water rate.
  • the SDC architecture 100 may calculate a selection ( 114 ) of one of the two HPPT water efficiency numbers to determine a HPPT separation efficiency 115 .
  • HPPT gas temperature 105 is provided to generate an average gas temperature 113 , for example, as a rolling average on an hourly basis.
  • the average gas temperature ( 113 ) can drive the selection of a minimum demulsifier concentration, a maximum demulsifier concentration, and a minimum HPPT separation efficiency ( 117 ).
  • a minimum demulsifier concentration is a minimum allowed demulsifier concentration as a function of the temperature.
  • the concentration can provide the dynamic low output limit for PID control of HPPT separation efficiency.
  • a maximum demulsifier concentration is a maximum allowed demulsifier concentration as a function of the temperature.
  • the concentration provides the dynamic high output limit for PID controllers of HPPT separation efficiency and for the dehydrator voltage override.
  • a minimum HPPT separation efficiency is a minimum separation expected at HPPT as a function of the temperature. Minimum separation efficiency can be expressed as a second-degree polynomial. However, minimum separation efficiency can be expressed in other forms depending on how the process data is curve-fitted, such as in a linear equation, exponential, power, or in other ways.
  • a target separation efficiency is identified that is between the minimum target separation efficiency and the maximum target separation efficiency.
  • the HPPT separation efficiency PID controller 116 can determine the target separation efficiency using the minimum and maximum target separation efficiencies.
  • the HPPT separation efficiency PID controller 116 can control the separation of water from oil in an HPPT, such as with an “HPPT Separation Efficiency (%).”
  • Voltage 106 A from transformer A, voltage 106 B from transformer B, voltage 106 C from transformer C are provided to a low value calculation ( 110 ) and then used in a voltage override PID controller 118 .
  • the output of the HPPT separation efficiency PID controller 116 and the output of voltage override PID controller 118 can be used in a high value calculation ( 119 ) for the set point of the demulsifier concentration PID controller 123 .
  • the demulsifier concentration can be increased if the separation efficiency is lower than the set point. It can be decreased if separation efficiency is greater than the set point.
  • Demulsifier concentration limits including maximum and minimum, can be determined based on site-specific process correlations.
  • a dry crude rate 120 can indicate a total produced oil rate from the GOSP.
  • the dry crude rate 120 can be used to generate a one-hour rolling average produced dry oil 121 .
  • Average produced dry oil 121 and average produced water 122 both in hourly average, can feed the demulsifier PID controller 123 , which has received the set point from the high value calculation 119 .
  • average produced water 122 and average production water rate 108 can form one stream of data.
  • the demulsifier PID controller 123 can drive a demulsifier flow controller PID 124 that provides a demulsifier flow control loop. The flow can be automatically adjusted based on a flow set point of a demulsifier PID controller 123 .
  • Output of the demulsifier concentration PID controller 123 is the set point of the demulsifier flow controller PID 124 .
  • the example from FIG. 1 incorporate feedback signals from conventional AC coalescers which only provide voltage measurements for each transformer.
  • Process Upsets in the Dehydrator/Desalter which are caused by contact of the electrostatic grid to a chain of emulsion droplets between the energized grids and the vessel/ground, do occur.
  • no monitoring signals are available for Operations to check the operational condition on the water/oil in a proactive manner.
  • all operational controls are based on operating procedures as to conduct skimming operations in regular basis and maintain enough demulsifier in the system to ensure steady operation.
  • Electrostatic coalescer interface quality measurement can also be measured using profilers. Two types of technologies may be used: nuclear and capacitance based technologies. By way of illustration, a nuclear based approach may involve the use of radiative materials.
  • the control algorithm can be retrofitted to the controller architecture of FIG. 1 , as further exemplified by FIG. 2 , so that the same limits and temperature effects can be used for the demulsifier requirement determination.
  • FIG. 2 a block diagram illustrates an example of smart demulsifier control (SDC) architecture 200 , according to an implementation.
  • the SDC architecture 200 includes DFD monitoring logic 206 and current override PID controller 207 to take full advantage of the measurements from the DFD technology (i.e. the current) and adjust the upstream demulsifier injection to ensure the crude desalting process is more efficient and less prone to upsets from a build-up of crude oil emulsions caused by a lack of demulsifier injection. While the DFD technology does not facilitate the current measurement in of itself, rather it is equipped with current measurement instruments to do so.
  • dehydrator outlet water rate 101 is processed to generate average dehydrator water rate 107 (for example, a rolling average on a 1-hour basis).
  • Injection water rate ( 102 ) and wash water rate ( 103 ) are combined to generate average production water rate 108 (for example, a rolling average on a 1-hour basis).
  • HPPT water rate 104 can lead to a rolling average of the water flow rate from the HPPT ( 109 ).
  • Dehydrator water rate 107 , average produced water rate 108 , average HPPT water rate 109 can lead to a first HPPT water efficiency 111 that is based on dehydrator water rate and a second HPPT water efficiency 112 that is based on HPPT water rate.
  • the SDC architecture may calculate a selection ( 114 ) of one of the two HPPT water efficiency numbers to determine a HPPT separation efficiency 115 .
  • HPPT gas temperature 105 is provided to generate an average gas temperature 113 (for example, a rolling average on an hourly basis).
  • the average gas temperature 113 can drive the selection of a minimum demulsifier concentration, a maximum demulsifier concentration, and a minimum HPPT separation efficiency.
  • the average temperature 113 can further determine a normal demulsifier concentration 204 A and an upset of the demulsifier concentration 204 B.
  • architecture 200 receives data encoding bus current on transformer A ( 201 A), bus current on transformer B ( 201 B), and bus current on transformer C ( 201 C).
  • a rolling average 202 A is generated based on the bus current 201 A from transformer A. In some cases, the rolling average 202 A may be an average over a period of 5 minutes.
  • a rolling average 202 B is generated based on the bus current 201 B from transformer B, and a rolling average 202 C is generated based on the bus current 201 C from transformer C.
  • Rolling averages 202 A, 202 B, and 202 C can be further processed to generate the respective rate of change from each transformer ( 203 ).
  • the respective rate of change from each transformer, as well as the normal demulsifier concentration 204 A and upset of demulsifier concentration 204 B, can drive the DFD monitoring logic 206 .
  • the DFD monitoring logic 206 may implement a control algorithm that operates on input of the max/min rate of change of the current being monitored (e.g., amp per hour) to determine a target dosage that comports with the normal concentration 204 A and upset concentration 204 B.
  • the DFD monitoring logic 206 may output a target demulsifier dosage to control block 209 .
  • the respective rate of change from each transformer can drive current override PID controller 207 .
  • the current override PID controller may likewise generate a limit demulsifier dosage to control block 209 .
  • the HPPT separation efficiency PID controller 116 can determine the target separation efficiency using the minimum and maximum target separation efficiencies.
  • the HPPT separation efficiency PID controller 116 can control the separation of water from oil in an HPPT, such as with an “HPPT Separation Efficiency (%).”
  • the output of the HPPT separation efficiency PID controller 116 can be provided to control block 209 through a switch 208 .
  • the control block 209 may select the larger value of the outputs from the DFD monitoring logic 206 , current override PID controller 207 , and the HPPT separation efficiency PID controller 116 .
  • the output of control block 209 can thus provide for the set point of the demulsifier concentration PID controller 123 .
  • the demulsifier concentration can be increased if the separation efficiency is lower than the set point. It can be decreased if separation efficiency is greater than the set point. Demulsifier concentration limits, including maximum and minimum, can be determined based on site-specific process correlations.
  • a dry crude rate 120 can indicate a total produced oil rate from the GOSP. The dry crude rate 120 can be used to generate a one-hour rolling average produced dry oil 121 .
  • Average produced dry oil 121 and average produced water 108 can feed the demulsifier PID controller 123 , which has received the set point from the high value calculation 119 .
  • the demulsifier PID controller 123 can drive a demulsifier flow controller PID 124 that provides a demulsifier flow control loop. The flow can be automatically adjusted based on a flow set point of a demulsifier PID controller 123 .
  • Output of the demulsifier concentration PID controller 123 is the set point of the demulsifier flow controller PID 124 .
  • One advantage associated with this implementation is the ability to ensure crude quality.
  • the demulsifier dosage is optimized in this process because it is not continuously over-injected to ensure that no upsets occur.
  • implementations of the DFD monitoring logic 206 can more judiciously determine the optimum dosage based on the stability of the trends of the rate of change of current of all the DFD transformers.
  • the optimum dosage based on DFD monitoring is related to the overall demulsifier limits (from minimum to maximum), which, as illustrated, depend on the current trends and the overall process temperature.
  • implementations incorporate the capability to switch off HPPT separation monitor for cases of low separation (where DFD Dehydrator alone will be the demulsifier driver if HPPT is not separating enough), as illustrated by switch 208 .
  • the top panel 300 A shows the rate of current changes within a range, from a minimum rate of change to a maximum rate of change, during a monitoring window. The rate of current changes is based on bus current being monitored.
  • the bottom panel 300 B shows demulsifier concentration during the monitoring window.
  • the rate of current change reaches a maximum ( 301 A)
  • an upset is noted in the demulsifier concentration ( 301 B).
  • the demulsifier concentration ramps up at a time point that corresponds to the instant when the rate of current changes reaches the maximum value.
  • the demulsifier concentration ramps down ( 302 B).
  • a demulsifier concentration ramp up is noted when the demulsifier concentration hits an upset dosage value ( 303 B). After the ramp-up, when the trend stability recovers, the demulsifier concentration returns to a normal dosage value ( 304 B).
  • the dehydrator signals e.g., the rate of current change
  • the demulsifier dosage is maintained within the defined window and is affected only by the process temperature and the GOSP oil and water rates. If the dehydrator signal becomes unstable, then the dosage of demulsifier will ramp to an upset condition in order to prevent a build-up of rag layer around the interface. Once the feedback signals are normalized, the system reverts back the dosage in a gradual manner.
  • Such dynamics thus introduces a predictive function as the controller logic can adjust the demulsifier addition before an actual de-energization (e.g., voltage drop) event happens.
  • the controller logic is built in such a way that the controller logic will be tracking the actual demulsifier concentration if the scheme is not connected.
  • a ramp block will set the target (Normal or Upset) based on the measured DFD trends.
  • a DCS screen can be created in order to monitor the control scheme performance at the GOSP, as shown in the example of a control interface 400 in FIG. 4 .
  • the control interface 400 can be implemented in a number of tools, such as a LabView.
  • the control interface includes a tab for demulsifier control field inputs 401 .
  • the control field inputs 401 may include gas temperature at the HPPT outlet, salt water flow rate in GPM (gallons per minute), wash water to desalter flow rate, treated crude flow rate, water flow rate when exiting HPPT, dehydrator water flow rate, and HPPT water level.
  • the variables from the control field inputs 401 can generate rolling averages 402 , for example, rolling on a 1-hour basis.
  • the interface includes a control panel 403 for SDC mode, which allows an operator to enable or disable the SDC mode.
  • the control panel 403 further indicates whether HPPT separation is deactivated (OFF) or activated (ON).
  • the control panel 403 may additionally indicate a water balance for a particular configuration.
  • the control interface 400 may include a panel 404 for measured current values from the bus of a DFD apparatus.
  • the panel 404 may include measured current values from various locations on the grid, the corresponding rolling averages of the measured current values, and the corresponding rates of change.
  • Panel 406 shows retention time for the particular water balance from control panel 403 .
  • Panel 407 shows HPPT separation efficiency values for a number of configurations, including D-201.
  • Controller block 405 includes panel 408 , panel 409 , DFD monitor panel 410 , current override panel 411 , demulsifier limit panel 414 , demulsifier concentration panel 415 , and flow indication controller (FIC) panel 416 .
  • Controller block 405 further displays a current value of 30 A.
  • Panel 408 includes a minimum separation calculation of 15%, an operator added margin of 15%, and a target set point of 30%.
  • Panel 409 corresponds to HPPT separation efficiency control.
  • DFD monitor panel 410 shows the set points of normal, upset and output values.
  • Current override control panel 411 corresponds to current override control.
  • Demulsifier limits panel 414 shows the set points of the maximum and minimum values for demulsfier dosage (ppm and gallons per day).
  • the output from the DFD monitor panel couples to the demulsifier concentration panel 415 through auto high selector 413 .
  • the output of demulsifier concentration panel 415 couples to flow indication controller (FIC) panel 416 .
  • FIC flow indication controller
  • FIG. 5A-5B show an example of a Plant Information (PI) screen 500 for further monitoring by engineer.
  • PI screen 500 includes panel 501 for demulsifier control field inputs, calculation panel 502 , display panel 503 , selectors 504 and 505 , control panel 506 , demulsifier logic list panel 507 , HPPT separation set point panel 508 , HTTP retention panel 509 , controller logic 510 .
  • Panel 501 displays field input values including temperature, flow, flow rate, and bus current. Calculation panel can generate rolling averages (e.g., hourly or 5-min) and rate of changes.
  • Display panel 503 displays the temporal course of various measured parameters, including, for example, rolling average of temperature, water cut, HPPT separation, DFD bus current, demulsifier concentration and flow.
  • Control panel 506 indicates the enabled/disabled status of, for example, HPPT separation.
  • Controller logic 510 includes, for example, HPPT efficiency panel 511 , DFD logic 512 , current override table 513 , demulsifier concentration limits 514 , demulsifier concentration 516 , and FIC panel 517 .
  • the output from HPPT efficiency panel 511 , DFD logic 512 , current override table 513 jointly drives the demulsifier concentration panel 516 through a high value selector 515 .
  • FIG. 5C shows a flow chart 520 according to some implementations.
  • the flow chart reflects a computer-implemented control method at a gas oil separation plant (GOSP) facility that includes a high-pressure production trap (HPPT) apparatus and a dual frequency Desalting (DFD) device.
  • the control process includes monitoring a plurality of parameters, wherein the plurality of parameters including one or more current measurements from the DFD device, as well as gas temperature and demulsifier concentration from the HPPT apparatus ( 522 ). Based on the one or more current measurements, the control process may determine a rate of change of the one or more current measurements from the DFD device ( 524 ).
  • the control process may adjust a demulsifier dosage being injected at the HPPT apparatus ( 526 ).
  • the control process may ramp up the demulsifier dosage but not to exceed a maximum dosage concentration.
  • the control process may ramp down the demulsifier dosage but above a minimum dosage concentration.
  • the control process may use a controller logic to implement a current override to affect the demulsifier concentration at the HPPT apparatus when adjusting the demulsifier dosage to mitigate the unstable condition.
  • the control process in response to determining that a separation efficiency is below a threshold value, may switch off monitoring of the HPPT apparatus so that DFD device alone drives the adjusting of the demulsifier dosage.
  • the current measurements may reflect currents at a plurality of transformers on the DFD device.
  • Some implementations may determine an optimum demulsifier dosage based on the rate of change of the one or more current measurements at the plurality of transformers on the DFD device.
  • the optimum demulsifier dosage may be further based on a gas temperature indication at the HPPT apparatus.
  • FIG. 6 is a block diagram illustrating an example of a computer system 600 used to provide computational functionalities associated with described algorithms, methods, functions, processes, flows, and procedures, according to an implementation of the present disclosure.
  • the illustrated computer 602 is intended to encompass any computing device such as a server, desktop computer, laptop/notebook computer, wireless data port, smart phone, personal data assistant (PDA), tablet computing device, one or more processors within these devices, another computing device, or a combination of computing devices, including physical or virtual instances of the computing device, or a combination of physical or virtual instances of the computing device.
  • PDA personal data assistant
  • the computer 602 can comprise a computer that includes an input device, such as a keypad, keyboard, touch screen, another input device, or a combination of input devices that can accept user information, and an output device that conveys information associated with the operation of the computer 602 , including digital data, visual, audio, another type of information, or a combination of types of information, on a graphical-type user interface (UI) (or GUI) or other UI.
  • an input device such as a keypad, keyboard, touch screen, another input device, or a combination of input devices that can accept user information
  • an output device that conveys information associated with the operation of the computer 602 , including digital data, visual, audio, another type of information, or a combination of types of information, on a graphical-type user interface (UI) (or GUI) or other UI.
  • UI graphical-type user interface
  • the computer 602 can serve in a role in a computer system as a client, network component, a server, a database or another persistency, another role, or a combination of roles for performing the subject matter described in the present disclosure.
  • the illustrated computer 602 is communicably coupled with a network 630 .
  • one or more components of the computer 602 can be configured to operate within an environment, including cloud-computing-based, local, global, another environment, or a combination of environments.
  • the computer 602 is an electronic computing device operable to receive, transmit, process, store, or manage data and information associated with the described subject matter. According to some implementations, the computer 602 can also include or be communicably coupled with a server, including an application server, e-mail server, web server, caching server, streaming data server, another server, or a combination of servers.
  • a server including an application server, e-mail server, web server, caching server, streaming data server, another server, or a combination of servers.
  • the computer 602 can receive requests over network 630 (for example, from a client software application executing on another computer 602 ) and respond to the received requests by processing the received requests using a software application or a combination of software applications.
  • requests can also be sent to the computer 602 from internal users, external or third-parties, or other entities, individuals, systems, or computers.
  • Each of the components of the computer 602 can communicate using a system bus 603 .
  • any or all of the components of the computer 602 can interface over the system bus 603 using an application programming interface (API) 612 , a service layer 613 , or a combination of the API 612 and service layer 613 .
  • the API 612 can include specifications for routines, data structures, and object classes.
  • the API 612 can be either computer-language independent or dependent and refer to a complete interface, a single function, or even a set of APIs.
  • the service layer 613 provides software services to the computer 602 or other components (whether illustrated or not) that are communicably coupled to the computer 602 .
  • the functionality of the computer 602 can be accessible for all service consumers using this service layer.
  • Software services such as those provided by the service layer 613 , provide reusable, defined functionalities through a defined interface.
  • the interface can be software written in JAVA, C++, another computing language, or a combination of computing languages providing data in extensible markup language (XML) format, another format, or a combination of formats.
  • XML extensible markup language
  • alternative implementations can illustrate the API 612 or the service layer 613 as stand-alone components in relation to other components of the computer 602 or other components (whether illustrated or not) that are communicably coupled to the computer 602 .
  • any or all parts of the API 612 or the service layer 613 can be implemented as a child or a sub-module of another software module, enterprise application, or hardware module without departing from the scope of the present disclosure.
  • the computer 602 includes an interface 604 . Although illustrated as a single interface 604 in FIG. 6 , two or more interfaces 604 can be used according to particular needs, desires, or particular implementations of the computer 602 .
  • the interface 604 is used by the computer 602 for communicating with another computing system (whether illustrated or not) that is communicatively linked to the network 630 in a distributed environment.
  • the interface 604 is operable to communicate with the network 630 and comprises logic encoded in software, hardware, or a combination of software and hardware. More specifically, the interface 604 can comprise software supporting one or more communication protocols associated with communications such that the network 630 or interface's hardware is operable to communicate physical signals within and outside of the illustrated computer 602 .
  • the computer 602 includes a processor 605 . Although illustrated as a single processor 605 in FIG. 6 , two or more processors can be used according to particular needs, desires, or particular implementations of the computer 602 . Generally, the processor 605 executes instructions and manipulates data to perform the operations of the computer 602 and any algorithms, methods, functions, processes, flows, and procedures as described in the present disclosure.
  • the computer 602 also includes a database 606 that can hold data for the computer 602 , another component communicatively linked to the network 630 (whether illustrated or not), or a combination of the computer 602 and another component.
  • database 606 can be an in-memory, conventional, or another type of database storing data consistent with the present disclosure.
  • database 606 can be a combination of two or more different database types (for example, a hybrid in-memory and conventional database) according to particular needs, desires, or particular implementations of the computer 602 and the described functionality.
  • two or more databases of similar or differing types can be used according to particular needs, desires, or particular implementations of the computer 602 and the described functionality.
  • database 606 is illustrated as an integral component of the computer 602 , in alternative implementations, database 606 can be external to the computer 602 . As illustrated, the database 606 holds the previously described data 616 including, for example, multiple streams of data from various sources, such as demulsifier concentration, transformer bus current, gas temperature, water rate, and dry crude rate.
  • sources such as demulsifier concentration, transformer bus current, gas temperature, water rate, and dry crude rate.
  • the computer 602 also includes a memory 607 that can hold data for the computer 602 , another component or components communicatively linked to the network 630 (whether illustrated or not), or a combination of the computer 602 and another component.
  • Memory 607 can store any data consistent with the present disclosure.
  • memory 607 can be a combination of two or more different types of memory (for example, a combination of semiconductor and magnetic storage) according to particular needs, desires, or particular implementations of the computer 602 and the described functionality.
  • two or more memories 607 or similar or differing types can be used according to particular needs, desires, or particular implementations of the computer 602 and the described functionality.
  • memory 607 is illustrated as an integral component of the computer 602 , in alternative implementations, memory 607 can be external to the computer 602 .
  • the application 608 is an algorithmic software engine providing functionality according to particular needs, desires, or particular implementations of the computer 602 , particularly with respect to functionality described in the present disclosure.
  • application 608 can serve as one or more components, modules, or applications.
  • the application 608 can be implemented as multiple applications 608 on the computer 602 .
  • the application 608 can be external to the computer 602 .
  • the computer 602 can also include a power supply 614 .
  • the power supply 614 can include a rechargeable or non-rechargeable battery that can be configured to be either user- or non-user-replaceable.
  • the power supply 614 can include power-conversion or management circuits (including recharging, standby, or another power management functionality).
  • the power-supply 614 can include a power plug to allow the computer 602 to be plugged into a wall socket or another power source to, for example, power the computer 602 or recharge a rechargeable battery.
  • computers 602 there can be any number of computers 602 associated with, or external to, a computer system containing computer 602 , each computer 602 communicating over network 630 .
  • client can be any number of computers 602 associated with, or external to, a computer system containing computer 602 , each computer 602 communicating over network 630 .
  • client can be any number of computers 602 associated with, or external to, a computer system containing computer 602 , each computer 602 communicating over network 630 .
  • client “user,” or other appropriate terminology can be used interchangeably, as appropriate, without departing from the scope of the present disclosure.
  • the present disclosure contemplates that many users can use one computer 602 , or that one user can use multiple computers 602 .
  • Implementations of the subject matter and the functional operations described in this specification can be implemented in digital electronic circuitry, in tangibly embodied computer software or firmware, in computer hardware, including the structures disclosed in this specification and their structural equivalents, or in combinations of one or more of them.
  • Software implementations of the described subject matter can be implemented as one or more computer programs, that is, one or more modules of computer program instructions encoded on a tangible, non-transitory, computer-readable computer-storage medium for execution by, or to control the operation of, data processing apparatus.
  • the program instructions can be encoded in/on an artificially generated propagated signal, for example, a machine-generated electrical, optical, or electromagnetic signal that is generated to encode information for transmission to a receiver apparatus for execution by a data processing apparatus.
  • real-time means that an action and a response are temporally proximate such that an individual perceives the action and the response occurring substantially simultaneously.
  • time difference for a response to display (or for an initiation of a display) of data following the individual's action to access the data can be less than 1 millisecond (ms), less than 1 second (s), or less than 5 s.
  • data processing apparatus refers to data processing hardware and encompass all kinds of apparatus, devices, and machines for processing data, including by way of example, a programmable processor, a computer, or multiple processors or computers.
  • the apparatus can also be, or further include special purpose logic circuitry, for example, a central processing unit (CPU), an FPGA (field programmable gate array), or an ASIC (application-specific integrated circuit).
  • the data processing apparatus or special purpose logic circuitry can be hardware- or software-based (or a combination of both hardware- and software-based).
  • the apparatus can optionally include code that creates an execution environment for computer programs, for example, code that constitutes processor firmware, a protocol stack, a database management system, an operating system, or a combination of execution environments.
  • code that constitutes processor firmware for example, code that constitutes processor firmware, a protocol stack, a database management system, an operating system, or a combination of execution environments.
  • the present disclosure contemplates the use of data processing apparatuses with an operating system of some type, for example LINUX, UNIX, WINDOWS, MAC OS, ANDROID, IOS, another operating system, or a combination of operating systems.
  • a program can be stored in a portion of a file that holds other programs or data, for example, one or more scripts stored in a markup language document, in a single file dedicated to the program in question, or in multiple coordinated files, for example, files that store one or more modules, sub-programs, or portions of code.
  • a computer program can be deployed to be executed on one computer or on multiple computers that are located at one site or distributed across multiple sites and interconnected by a communication network.
  • While portions of the programs illustrated in the various figures can be illustrated as individual components, such as units or modules, that implement described features and functionality using various objects, methods, or other processes, the programs can instead include a number of sub-units, sub-modules, third-party services, components, libraries, and other components, as appropriate. Conversely, the features and functionality of various components can be combined into single components, as appropriate. Thresholds used to make computational determinations can be statically, dynamically, or both statically and dynamically determined.
  • Described methods, processes, or logic flows represent one or more examples of functionality consistent with the present disclosure and are not intended to limit the disclosure to the described or illustrated implementations, but to be accorded the widest scope consistent with described principles and features.
  • the described methods, processes, or logic flows can be performed by one or more programmable computers executing one or more computer programs to perform functions by operating on input data and generating output data.
  • the methods, processes, or logic flows can also be performed by, and apparatus can also be implemented as, special purpose logic circuitry, for example, a CPU, an FPGA, or an ASIC.
  • Computers for the execution of a computer program can be based on general or special purpose microprocessors, both, or another type of CPU.
  • a CPU will receive instructions and data from and write to a memory.
  • the essential elements of a computer are a CPU, for performing or executing instructions, and one or more memory devices for storing instructions and data.
  • a computer will also include, or be operatively coupled to, receive data from or transfer data to, or both, one or more mass storage devices for storing data, for example, magnetic, magneto-optical disks, or optical disks.
  • mass storage devices for storing data, for example, magnetic, magneto-optical disks, or optical disks.
  • a computer need not have such devices.
  • a computer can be embedded in another device, for example, a mobile telephone, a personal digital assistant (PDA), a mobile audio or video player, a game console, a global positioning system (GPS) receiver, or a portable memory storage device.
  • PDA personal digital assistant
  • GPS global positioning system
  • Non-transitory computer-readable media for storing computer program instructions and data can include all forms of media and memory devices, magnetic devices, magneto optical disks, and optical memory device.
  • Memory devices include semiconductor memory devices, for example, random access memory (RAM), read-only memory (ROM), phase change memory (PRAM), static random access memory (SRAM), dynamic random access memory (DRAM), erasable programmable read-only memory (EPROM), electrically erasable programmable read-only memory (EEPROM), and flash memory devices.
  • RAM random access memory
  • ROM read-only memory
  • PRAM phase change memory
  • SRAM static random access memory
  • DRAM dynamic random access memory
  • EPROM erasable programmable read-only memory
  • EEPROM electrically erasable programmable read-only memory
  • flash memory devices include, for example, tape, cartridges, cassettes, internal/removable disks.
  • Optical memory devices include, for example, digital video disc (DVD), CD-ROM, DVD+/ ⁇ R, DVD-RAM, DVD-ROM, HD-DVD, and BLURAY, and other optical memory technologies.
  • the memory can store various objects or data, including caches, classes, frameworks, applications, modules, backup data, jobs, web pages, web page templates, data structures, database tables, repositories storing dynamic information, or other appropriate information including any parameters, variables, algorithms, instructions, rules, constraints, or references. Additionally, the memory can include other appropriate data, such as logs, policies, security or access data, or reporting files.
  • the processor and the memory can be supplemented by, or incorporated in, special purpose logic circuitry.
  • implementations of the subject matter described in this specification can be implemented on a computer having a display device, for example, a CRT (cathode ray tube), LCD (liquid crystal display), LED (Light Emitting Diode), or plasma monitor, for displaying information to the user and a keyboard and a pointing device, for example, a mouse, trackball, or trackpad by which the user can provide input to the computer.
  • Input can also be provided to the computer using a touchscreen, such as a tablet computer surface with pressure sensitivity, a multi-touch screen using capacitive or electric sensing, or another type of touchscreen.
  • Other types of devices can be used to interact with the user.
  • feedback provided to the user can be any form of sensory feedback.
  • Input from the user can be received in any form, including acoustic, speech, or tactile input.
  • a computer can interact with the user by sending documents to and receiving documents from a client computing device that is used by the user.
  • GUI graphical user interface
  • GUI can be used in the singular or the plural to describe one or more graphical user interfaces and each of the displays of a particular graphical user interface. Therefore, a GUI can represent any graphical user interface, including but not limited to, a web browser, a touch screen, or a command line interface (CLI) that processes information and efficiently presents the information results to the user.
  • a GUI can include a plurality of user interface (UI) elements, some or all associated with a web browser, such as interactive fields, pull-down lists, and buttons. These and other UI elements can be related to or represent the functions of the web browser.
  • UI user interface
  • Implementations of the subject matter described in this specification can be implemented in a computing system that includes a back-end component, for example, as a data server, or that includes a middleware component, for example, an application server, or that includes a front-end component, for example, a client computer having a graphical user interface or a Web browser through which a user can interact with an implementation of the subject matter described in this specification, or any combination of one or more such back-end, middleware, or front-end components.
  • the components of the system can be interconnected by any form or medium of wireline or wireless digital data communication (or a combination of data communication), for example, a communication network.
  • Examples of communication networks include a local area network (LAN), a radio access network (RAN), a metropolitan area network (MAN), a wide area network (WAN), Worldwide Interoperability for Microwave Access (WIMAX), a wireless local area network (WLAN) using, for example, 802.11 a/b/g/n or 802.20 (or a combination of 802.11x and 802.20 or other protocols consistent with the present disclosure), all or a portion of the Internet, another communication network, or a combination of communication networks.
  • the communication network can communicate with, for example, Internet Protocol (IP) packets, Frame Relay frames, Asynchronous Transfer Mode (ATM) cells, voice, video, data, or other information between networks addresses.
  • IP Internet Protocol
  • ATM Asynchronous Transfer Mode
  • the computing system can include clients and servers.
  • a client and server are generally remote from each other and typically interact through a communication network.
  • the relationship of client and server arises by virtue of computer programs running on the respective computers and having a client-server relationship to each other.
  • any claimed implementation is considered to be applicable to at least a computer-implemented method; a non-transitory, computer-readable medium storing computer-readable instructions to perform the computer-implemented method; and a computer system comprising a computer memory interoperably coupled with a hardware processor configured to perform the computer-implemented method or the instructions stored on the non-transitory, computer-readable medium.

Landscapes

  • Chemical & Material Sciences (AREA)
  • Oil, Petroleum & Natural Gas (AREA)
  • Chemical Kinetics & Catalysis (AREA)
  • Engineering & Computer Science (AREA)
  • General Chemical & Material Sciences (AREA)
  • Organic Chemistry (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Thermal Sciences (AREA)
  • Testing And Monitoring For Control Systems (AREA)
  • Feedback Control In General (AREA)

Abstract

The present disclosure describes a computer-implemented method that includes: monitoring, at a gas oil separation plant (GOSP) facility that includes a high-pressure production trap (HPPT) apparatus and a Dual Frequency Desalting (DFD) device, a plurality of parameters, wherein the plurality of parameters include one or more current measurements from the DFD device, as well as gas temperature and demulsifier concentration from the HPPT; based on the one or more current measurements, determining a rate of change of the one or more current measurements from the DFD device; and in response to the rate of change as well as the gas temperature and the demulsifier concentration, adjusting a demulsifier dosage being injected at the HPPT apparatus.

Description

TECHNICAL FIELD
This disclosure generally relates to control processes and apparatus in a Gas Oil Separation Plant (GOSP).
BACKGROUND
A Gas-Oil Separation Plant (GOSP) can separate water from crude oil to produce dry crude. The GOSP can achieve such separation by injecting demulsifier to separate free water using gravity separators then by using electrostatic coalescers for removing emulsified water and crude.
SUMMARY
In one aspect, the present disclosure describes a computer-implemented method that includes: monitoring, at a gas oil separation plant (GOSP) facility having a high-pressure production trap (HPPT) apparatus and a Dual Frequency Desalting (DFD) device, a plurality of parameters, wherein the plurality of parameters include one or more current measurements from the DFD device, as well as gas temperature and demulsifier concentration from the HPPT apparatus; based on the one or more current measurements, determining a rate of change of the one or more current measurements from the DFD device; and in response to the rate of change as well as the gas temperature and the demulsifier concentration, adjusting a demulsifier dosage being injected into the HPPT apparatus.
Implementations may include one or more of the following features.
The adjusting may include: when the rate of change indicates an unstable condition, ramping up the demulsifier dosage but not to exceed a maximum dosage concentration; and when the determined rate of change indicates a trend stability, ramping down the demulsifier dosage but above a minimum dosage concentration. The method may include: using a controller logic to implement a current override to affect the demulsifier concentration at the HPPT apparatus when adjusting the demulsifier dosage to mitigate the unstable condition.
The method may include: in response to determining that a separation efficiency is below a threshold value, switching off monitoring of the HPPT apparatus so that DFD device alone drives the adjusting of the demulsifier dosage. The current measurements record currents at a plurality of transformers on the DFD device. The method may further include determining an optimum demulsifier dosage based on the rate of change of the one or more current measurements at the plurality of transformers on the DFD device. Determining the optimum demulsifier dosage is further based on a gas temperature indication at the HPPT apparatus.
In another aspect, the present disclosure describes a computer system comprising a computer memory and a hardware processor interoperably coupled with the computer memory and configured to perform operations including: monitoring, at a gas oil separation plant (GOSP) facility that includes a high-pressure production trap (HPPT) apparatus and a dual frequency desalting (DFD) device, a plurality of parameters, wherein the plurality of parameters include one or more current measurements from the DFD device, as well as gas temperature and demulsifier concentration from the HPPT apparatus; based on the one or more current measurements, determining a rate of change of the one or more current measurements from the DFD device; and in response to the rate of change as well as the gas temperature and the demulsifier concentration, adjusting a demulsifier dosage being injected into the HPPT apparatus.
Implementations may include one or more of the following features.
The adjusting may include when the rate of change indicates an unstable condition, ramping up the demulsifier dosage but not to exceed a maximum dosage concentration; and when the determined rate of change indicates a trend stability, ramping down the demulsifier dosage but above a minimum dosage concentration. The operations may include: using a controller logic to implement a current override to affect the demulsifier concentration at the HPPT apparatus when adjusting the demulsifier dosage to mitigate the unstable condition.
The operations may further include: in response to determining that a separation efficiency is below a threshold value, switching off monitoring of the HPPT apparatus so that DFD device alone drives the adjusting of the demulsifier dosage. The current measurements may record currents at a plurality of transformers on the DFD device. The operations may further include: determining an optimum demulsifier dosage based on the rate of change of the one or more current measurements at the plurality of transformers on the DFD device. Determining the optimum demulsifier dosage may be further based on a gas temperature indication at the HPPT apparatus.
In another aspect, the present disclosure describes a non-transitory, computer-readable medium storing one or more instructions executable by a computer system to perform operations comprising: monitoring, at a gas oil separation plant (GOSP) facility having a high-pressure production trap (HPPT) apparatus and a dual frequency desalting (DFD) device, a plurality of parameters, wherein the plurality of parameters include one or more current measurements from the DFD device, as well as gas temperature and demulsifier concentration from the HPPT apparatus; based on the one or more current measurements, determining a rate of change of the one or more current measurements from the DFD device; and in response to the rate of change as well as the gas temperature and the demulsifier concentration, adjusting a demulsifier dosage being injected into the HPPT apparatus.
Implementations may include one or more of the following features.
The adjusting may include when the rate of change indicates an unstable condition, ramping up the demulsifier dosage but not to exceed a maximum dosage concentration; and when the determined rate of change indicates a trend stability, ramping down the demulsifier dosage but above a minimum dosage concentration. The operations may include: using a controller logic to implement a current override to affect the demulsifier concentration at the HPPT apparatus when adjusting the demulsifier dosage to mitigate the unstable condition.
The operations may further include: in response to determining that a separation efficiency is below a threshold value, switching off monitoring of the HPPT apparatus so that DFD device alone drives the adjusting of the demulsifier dosage. The current measurements may record currents at a plurality of transformers on the DFD device. The operations may further include: determining an optimum demulsifier dosage based on the rate of change of the one or more current measurements at the plurality of transformers on the DFD device. Determining the optimum demulsifier dosage may be further based on a gas temperature indication at the HPPT apparatus.
Implementations according to the present disclosure may be realized in computer implemented methods, hardware computing systems, and tangible computer readable media. For example, a system of one or more computers can be configured to perform particular actions by virtue of having software, firmware, hardware, or a combination of them installed on the system that in operation causes or cause the system to perform the actions. One or more computer programs can be configured to perform particular actions by virtue of including instructions that, when executed by data processing apparatus, cause the apparatus to perform the actions.
The details of one or more implementations of the subject matter of this specification are set forth in the description, the claims, and the accompanying drawings. Other features, aspects, and advantages of the subject matter will become apparent from the description, the claims, and the accompanying drawings.
DESCRIPTION OF DRAWINGS
FIG. 1 illustrates an example of a Smart Demulsifier Control (SDC) architecture relevant to some implementation of the present disclosure.
FIG. 2 illustrates another example of a modified Smart Demulsifier Control (SDC) architecture according to an implementation of the present disclosure.
FIG. 3 illustrates an example of the performance of the controller logic according to an implementation of the present disclosure.
FIG. 4 illustrate examples of a control interface according to an implementation of the present disclosure.
FIGS. 5A and 5B illustrate an example of a control screen according to an implementation of the present disclosure.
FIG. 5C illustrated an example of a flow chart according to an implementation of the present disclosure.
FIG. 6 is a block diagram illustrating an example of a computer system used to provide computational functionalities associated with described algorithms, methods, functions, processes, flows, and procedures, according to an implementation of the present disclosure.
Like reference numbers and designations in the various drawings indicate like elements.
DETAILED DESCRIPTION
The disclosed technology is directed to a Gas-Oil Separation Plant (GOSP) facility with improved feedback control. One of the primary functions of the GOSP facility is to separate water from crude oil to produce dry crude. This is achieved by separating free water using gravity separators (e.g., 3-Phase Separators also known as Production Traps) then by using electrostatic coalescers (e.g., Dehydrators and Desalters) for removing emulsified water and crude. In order to adjust the separation balance, demulsifier chemical is added to the production header. Demulsifier is a chemical that promotes water separation from the oil. The required amount of demulsifier in a GOSP facility depends upon a number of factors such as crude type, emulsion characterization, vessels design and chemical formulation effectiveness. In some cases, electrostatic coalescers use electric field to promote water separation from oil. In these cases, a particular amount of demulsifier can be introduced in the system to prevent upsets associated to the formation of rag layers around the interface of these separators. For example, using a 3-Phase separator, the separation facility can be equipped with a conventional AC coalescer that provides the voltage measurements for each transformer as feedback signals to the control system. By way of background, process upsets in the Dehydrator, which are caused by contact of the electrostatic grid to a chain of emulsion droplets between the energized grids and the vessel/ground, occasionally occur. When this happens, a de-energization is detected in the grids voltage. For conventional AC coalescers, no monitoring signals are available for Operations to check the operational condition on the water/oil layer in a proactive manner unless an interface level profiler is used. As a result, all operational controls are based on operating procedures as to conduct skimming operations in regular basis and maintain enough demulsifier in the system to ensure steady operation.
In comparison, implementations of the present disclosure incorporate a demulsifier control logic that uses the electric current readings (particularly the rate of change of current) of the Dual Frequency Desalting (DFD) technology as it strongly correlates to water-oil interface layer quality. By way of background, recent progress in electrostatic coalesce technologies may improve (or maximize) water separation from crude. One of these technologies is based on the utilization not only of AC fields but also the DC field. This technology is called Dual Frequency Desalting (DFD). Under the DFD technology, the feedback signals enable internal control action and therefore these feedback signals are provided to the local DFD control panel which is communicated with Distributed Control System (DCS). As discussed below, the current control logic tends to be more sensitive and hence proactive than voltage functionalities. Indeed, leveraging the electric current readings (particularly the rate of change of current) of the Dual Frequency Desalting (DFD) technology, implementations of the present disclosure can pursue a DFD monitoring logic to determine the optimum dosage based on the stability of the trends of the rate of change of current of all the DFD transformers as well as other parameters. Some cases allow switching off the HPPT separation (e.g., the 3-phase separator) monitor for cases of low separation. In these cases, the DFD Dehydrator alone will be the demulsifier driver if the HPPT apparatus is not separating sufficiently enough. Additionally, optimum dosage based on DFD monitoring is related to the overall demulsifier limits (including the minimum and maximum concentration limits). Therefore, the optimum demulsifier dosage will also depend on the current trends and the overall process temperature.
In some implementations, a typical GOSP can include equipment identified in Table 1:
TABLE 1
Typical GOSP Equipment
GOSP Equipment
Equipment Description
HPPT The HPPT separates gas at high pressure (for example,
150-450 psig) from the crude oil. It can operate as a
three-phase separator to separate free water also.
Demulsifier This demulsifier injection skid injects demulsifier
Injection Skid chemical at the production header. Demulsifier breaks
emulsions to allow for separation of free water in the
high-pressure production trap and assist in crude
desalting.
LPPT The low pressure production trap (LPPT) separates gas
at low pressure (for example, 50 psig) from the crude
oil.
Charge Pumps The charge pumps pressure the crude oil from the
LPPT to discharge into the crude oil desalting train.
Dehydrator The dehydrator, which receives crude from the charge
pumps, is the first stage electrostatic coalescer of
the desalting train to remove the bulk emulsions from
the crude oil under an electrostatic field.
Mixing Valve The mixing valve station shears injection wash water
Station to mix with residual produced water. This will bring
the average salinity of the water in the oil.
Desalter The desalter is the second-stage electrostatic
coalescer of the desalting train. It removes the
remaining produced water along with injected wash
water to produce dry and desalted crude
(at 0.2% BS&W and 10 PTB)
WOSEP The water-oil separator (WOSEP) de-oils the produced
water from the HPPT, dehydrator and desalter to less
than 100 milligrams per liter
Disposal Water The disposal water injection pumps discharge water
Injection Pumps into disposal wells for maintaining reservoir
pressure
The following terms apply to the present disclosure. A “demulsifier concentration” is a measurement of concentration, typically in parts per million (ppm), of demulsifier chemical in the total fluid, such as a fluid including oil and water. An “HPPT separation efficiency” is a percentage of water separated in the HPPT versus the total water removed at the GOSP. An “HPPT retention time” is a time, in minutes, for water to separate from crude in an HPPT separation compartment, such as an upstream water weir.
GOSP configurations can serve as a basis for understanding the Smart Demulsifier Control (SDC). For example, to achieve goals of the SDC scheme, it is important to consider the GOSP configuration. This is because the GOSP configuration would be used to determine the best possible control scheme, including the number of production manifolds, HPPTs, line-up options between manifolds and HPPTs, and mode of operation of each HPPT, such as whether the mode is three-phase or 2-phase. A demulsifier is normally added upstream of the HPPT through an automatic flow control.
FIG. 1 shows an example of a Smart Demulsifier Control (SDC) architecture 100, according to an implementation. In particular, the architecture 100 illustrates adjusting demulsifier injection rates to control high-pressure production trap (HPPT) separation efficiency based on, for example, AC dehydrator/desalter control. Components in the SDC architecture 100 include the following annotations. A flow indication (FI) can indicate, for example, a flow reading from flow transmitter. A temperature indication (TI) can indicate, for example, a temperature reading from temperature transmitter. A process value (PV) can indicate, for example, a value of a process variable that is being controlled. A manipulated value (MV) can indicate, for example, a controller output that triggers action of a final control element to a control process variable. A set value (SV) can indicate, for example, a desired set point of the process variable that is being controlled. The SDC architecture 200 also identifies one or more instances of a flow indication controller, a proportional integral derivative (PID) control, an hourly average (HAV), and a GOSP.
As illustrated, dehydrator outlet water rate 101 is analyzed to generate average dehydrator water rate 107. In one example, the average dehydrator water rate is represented by a rolling average on a 1-hour basis (107). Injection water rate (102) and wash water rate (103) are combined to generate average production water rate (108). In one example, the average produced water rate is a rolling average on a 1-hour basis. HPPT water rate 104 can lead to a rolling average of the water flow rate from the HPPT (109). The rolling average can be on an hourly basis. Dehydrator water rate 107, average produced water rate 108, average HPPT water rate 109 can lead to a first HPPT water efficiency 111 that is based on dehydrator water rate and a second HPPT water efficiency 112 that is based on HPPT water rate.
The SDC architecture 100 may calculate a selection (114) of one of the two HPPT water efficiency numbers to determine a HPPT separation efficiency 115. In the meantime, HPPT gas temperature 105 is provided to generate an average gas temperature 113, for example, as a rolling average on an hourly basis. The average gas temperature (113) can drive the selection of a minimum demulsifier concentration, a maximum demulsifier concentration, and a minimum HPPT separation efficiency (117). A minimum demulsifier concentration is a minimum allowed demulsifier concentration as a function of the temperature. The concentration can provide the dynamic low output limit for PID control of HPPT separation efficiency. A maximum demulsifier concentration is a maximum allowed demulsifier concentration as a function of the temperature. The concentration provides the dynamic high output limit for PID controllers of HPPT separation efficiency and for the dehydrator voltage override. A minimum HPPT separation efficiency is a minimum separation expected at HPPT as a function of the temperature. Minimum separation efficiency can be expressed as a second-degree polynomial. However, minimum separation efficiency can be expressed in other forms depending on how the process data is curve-fitted, such as in a linear equation, exponential, power, or in other ways.
A target separation efficiency is identified that is between the minimum target separation efficiency and the maximum target separation efficiency. As an example, the HPPT separation efficiency PID controller 116 can determine the target separation efficiency using the minimum and maximum target separation efficiencies. The HPPT separation efficiency PID controller 116 can control the separation of water from oil in an HPPT, such as with an “HPPT Separation Efficiency (%).” Voltage 106A from transformer A, voltage 106B from transformer B, voltage 106C from transformer C are provided to a low value calculation (110) and then used in a voltage override PID controller 118. The output of the HPPT separation efficiency PID controller 116 and the output of voltage override PID controller 118 can be used in a high value calculation (119) for the set point of the demulsifier concentration PID controller 123. The demulsifier concentration can be increased if the separation efficiency is lower than the set point. It can be decreased if separation efficiency is greater than the set point. Demulsifier concentration limits, including maximum and minimum, can be determined based on site-specific process correlations.
A dry crude rate 120 can indicate a total produced oil rate from the GOSP. The dry crude rate 120 can be used to generate a one-hour rolling average produced dry oil 121. Average produced dry oil 121 and average produced water 122, both in hourly average, can feed the demulsifier PID controller 123, which has received the set point from the high value calculation 119. Notably, average produced water 122 and average production water rate 108 can form one stream of data. The demulsifier PID controller 123 can drive a demulsifier flow controller PID 124 that provides a demulsifier flow control loop. The flow can be automatically adjusted based on a flow set point of a demulsifier PID controller 123. Output of the demulsifier concentration PID controller 123 is the set point of the demulsifier flow controller PID 124.
The example from FIG. 1 incorporate feedback signals from conventional AC coalescers which only provide voltage measurements for each transformer. Process Upsets in the Dehydrator/Desalter, which are caused by contact of the electrostatic grid to a chain of emulsion droplets between the energized grids and the vessel/ground, do occur. As discussed above, for conventional AC coalescers, no monitoring signals are available for Operations to check the operational condition on the water/oil in a proactive manner. As a result, all operational controls are based on operating procedures as to conduct skimming operations in regular basis and maintain enough demulsifier in the system to ensure steady operation. Electrostatic coalescer interface quality measurement can also be measured using profilers. Two types of technologies may be used: nuclear and capacitance based technologies. By way of illustration, a nuclear based approach may involve the use of radiative materials.
Recent advances in electrostatic coalescer technology have opened the feasibility of providing more information to the control system which monitor the operational status of each transformer. For illustration, the transformer notches the voltage up to operator settings to create the electromagnetic fields needed to polarize the water droplets. Electricity is channeled through the transformers to the plates (or grids) through the bushings of the transformer. Based on the observation of dynamic behavior of the transformers current reading, some implementations incorporate a control algorithm which uses the rate of change of the transformers current signals as a controlled variable to adjust the demulsifier concentration in the production header. When an emulsion layer starts to grow on the coalescer oil-water interface, a current consumption increase is measured. This current increase can be detected before the upset de-energizes the grids, thereby improving the chemical consumption and increasing the maximum potential benefit of the upgraded dehydration technology. The control algorithm can be retrofitted to the controller architecture of FIG. 1, as further exemplified by FIG. 2, so that the same limits and temperature effects can be used for the demulsifier requirement determination.
Further referring to FIG. 2, a block diagram illustrates an example of smart demulsifier control (SDC) architecture 200, according to an implementation. As illustrated, the SDC architecture 200 includes DFD monitoring logic 206 and current override PID controller 207 to take full advantage of the measurements from the DFD technology (i.e. the current) and adjust the upstream demulsifier injection to ensure the crude desalting process is more efficient and less prone to upsets from a build-up of crude oil emulsions caused by a lack of demulsifier injection. While the DFD technology does not facilitate the current measurement in of itself, rather it is equipped with current measurement instruments to do so.
To further illustrate, dehydrator outlet water rate 101 is processed to generate average dehydrator water rate 107 (for example, a rolling average on a 1-hour basis). Injection water rate (102) and wash water rate (103) are combined to generate average production water rate 108 (for example, a rolling average on a 1-hour basis). HPPT water rate 104 can lead to a rolling average of the water flow rate from the HPPT (109). Dehydrator water rate 107, average produced water rate 108, average HPPT water rate 109 can lead to a first HPPT water efficiency 111 that is based on dehydrator water rate and a second HPPT water efficiency 112 that is based on HPPT water rate. The SDC architecture may calculate a selection (114) of one of the two HPPT water efficiency numbers to determine a HPPT separation efficiency 115. In the meantime, HPPT gas temperature 105 is provided to generate an average gas temperature 113 (for example, a rolling average on an hourly basis). The average gas temperature 113 can drive the selection of a minimum demulsifier concentration, a maximum demulsifier concentration, and a minimum HPPT separation efficiency. The average temperature 113 can further determine a normal demulsifier concentration 204A and an upset of the demulsifier concentration 204B.
In more detail, architecture 200 receives data encoding bus current on transformer A (201A), bus current on transformer B (201B), and bus current on transformer C (201C). A rolling average 202A is generated based on the bus current 201A from transformer A. In some cases, the rolling average 202A may be an average over a period of 5 minutes. Similarly, a rolling average 202B is generated based on the bus current 201B from transformer B, and a rolling average 202C is generated based on the bus current 201C from transformer C. Rolling averages 202A, 202B, and 202C can be further processed to generate the respective rate of change from each transformer (203). The respective rate of change from each transformer, as well as the normal demulsifier concentration 204A and upset of demulsifier concentration 204B, can drive the DFD monitoring logic 206. In some cases, the DFD monitoring logic 206 may implement a control algorithm that operates on input of the max/min rate of change of the current being monitored (e.g., amp per hour) to determine a target dosage that comports with the normal concentration 204A and upset concentration 204B. The DFD monitoring logic 206 may output a target demulsifier dosage to control block 209. The respective rate of change from each transformer can drive current override PID controller 207. The current override PID controller may likewise generate a limit demulsifier dosage to control block 209. As illustrated, the HPPT separation efficiency PID controller 116 can determine the target separation efficiency using the minimum and maximum target separation efficiencies. The HPPT separation efficiency PID controller 116 can control the separation of water from oil in an HPPT, such as with an “HPPT Separation Efficiency (%).” The output of the HPPT separation efficiency PID controller 116 can be provided to control block 209 through a switch 208.
The control block 209 may select the larger value of the outputs from the DFD monitoring logic 206, current override PID controller 207, and the HPPT separation efficiency PID controller 116. The output of control block 209 can thus provide for the set point of the demulsifier concentration PID controller 123. The demulsifier concentration can be increased if the separation efficiency is lower than the set point. It can be decreased if separation efficiency is greater than the set point. Demulsifier concentration limits, including maximum and minimum, can be determined based on site-specific process correlations. A dry crude rate 120 can indicate a total produced oil rate from the GOSP. The dry crude rate 120 can be used to generate a one-hour rolling average produced dry oil 121. Average produced dry oil 121 and average produced water 108, both in hourly average, can feed the demulsifier PID controller 123, which has received the set point from the high value calculation 119. The demulsifier PID controller 123 can drive a demulsifier flow controller PID 124 that provides a demulsifier flow control loop. The flow can be automatically adjusted based on a flow set point of a demulsifier PID controller 123. Output of the demulsifier concentration PID controller 123 is the set point of the demulsifier flow controller PID 124.
One advantage associated with this implementation is the ability to ensure crude quality. For example, the demulsifier dosage is optimized in this process because it is not continuously over-injected to ensure that no upsets occur. Indeed, by replacing the voltage override functionality by the current override controller function, which is more sensitive, implementations of the DFD monitoring logic 206 can more judiciously determine the optimum dosage based on the stability of the trends of the rate of change of current of all the DFD transformers. Here, the optimum dosage based on DFD monitoring is related to the overall demulsifier limits (from minimum to maximum), which, as illustrated, depend on the current trends and the overall process temperature. Moreover, implementations incorporate the capability to switch off HPPT separation monitor for cases of low separation (where DFD Dehydrator alone will be the demulsifier driver if HPPT is not separating enough), as illustrated by switch 208.
Referring to FIGS. 3, 4, 5A and 5B, the performance of the controller logic can be observed as per below. The top panel 300A shows the rate of current changes within a range, from a minimum rate of change to a maximum rate of change, during a monitoring window. The rate of current changes is based on bus current being monitored. The bottom panel 300B shows demulsifier concentration during the monitoring window. When the rate of current change reaches a maximum (301A), an upset is noted in the demulsifier concentration (301B). In other words, the demulsifier concentration ramps up at a time point that corresponds to the instant when the rate of current changes reaches the maximum value. When the trend of rate change stabilizes (302A), the demulsifier concentration ramps down (302B). Similarly, when the rate of current change hits a minimum value (303A), a demulsifier concentration ramp up is noted when the demulsifier concentration hits an upset dosage value (303B). After the ramp-up, when the trend stability recovers, the demulsifier concentration returns to a normal dosage value (304B). In summary, if the dehydrator signals (e.g., the rate of current change) show a steady trend, the demulsifier dosage is maintained within the defined window and is affected only by the process temperature and the GOSP oil and water rates. If the dehydrator signal becomes unstable, then the dosage of demulsifier will ramp to an upset condition in order to prevent a build-up of rag layer around the interface. Once the feedback signals are normalized, the system reverts back the dosage in a gradual manner.
Such dynamics thus introduces a predictive function as the controller logic can adjust the demulsifier addition before an actual de-energization (e.g., voltage drop) event happens. In some implementations, the controller logic is built in such a way that the controller logic will be tracking the actual demulsifier concentration if the scheme is not connected. Once the main logic is connected, a ramp block will set the target (Normal or Upset) based on the measured DFD trends. A DCS screen can be created in order to monitor the control scheme performance at the GOSP, as shown in the example of a control interface 400 in FIG. 4. The control interface 400 can be implemented in a number of tools, such as a LabView. The control interface includes a tab for demulsifier control field inputs 401. The control field inputs 401 may include gas temperature at the HPPT outlet, salt water flow rate in GPM (gallons per minute), wash water to desalter flow rate, treated crude flow rate, water flow rate when exiting HPPT, dehydrator water flow rate, and HPPT water level. The variables from the control field inputs 401 can generate rolling averages 402, for example, rolling on a 1-hour basis. The interface includes a control panel 403 for SDC mode, which allows an operator to enable or disable the SDC mode. The control panel 403 further indicates whether HPPT separation is deactivated (OFF) or activated (ON). The control panel 403 may additionally indicate a water balance for a particular configuration.
The control interface 400 may include a panel 404 for measured current values from the bus of a DFD apparatus. The panel 404 may include measured current values from various locations on the grid, the corresponding rolling averages of the measured current values, and the corresponding rates of change. Panel 406 shows retention time for the particular water balance from control panel 403. Panel 407 shows HPPT separation efficiency values for a number of configurations, including D-201.
The output of panel 402, panel 404, and panel 407 are coupled to controller block 405. Controller block 405 includes panel 408, panel 409, DFD monitor panel 410, current override panel 411, demulsifier limit panel 414, demulsifier concentration panel 415, and flow indication controller (FIC) panel 416. Controller block 405 further displays a current value of 30 A. Panel 408 includes a minimum separation calculation of 15%, an operator added margin of 15%, and a target set point of 30%. Panel 409 corresponds to HPPT separation efficiency control. DFD monitor panel 410 shows the set points of normal, upset and output values. Current override control panel 411 corresponds to current override control. Demulsifier limits panel 414 shows the set points of the maximum and minimum values for demulsfier dosage (ppm and gallons per day). In one illustration, the output from the DFD monitor panel couples to the demulsifier concentration panel 415 through auto high selector 413. The output of demulsifier concentration panel 415 couples to flow indication controller (FIC) panel 416.
FIG. 5A-5B show an example of a Plant Information (PI) screen 500 for further monitoring by engineer. PI screen 500 includes panel 501 for demulsifier control field inputs, calculation panel 502, display panel 503, selectors 504 and 505, control panel 506, demulsifier logic list panel 507, HPPT separation set point panel 508, HTTP retention panel 509, controller logic 510. Panel 501 displays field input values including temperature, flow, flow rate, and bus current. Calculation panel can generate rolling averages (e.g., hourly or 5-min) and rate of changes. Display panel 503 displays the temporal course of various measured parameters, including, for example, rolling average of temperature, water cut, HPPT separation, DFD bus current, demulsifier concentration and flow. Control panel 506 indicates the enabled/disabled status of, for example, HPPT separation. Controller logic 510 includes, for example, HPPT efficiency panel 511, DFD logic 512, current override table 513, demulsifier concentration limits 514, demulsifier concentration 516, and FIC panel 517. The output from HPPT efficiency panel 511, DFD logic 512, current override table 513 jointly drives the demulsifier concentration panel 516 through a high value selector 515.
FIG. 5C shows a flow chart 520 according to some implementations. The flow chart reflects a computer-implemented control method at a gas oil separation plant (GOSP) facility that includes a high-pressure production trap (HPPT) apparatus and a dual frequency Desalting (DFD) device. The control process includes monitoring a plurality of parameters, wherein the plurality of parameters including one or more current measurements from the DFD device, as well as gas temperature and demulsifier concentration from the HPPT apparatus (522). Based on the one or more current measurements, the control process may determine a rate of change of the one or more current measurements from the DFD device (524). Thereafter, in response to the rate of change as well as the gas temperature and the demulsifier concentration, the control process may adjust a demulsifier dosage being injected at the HPPT apparatus (526). When the rate of change indicates a unstable condition, the control process may ramp up the demulsifier dosage but not to exceed a maximum dosage concentration. When the determined rate of change indicates a trend stability, the control process may ramp down the demulsifier dosage but above a minimum dosage concentration. The control process may use a controller logic to implement a current override to affect the demulsifier concentration at the HPPT apparatus when adjusting the demulsifier dosage to mitigate the unstable condition. In some implementations, in response to determining that a separation efficiency is below a threshold value, the control process may switch off monitoring of the HPPT apparatus so that DFD device alone drives the adjusting of the demulsifier dosage. The current measurements may reflect currents at a plurality of transformers on the DFD device. Some implementations may determine an optimum demulsifier dosage based on the rate of change of the one or more current measurements at the plurality of transformers on the DFD device. The optimum demulsifier dosage may be further based on a gas temperature indication at the HPPT apparatus.
FIG. 6 is a block diagram illustrating an example of a computer system 600 used to provide computational functionalities associated with described algorithms, methods, functions, processes, flows, and procedures, according to an implementation of the present disclosure. The illustrated computer 602 is intended to encompass any computing device such as a server, desktop computer, laptop/notebook computer, wireless data port, smart phone, personal data assistant (PDA), tablet computing device, one or more processors within these devices, another computing device, or a combination of computing devices, including physical or virtual instances of the computing device, or a combination of physical or virtual instances of the computing device. Additionally, the computer 602 can comprise a computer that includes an input device, such as a keypad, keyboard, touch screen, another input device, or a combination of input devices that can accept user information, and an output device that conveys information associated with the operation of the computer 602, including digital data, visual, audio, another type of information, or a combination of types of information, on a graphical-type user interface (UI) (or GUI) or other UI.
The computer 602 can serve in a role in a computer system as a client, network component, a server, a database or another persistency, another role, or a combination of roles for performing the subject matter described in the present disclosure. The illustrated computer 602 is communicably coupled with a network 630. In some implementations, one or more components of the computer 602 can be configured to operate within an environment, including cloud-computing-based, local, global, another environment, or a combination of environments.
The computer 602 is an electronic computing device operable to receive, transmit, process, store, or manage data and information associated with the described subject matter. According to some implementations, the computer 602 can also include or be communicably coupled with a server, including an application server, e-mail server, web server, caching server, streaming data server, another server, or a combination of servers.
The computer 602 can receive requests over network 630 (for example, from a client software application executing on another computer 602) and respond to the received requests by processing the received requests using a software application or a combination of software applications. In addition, requests can also be sent to the computer 602 from internal users, external or third-parties, or other entities, individuals, systems, or computers.
Each of the components of the computer 602 can communicate using a system bus 603. In some implementations, any or all of the components of the computer 602, including hardware, software, or a combination of hardware and software, can interface over the system bus 603 using an application programming interface (API) 612, a service layer 613, or a combination of the API 612 and service layer 613. The API 612 can include specifications for routines, data structures, and object classes. The API 612 can be either computer-language independent or dependent and refer to a complete interface, a single function, or even a set of APIs. The service layer 613 provides software services to the computer 602 or other components (whether illustrated or not) that are communicably coupled to the computer 602. The functionality of the computer 602 can be accessible for all service consumers using this service layer. Software services, such as those provided by the service layer 613, provide reusable, defined functionalities through a defined interface. For example, the interface can be software written in JAVA, C++, another computing language, or a combination of computing languages providing data in extensible markup language (XML) format, another format, or a combination of formats. While illustrated as an integrated component of the computer 602, alternative implementations can illustrate the API 612 or the service layer 613 as stand-alone components in relation to other components of the computer 602 or other components (whether illustrated or not) that are communicably coupled to the computer 602. Moreover, any or all parts of the API 612 or the service layer 613 can be implemented as a child or a sub-module of another software module, enterprise application, or hardware module without departing from the scope of the present disclosure.
The computer 602 includes an interface 604. Although illustrated as a single interface 604 in FIG. 6, two or more interfaces 604 can be used according to particular needs, desires, or particular implementations of the computer 602. The interface 604 is used by the computer 602 for communicating with another computing system (whether illustrated or not) that is communicatively linked to the network 630 in a distributed environment. Generally, the interface 604 is operable to communicate with the network 630 and comprises logic encoded in software, hardware, or a combination of software and hardware. More specifically, the interface 604 can comprise software supporting one or more communication protocols associated with communications such that the network 630 or interface's hardware is operable to communicate physical signals within and outside of the illustrated computer 602.
The computer 602 includes a processor 605. Although illustrated as a single processor 605 in FIG. 6, two or more processors can be used according to particular needs, desires, or particular implementations of the computer 602. Generally, the processor 605 executes instructions and manipulates data to perform the operations of the computer 602 and any algorithms, methods, functions, processes, flows, and procedures as described in the present disclosure.
The computer 602 also includes a database 606 that can hold data for the computer 602, another component communicatively linked to the network 630 (whether illustrated or not), or a combination of the computer 602 and another component. For example, database 606 can be an in-memory, conventional, or another type of database storing data consistent with the present disclosure. In some implementations, database 606 can be a combination of two or more different database types (for example, a hybrid in-memory and conventional database) according to particular needs, desires, or particular implementations of the computer 602 and the described functionality. Although illustrated as a single database 606 in FIG. 6, two or more databases of similar or differing types can be used according to particular needs, desires, or particular implementations of the computer 602 and the described functionality. While database 606 is illustrated as an integral component of the computer 602, in alternative implementations, database 606 can be external to the computer 602. As illustrated, the database 606 holds the previously described data 616 including, for example, multiple streams of data from various sources, such as demulsifier concentration, transformer bus current, gas temperature, water rate, and dry crude rate.
The computer 602 also includes a memory 607 that can hold data for the computer 602, another component or components communicatively linked to the network 630 (whether illustrated or not), or a combination of the computer 602 and another component. Memory 607 can store any data consistent with the present disclosure. In some implementations, memory 607 can be a combination of two or more different types of memory (for example, a combination of semiconductor and magnetic storage) according to particular needs, desires, or particular implementations of the computer 602 and the described functionality. Although illustrated as a single memory 607 in FIG. 6, two or more memories 607 or similar or differing types can be used according to particular needs, desires, or particular implementations of the computer 602 and the described functionality. While memory 607 is illustrated as an integral component of the computer 602, in alternative implementations, memory 607 can be external to the computer 602.
The application 608 is an algorithmic software engine providing functionality according to particular needs, desires, or particular implementations of the computer 602, particularly with respect to functionality described in the present disclosure. For example, application 608 can serve as one or more components, modules, or applications. Further, although illustrated as a single application 608, the application 608 can be implemented as multiple applications 608 on the computer 602. In addition, although illustrated as integral to the computer 602, in alternative implementations, the application 608 can be external to the computer 602.
The computer 602 can also include a power supply 614. The power supply 614 can include a rechargeable or non-rechargeable battery that can be configured to be either user- or non-user-replaceable. In some implementations, the power supply 614 can include power-conversion or management circuits (including recharging, standby, or another power management functionality). In some implementations, the power-supply 614 can include a power plug to allow the computer 602 to be plugged into a wall socket or another power source to, for example, power the computer 602 or recharge a rechargeable battery.
There can be any number of computers 602 associated with, or external to, a computer system containing computer 602, each computer 602 communicating over network 630. Further, the term “client,” “user,” or other appropriate terminology can be used interchangeably, as appropriate, without departing from the scope of the present disclosure. Moreover, the present disclosure contemplates that many users can use one computer 602, or that one user can use multiple computers 602.
Implementations of the subject matter and the functional operations described in this specification can be implemented in digital electronic circuitry, in tangibly embodied computer software or firmware, in computer hardware, including the structures disclosed in this specification and their structural equivalents, or in combinations of one or more of them. Software implementations of the described subject matter can be implemented as one or more computer programs, that is, one or more modules of computer program instructions encoded on a tangible, non-transitory, computer-readable computer-storage medium for execution by, or to control the operation of, data processing apparatus. Alternatively, or additionally, the program instructions can be encoded in/on an artificially generated propagated signal, for example, a machine-generated electrical, optical, or electromagnetic signal that is generated to encode information for transmission to a receiver apparatus for execution by a data processing apparatus. The computer-storage medium can be a machine-readable storage device, a machine-readable storage substrate, a random or serial access memory device, or a combination of computer-storage mediums. Configuring one or more computers means that the one or more computers have installed hardware, firmware, or software (or combinations of hardware, firmware, and software) so that when the software is executed by the one or more computers, particular computing operations are performed.
The term “real-time,” “real time,” “realtime,” “real (fast) time (RFT),” “near(ly) real-time (NRT),” “quasi real-time,” or similar terms (as understood by one of ordinary skill in the art), means that an action and a response are temporally proximate such that an individual perceives the action and the response occurring substantially simultaneously. For example, the time difference for a response to display (or for an initiation of a display) of data following the individual's action to access the data can be less than 1 millisecond (ms), less than 1 second (s), or less than 5 s. While the requested data need not be displayed (or initiated for display) instantaneously, it is displayed (or initiated for display) without any intentional delay, taking into account processing limitations of a described computing system and time required to, for example, gather, accurately measure, analyze, process, store, or transmit the data.
The terms “data processing apparatus,” “computer,” or “electronic computer device” (or equivalent as understood by one of ordinary skill in the art) refer to data processing hardware and encompass all kinds of apparatus, devices, and machines for processing data, including by way of example, a programmable processor, a computer, or multiple processors or computers. The apparatus can also be, or further include special purpose logic circuitry, for example, a central processing unit (CPU), an FPGA (field programmable gate array), or an ASIC (application-specific integrated circuit). In some implementations, the data processing apparatus or special purpose logic circuitry (or a combination of the data processing apparatus or special purpose logic circuitry) can be hardware- or software-based (or a combination of both hardware- and software-based). The apparatus can optionally include code that creates an execution environment for computer programs, for example, code that constitutes processor firmware, a protocol stack, a database management system, an operating system, or a combination of execution environments. The present disclosure contemplates the use of data processing apparatuses with an operating system of some type, for example LINUX, UNIX, WINDOWS, MAC OS, ANDROID, IOS, another operating system, or a combination of operating systems.
A computer program, which can also be referred to or described as a program, software, a software application, a unit, a module, a software module, a script, code, or other component can be written in any form of programming language, including compiled or interpreted languages, or declarative or procedural languages, and it can be deployed in any form, including, for example, as a stand-alone program, module, component, or subroutine, for use in a computing environment. A computer program can, but need not, correspond to a file in a file system. A program can be stored in a portion of a file that holds other programs or data, for example, one or more scripts stored in a markup language document, in a single file dedicated to the program in question, or in multiple coordinated files, for example, files that store one or more modules, sub-programs, or portions of code. A computer program can be deployed to be executed on one computer or on multiple computers that are located at one site or distributed across multiple sites and interconnected by a communication network.
While portions of the programs illustrated in the various figures can be illustrated as individual components, such as units or modules, that implement described features and functionality using various objects, methods, or other processes, the programs can instead include a number of sub-units, sub-modules, third-party services, components, libraries, and other components, as appropriate. Conversely, the features and functionality of various components can be combined into single components, as appropriate. Thresholds used to make computational determinations can be statically, dynamically, or both statically and dynamically determined.
Described methods, processes, or logic flows represent one or more examples of functionality consistent with the present disclosure and are not intended to limit the disclosure to the described or illustrated implementations, but to be accorded the widest scope consistent with described principles and features. The described methods, processes, or logic flows can be performed by one or more programmable computers executing one or more computer programs to perform functions by operating on input data and generating output data. The methods, processes, or logic flows can also be performed by, and apparatus can also be implemented as, special purpose logic circuitry, for example, a CPU, an FPGA, or an ASIC.
Computers for the execution of a computer program can be based on general or special purpose microprocessors, both, or another type of CPU. Generally, a CPU will receive instructions and data from and write to a memory. The essential elements of a computer are a CPU, for performing or executing instructions, and one or more memory devices for storing instructions and data. Generally, a computer will also include, or be operatively coupled to, receive data from or transfer data to, or both, one or more mass storage devices for storing data, for example, magnetic, magneto-optical disks, or optical disks. However, a computer need not have such devices. Moreover, a computer can be embedded in another device, for example, a mobile telephone, a personal digital assistant (PDA), a mobile audio or video player, a game console, a global positioning system (GPS) receiver, or a portable memory storage device.
Non-transitory computer-readable media for storing computer program instructions and data can include all forms of media and memory devices, magnetic devices, magneto optical disks, and optical memory device. Memory devices include semiconductor memory devices, for example, random access memory (RAM), read-only memory (ROM), phase change memory (PRAM), static random access memory (SRAM), dynamic random access memory (DRAM), erasable programmable read-only memory (EPROM), electrically erasable programmable read-only memory (EEPROM), and flash memory devices. Magnetic devices include, for example, tape, cartridges, cassettes, internal/removable disks. Optical memory devices include, for example, digital video disc (DVD), CD-ROM, DVD+/−R, DVD-RAM, DVD-ROM, HD-DVD, and BLURAY, and other optical memory technologies. The memory can store various objects or data, including caches, classes, frameworks, applications, modules, backup data, jobs, web pages, web page templates, data structures, database tables, repositories storing dynamic information, or other appropriate information including any parameters, variables, algorithms, instructions, rules, constraints, or references. Additionally, the memory can include other appropriate data, such as logs, policies, security or access data, or reporting files. The processor and the memory can be supplemented by, or incorporated in, special purpose logic circuitry.
To provide for interaction with a user, implementations of the subject matter described in this specification can be implemented on a computer having a display device, for example, a CRT (cathode ray tube), LCD (liquid crystal display), LED (Light Emitting Diode), or plasma monitor, for displaying information to the user and a keyboard and a pointing device, for example, a mouse, trackball, or trackpad by which the user can provide input to the computer. Input can also be provided to the computer using a touchscreen, such as a tablet computer surface with pressure sensitivity, a multi-touch screen using capacitive or electric sensing, or another type of touchscreen. Other types of devices can be used to interact with the user. For example, feedback provided to the user can be any form of sensory feedback. Input from the user can be received in any form, including acoustic, speech, or tactile input. In addition, a computer can interact with the user by sending documents to and receiving documents from a client computing device that is used by the user.
The term “graphical user interface,” or “GUI,” can be used in the singular or the plural to describe one or more graphical user interfaces and each of the displays of a particular graphical user interface. Therefore, a GUI can represent any graphical user interface, including but not limited to, a web browser, a touch screen, or a command line interface (CLI) that processes information and efficiently presents the information results to the user. In general, a GUI can include a plurality of user interface (UI) elements, some or all associated with a web browser, such as interactive fields, pull-down lists, and buttons. These and other UI elements can be related to or represent the functions of the web browser.
Implementations of the subject matter described in this specification can be implemented in a computing system that includes a back-end component, for example, as a data server, or that includes a middleware component, for example, an application server, or that includes a front-end component, for example, a client computer having a graphical user interface or a Web browser through which a user can interact with an implementation of the subject matter described in this specification, or any combination of one or more such back-end, middleware, or front-end components. The components of the system can be interconnected by any form or medium of wireline or wireless digital data communication (or a combination of data communication), for example, a communication network. Examples of communication networks include a local area network (LAN), a radio access network (RAN), a metropolitan area network (MAN), a wide area network (WAN), Worldwide Interoperability for Microwave Access (WIMAX), a wireless local area network (WLAN) using, for example, 802.11 a/b/g/n or 802.20 (or a combination of 802.11x and 802.20 or other protocols consistent with the present disclosure), all or a portion of the Internet, another communication network, or a combination of communication networks. The communication network can communicate with, for example, Internet Protocol (IP) packets, Frame Relay frames, Asynchronous Transfer Mode (ATM) cells, voice, video, data, or other information between networks addresses.
The computing system can include clients and servers. A client and server are generally remote from each other and typically interact through a communication network. The relationship of client and server arises by virtue of computer programs running on the respective computers and having a client-server relationship to each other.
While this specification contains many specific implementation details, these should not be construed as limitations on the scope of what can be claimed, but rather as descriptions of features that can be specific to particular implementations. Certain features that are described in this specification in the context of separate implementations can also be implemented, in combination, in a single implementation. Conversely, various features that are described in the context of a single implementation can also be implemented in multiple implementations, separately, or in any sub-combination. Moreover, although previously described features can be described as acting in certain combinations and even initially claimed as such, one or more features from a claimed combination can, in some cases, be excised from the combination, and the claimed combination can be directed to a sub-combination or variation of a sub-combination.
Particular implementations of the subject matter have been described. Other implementations, alterations, and permutations of the described implementations are within the scope of the following claims as will be apparent to those skilled in the art. While operations are depicted in the drawings or claims in a particular order, this should not be understood as requiring that such operations be performed in the particular order shown or in sequential order, or that all illustrated operations be performed (some operations can be considered optional), to achieve desirable results. In certain circumstances, multitasking or parallel processing (or a combination of multitasking and parallel processing) can be advantageous and performed as deemed appropriate.
Moreover, the separation or integration of various system modules and components in the previously described implementations should not be understood as requiring such separation or integration in all implementations, and it should be understood that the described program components and systems can generally be integrated together in a single software product or packaged into multiple software products.
Furthermore, any claimed implementation is considered to be applicable to at least a computer-implemented method; a non-transitory, computer-readable medium storing computer-readable instructions to perform the computer-implemented method; and a computer system comprising a computer memory interoperably coupled with a hardware processor configured to perform the computer-implemented method or the instructions stored on the non-transitory, computer-readable medium.

Claims (17)

What is claimed is:
1. A computer-implemented method, comprising:
monitoring, at a gas oil separation plant (GOSP) facility that includes a high-pressure production trap (HPPT) apparatus and a dual frequency desalting (DFD) device, a plurality of parameters, wherein the plurality of parameters include measurements of transformer bus current from the DFD device, as well as gas temperature and demulsifier concentration from the HPPT apparatus;
determining a rate of change of transformer bus current from the DFD device; and
in response to the rate of change of transformer bus current as well as the gas temperature and the demulsifier concentration, adjusting a demulsifier dosage being injected into the HPPT apparatus such that when the rate of change of transformer bus current is above a first threshold rate indicating an unstable condition in the HPPT apparatus, ramping up the demulsifier dosage but not to exceed a maximum dosage concentration; and
when the determined rate of change of transformer bus current is below a second threshold rate indicating a trend stability, ramping down the demulsifier dosage but above a minimum dosage concentration.
2. The computer-implemented method of claim 1, further comprising:
using a controller logic to implement a current override to affect the demulsifier concentration at the HPPT apparatus when adjusting the demulsifier dosage to mitigate the unstable condition.
3. The computer-implemented method of claim 1, further comprising:
in response to determining that a separation efficiency is below a threshold value, switching off monitoring of the HPPT apparatus so that DFD device alone drives the adjusting of the demulsifier dosage.
4. The computer-implemented method of claim 1, wherein the transformer bus current corresponds to currents at a plurality of transformers on the DFD device.
5. The computer-implemented method of claim 4, further comprising:
determining an optimum demulsifier dosage based on the rate of change of transformer bus current at the plurality of transformers on the DFD device.
6. The computer-implemented method of claim 5, wherein determining the optimum demulsifier dosage is further based on a gas temperature indication at the HPPT apparatus.
7. A computer system, comprising:
a computer memory; and
a hardware processor interoperably coupled with the computer memory and configured to perform operations comprising:
monitoring, at a gas oil separation plant (GOSP) facility that includes a high-pressure production trap (HPPT) apparatus and a dual frequency desalting (DFD) device, a plurality of parameters, wherein the plurality of parameters include measurements of transformer bus current from the DFD device, as well as gas temperature and demulsifier concentration from the HPPT apparatus;
determining a rate of change of transformer bus current the DFD device; and
in response to the rate of change of transformer bus current as well as the gas temperature and the demulsifier concentration, adjusting a demulsifier dosage being injected into the HPPT apparatus such that when the rate of change of transformer bus current is above a first threshold rate indicating an unstable condition in the HPPT apparatus, ramping up the demulsifier dosage but not to exceed a maximum dosage concentration; and
when the determined rate of change of transformer bus current is below a second threshold rate indicating a trend stability, ramping down the demulsifier dosage but above a minimum dosage concentration.
8. The computer system of claim 7, wherein the operations further comprise:
using a controller logic to implement a current override to affect the demulsifier concentration at the HPPT apparatus when adjusting the demulsifier dosage to mitigate the unstable condition.
9. The computer system of claim 7, wherein the operations further comprise:
in response to determining that a separation efficiency is below a threshold value, switching off monitoring of the HPPT apparatus so that DFD device alone drives the adjusting of the demulsifier dosage.
10. The computer system of claim 7, wherein the transformer bus current corresponds to currents at a plurality of transformers on the DFD device.
11. The computer system of claim 10, wherein the operations further comprise:
determining an optimum demulsifier dosage based on the rate of change of transformer bus current at the plurality of transformers on the DFD device.
12. The computer system of claim 11, wherein determining the optimum demulsifier dosage is further based on a gas temperature indication at the HPPT apparatus.
13. A non-transitory, computer-readable medium storing one or more instructions executable by a computer system to perform operations comprising:
monitoring, at a gas oil separation plant (GOSP) facility that includes a high-pressure production trap (HPPT) apparatus and a dual frequency desalting (DFD) device, a plurality of parameters, wherein the plurality of parameters include measurements of transformer bus current from the DFD device, as well as gas temperature and demulsifier concentration from the HPPT apparatus;
determining a rate of change of transformer bus current from the DFD device; and
in response to the rate of change of transformer bus current as well as the gas temperature and the demulsifier concentration, adjusting a demulsifier dosage being injected into the HPPT apparatus such that when the rate of change of transformer bus current is above a first threshold rate indicating an unstable condition in the HPPT apparatus, ramping up the demulsifier dosage but not to exceed a maximum dosage concentration; and
when the determined rate of change of transformer bus current is below a second threshold rate indicating a trend stability, ramping down the demulsifier dosage but above a minimum dosage concentration.
14. The non-transitory, computer-readable medium of claim 13, wherein the operations further comprise:
using a controller logic to implement a current override to affect the demulsifier concentration at the HPPT apparatus when adjusting the demulsifier dosage to mitigate the unstable condition.
15. The non-transitory, computer-readable medium of claim 13, wherein the operations further comprise:
in response to determining that a separation efficiency is below a threshold value, switching off monitoring of the HPPT apparatus so that DFD device alone drives the adjusting of the demulsifier dosage.
16. The non-transitory, computer-readable medium of claim 13, wherein the transformer bus current corresponds to currents at a plurality of transformers on the DFD device, and
wherein the operations further comprise: determining an optimum demulsifier dosage based on the rate of change of transformer bus current at the plurality of transformers on the DFD device.
17. The non-transitory, computer-readable medium of claim 16, wherein determining the optimum demulsifier dosage is further based on a gas temperature indication at the HPPT apparatus.
US16/933,493 2020-07-20 2020-07-20 Demulsifier control algorithm for dual frequency desalting electrostatic coalescers Active 2040-11-08 US11492557B2 (en)

Priority Applications (3)

Application Number Priority Date Filing Date Title
US16/933,493 US11492557B2 (en) 2020-07-20 2020-07-20 Demulsifier control algorithm for dual frequency desalting electrostatic coalescers
PCT/US2021/042291 WO2022020296A1 (en) 2020-07-20 2021-07-20 Demulsifier control algorithm for dual frequency desalting electrostatic coalescers
EP21752425.5A EP4182418A1 (en) 2020-07-20 2021-07-20 Demulsifier control algorithm for dual frequency desalting electrostatic coalescers

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
US16/933,493 US11492557B2 (en) 2020-07-20 2020-07-20 Demulsifier control algorithm for dual frequency desalting electrostatic coalescers

Publications (2)

Publication Number Publication Date
US20220017828A1 US20220017828A1 (en) 2022-01-20
US11492557B2 true US11492557B2 (en) 2022-11-08

Family

ID=77265316

Family Applications (1)

Application Number Title Priority Date Filing Date
US16/933,493 Active 2040-11-08 US11492557B2 (en) 2020-07-20 2020-07-20 Demulsifier control algorithm for dual frequency desalting electrostatic coalescers

Country Status (3)

Country Link
US (1) US11492557B2 (en)
EP (1) EP4182418A1 (en)
WO (1) WO2022020296A1 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20230296581A1 (en) * 2022-03-16 2023-09-21 Schlumberger Technology Corporation Demulsifier analysis framework

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20030024579A1 (en) 1999-07-07 2003-02-06 Blackmore Donald Ian Diverter valve
US20040094421A1 (en) * 2002-08-07 2004-05-20 Sams Gary W. Dual frequency electrostatic coalescence
CN202072669U (en) 2011-02-18 2011-12-14 中国石油化工股份有限公司 Automatic injecting system of demulsifier of electric desalter
US20120024758A1 (en) 2010-07-27 2012-02-02 Conocophillips Company Refinery desalter improvement
US20180195010A1 (en) 2017-01-06 2018-07-12 Saudi Arabian Oil Company Methods and Systems for Optimizing Demulsifier and Wash Water Injection Rates in Gas Oil Separation Plants
US20180371876A1 (en) 2017-06-22 2018-12-27 Saudi Arabian Oil Company Controlling high-pressure production trap separation efficiency
US10513912B2 (en) 2012-05-13 2019-12-24 Alexander Henry Slocum Method and apparatus for bringing under control an uncontrolled flow through a flow device
US20200040263A1 (en) 2018-08-01 2020-02-06 Saudi Arabian Oil Company Simplified logic injection control (slic) for demulsifier chemical automation

Patent Citations (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20030024579A1 (en) 1999-07-07 2003-02-06 Blackmore Donald Ian Diverter valve
US20040094421A1 (en) * 2002-08-07 2004-05-20 Sams Gary W. Dual frequency electrostatic coalescence
US20120024758A1 (en) 2010-07-27 2012-02-02 Conocophillips Company Refinery desalter improvement
US8747658B2 (en) 2010-07-27 2014-06-10 Phillips 66 Company Refinery desalter improvement
US20150090556A1 (en) 2010-07-27 2015-04-02 Phillips 66 Company Refinery desalter improvement
US20150175905A1 (en) 2010-07-27 2015-06-25 Phillips 66 Company Refinery desalter improvement
CN202072669U (en) 2011-02-18 2011-12-14 中国石油化工股份有限公司 Automatic injecting system of demulsifier of electric desalter
US10513912B2 (en) 2012-05-13 2019-12-24 Alexander Henry Slocum Method and apparatus for bringing under control an uncontrolled flow through a flow device
US20180195010A1 (en) 2017-01-06 2018-07-12 Saudi Arabian Oil Company Methods and Systems for Optimizing Demulsifier and Wash Water Injection Rates in Gas Oil Separation Plants
US20180371876A1 (en) 2017-06-22 2018-12-27 Saudi Arabian Oil Company Controlling high-pressure production trap separation efficiency
US10513913B2 (en) 2017-06-22 2019-12-24 Saudi Arabian Oil Company Controlling high-pressure production trap separation efficiency
US20200040263A1 (en) 2018-08-01 2020-02-06 Saudi Arabian Oil Company Simplified logic injection control (slic) for demulsifier chemical automation

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
Armstrong et al., "Oil Dehydration Improved by Dual Frequency Electrostatic Process," presented at the International Petroleum Technology Conference, Dubai, U.A.E, Dec. 4-6, 2007; IPTC, 6 pages.
PCT International Search Report and Written Opinion in International Appln. No. PCT/US2021/042291, dated Oct. 12, 2021, 12 pages.

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20230296581A1 (en) * 2022-03-16 2023-09-21 Schlumberger Technology Corporation Demulsifier analysis framework

Also Published As

Publication number Publication date
WO2022020296A1 (en) 2022-01-27
US20220017828A1 (en) 2022-01-20
EP4182418A1 (en) 2023-05-24

Similar Documents

Publication Publication Date Title
EP3642308B1 (en) Method and system for controlling the separation efficiency of a high-pressure production trap
US11092935B2 (en) Simplified logic injection control (SLIC) for demulsifier chemical automation
US10968402B1 (en) Method and system for the control of water concentration in crude oil entering the dehydrators
US20180137169A1 (en) Querying a database
EP3667498A1 (en) Amplifying scaling elasticity of microservice meshes
Serban et al. Energy storage systems impact on the short‐term frequency stability of distributed autonomous microgrids, an analysis using aggregate models
US10872070B2 (en) Distributed data processing
US11492557B2 (en) Demulsifier control algorithm for dual frequency desalting electrostatic coalescers
US11008521B1 (en) Control of demulsifier injection into crude oil entering separators
US20180018335A1 (en) Recommending a data handling method for a pending data handling process
US11760946B2 (en) Process control systems and methods for simultaneous crude oil dehydration, desalting, sweetening, and stabilization
US20200142800A1 (en) Monitoring multiple system indicators
US20210348069A1 (en) Enhanced demulsifier performance ranking procedure & algorithm based on separation efficiency
Jafarzadeh et al. Real-time transient stability prediction and coherency identification in power systems using Koopman mode analysis
Bellizio et al. Machine-learned security assessment for changing system topologies
WO2019213440A1 (en) Multi-period and dynamic long term planning optimization model for a network of gas oil separation plants (gosps)
US12059635B2 (en) Demulsifier control system and method for AC/DC modulated dehydrating and desalting coalescers
US11351480B2 (en) Emulsion layer alarm system for prevention of process upsets in electrostatic coalescers
CN109103904A (en) A kind of frequency stabilization determination method, device, electronic equipment
Akbarian Kakhki et al. Combination of population balance equation and multi‐layer capacitor theory for modelling of an industrial Dual Polarity® electrostatic treater
WO2024148190A1 (en) Automatic salt-in-crude analyzer for a smart dehysalter train
WO2024129724A1 (en) Pipeline control system
EP3818246A1 (en) Equalizing hydrocarbon reservoir pressure
Lyansky Modeling violent crime in The Bahamas

Legal Events

Date Code Title Description
FEPP Fee payment procedure

Free format text: ENTITY STATUS SET TO UNDISCOUNTED (ORIGINAL EVENT CODE: BIG.); ENTITY STATUS OF PATENT OWNER: LARGE ENTITY

AS Assignment

Owner name: SAUDI ARABIAN OIL COMPANY, SAUDI ARABIA

Free format text: ASSIGNMENT OF ASSIGNORS INTEREST;ASSIGNORS:LOPEZ ANDREU, MIGUEL ANGEL;WHITE, RAMSEY JAMES;MORALES, FREDDY RUBIANO;AND OTHERS;SIGNING DATES FROM 20200714 TO 20200716;REEL/FRAME:053261/0669

STPP Information on status: patent application and granting procedure in general

Free format text: NON FINAL ACTION MAILED

STPP Information on status: patent application and granting procedure in general

Free format text: RESPONSE TO NON-FINAL OFFICE ACTION ENTERED AND FORWARDED TO EXAMINER

STPP Information on status: patent application and granting procedure in general

Free format text: FINAL REJECTION MAILED

STPP Information on status: patent application and granting procedure in general

Free format text: RESPONSE AFTER FINAL ACTION FORWARDED TO EXAMINER

STPP Information on status: patent application and granting procedure in general

Free format text: NOTICE OF ALLOWANCE MAILED -- APPLICATION RECEIVED IN OFFICE OF PUBLICATIONS

STPP Information on status: patent application and granting procedure in general

Free format text: PUBLICATIONS -- ISSUE FEE PAYMENT VERIFIED

STCF Information on status: patent grant

Free format text: PATENTED CASE