Method for optimizing and controlling pressure in gas-oil separation plants
AssigneeKing Fahd University of Petroleum and Minerals
InventorsMoustafa Elshafei Ahmed Elshafei, Mahmoud El Awady Doklah
Life of this patent
Estimating the term…
Abstract
The method for optimizing and controlling pressure in gas-oil separation plants utilizes a genetic algorithm-based control method for controlling pressure in each stage of a multi-stage gas-oil separation plant to optimize oil production parameters. A neural network simulation model is used with an optimization procedure to provide on-line operation optimization of the multi-stage gas-oil separation plant. Pressure set points of each stage are automatically and continuously adjusted in the presence of fluctuating ambient temperatures and production rates to ensure optimal oil recovery and optimal quality of the produced oil.
Claims1
A computer software product that includes a non-transitory storage medium readable by a processor, the non-transitory storage medium having stored thereon a set of instructions for performing optimization and control of pressure in gas-oil separation plants, the instructions comprising:
- (a) a first set of instructions which, when loaded into main memory and executed by the processor, causes the processor to store oil composition and a set of stage temperature data for each stage of a multi-stage gas-oil separation plant as a data set in computer readable memory;
- (b) a second set of instructions which, when loaded into main memory and executed by the processor, causes the processor to establish a vector x, wherein each element of the vector x corresponds to a pressure value of one of the stages of the multi-stage gas-oil separation plant, each said pressure value corresponding to the oil composition and the stage temperature associated with the corresponding stage of the multi-stage gas-oil separation plant, the vector x being stored in the computer readable memory;
- (c) a third set of instructions which, when loaded into main memory and executed by the processor, causes the processor to establish an objective function J such that
- J
- =
- ∑
- i
- =
- 1
- Q
-
-
- y
- mi
- -
- y
- di
-
- 2
- ,
- where Q represents a number of neural network training data points, ymi represents an i-th predicted output, and ydi represents an i-th target output;
- (d) a fourth set of instructions which, when loaded into main memory and executed by the processor, causes the processor to establish a set of M nonlinear radial basis functions φi(x), wherein M is an integer and φi(x) represents the i-th radial basis function, where i=0, 1, 2, . . . , M;
- (e) a fifth set of instructions which, when loaded into main memory and executed by the processor, causes the processor to generate a neural network output y as
- y
- =
- ∑
- i
- =
- 0
- M
-
- β
- i
-
- φ
- i
-
- (
- x
- )
- ,
- wherein βi is an i-th radial basis weight and the radial basis function φi(x) is calculated as
- φ
- i
-
- (
- x
- )
- =
- exp
-
- (
-
- x
- -
- C
- i
-
- 2
- σ
- i
- 2
- )
- ,
- where Ci represents an i-th radial basis center and σi represents an i-th center spread, the neural network output y being stored in the computer readable memory and the i-th radial basis center being determined by data clustering, wherein the weights βi are selected to minimize the objective function J, wherein the neural network output y represents an optimal pressure vector corresponding to an optimal achievable value of the objective function J;
- (f) a sixth set of instructions which, when loaded into main memory and executed by the processor, causes the processor to separate the output y into a low pressure output yL corresponding to stage pressures below 250 psi and a high pressure output yH corresponding to stage pressures between 250 psi and 3,600 psi;
- (g) a seventh set of instructions which, when loaded into main memory and executed by the processor, causes the processor to calculate a stage gas-to-oil ratio GOR as GOR=α1yL+α2yH, wherein α1 and α2 are stage pressure dependent parameters such that α2=0 for a stage pressure Ps less than 150 psi,
- α
- 2
- =
- P
- s
- -
- 150
- 200
- for a stage pressure Ps between 150 psi and 350 psi, and α2=1 for a stage pressure Ps greater than 350 psi, and α1=1−α2;
- (h) an eighth set of instructions which, when loaded into main memory and executed by the processor, causes the processor to calculate a desired stage pressure for each of the stages of the multi-stage gas-oil separation plant to reach a desired stage gas-to-oil-ratio based upon the calculated gas-to-oil ratio;
- (i) a ninth set of instructions which, when loaded into main memory and executed by the processor, causes the processor to transmit control signals to each of the stages of the multi-stage gas-oil separation plant to adjust the stage pressure therein based upon the calculated desired stage pressure;
- (j) a tenth set of instructions which, when loaded into main memory and executed by the processor, causes the processor to update the radial basis weights βi, as
- β
- i
- =
- β
- i
- +
- μ
- σ
-
-
- M
-
- (
- GOR
- measured
- -
- GOR
- )
-
- ϕ
- i
- for i=0, 1, 2, . . . , M, wherein GORmeasured represents a gas-to-oil ratio measured at each of the stages of the multi-stage gas-oil separation plant, σ represents a center spread such that
- σ
- 2
- =
- 1
- M
-
- ∑
- i
- =
- 1
- M
-
- ϕ
- i
- 2
- and μ is a parameter selected such that 0<μ<1;
- and
- (k) an eleventh set of instructions which, when loaded into main memory and executed by the processor, causes the processor to return to step (e), and repeats steps (e) through (k).
Dependencies are inferred from the claim text.