AUTOMATED FLARE CONTROL

Information

  • Patent Application
  • 20240288162
  • Publication Number
    20240288162
  • Date Filed
    February 28, 2023
    a year ago
  • Date Published
    August 29, 2024
    3 months ago
Abstract
An automated method for controlling flare of a gas oil separation system includes determining that a gas flare is indicated as non-routine based on a gas flare process variable exceeding a target value for gas flare; activating an automated detection and minimization of flare (ADMF) process executed by ADMF logic; determining, by the ADMF logic executing ADMF process, that a process variable value for each of a plurality of pressure indicator controllers exceeds a corresponding setpoint value for each of the plurality of pressure indicator controllers; and based on the process variable value of each of the plurality of pressure indicator controllers exceeding the pressure indicator controller setpoint value: identifying a tag number for each of the plurality of pressure indicator controllers; and causing a notification to be sent to an operator to inspect the pressure indicator controllers.
Description
FIELD

This disclosure pertains to automated flare control, and in particular, to automated flare minimization algorithm in gas-oil separation plants.


BACKGROUND

A gas-oil separation plant (GOSP) is a continuous separation process used to refine crude oil, Goals of a GOSP include achieving maximum liquid recovery with stabilized oil separated from gas, and water separated from gases and oil. In other words, one purpose of a GOSP is to remove water, salt, and volatile hydrocarbon gases from wet crude oil after it is obtained from a hydrocarbon-bearing reservoir. A GOSP can include a high pressure production trap (HPPT), a low pressure production trap (LPPT), a low pressure degassing tank (LPDT), a dehydrator unit, first and second stage desalting units, a water/oil separation plant (WOSEP), a stabilizer column, centrifugal pumps, heat exchangers, and reboilers. In a GOSP, vessel pressure is often reduced in several stages to allow the controlled separation of volatile components, such as entrained vapors.


SUMMARY

The present disclosure describes techniques that can be used for detecting and minimizing gas flare in a GOSP.


In some implementations, a method for controlling flare of a gas oil separation system includes determining that a gas flare is indicated as non-routine based on a gas flare process variable exceeding a target value for gas flare; activating an automated detection and minimization of flare (ADMF) process executed by ADMF logic; determining, by the ADMF logic executing ADMF process, that a process variable value for each of a plurality of pressure indicator controllers exceeds a corresponding setpoint value for each of the plurality of pressure indicator controllers; and based on the process variable value of each of the plurality of pressure indicator controllers exceeding the pressure indicator controller setpoint value: identifying a tag number for each of the plurality of pressure indicator controllers; and causing a notification to be sent to an operator to inspect the pressure indicator controllers.


A non-transitory, computer-readable storage medium storing instructions that, when executed by a hardware processor, cause the hardware processor to perform operations that include determining that a gas flare is indicated as non-routine based on a gas flare process variable exceeding a target value for gas flare; activating an automated detection and minimization of flare (ADMF) process executed by ADMF logic; determining, by the ADMF logic executing ADMF process, that a process variable value for each of a plurality of pressure indicator controllers exceeds a corresponding setpoint value for each of the plurality of pressure indicator controllers; and based on the process variable value of each of the plurality of pressure indicator controllers exceeding the pressure indicator controller setpoint value: identifying a tag number for each of the plurality of pressure indicator controllers; and causing a notification to be sent to an operator to inspect the pressure indicator controllers.


A system can include a gas flare stack; a gas flare flow meter; a plurality of pressure control valves; and a non-transitory, computer-readable storage medium storing instructions that, when executed by a hardware processor, cause the hardware processor to perform operations. The operations can include determining that a gas flare is indicated as non-routine based on a gas flare process variable exceeding a target value for gas flare; activating an automated detection and minimization of flare (ADMF) process executed by ADMF logic; determining, by the ADMF logic executing ADMF process, that a process variable value for each of a plurality of pressure indicator controllers exceeds a corresponding setpoint value for each of the plurality of pressure indicator controllers; and based on the process variable value of each of the plurality of pressure indicator controllers exceeding the pressure indicator controller setpoint value: identifying a tag number for each of the plurality of pressure indicator controllers; and causing a notification to be sent to an operator to inspect the pressure indicator controllers.


In some embodiments, determining that a gas flare is indicated as non-routine based on a gas flare process variable exceeding a target value for gas flare comprises comparing a process variable for gas flare against a target setpoint for the gas flare.


Some embodiments include, based on the process variable value of each of the plurality of pressure indicator controllers not exceeding the pressure indicator controller setpoint value: determining, by the ADMF logic executing ADMF process, that a process variable for each of a plurality of pressure indicator controller manipulation indicator value is equal to zero; and applying a tight shutoff to each pressure control valve for a predetermined period of time.


In some embodiments, the predetermined period of time comprises five minutes.


Some embodiments include determining that a gas flare is indicated as non-routine based on a gas flare process variable exceeding a setpoint value for gas flare; and determining a new target setpoint for the gas flare.


Some embodiments include comparing plant flare source temperature against gas flare temperature; and identifying a source of the gas flare based on the comparison of the plant flare source temperature against the gas flare temperature.


In some embodiments, activating the ADMF process includes determining that an equipment shutdown status indicates that equipment has not been shutdown within a predetermined amount of time prior to the non-routine gas flare; determining that a gas flare alarm is active; and determining that an investigation command has been activated.


The previously described implementation is implementable using a computer-implemented method; a non-transitory, computer-readable medium storing computer-readable instructions to perform the computer-implemented method; and a computer-implemented system including a computer memory interoperably coupled with a hardware processor configured to perform the computer-implemented method/the instructions stored on the non-transitory, computer-readable medium.


The subject matter described in this specification can be implemented in particular implementations, so as to realize one or more of the following advantages. Aspects of this disclosure uses observable metrics to initiate the automated flare minimization investigation algorithm, as opposed to uncertain leakage sources. This disclosure describes a process that acts as fail-safe mode. The algorithm and logic is programmed to stop investigate in case of any process or normal equipment shutdown flaring. The process can take quick action to restore target flare flow setpoint, capture any intermittent control valve malfunction and log it in the system, combine all associated flare parameters in one algorithm, faster recovery from non-routine flaring, resulting in much more stable operations. This in turn minimizes operator intervention. The process can also apply tight shut off for all flaring source pressure control valve which can validate and eliminate pressure control valves bad integrity.


The details of one or more implementations of the subject matter of this specification are set forth in the Detailed Description, the accompanying drawings, and the claims. Other features, aspects, and advantages of the subject matter will become apparent from the Detailed Description, the claims, and the accompanying drawings.





BRIEF DESCRIPTION OF THE DRAWINGS


FIG. 1 is a schematic diagram of a gas-oil separation plant (GOSP) in accordance with embodiments of the present disclosure.



FIG. 2 is a process flow diagram for a flare control process in accordance with embodiments of the present disclosure.



FIG. 3 is a schematic diagram for a distributed control system logical chart for activating an automated detection and minimization of flare (ADMF) process in accordance with embodiments of the present disclosure.



