Patent Document ID: 8805587
Application ID: 14072775
Patent Flag: 1

Claim One:
1. 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, y mi represents an i-th predicted output, and y di 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 C i 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 y L corresponding to stage pressures below 250 psi and a high pressure output y H 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=α 1 y L +α 2 y H , wherein α 1 and α 2 are stage pressure dependent parameters such that α 2 =0 for a stage pressure P s less than 150 psi, α 2 = P s - 150 200 for a stage pressure P s between 150 psi and 350 psi, and α 2 =1 for a stage pressure P s 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 GOR measured 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).