FIG. 4 is a schematic diagram of a distributed control system logical chart for controlling pressure control valves in accordance with embodiments of the present disclosure.



FIG. 5 is a schematic diagram of a distributed control system logical chart for detecting non-routine flare in accordance with embodiments of the present disclosure.



FIG. 6 is a schematic diagram of an automated detection and minimization of flare (ADMF) sequence table in accordance with embodiments of the present disclosure.



FIG. 7 is a schematic diagram of indicators for various stages of the automated detection and minimization of flare (ADMF) in accordance with embodiments of the present disclosure.



FIG. 8 is a block diagram illustrating an example computer system used to provide computational functionalities associated with described algorithms, methods, functions, processes, flows, and procedures as described in the present disclosure, according to some implementations of the present disclosure.





Like reference numbers and designations in the various drawings indicate like elements.


DETAILED DESCRIPTION

The following detailed description describes techniques for detecting and minimizing flaring events in a gas-oil separation plant. Various modifications, alterations, and permutations of the disclosed implementations can be made and will be readily apparent to those of ordinary skill in the art, and the general principles defined may be applied to other implementations and applications, without departing from scope of the disclosure. In some instances, details unnecessary to obtain an understanding of the described subject matter may be omitted so as to not obscure one or more described implementations with unnecessary detail and inasmuch as such details are within the skill of one of ordinary skill in the art. The present disclosure is not intended to be limited to the described or illustrated implementations, but to be accorded the widest scope consistent with the described principles and features.



FIG. 1 is a schematic diagram of a gas-oil separation plant (GOSP) in accordance with embodiments of the present disclosure. In general, a GOSP is a continuous separation process used to refine crude oil, which includes a high pressure production trap (HPPT), a low pressure production trap (LPPT), a low pressure degassing tank (LPDT), a dehydrator unit, first and second stage desalting units, a water/oil separation plant (WOSEP), a stabilizer column, centrifugal pumps, heat exchangers, and reboilers. In a GOSP, vessel pressure is often reduced in several stages to allow for the controlled separation of volatile components, such as entrained vapors. Goals of a GOSP include achieving maximum liquid recovery with stabilized oil separated from gas, and water separated from gases and oil. In other words, one purpose of a GOSP is to remove water, salt, and volatile hydrocarbon gases from wet crude oil after it is obtained from a hydrocarbon-bearing reservoir.


By way of example, FIG. 1 provides a flow diagram showing a gas oil separation plant (GOSP) applying continuous restricted orifice (RO) flow for rag layer (oil water interface) removal, along with insulated electrostatic electrodes inside a three-phase separation vessel. Other structures and implementation choices are available for GOSPs and are within the scope of this disclosure. Crude oil from production traps (for example high pressure production traps (HPPT's)) enters GOSP system 100 at crude oil inlet 102 and proceeds to a wet dry crude oil heat exchanger 104 where it is heated before entering a low pressure degassing tank (LPDT) inlet stream 105 and LPDT 106. Pressure in LPDT 106 ranges from about 3 psig to about 10 psig, and LPDT 106 operating temperature ranges from about 55° F. to about 130° F. LPDT 106 outlets include off-gas stream 108 to release hydrocarbon gases, crude oil outlet stream 110, oily water outlet 112, and water outlet 114. Crude oil proceeds by crude oil outlet stream 110 to crude charge pumps 116, then to a trim heat exchanger 118, and a mixing valve 120 before entering a dehydrator 122. Dehydrator 122 includes an oily water interface skimmer 124 proximate the interface between the oil and water within dehydrator 122. An oily water stream exits dehydrator 122 by oily water outlet stream 126, and then proceeds via stream 130 to recycled stream 132. Oily water outlet 112 from LPDT 106 also joins recycled stream 132, other oil-in-water emulsion sources 115 can join recycled stream 132, and recycled stream 132 proceeds to a three-phase separation vessel with insulated electrostatic electrodes 134, to separate oil, water, and gases.


Interface skimmer location, such as for example oily water interface skimmer 124 proximate the interface between the oil and water, can be provided by a vessel vendor, such as a dehydrator or desalter vendor, and the location can vary depending on the vessel type. The level of the skimmer can be adjustable in some embodiments, for example above an inlet feed, or below an inlet feed, or adjustable relative to the emulsion layer. In some embodiments, electrical grids comprising electrostatic electrodes are in the oil phase within a vessel such as a desalter or dehydrator, which has lesser conductivity (greater resistance) than the aqueous phase.


Three-phase separation vessel with insulated electrostatic electrodes 134 can have fed to it oil-in-water emulsions from a variety of sources, as shown in FIG. 1, and three-phase separation vessel with insulated electrostatic electrodes 134 separates oil and water (and optionally gas), oil being recycled by oil recycle line 136 to LPDT 106, and water being sent by water outlet stream 138 to water treatment unit 140 for eventual treated water disposal by treated water disposal line 142. Water outlet 114 from LPDT 106 and a water outlet 144 from dehydrator 122 also allow water from LPDT 106 and dehydrator 122 to proceed to water treatment unit 140 for eventual treated water disposal by treated water disposal line 142.


Dehydrated oil from dehydrator 122 proceeds via dehydrated oil outlet stream 146 through mixing valve 148 to first stage desalter 150. At mixing valve 148, dehydrated oil outlet stream 146 is mixed with recycled wash water from recycled wash water stream 152. First stage desalter 150 includes an oily water interface skimmer 154 proximate the interface between the oil and water within first stage desalter 150. An oily water stream exits first stage desalter 150 by oily water outlet stream 156, and then proceeds via stream 160 to recycled stream 132. Recycled stream 132 proceeds to the three-phase separation vessel with insulated electrostatic electrodes 134. Water exits first stage desalter 150 by water outlet stream 162 and is recycled via pump 164 to recycled wash water line 166, where it is mixed at mixing valve 120 with crude oil from LPDT 106. Oil exits first stage desalter 150 at oil outlet stream 168 and is mixed with a wash water stream 170 (wash water stream 170 containing a lower concentration of salts than the crude oil exiting first stage desalter 150) at mixing valve 172.


Mixed oil and water enters second stage desalter 174. Second stage desalter 174 includes an oily water interface skimmer 176 proximate the interface between the oil and water within second stage desalter 174. An oily water stream exits second stage desalter 174 by oily water outlet stream 178 to, and then proceeds via stream 182 to recycled stream 132. Recycled stream 132 proceeds to the three-phase separation vessel with insulated electrostatic electrodes 134. Water exits second stage desalter 174 by water outlet stream 175 to pump 177 and enters mixing valve 148 by recycled wash water stream 152.


Dehydrated and desalted oil from second stage desalter 174 proceeds via oil outlet stream 184 through a depressurizing valve 186 to a crude oil stabilizer 188 for removal of volatile hydrocarbon compounds, before the stabilized, desalted, and dehydrated crude oil is pumped via crude shipping pumps 190 as a dry crude product through dry crude product stream 192. Volatile hydrocarbons exit crude oil stabilizer 188 by off-gas outlet stream 194. In the embodiment shown, crude oil stabilizer 188 does not have reboilers, but in other embodiments one or more reboilers can be applied.


In other embodiments, a flow control valve can be used for improved flow control. A flowmeter can be provided upstream of a control valve and receive its set point from the de-activation signals from the electrodes to stop flow of a slip stream from the rag layer level. A deactivation signal from the electrodes also can be used to control (open) a water level control valve to reduce the water level in a vessel to below an oily water interface skimmer, such that an oily water interface is proximate an oily water interface skimmer. In some embodiments, a flow control valve will set to continuously withdraw the rag layer at a laboratory estimated flow after conducting an emulsion test. This flow can increase gradually when all electrodes are not deactivated. In some embodiments, an oily water interface skimmer is a fixed pipe installed in the emulsion layer with a plurality of open holes to withdraw the rag layer across a vessel.


In three-phase separation vessel with insulated electrostatic electrodes 134, insulated electrostatic electrodes are capable of handling up to 100% water cut, and the electrodes can be fully deactivated at about 100% water cut, which means only water is being withdrawn from dehydrator 122, first stage desalter 150, and second stage desalter 174, rather than a desired rag layer, or oil-in-water emulsion layer. While the embodiment of FIG. 1 shows oil from three-phase separation vessel with insulated electrostatic electrodes 134 being reintroduced to LPDT 106 by oil recycle line 136, oil could be reintroduced at other points, such as for example to dehydrator 122, first stage desalter 150, or second stage desalter 174, optionally with the use of a turbocharger in addition to or alternative to a recycle pump.


Dehydrator 122 includes a level indicator and controller (LIC) 127 to control a control valve 129, first stage desalter 150 includes LIC 157 to control a control valve 159, and second stage desalter 174 includes LIC 179 to control a control valve 181. LIC's 127, 157, 179 can be used alternative to or in addition to flow indicators and controllers (FIC's). In dehydrator 122, first stage desalter 150, and second stage desalter 174, rag layers or the layer between oil and water in the vessels is withdrawn in a continuous, or discontinuous, manner under automatic interface level control instead of restricted flow as show in FIG. 1.


In three-phase separation vessel with insulated electrostatic electrodes 134, insulated electrostatic electrodes are capable of handling up to 100% water cut, and the electrodes can be fully deactivated at sensing or detecting 100% water cut, which means only water is being withdrawn from dehydrator 122, first stage desalter 150, and second stage desalter 174, rather than the desired rag layer, or oil in water emulsion layer. By testing, detecting, or sensing if the flow through three-phase separation vessel with insulated electrostatic electrodes 134 is about 100% water, operators or program logic can readjust, limit, increase, or change the location of the slip stream withdrawal from separation vessels such as dehydrator 122, first stage desalter 150, and second stage desalter 174. For example, if about 100% water was detected passing through three-phase separation vessel with insulated electrostatic electrodes 134, control valves 129, 159, 181 could be deactivated, or flow could be reduced but continued to avoid or reduce the formation of a rag layer in vessels 122, 150, 174.


In three-phase separation vessel with insulated electrostatic electrodes 134, insulated electrostatic electrodes are capable of handling up to 100% water cut, and the electrodes can be fully deactivated at sensing or detecting 100% water cut, which means only water is being withdrawn from dehydrator 122, first stage desalter 150, and second stage desalter 174, rather than the desired rag layer, or oil in water emulsion layer. By testing, detecting, or sensing if the flow through three-phase separation vessel with insulated electrostatic electrodes 134 is about 100% water, operators or program logic can readjust, limit, increase, or change the location of the slip stream withdrawal from separation vessels such as dehydrator 122, first stage desalter 150, and second stage desalter 174. For example, if about 100% water was detected passing through three-phase separation vessel with insulated electrostatic electrodes 134, control valves 129, 159, 181 could be deactivated, or flow could be reduced but continued to avoid or reduce the formation of a rag layer in vessels 122, 150, 174.


In FIG. 1, GOSP system 100 uses LIC's 127, 157, 179 and control valves 129, 159, 181 with dehydrator 122, first stage desalter 150, and second stage desalter 174, respectively, to remove an automated, continuous, or discontinuous, slip stream of the rag layer in the vessels proximate the oily water interface skimmers 124, 154, 176. LIC's 127, 157, 179 can be used in addition to or alternative to flow indicators and controllers (FIC's).


Recycled stream 132, optionally along with other oil-in-water emulsion sources 115, proceeds to mixing unit 1102 for mixing with steam from steam injection stream 1104 (either or both externally modulated steam and DSI). Mixing unit 1102 can include one or more steam injection nozzles to mix recycled rag layer stream 132 with low or high pressure steam, for example available at a temperature of about 300° F. and a pressure of about 50 psig or more. Steam injection can heat and break an oil-in-water emulsion in an emulsion rag layer. Heating a rag layer lessens its viscosity and consequently increases the water droplet coalescing and settling rate. In some GOSP's, heating crude for treatment prior to the dehydrators and desalters in a trim heater, for example, trim heat exchanger 118, is not available. Therefore, steam injection upstream of a three-phase separator aids in breaking emulsions and increases water separation in synergistic addition to the electrostatic effect in an electrostatic separator, such as three-phase separation vessel with insulated electrostatic electrodes 134. This results in advantageously improved water separation downstream of mixing unit 1102 in three-phase separation vessel with insulated electrostatic electrodes 134 and LPDT 106, with water to be removed from the process via water outlet stream 138 and water outlet 114. Any gas separated in three-phase separation vessel with insulated electrostatic electrodes 134 can be vented via line 1106, optionally connected to a flare stack 1108.


In embodiments, a computing system, such as computing system 800, can be used to monitor process variables and sensors, control valves, control timers, and implement algorithms. An example algorithm can include the automated detection and minimization flare process described herein.


This disclosure describes an automated flare minimization investigation process and logic to detect and minimize flaring in gas-oil separation plants (GOSPs). The logic will monitor any non-routine flaring and minimize the non-routine flaring through analysis and a sequence of actions. Each GOSP facility has a target flaring amount, and exceeding the target flaring amount can cause the automated detection and minimize flare (ADMF) process to initiate.


GOSP flaring systems that have only one monitoring device to measure total flaring flow can result in several problems that can lead to non-routine flaring & unidentified flare sources. Such non-routine flaring can only be fixed through a manual interference, troubleshooting, and maintenance services. The problems can be listed as follow:

    • Unidentified flaring sources.
    • Manual flaring troubleshooting process take long time.
    • Undifferentiated between normal process flaring and non-routine flaring.
    • Environmental issues.


Based on the aforementioned challenges, this disclosure describes an automated algorithm and logic that perform continuous monitoring of the flaring parameters. In case a target flaring amount is exceeded, the control logic performs an automated sequence of actions that can verify that non-routine flaring is not caused by normal process flaring or recent equipment shutdown, apply tight shutoff for all flaring line pressure control valves (PCVs), verify controller motion output integrity, calculate non-routine flaring amount and detect it from normal flaring controller setpoint, and compare flare temperature to all GOSPs flaring source temperature and analyze the results of the comparison to identify a source of flaring.


This disclosure describes automated logic to detect routine & non-routine flaring, as shown in the process flow chart of FIG. 2. FIG. 2 is a process flow diagram for a flare control process 200 in accordance with embodiments of the present disclosure. At the outset, the computer system implementing automated detection and minimization of flare (ADMF) process determines whether to activate the flare control process 200. The flare control process 200 can start by determining whether a non-routine flare is detected. As an example, the logic can continuously compare a process variable (PV) of the gas flare FI-1009.PV vs a target flare value, which can be set by production engineer. (202) The comparison can be performed by monitoring flare flow mater FI-1009 and comparing observed values from the flare flow meter against target flare setpoint value. The comparison is also summarized in FIG. 6, steps 1-4 and the accompanying pseudocode. If the gas flare PV does not exceed the target flare, then the system can consider flaring to be normal flaring. (204).


If the FI-1009.PV gas flare process variable does exceed the target flare, thereby indicating a non-routine flaring, the ADMF logic can compare all pressure indicator controller (PIC) set point (PIC.SP) against a corresponding PIC process variable (PIC.PV) (206). If, by the comparison of the PIC. SP against the PIC.PV, the ADMF logic determines that any PIC.SP>PIC.PV, the ADMF logic can conclude that flaring is normal (204) and that excess flaring is caused by process flaring PIC, and will notify an operator by pressure controller tag number. Put simply, the ADMF logic will check and verify that PIC.SP>PIC.PV. If any PIC.SP<PIC.PV, there is an upnormal condition due to the process variable exceeding the setpoint. The affected PIC can be displayed in the DCS.


If the ADMF logic determines that PIC.SP<PIC.PV, that means the ADMF logic is to check and make sure all manipulated indicator variables for all flares are zero: PIC.MV=0. (208) If PIC.MV does not equal 0, then the ADMF logic can cause pressure control valves (PCV) to close and can notify an operator. (210) Manipulated indicator variables are the output from the controller. MV means manipulated variable. A MV value of zero means that the signal sent to the valve commands complete closure.


If PIC.MV=0 at 208, then the ADMF logic can cause a tight shut off to be applied to all pressure control valves for a period of time (e.g., 1-5 minutes) by given-10% as an output PIC.MV. (212)


Then the ADMF logic can check if the gas flare process variable exceeds the target flare, similar to 202 above (e.g., does FI-1009.PV>Target flare?) (214). If FI-1009.PV<=target flare, then normal flaring is occurring due to the control of one or more of the above changes to pressure control valves. If FI-1009.PV>target flare, a calculation block will start to calculate a new set point for the flow indicator controller which controls minimium flare flow (FIC-801) as follows (216):


New setpoint=(current setpoint of FIC-801.SV-FI-1009.PV)+TargetFlare.SV


The ADMF logic can compare plant flare sources temperatures versus current flaring temperature. (218) The ADMF logic can identify the source of flaring as explained below. (220)



FIG. 3 is a schematic diagram illustrating an example distributed control systems (DCS) logic chart 300 for activating the automated detection and minimization of flare (ADMF) process in accordance with embodiments of the present disclosure. As shown in FIG. 3, the DCS logic chart 300, starting the ADMF process includes the following conditional inputs:



302, 304, 306: For the ADMF process to start, flare gas flow should be characterized as not normal, with respect to the comparison of flare flow against predetermined values. E.g., Normal flare flow from the calculation function block (NORMFLOW.PV.OFF) equal “0” and Normal flare flow from the calculation function block (NORMFLOW.PV.ON) equal “1” (which is inverted prior to entering the logical element). NORMFLOW.PV is the result of the calculation to determine whether observed flare flow exceeds target setpoint. At 306, INVST-CMD.MV.0 selector switch for ADMF is selected to investigate is set to “1”. The logical comparison outputs a “1” for activating the ADMF process and a “0” for deactivating the ADMF process or keeping the ADMF process off.


At 310, flare flow meter FI-1009.ALARM.IOP equal “O” healthy and


At 308, no recent equipment or plant shutdown have been occurred recently SHUTDOWN.PV.1 320 equal “1.” “Recently” can be defined by a timer value 320, where shutdown reset timer can be defined as a certain amount of time from a shutdown of a compressor or other equipment.


If the above mentioned inputs are all equal “1” and the INVST-CMD.MV.2 equal “0”, the AMDF (ADMF-ST.PV.L) 324 will start. INVST-CMD.MV.2 is an internal DCS switch to control the start of the AMDF logic.


As shown in FIG. 3, at 304: flare gas flow that is considered within normal operational parameters (e.g., flare process variable does not exceed the setpoint, the UPNORMAL.PV.L 322 is set to indicate normal flare flow.


The (SHUTDOWN.PV.0) function 326 can receive a pulse input from the plant gas compressors running indication (e.g., (XL-020-C) 314, (XL-070-C) 316, and (XL-014-C) 318), so if any compressor goes to shutdown status, the plant gas compressor will drive a pulse input equal to “1” to the shutdown status, which activates (SHUTDOWN.PV.0) and consequently stops the ADMF by SHUTDOWN.PV.1 328 inverted input to (ADMF-ST.PV.L) 322. in this scenario the logic will be rest after 15 minutes as shown in shutdown reset timer line.



FIG. 4 is a schematic diagram of a distributed control system logical chart 400 for controlling pressure control valves in accordance with embodiments of the present disclosure. The first step of the logic (ADMF Start/Rest), to start the ADMF through (START-S/R.PV.L) 438 three condition must be met, (ADMF-ST.PV.ON) 402 equal “0” and no process flaring (PCVSPV.PV.ON) 404 equal “0” and timer is not elapsed set @ 60 seconds (TM-FLARE.BSTS.CTUP) 406 equal “0”.


The second part of the logic, when the (ADMF-ST.PV.OFF) 410 is equal “0” it will start the timer function block (TM-FLARE.OP.START) 444 set @ 60 seconds during that the logic will apply valves tight shut off by −10%.


The third logic to check the integrity of flare pressure control valve close status, so any input from the following valves (PCV-029B 412, PCV-042B 414, PCV-092B 416, PCV-014B 418, PCV-023 420, PCV-4001 422 or PCV-3012 424) is equal “0” the AND gate output will be “0” which will latch PCVSNCL.PV.L 448 to “0” which will display in ADMF sequence table FIG. 6 step operation PCVS not closed message that mean one of the valves is open to flare or not fully closed. PCVSNCL stands for “pressure control valves not closed” and is displayed on the DCS graphic when the PCV is not fully closed.


If (ADMF-ST.PV.ON) 426 is equal “0” and any input from the following valves (PCV-029B 412, PCV-042B 414, PCV-092B 416, PCV-014B 418, PCV-023 420, PCV-4001 422 or PCV-3012 424) is equal “0” will activate PCVSNCL.PV.L 448 to “0” this will display the not fully close valve in the ADMF sequence table in FIG. 6 step description.


Step 2 (shown in FIG. 6) is that a remote setpoint is sent to FIC-801 by (REMOTESET.PV.L) 452 which activated if ADMF is still in investigate mode (ADMF-ST.PV.OFF) 428 is equal “1”, and no process flaring (PCVSPV.PV.OFF) 430 is equal “1”, and unnormal flare flow indicated (NORMFLOW.PV.ON) 432 is equal “1”, and tight shut off timer is elapsed (TM-FLARE.BSTS.CTUP) 434 is equal “1”.


Step three (shown in FIG. 6) (STEP-3.PV.L) 454 will be activate after 20 second timer of receiving step two complete (STEP-2.PV.ON) 436 is equal “1”.



FIG. 5 is a schematic diagram of a distributed control system logical chart 500 for detecting non-routine flare in accordance with embodiments of the present disclosure. In FIG. 5 logic is shown to detect a non-routine flare source through comparing temperature sensor readings of FI-1009 against flare lines (part of Step 3502 of FIG. 6). The flare lines can include High-Pressure Production Trap (HPPT) Gas compressor K001A flare line 504, (HPPT) Gas compressor K001B flare line 508, Low Pressure Production Trap (LPPT) Gas compressor K002 flare line 512, High-Pressure Production Trap (HPPT) flare line 516, Low Pressure Production Trap (LPPT) flare line 520, High-Pressure Test Trap (HPTT) flare line 524, and degassing vessel flare line 528. This will be calculated in the calculation block as shown in FIG. 7 [TARGET-TEMP CALCU] & calculation script shown below. By way of explanation, if (STEP-3.PV.ON) 502 is equal “1” and (K001AFLARE.PV.ON) 504 is equal “1” it will activate K001A.PV.L 506 after 25 second timer and display the detected equipment in the DCS graphic ADMF sequence table step 5 as shown in FIG. 6. If (STEP-3.PV.ON) 502 is equal “1” and (K001AFLARE.PV.ON) 508 is equal “1” it will activate K001B.PV.L 510 after 25 second timer and display the detected equipment in the DCS graphic ADMF sequence table step 5 as shown in FIG. 6. If (STEP-3.PV.ON) 502 is equal “1” and (K002FLARE.PV.ON) 512 is equal “1” it will activate K002.PV.L 514 after 25 second timer and display the detected equipment in the DCS graphic ADMF sequence table step 5 as shown in FIG. 6. if (STEP-3.PV.ON) 502 is equal “1” and (HPPTFLARE.PV.ON) 516 is equal “1” it will activate HPPT.PV.L 518 after 25 second timer and display the detected equipment in the DCS graphic ADMF sequence table step 5 as shown in FIG. 6. If (STEP-3.PV.ON) 502 is equal “1” and (LPPTFLARE.PV.ON) 520 is equal “1” it will activate LPPT.PV.L 522 after 25 second timer and display the detected equipment in the DCS graphic ADMF sequence table step 5 as shown in FIG. 6. If (STEP-3.PV.ON) 502 is equal “1” and (HPTTFLARE.PV.ON) 524 is equal “1” it will activate HPTT.PV.L 526 after 25 second timer and display the detected equipment in the DCS graphic ADMF sequence table step 5 as shown in FIG. 6. If (STEP-3.PV.ON) 502 is equal “1” and (DEGASSFLARE.PV.ON) 528 is equal “1” it will activate DEGASS.PV.L 530 after 25 second timer and display the detected equipment in the DCS graphic ADMF sequence table step 5 as shown in FIG. 6.



FIG. 6 is a schematic diagram of an automated detection and minimization of flare (ADMF) sequence table 600 in accordance with embodiments of the present disclosure. FIG. 6 shows the Automated Detection & Minimization of Flare (ADMF) sequence table in steps. Step 1 represents the conditions required to start the ADMF. Step 2 will display passing valves and apply tight shut off, which will continue for 60 seconds Step 3. Step-4 will calculate and send remote setpoint for FIC-801, as explained above. In Step 5, the process will analyze the non-routine flare source and display detected equipment tag as explained above. Last Step it depends on temperature analysis in Step 5: the process will display the condition of associated valves as shown in Step 6.



FIG. 7 is a schematic diagram of indicators for various stages of the automated detection and minimization of flare (ADMF) in accordance with embodiments of the present disclosure. FIG. 7 shows related function block indicators, logic chart, sequence table, controller, data set, selector, calculation & timer block for ADMF.


The following is an example calculation script, (!FLARE Tight shut off). The script will make sure all valves are closed through PCVSNCL.PV equal “1” and all limit switches for abovementioned valves from lines 2-8 are in close position, before applying tight shut off:















1
! FLARE Tight shut off


2
  alias SET1M PIC-029B.MV


3
  alias SET2M PIC-042B.MV


4
  alias SET3M PIC-092B.MV


5
  alias SET4M PIC-023.MV


6
  alias SET5M PIC-014B.MV


7
  alias SET6M PIC-4001.MV


8
  alias SET7M PIC-3012.MV


9
  alias SETPOINT1 PCVSNCL.PV


10
IF (SETPOINT1 == 0) THEN


11
SET1M = −10


12
SET2M = −10


13
SET3M = −10


14
SET4M = −10


15
SET5M = −10


16
SET6M = −10


17
SET7M = −10


18
END IF









(!FLARE PROCESS) in order to start the logic this script lines will verify no process flaring present by comparing process variable of controller versus the set point as shown in FIG. 6 Step-1-3 “process flare normal”.















20
! FLARE PROCESS


21
  alias SET1P PIC-029B.PV


22
  alias SET2P PIC-042B.PV


23
  alias SET3P PIC-092B.PV


24
  alias SET4P PIC-023.PV


25
  alias SET5P PIC-014B.PV


26
  alias SET6P PIC-4001.PV


27
  alias SET7P PIC-3012.PV


28
  alias SET1S PIC-029B.PV


29
  alias SET2S PIC-042B.PV


30
  alias SET3S PIC-092B.PV


31
  alias SET4S PIC-023.PV


32
  alias SET5S PIC-014B.PV


33
  alias SET6S PIC-4001.PV


34
  alias SET7S PIC-3012.PV


35
  alias SETPOINT2 PCVSPV.PV


36
IF ((SET1P > SET1S) OR (SET2P > SET2S) OR (SET3P > SET3S)







OR (SET4P > SET4S) OR (SET5P > SET5S) OR (SET6P > SET6S) OR


(SET7P > SET7S)) THEN








37
SETPOINT2 = 1


38
ELSE


39
SETPOINT2 = 0


40
END IF









In the following example pseudocode, (!FIC-801 REMOTE SET POINT) calculation script of remote set point as follow “New setpoint=(current setpoint of FIC801.SV-FI1009.PV)+TargetFlare.SV” and coded from line-2 to line-8. (! TARGET FLARE SET POINT) this script will detect non-routine flaring by comparing target flare which set by the proponent provided by production engineer vs flare flow meter FI-1009 as shown in FIG. 6 Step-1-4.















1
! FIC-801 REMOTE SET POINT


2
  alias SETF FIC-801.SV


3
  alias SETPOINT3 REMOTESET.PV


4
  alias SET100 FI-1009.PV


5
  alias SET101 TARGET-FLARE.SV


6
IF (SETPOINT 3 == 1) THEN


7
SETF = (SETF − SET100) + (SET101)


8
END IF


9


10
! TARGET FLARE SET POINT


11
  alias SET100 FI-1009.PV


12
  alias SET101 TARGET-FLARE.SV


13
  alias SET102 NORMFLOW.PV


14
IF (SET100 => SET101) THEN


15
SET102 = 1


16
ELSE


17
SET102 = 0


18
END IF









The following pseudocode shows the script which will continuously analysis and compare flare line temperature (TI-1009) reading with GOSP flare lines readings of High-Pressure Production Trap (HPPT) Gas compressor K001A flare line, (HPPT) Gas compressor K001B flare line, Low Pressure Production Trap (LPPT) Gas compressor K002 flare line, High-Pressure Production Trap (HPPT) flare line, Low Pressure Production Trap (LPPT), High-Pressure Test Trap (HPTT) flare line & degassing vessel flare line, any reading approach or within 2% of (TI-1009) the detected equipment will be display in the DCS graphic ADMF sequence table FIG. 6 Step-1-5.















1
! DETECT EQUIP TEMP PV


2
  alias SET103 TI-1009.PV


3
  alias SET104 K001ATEMP.PV


4
  alias SET105 K001AFLARE.PV


5
IF (SET103 => set104−set104*0.02) then


6
SET105 = 1


7
ELSE


8
SET105 = 0


9
END IF


10


11
! DETECT EQUIP TEMP PV


12
  alias SET114 K001BTEMP.PV


13
  alias SET115 K001BFLARE.PV


14
IF (SET103 => SET114−SET114*0.02) THEN


15
SET115 = 1


16
ELSE


17
SET115 = 0


18
END IF


19


20
! DETECT EQUIP TEMP PV


21
  alias SET124 K002TEMP.PV


22
  alias SET125 K002FLARE.PV


23
IF (SET103 => SET124−SET124*0.02) THEN


24
SET125 = 1


25
ELSE


26
SET125 = 0


27
END IF


28
! DETECT EQUIP TEMP PV


29
  alias SET134 HPPTTEMP.PV


30
  alias SET135 HPPTFLARE.PV


31
IF (SET103 => SET134−SET134*0.02) THEN


32
SET135 = 1


33
ELSE


34
SET135 = 0


35
END IF


36
! DETECT EQUIP TEMP PV


37
  alias SET144 LPPTTEMP.PV


38
  alias SET145 LPPTFLARE.PV


39
IF (SET103 => SET144−SET144*0.02) THEN


40
SET145 = 1


41
ELSE


42
SET145 = 0


43
END IF


36
! DETECT EQUIP TEMP PV


37
  alias SET154 HPTTTEMP.PV


38
  alias SET155 HPTTFLARE.PV


39
IF (SET103 => SET154−SET154*0.02) THEN


40
SET155 = 1


41
ELSE


42
SET155 = 0


43
END IF


36
! DETECT EQUIP TEMP PV


37
  alias SET164 DEGASSTEMP.PV


38
  alias SET165 DEGASSFLARE.PV


39
IF (SET103 => SET164−SET164*0.02) THEN


40
SET165 = 1


41
ELSE


42
SET165 = 0


43
END IF









The above pseudocode represent example algorithms that can be used for the ADMF process described herein. Other functions and calls and instructions can also be used in a similar or analogous manner without deviating from the scope of this disclosure.



FIG. 8 is a block diagram of an example computer system 800 used to provide computational functionalities associated with described algorithms, methods, functions, processes, flows, and procedures described in the present disclosure, according to some implementations of the present disclosure. The illustrated computer 802 is intended to encompass any computing device such as a server, a desktop computer, a laptop/notebook computer, a wireless data port, a smart phone, a personal data assistant (PDA), a tablet computing device, or one or more processors within these devices, including physical instances, virtual instances, or both. The computer 802 can include input devices such as keypads, keyboards, and touch screens that can accept user information. Also, the computer 802 can include output devices that can convey information associated with the operation of the computer 802. The information can include digital data, visual data, audio information, or a combination of information. The information can be presented in a graphical user interface (UI) (or GUI).


The computer 802 can serve in a role as a client, a network component, a server, a database, a persistency, or components of a computer system for performing the subject matter described in the present disclosure. The illustrated computer 802 is communicably coupled with a network 830. In some implementations, one or more components of the computer 802 can be configured to operate within different environments, including cloud-computing-based environments, local environments, global environments, and combinations of environments.


At a top level, the computer 802 is an electronic computing device operable to receive, transmit, process, store, and manage data and information associated with the described subject matter. According to some implementations, the computer 802 can also include, or be communicably coupled with, an application server, an email server, a web server, a caching server, a streaming data server, or a combination of servers.


The computer 802 can receive requests over network 830 from a client application (for example, executing on another computer 802). The computer 802 can respond to the received requests by processing the received requests using software applications. Requests can also be sent to the computer 802 from internal users (for example, from a command console), external (or third) parties, automated applications, entities, individuals, systems, and computers.


Each of the components of the computer 802 can communicate using a system bus 803. In some implementations, any or all of the components of the computer 802, including hardware or software components, can interface with each other or the interface 804 (or a combination of both) over the system bus 803. Interfaces can use an application programming interface (API) 812, a service layer 813, or a combination of the API 812 and service layer 813. The API 812 can include specifications for routines, data structures, and object classes. The API 812 can be either computer-language independent or dependent. The API 812 can refer to a complete interface, a single function, or a set of APIs.


The service layer 813 can provide software services to the computer 802 and other components (whether illustrated or not) that are communicably coupled to the computer 802. The functionality of the computer 802 can be accessible for all service consumers using this service layer. Software services, such as those provided by the service layer 813, can provide reusable, defined functionalities through a defined interface. For example, the interface can be software written in JAVA, C++, or a language providing data in extensible markup language (XML) format. While illustrated as an integrated component of the computer 802, in alternative implementations, the API 812 or the service layer 813 can be stand-alone components in relation to other components of the computer 802 and other components communicably coupled to the computer 802. Moreover, any or all parts of the API 812 or the service layer 813 can be implemented as child or sub-modules of another software module, enterprise application, or hardware module without departing from the scope of the present disclosure.


The computer 802 includes an interface 804. Although illustrated as a single interface 804 in FIG. 8, two or more interfaces 804 can be used according to particular needs, desires, or particular implementations of the computer 802 and the described functionality. The interface 804 can be used by the computer 802 for communicating with other systems that are connected to the network 830 (whether illustrated or not) in a distributed environment. Generally, the interface 804 can include, or be implemented using, logic encoded in software or hardware (or a combination of software and hardware) operable to communicate with the network 830. More specifically, the interface 804 can include software supporting one or more communication protocols associated with communications. As such, the network 830 or the interface's hardware can be operable to communicate physical signals within and outside of the illustrated computer 802.


The computer 802 includes a processor 805. Although illustrated as a single processor 805 in FIG. 8, two or more processors 805 can be used according to particular needs, desires, or particular implementations of the computer 802 and the described functionality. Generally, the processor 805 can execute instructions and can manipulate data to perform the operations of the computer 802, including operations using algorithms, methods, functions, processes, flows, and procedures as described in the present disclosure.


The computer 802 also includes a database 806 that can hold data for the computer 802 and other components connected to the network 830 (whether illustrated or not). For example, database 806 can be an in-memory, conventional, or a database storing data consistent with the present disclosure. In some implementations, database 806 can be a combination of two or more different database types (for example, hybrid in-memory and conventional databases) according to particular needs, desires, or particular implementations of the computer 802 and the described functionality. Although illustrated as a single database 806 in FIG. 8, two or more databases (of the same, different, or combination of types) can be used according to particular needs, desires, or particular implementations of the computer 802 and the described functionality. While database 806 is illustrated as an internal component of the computer 802, in alternative implementations, database 806 can be external to the computer 802.


The computer 802 also includes a memory 807 that can hold data for the computer 802 or a combination of components connected to the network 830 (whether illustrated or not). Memory 807 can store any data consistent with the present disclosure. In some implementations, memory 807 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 802 and the described functionality. Although illustrated as a single memory 807 in FIG. 8, two or more memories 807 (of the same, different, or combination of types) can be used according to particular needs, desires, or particular implementations of the computer 802 and the described functionality. While memory 807 is illustrated as an internal component of the computer 802, in alternative implementations, memory 807 can be external to the computer 802.


The application 808 can be an algorithmic software engine providing functionality according to particular needs, desires, or particular implementations of the computer 802 and the described functionality. For example, application 808 can serve as one or more components, modules, or applications. Further, although illustrated as a single application 808, the application 808 can be implemented as multiple applications 808 on the computer 802. In addition, although illustrated as internal to the computer 802, in alternative implementations, the application 808 can be external to the computer 802.


The computer 802 can also include a power supply 814. The power supply 814 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 814 can include power-conversion and management circuits, including recharging, standby, and power management functionalities. In some implementations, the power-supply 814 can include a power plug to allow the computer 802 to be plugged into a wall socket or a power source to, for example, power the computer 802 or recharge a rechargeable battery.


There can be any number of computers 802 associated with, or external to, a computer system containing computer 802, with each computer 802 communicating over network 830. Further, the terms “client,” “user,” and 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 802 and one user can use multiple computers 802.


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. Each computer program can include 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, the signal can be a machine-generated electrical, optical, or electromagnetic signal that is generated to encode information for transmission to a suitable 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.


The terms “data processing apparatus,” “computer,” and “electronic computer device” (or equivalent as understood by one of ordinary skill in the art) refer to data processing hardware. For example, a data processing apparatus can encompass all kinds of apparatuses, 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 include special purpose logic circuitry including, for example, a central processing unit (CPU), a field-programmable gate array (FPGA), or an application specific integrated circuit (ASIC). 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 or without conventional operating systems, such as LINUX, UNIX, WINDOWS, MAC OS, ANDROID, or IOS.


A computer program, which can also be referred to or described as a program, software, a software application, a module, a software module, a script, or code, can be written in any form of programming language. Programming languages can include, for example, compiled languages, interpreted languages, declarative languages, or procedural languages. Programs can be deployed in any form, including as stand-alone programs, modules, components, subroutines, or units 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 storing one or more modules, sub programs, or portions of code. A computer program can be deployed for execution on one computer or on multiple computers that are located, for example, at one site or distributed across multiple sites that are interconnected by a communication network. While portions of the programs illustrated in the various figures may be shown as individual modules that implement the various features and functionality through various objects, methods, or processes, the programs can instead include a number of sub-modules, third-party services, components, and libraries. 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.


The methods, processes, or logic flows described in this specification 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. 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 suitable for the execution of a computer program can be based on one or more of general and special purpose microprocessors and other kinds of CPUs. The 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 CPU can receive instructions and data from (and write data to) a memory.


Graphics processing units (GPUs) can also be used in combination with CPUs. The GPUs can provide specialized processing that occurs in parallel to processing performed by CPUs. The specialized processing can include artificial intelligence (AI) applications and processing, for example. GPUs can be used in GPU clusters or in multi-GPU computing.


A computer can include, or be operatively coupled to, one or more mass storage devices for storing data. In some implementations, a computer can receive data from, and transfer data to, the mass storage devices including, for example, magnetic, magneto optical disks, or optical disks. 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 storage device such as a universal serial bus (USB) flash drive.


Computer readable media (transitory or non-transitory, as appropriate) suitable for storing computer program instructions and data can include all forms of permanent/non-permanent and volatile/non volatile memory, media, and memory devices. Computer readable media can include, for example, semiconductor memory devices such as 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. Computer readable media can also include, for example, magnetic devices such as tape, cartridges, cassettes, and internal/removable disks. Computer readable media can also include magneto optical disks and optical memory devices and technologies including, for example, digital video disc (DVD), CD ROM, DVD+/−R, DVD-RAM, DVD-ROM, HD-DVD, and BLU-RAY. 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, and dynamic information. Types of objects and data stored in memory can include parameters, variables, algorithms, instructions, rules, constraints, and references. Additionally, the memory can include logs, policies, security or access data, and reporting files. The processor and the memory can be supplemented by, or incorporated into, special purpose logic circuitry.


Implementations of the subject matter described in the present disclosure can be implemented on a computer having a display device for providing interaction with a user, including displaying information to (and receiving input from) the user. Types of display devices can include, for example, a cathode ray tube (CRT), a liquid crystal display (LCD), a light-emitting diode (LED), and a plasma monitor. Display devices can include a keyboard and pointing devices including, for example, a mouse, a trackball, or a trackpad. User input can also be provided to the computer through the use of a touchscreen, such as a tablet computer surface with pressure sensitivity or a multi-touch screen using capacitive or electric sensing. Other kinds of devices can be used to provide for interaction with a user, including to receive user feedback including, for example, sensory feedback including visual feedback, auditory feedback, or tactile feedback. Input from the user can be received in the form of acoustic, speech, or tactile input. In addition, a computer can interact with a user by sending documents to, and receiving documents from, a device that the user uses. For example, the computer can send web pages to a web browser on a user's client device in response to requests received from the web browser.


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. Moreover, the computing system can include a front-end component, for example, a client computer having one or both of a graphical user interface or a Web browser through which a user can interact with the computer. 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) in 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) (for example, using 802.11 a/b/g/n or 802.20 or a combination of protocols), all or a portion of the Internet, or any other communication system or systems at one or more locations (or a combination of communication networks). The network can communicate with, for example, Internet Protocol (IP) packets, frame relay frames, asynchronous transfer mode (ATM) cells, voice, video, data, or a combination of communication types between network addresses.


The computing system can include clients and servers. A client and server can generally be remote from each other and can typically interact through a communication network. The relationship of client and server can arise by virtue of computer programs running on the respective computers and having a client-server relationship.


Cluster file systems can be any file system type accessible from multiple servers for read and update. Locking or consistency tracking may not be necessary since the locking of exchange file system can be done at application layer. Furthermore, Unicode data files can be different from non-Unicode data files.


While this specification contains many specific implementation details, these should not be construed as limitations on the scope of what may be claimed, but rather as descriptions of features that may 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 suitable sub-combination. Moreover, although previously described features may 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 may 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 may be considered optional), to achieve desirable results. In certain circumstances, multitasking or parallel processing (or a combination of multitasking and parallel processing) may 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. 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.


Accordingly, the previously described example implementations do not define or constrain the present disclosure. Other changes, substitutions, and alterations are also possible without departing from the spirit and scope of the present disclosure.


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 including 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
  • 1. A method for controlling flare of a gas oil separation system, the method comprising: determining that a gas flare is indicated as non-routine based on a gas flare process variable exceeding a target value for gas flare;activating an automated detection and minimization of flare (ADMF) process executed by ADMF logic;determining, by the ADMF logic executing ADMF process, that a process variable value for each of a plurality of pressure indicator controllers exceeds a corresponding setpoint value for each of the plurality of pressure indicator controllers; andbased on the process variable value of each of the plurality of pressure indicator controllers exceeding the pressure indicator controller setpoint value: identifying a tag number for each of the plurality of pressure indicator controllers; andcausing a notification to be sent to an operator to inspect the pressure indicator controllers.
  • 2. The method of claim 1, wherein determining that a gas flare is indicated as non-routine based on a gas flare process variable exceeding a target value for gas flare comprises comparing a process variable for gas flare against a target setpoint for the gas flare.
  • 3. The method of claim 1, further comprising: based on the process variable value of each of the plurality of pressure indicator controllers not exceeding the pressure indicator controller setpoint value:determining, by the ADMF logic executing ADMF process, that a process variable for each of a plurality of pressure indicator controller manipulation indicator value is equal to zero;applying a tight shutoff to each pressure control valve for a predetermined period of time.
  • 4. The method of claim 3, wherein the predetermined period of time comprises five minutes.
  • 5. The method of claim 3, further comprising: determining that a gas flare is indicated as non-routine based on a gas flare process variable exceeding a setpoint value for gas flare; anddetermining a new target setpoint for the gas flare.
  • 6. The method of claim 3, further comprising: comparing plant flare source temperature against gas flare temperature; andidentifying a source of the gas flare based on the comparison of the plant flare source temperature against the gas flare temperature.
  • 7. The method of claim 1, wherein activating the ADMF process comprises: determining that an equipment shutdown status indicates that equipment has not been shutdown within a predetermined amount of time prior to the non-routine gas flare;determining that a gas flare alarm is active; anddetermining that an investigation command has been activated.
  • 8. A non-transitory, computer-readable storage medium storing instructions that, when executed by a hardware processor, cause the hardware processor to perform operations comprising: determining that a gas flare is indicated as non-routine based on a gas flare process variable exceeding a target value for gas flare;activating an automated detection and minimization of flare (ADMF) process executed by ADMF logic;determining, by the ADMF logic executing ADMF process, that a process variable value for each of a plurality of pressure indicator controllers exceeds a corresponding setpoint value for each of the plurality of pressure indicator controllers; andbased on the process variable value of each of the plurality of pressure indicator controllers exceeding the pressure indicator controller setpoint value: identifying a tag number for each of the plurality of pressure indicator controllers; andcausing a notification to be sent to an operator to inspect the pressure indicator controllers.
  • 9. The non-transitory, computer-readable storage media of claim 8, wherein determining that a gas flare is indicated as non-routine based on a gas flare process variable exceeding a target value for gas flare comprises comparing a process variable for gas flare against a target setpoint for the gas flare.
  • 10. The non-transitory, computer-readable storage media of claim 8, the operations further comprising: based on the process variable value of each of the plurality of pressure indicator controllers not exceeding the pressure indicator controller setpoint value: determining, by the ADMF logic executing ADMF process, that a process variable for each of a plurality of pressure indicator controller manipulation indicator value is equal to zero;applying a tight shutoff to each pressure control valve for a predetermined period of time.
  • 11. The non-transitory, computer-readable storage media of claim 10, wherein the predetermined period of time comprises five minutes.
  • 12. The non-transitory, computer-readable storage media of claim 10, the operations further comprising: determining that a gas flare is indicated as non-routine based on a gas flare process variable exceeding a setpoint value for gas flare; anddetermining a new target setpoint for the gas flare.
  • 13. The non-transitory, computer-readable storage media of claim 10, the operations further comprising: comparing plant flare source temperature against gas flare temperature; andidentifying a source of the gas flare based on the comparison of the plant flare source temperature against the gas flare temperature.
  • 14. The non-transitory, computer-readable storage media of claim 8, wherein activating the ADMF process comprises: determining that an equipment shutdown status indicates that equipment has not been shutdown within a predetermined amount of time prior to the non-routine gas flare;determining that a gas flare alarm is active; anddetermining that an investigation command has been activated.
  • 15. A system comprising: a gas flare stack;a gas flare flow meter;a plurality of pressure control valves; anda non-transitory, computer-readable storage medium storing instructions that, when executed by a hardware processor, cause the hardware processor to perform operations comprising: determining that a gas flare is indicated as non-routine based on a gas flare process variable exceeding a target value for gas flare;activating an automated detection and minimization of flare (ADMF) process executed by ADMF logic;determining, by the ADMF logic executing ADMF process, that a process variable value for each of a plurality of pressure indicator controllers exceeds a corresponding setpoint value for each of the plurality of pressure indicator controllers; andbased on the process variable value of each of the plurality of pressure indicator controllers exceeding the pressure indicator controller setpoint value: identifying a tag number for each of the plurality of pressure indicator controllers; andcausing a notification to be sent to an operator to inspect the pressure indicator controllers.
  • 16. The system of claim 15, wherein determining that a gas flare is indicated as non-routine based on a gas flare process variable exceeding a target value for gas flare comprises comparing a process variable for gas flare against a target setpoint for the gas flare.
  • 17. The system of claim 15, the operations further comprising: based on the process variable value of each of the plurality of pressure indicator controllers not exceeding the pressure indicator controller setpoint value: determining, by the ADMF logic executing ADMF process, that a process variable for each of a plurality of pressure indicator controller manipulation indicator value is equal to zero;applying a tight shutoff to each pressure control valve for a predetermined period of time.
  • 18. The system of claim 17, wherein the predetermined period of time comprises five minutes.
  • 19. The system of claim 17, the operations further comprising: determining that a gas flare is indicated as non-routine based on a gas flare process variable exceeding a setpoint value for gas flare; anddetermining a new target setpoint for the gas flare.
  • 20. The system of claim 17, the operations further comprising: comparing plant flare source temperature against gas flare temperature; andidentifying a source of the gas flare based on the comparison of the plant flare source temperature against the gas flare temperature.
  • 21. The system of claim 15, wherein activating the ADMF process comprises: determining that an equipment shutdown status indicates that equipment has not been shutdown within a predetermined amount of time prior to the non-routine gas flare;determining that a gas flare alarm is active; anddetermining that an investigation command has been activated.