CN102622655A - Nonlinear production plan optimization method applied to oil refineries - Google Patents
Nonlinear production plan optimization method applied to oil refineries Download PDFInfo
- Publication number
- CN102622655A CN102622655A CN2012100849620A CN201210084962A CN102622655A CN 102622655 A CN102622655 A CN 102622655A CN 2012100849620 A CN2012100849620 A CN 2012100849620A CN 201210084962 A CN201210084962 A CN 201210084962A CN 102622655 A CN102622655 A CN 102622655A
- Authority
- CN
- China
- Prior art keywords
- constraint
- production
- atmospheric
- unit
- vacuum distillation
- 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.)
- Granted
Links
Images
Landscapes
- Feedback Control In General (AREA)
Abstract
The invention discloses a nonlinear production plan optimization method applied to oil refineries, which includes the steps: firstly, setting up an oil refining production logic network; secondly, setting up process modules of an atmospheric and vacuum CDU (crude distillation unit) and a FCC (fluid catalytic cracking) unit; thirdly, inputting all constraint condition data and determining a target function in two-stage search; and fourthly, using the mixed searching method to optimally determine production plan decision variables. The genetic algorithm and direct search algorithm are combined on the basis of the simulation modeling technique, global profits of an oil refinery production plan can be effectively increased without destroying the constraint conditions, tremendous computation generated during solving of complex production plan problems can be avoided, and optimized solutions can be quickly obtained. The nonlinear production plan optimization method is simple in principle, convenient in implementation, high in transportability and applicable to different production plan environments.
Description
Technical field
The present invention relates to process computer and optimize the field, relate in particular to a kind of non-linear production planning optimization method that is applied to refinery.
Background technology
The production schedule is that oil refining enterprise is organized presetting of activity in production, and it has confirmed what kind of production and operation target enterprise will realize, and how to realize such target.The production schedule is that petroleum chemical enterprise manages and reflection and the refinement of development strategy at the manufacturing side, links the procurement plan at the upper reaches and distribution plan, the plan of needs in downstream, is again that crude oil scheduling, device and pipeline are dispatched, the abstract conclusion of petroleum products blending.The optimization of the production schedule is the core that oil refining enterprise solves production efficiency problem.
The oil refining Production planning model is meant to be concluded the simplification of oil refining enterprise complicated production flow process, and its precision has determined the using value and the directive significance of Optimization result.
The oil refining production run utilizes mathematical modeling to demonstrate more and more important effect gradually; People possibly understand the internal work principle of technology; But when confirming optimal parameter, need a large amount of work; The size of reactor and unit thereof for example, the correct consumption and the proportioning of various materials, perhaps optimum flow rate.Used to pass through repetition test, or the dependence experience solves this type problem, yet if set up and test a large amount of prototype plants, this method can spend great amount of time and energy.Utilize the mathematical modeling instrument can set up virtual prototype and disclose the internal mechanism in the technological process.Can revise arbitrary parameter easily, and see effect immediately.
For example application number is to disclose a kind of non-linear continuous tank type diesel oil blending method in the 200610029415.7 Chinese invention patent applications, and its detailed process comprises:
(1) sets up based on the linearity in the real-time qualitative attribute of the linearity between formation each component real-time traffic of finished diesel fuel and each flow and nonlinear relationship, each component and finished diesel fuel and the nonlinear mathematical model of nonlinear relationship;
(2) in the nonlinear mathematical model of crude oil refinery speed, each side line real-time traffic data and the real-time qualitative data input step of each component (1) being set up, computing obtains constituting each component real-time traffic data of finished diesel fuel;
(3) by the steps such as blending of carrying out finished diesel fuel by each component real-time traffic data of formation finished diesel fuel of step (2) acquisition.
The non-linear empirical model that comprises technological parameter also is integrated in the Production planning model gradually; Current optimization to the oil refining production schedule mainly relies on numerical optimization; But the integrated of nonlinear relationship makes traditional linear programming method powerless, and characteristics such as extensive, the multiple constraint that the production schedule of refining oil simultaneously is intrinsic are also perplexing the use of first heuristics such as evolution algorithm, particle cluster algorithm, ant group algorithm.
Summary of the invention
The invention provides a kind of Hybrid Search method that is applied to the non-linear production planning optimization of refinery; With the Simulation and Modeling Technology is the basis; And innovation ground combines genetic algorithm and direct search algorithm; Can tackle the non-linear of optimization objects, significantly reduce dyscalculia and destroy, promote the overall profit of the production schedule with constraint.
A kind of non-linear production planning optimization method that is applied to refinery may further comprise the steps:
(1) sets up in the said refinery logical network of oil refining process units and material side line, crude oil amount of purchase, Flow of Goods and Materials direction, overall production models and the oil product output data of input correspondence;
(2) comprise atmospheric and vacuum distillation unit and catalytic cracking unit at least in the described oil refining process units, and set up the nonlinear process model of atmospheric and vacuum distillation unit and catalytic cracking unit;
(3) utilize the constraint condition data of intermediate material storage tank, oil quality characteristic, other process units and the demand-supply relation, set up the equation of constraint of two phase targets functions with the profit expectation value of the constraint destruction value of oil refining process and planning cycle;
(4) confirm the decision variable that oil refining is produced in the planning cycle,, utilize the Hybrid Search method to obtain the optimizing decision variable that oil refining is produced in the planning cycle according to the equation of constraint in the step (3).
Flow of Goods and Materials direction described in the step (1) is the flow directions of all materials between the oil refining process units, promptly comprises the flow direction of crude oil, also comprises the flow direction of each intermediate product and final products.
Described crude oil amount of purchase is meant the consumption of each raw materials for production in the refinery.
Described overall production models can utilize prior art, make up in conjunction with concrete oil refining process units, and the overall production models here preferably adopt the linear model of simplification.
Output and index that described oil product output data is final products when for example final products comprise gasoline and diesel oil, comprise index octane number and condensation point of diesel oil commonly used at least.
In step (2); Process characteristic and importance according to atmospheric and vacuum distillation unit and catalytic cracking unit are set up nonlinear process model analysis; In the general refinery referring to equipment also have catalytic reforming unit, delayed coking unit, hydro-refining unit and storage tank etc.; Atmospheric and vacuum distillation unit and catalytic cracking unit are preferably set up nonlinear process model analysis as the visual plant of refinery, productive rate and technological parameter be all the other equipment of nonlinear dependence relation then in overall production models according to the linear model analysis of simplifying.
The nonlinear process model of the atmospheric and vacuum distillation unit described in the step (2) is following:
Y
u,n,t=H
u,n,t-H
u,n,t-1 (2)
H wherein
U, n, tThe n discharging side line of expression atmospheric and vacuum distillation unit u is at the productive rate of t production batch;
U is the atmospheric and vacuum distillation unit sequence number;
N is the discharging side line sequence number of atmospheric and vacuum distillation unit;
T is the production batch sequence number of atmospheric and vacuum distillation unit;
Y
U, n, tExpression and H
U, n, tCorresponding mass yield;
T
U, n, tBe the n discharging side line of expression atmospheric and vacuum distillation unit u cutting temperature at the t production batch;
K is predefined integer, and the order in the representation formula for example generally gets 3, and the big more precision of value is high more, can increase but computing is also corresponding;
a
U, 0, a
U, 1... a
U, KBe in advance according to true boiling point productive rate after the nonlinear process model match of described atmospheric and vacuum distillation unit and cutting temperature relevance parameter, receive the properties influence of different crude oils.For example set two cover atmospheric and vacuum distillation units and process Daqing crude oil (DAQ) and LIAOHE CRUDE (LIH) respectively, their true boiling point parameter is also different.
a
U, 0, a
U, 1... a
U, KValue can be according to the H in the actual production in advance
U, n, tAnd T
U, n, tObtain.
The nonlinear process model of the catalytic cracking unit described in the step (2) is following:
Y
u,n,t=β
n,0+β
n,1(CONV
u,t-Z)+β
n,2(CONV
u,t-Z)
2 (3)
Y
U, n, tThe n discharging side line of expression catalytic cracking unit u is in the mass yield of t production batch;
CONV
U, tExpression catalytic cracking unit u is in the conversion factor of t production batch;
Z is the conversion factor of benchmark;
To catalytic cracking unit, the simplification empirical model that uses document (GARY J I.I-Iandwork, GE, Petroleum Refining, TechnologyandEconomics [M] .MarcelDekkerInc.1984.) to propose.In the practical operation, the primary variables that influences the FCC mass yield is cracking temperature, catalyzer/crude oil ratio, air speed etc.Gary etc. propose an abstract variable with amid all these factors, are referred to as conversion factor.
U is the catalytic cracking unit sequence number;
N is the discharging side line sequence number of catalytic cracking unit;
T is the production batch sequence number of catalytic cracking unit;
β
N, 0, β
N, 1, β
N, 2Be side line mass yield and the conversion factor relevance parameter after a series of matches, β
N, 0, β
N, 1, β
N, 2Value can be according to the Y in the actual production in advance
U, n, tAnd CONV
U, tObtain.
In the step (3), the equation expression formula of the Phase I objective function of setting up with the constraint destruction value of oil refining process is:
CONB shows that the constraint in the whole refinery production run destroys G
iRepresent that single constraint exceeds or not enough absolute value, r
iRepresent predefined penalty factor.
I is the call number of constraint condition, and n is the quantity of constraint condition.
Comprise a large amount of constraint condition in the oil refining process, consider the destruction value that constraint destruction value comprises following constraint among the present invention: storage tank constraint, rerum natura constraint, other process units constraints and market supply and demand constraint.
Wherein the storage tank constraint can be expressed as:
INV
u,t=INV′
u,t-1+∑QI
u,n,t (4)
INV′
u,t=INV
u,t-∑QO
u,n,t (6)
INV '
U, t-1Represent the jar storage after t-1 batch of u storage tank paid jar, INV
U, tRepresent the jar storage after t batch of u storage tank received jar, INV '
U, tRepresent the jar storage after t batch of u storage tank paid jar, and
With
The upper and lower bound of representing u storage tank jar storage respectively.
The storage tank operation can be divided into rewinding and pay material two steps.Formula (4) and formula (5) expression rewinding operational constraints, jar must not deposit greater than the storage capacity upper limit after the rewinding; Formula (6) and formula (7) expression pair material operational constraints is paid material back jar and must not deposit less than the storage capacity lower limit.
The rerum natura constraint can be expressed as:
ON
U, tAnd PP
U, tOctane value and the condensation point of diesel oil of representing t batch of u blending device, ON
U, n, tAnd PP
U, n, tThe octane value and the condensation point of diesel oil of expression respective side line material, QI
U, n, tThe charging value of representing t batch of u blending device n bar side line.
The rerum natura effect of contraction is divided into octane number constraint and condensation point of diesel oil constraint in attemperation apparatus.Formula (8) is the linear restriction condition, and the blended gasoline octane value is the weighted mean value of all charging side line octane values of attemperation apparatus; Formula (9) is the non-linear constrain condition, adopts classical condensation point of diesel oil computing formula, and λ, θ, ω learn from else's experience and test parameter.
The constraint of other process units can be expressed as:
CAP
u,m,t=∑QI
u,m,n,t (10)
∑QI
u,m,n,t=∑QO
u,m,n,t (11)
QO
u,m,n,t=CAP
u,m,tY
u,m,n,t(13)
CAP
U, m, tThe processing capacity of representing u device under the t batch of m scheme, QI
U, m, n, tThe charging value of representing n bar charging side line under the t batch of m scheme, QO
U, m, n, tThe discharging value of representing n bar discharging side line under the t batch of m scheme, Y
U, m, n, tThe productive rate of representing n bar discharging side line under the t batch of m scheme,
With
The upper and lower bound of representing u device processing capacity respectively.
The processing capacity of formula (10) expression process units under the m scheme equals all feed side line material summations; Formula (11) is the material balance formula, and expression turnover material stream adds and equates; Processing capacity under formula (12) the expression m scheme must satisfy minimum and maximum Capability Requirement; Formula (13) is explained the calculating of process units discharging, tries to achieve through nonlinear model calculating except the productive rate of atmospheric and vacuum distillation unit catalytic cracking unit, and remaining process units productive rate is specified by experience productive rate table.
The market supply and demand constraint can be expressed as:
C
I, tRepresent t batch of amount of purchase, D to i crude oil
I, tThe turnout of t batch of i oil product of expression,
With
Represent the upper and lower bound of i crude oil respectively t batch of supply,
With
Represent the upper and lower bound of i oil product respectively t batch of demand.
In the step (3), the equation expression formula of the Phase objective function of setting up with the profit expectation value of the planning cycle of oil refining process is:
OBJ=∑P
i·D
i,t-∑P
j·C
j,t-σ·∑S
u,t
P
iAnd P
jThe price of representing oil product and crude oil respectively, D
I, tThe turnout of t batch of following i oil product of expression, C
J.tRepresent t batch of amount of purchase, S to j crude oil
U, tThe jar storage of t batch of following u storage tank of expression, σ representation unit jar is deposited cost.
Decision variable comprises in the step (4):
The cutting temperature of atmospheric and vacuum distillation unit;
The conversion factor of catalytic cracking unit;
With corresponding other process units schemes of predetermined productive rate;
The crude oil amount of purchase;
Storage tank is paid the material amount.
Wherein atmospheric and vacuum distillation unit can be some covers, the corresponding some material side lines of every cover, and every corresponding cutting temperature of material side line, and promptly certain material side line can the corresponding cut product of output under the corresponding cutting temperature.For example atmospheric and vacuum distillation unit is 2 covers, and corresponding 6 the material side lines of every cover then amount to 12 cutting temperatures.
The corresponding conversion factor of every cover catalytic cracking unit.
As decision variable; Described other process units schemes are meant productive rate; Promptly specific other process units scheme corresponding a kind of yield of product, for example the final products productive rate has four kinds, is meant four other process units schemes as decision variable so.
Certainly the different productive rates of different product corresponding different parameter in actual production; Found out corresponding relation through simulation or actual production in advance between productive rate and the technological parameter; Utilize the productive rate after the present invention optimizes so, just can utilize corresponding technological parameters to instruct and produce.
The crude oil amount of purchase is meant the consumption of each raw materials for production in the refinery, if three kinds of raw materials are arranged, the crude oil amount of purchase as decision variable then has three so.
Storage tank is paid the load that the material amount is meant each outlet line on all storage tanks; 9 storage tanks are for example arranged; Wherein have 5 storage tanks to have two outlet lines, say 14 outlet lines altogether from the outlet line angle so, promptly paying the material amount as the storage tank of decision variable has 14.
In the step (4), utilize the Hybrid Search method to confirm the optimizing decision variable of oil refining production logical network in the planning cycle, its detailed process is divided into Phase I and Phase;
Phase I is carried out the genetic algorithm of a cover standard floating-point encoding scheme, and step is following:
A, initialization: define the span of each decision variable, use the floating-point encoding scheme to generate population at random, wherein discrete variable is got approximate round values;
B, evaluation: with the input of the decision variable in the population that generates production schedule realistic model; Calculate all individual constraint destruction value CONB (x) in the population; And according to the size of constraint destruction value all individualities are sorted, the constraint destruction value CONB (x) that is about to individuality converts the ordering factor into;
Described production schedule realistic model is the overall production models that are associated through described logical network and the nonlinear process model of atmospheric and vacuum distillation unit and catalytic cracking unit.
C, selection: employing roulette mode is taken out equivalent amount at random in population individuality is as parent;
D, intersection and variation:, use crossover operator and mutation operator and generate new filial generation according to crossover probability that is provided with in advance and variation probability;
Described crossover probability is optional 0.8, promptly selects 80% individuality to participate in crossing operation;
Described variation probability is optional 0.05, and the possibility that promptly new filial generation is morphed is 5%.
E, with the sample loops execution in step a~d of the new filial generation described in the steps d, until reaching predetermined genetic algebra as step a.
Many more results are accurate more for described genetic algebra, for example can be for 500 generations.
F, will accomplish the population that obtains behind the predetermined genetic algebra individual (being new filial generation) and corresponding target function value (among the step b with the corresponding ordering factor of this population individuality) and pass to the Phase algorithm;
The Phase I algorithm is primarily aimed at the population operation to cover whole solution space, and the Phase algorithm is directed against the performance that individual operations is separated with lifting, and concrete steps are following:
G, the population individuality that obtains with the Phase I algorithm are separated x as primary iteration
0, set primary iteration step-length matrix a
0>0, carry out interative computation;
H, the i time iterative solution can be expressed as: x
i=x
I-1+ a
iD;
Wherein i is a number of iterations, and d is the vector of unit length of random direction, and this vector of unit length is a matrix form, and the scale of this vector of unit length is that (1, n), wherein n is the number of all decision variables.The value of each element is only for-1,0 or 1 in the vector of unit length (matrix).Obtain x after d and the step-length matrix dot product
0Movement matrix;
I, the x that each iteration is obtained
iInput production schedule realistic model carries out query manipulation, and described production schedule realistic model is the described overall production models that are associated through described logical network of Phase I and the nonlinear process model of atmospheric and vacuum distillation unit and catalytic cracking unit;
If satisfy condition: OBJ (x
i)>OBJ (x
I-1) and CONB (x
i)≤CONB (x
I-1);
Represent the i time iterative query success, be provided with simultaneously: a
I+1=a
i, x
i=x
I-1+ a
iD gets into computing next time again;
Otherwise, if do not satisfy condition: OBJ (x
i)>OBJ (x
I-1) and CONB (x
i)≤CONB (x
I-1), represent the i time iterative query failure, x is set
i=x
I-1, reduce step-size in search a
I+1=a
i/ 2 recomputate and inquire about x
iIf the continuous successful inquiring not yet that reduces for five times behind the step-size in search then regenerates random direction vector d (value-1,0 or 1 that is direction vector d element changes at random), execution in step i again;
J, when iterations i reaches threshold value, jump out iteration, obtaining the corresponding search result is described optimizing decision variable and the output of corresponding target function value.
High more result is accurate more for the threshold value of iterations i, but calculated amount also increases complicacy, general desirable 100~500 times, for example 200 times thereupon.
Described corresponding target function value is the functional value of two phase targets functions described in the step corresponding with this optimizing decision variable (3).
The Hybrid Search method of Optimal Production plan of the present invention is on the basis of Simulation and Modeling Technology; In conjunction with genetic algorithm and direct search algorithm; Can under the situation of not destroying constraint condition, effectively promote the overall profit of the oil refining production schedule; The huge calculated amount of avoiding complicated production plan problem solving process to produce, and can be optimized rapidly and separate.Principle is simple, and it is convenient to implement, and is portable strong, is applicable to the different production environment of plans.
Description of drawings
Fig. 1 is the synoptic diagram of the production schedule logical network of a certain oil refining enterprise.
Fig. 2 is worth the evolution curve map in Phase I for constraint destruction among the present invention.
Embodiment
In order to describe the present invention more particularly, be elaborated below in conjunction with accompanying drawing and embodiment Hybrid Search method to Optimal Production plan of the present invention.
A kind of non-linear production planning optimization method that is applied to refinery may further comprise the steps:
(1) sets up oil refining production logical network.
As research object, process data is obtained from the scene, workshop with certain refinery.Fig. 1 is the flow sheet of this refinery, and wherein connecting line is represented the route of Flow of Goods and Materials, and arrow is represented the direction of Flow of Goods and Materials.This flow process comprises:
Atmospheric and vacuum distillation unit CDU1, atmospheric and vacuum distillation unit CDU2;
Catalytic cracking unit FCC1, catalytic cracking unit FCC2;
Catalytic reforming unit CRU;
Delayed coking unit DCU;
Hydro-refining unit HT1, hydro-refining unit HT2;
Mediation pond GB, the pond DB that is in harmonious proportion;
Nine logic jars are respectively logic jar TKLSR, logic jar TKHSR, logic jar TKLGO, logic jar TKAGO, logic jar TKVRC, logic jar TKVGO, logic jar TKDIE, logic jar TKCG, logic jar TKCGO; The logic jar is gathering of physics tank field, representes that such as logic jar TKLSR all store the set of the physics jar of material LSR.
Crude oil input DAQ (Daqing crude oil), crude oil input LIH (LIAOHE CRUDE), raw material input methyl tert-butyl ether MTBE;
Product oil output comprises 93#GAS (gasoline), 0#DIE (diesel oil) and kerosene KER.
(2) process model of definition atmospheric and vacuum distillation unit CDU and catalytic cracking unit FCC.
The productive rate of process model and technological parameter are the nonlinear dependence relation, and wherein the mathematic(al) representation of atmospheric and vacuum distillation unit is following:
Y
u,n,t=H
u,n,t-H
u,n,t-1 (2)
H wherein
U, n, tThe n discharging side line of expression atmospheric and vacuum distillation unit u is at the true boiling point productive rate of t production batch, Y
U, n, tRepresent mass yield on the other side.a
U, 0, a
U, 1... a
U, KBe true boiling point productive rate and the cutting temperature relevance parameter after a series of matches, receive the properties influence of different crude oils.Set two cover atmospheric and vacuum distillation units and process Daqing crude oil (DAQ) and LIAOHE CRUDE (LIH) respectively, their true boiling point parameter is also different.
The mathematic(al) representation of catalytic cracking unit is following:
Y
u,n,t=β
n,0+β
n,1(CONV
u,t-Z)+β
n,2(CONV
u,t-Z)
2 (3)
Y
U, n, tThe n discharging side line of expression catalytic cracking unit u is at the mass yield of t production batch, CONV
U, tExpression catalytic cracking unit u is in the conversion factor of t production batch.β
N, 0, β
N, 1, β
N, 2Be side line mass yield and the conversion factor relevance parameter after a series of matches.
(3) obtain all constraint conditions, define the objective function of two stages search.
Comprise a large amount of constraint condition in the oil refining process, the storage tank constraint can be expressed as:
INV
u,t=INV′
u,t-1+∑QI
u,n,t (4)
INV′
u,t=INV
u,t-∑QO
u,n,t (6)
INV '
U, t-1Represent the jar storage after t-1 batch of u storage tank paid jar, INV
U, tRepresent the jar storage after t batch of u storage tank received jar, INV '
U, tRepresent the jar storage after t batch of u storage tank paid jar, and
With
The upper and lower bound of representing u storage tank jar storage respectively.
The storage tank operation can be divided into rewinding and pay material two steps.Formula (4) and formula (5) expression rewinding operational constraints, jar must not deposit greater than the storage capacity upper limit after the rewinding; Formula (6) and formula (7) expression pair material operational constraints is paid material back jar and must not deposit less than the storage capacity lower limit.
The rerum natura constraint can be expressed as:
ON
U, tAnd PP
U, tOctane value and the condensation point of diesel oil of representing t batch of u blending device, ON
U, n, tAnd PP
U, n, tThe octane value and the condensation point of diesel oil of expression respective side line material, QI
U, n, tThe charging value of representing t batch of u blending device n bar side line.
The rerum natura effect of contraction is divided into octane number constraint and condensation point of diesel oil constraint in attemperation apparatus.Formula (8) is the linear restriction condition, and the blended gasoline octane value is the weighted mean value of all charging side line octane values of attemperation apparatus; Formula (9) is the non-linear constrain condition, adopts classical condensation point of diesel oil computing formula, and λ, θ, ω learn from else's experience and test parameter.
The constraint of other process units can be expressed as:
CAP
u,m,t=∑QI
u,m,n,t (10)
∑QI
u,m,n,t=∑QO
u,m,n,t (11)
QO
u,m,n,t=CAP
u,m,tY
u,m,n,t (13)
CAP
U, m, tThe processing capacity of representing u device under the t batch of m scheme, QI
U, m, n, tThe charging value of representing n bar charging side line under the t batch of m scheme, QO
U, m, n, tThe discharging value of representing n bar discharging side line under the t batch of m scheme, Y
U, m, n, tThe productive rate of representing n bar discharging side line under the t batch of m scheme,
With
The upper and lower bound of representing u device processing capacity respectively.
The processing capacity of formula (10) expression process units under the m scheme equals all feed side line material summations; Formula (11) is the material balance formula, and expression turnover material stream adds and equates; Processing capacity under formula (12) the expression m scheme must satisfy minimum and maximum Capability Requirement; Formula (13) is explained the calculating of process units discharging, tries to achieve through nonlinear model calculating except the productive rate of CDU and FCC, and remaining process units productive rate is specified by experience productive rate table.
The market supply and demand constraint can be expressed as:
C
I, tRepresent t batch of amount of purchase, D to i crude oil
I, tThe turnout of t batch of i oil product of expression,
With
Represent the upper and lower bound of i crude oil respectively t batch of supply,
With
Represent the upper and lower bound of i oil product respectively t batch of demand.
The amount of purchase of formula (14) expression crude oil must satisfy the bound scope with the cycle market supply; The output of formula (15) expression oil product must satisfy the bound scope with the cycle market demand.
The equation expression formula of Phase I objective function is:
Formula (16) is the Phase I objective function, shows that the constraint in the whole refinery production run destroys G
iRepresent that single constraint exceeds or not enough absolute value, r
iRepresent predefined penalty factor.
The equation expression formula of Phase objective function is:
OBJ=∑P
i·D
i,t-∑P
j·C
j,t-σ·∑S
u,t (17)
P
iAnd P
jThe price of representing oil product and crude oil respectively, S
U, tThe jar storage of t batch of following u storage tank of expression, σ representation unit jar is deposited cost, D
I, tThe turnout of t batch of following i oil product of expression, C
J, tRepresent t batch of amount of purchase to j crude oil.
Formula (17) is the objective function of Phase, shows the overall profit of whole refinery in planning cycle, is defined as the poor of income and cost.Income is from the sales revenue of product oil, and cost then is made up of crude oil buying expenses and oil tank inventory cost.For simplifying to analyze cost coefficient has been made reasonable assumption: all turnout all are converted into sales volume; Product oil price and crude oil price remain unchanged in the production schedule cycle; All storage tank unit's inventory costs are identical.
(4) utilize the Hybrid Search method, optimize and confirm production schedule decision variable.
It comprises the decision variable of the production schedule:
CDU cutting temperature (two groups, totally 12)
FCC conversion factor (two groups, totally 2)
Other process units schemes (4)
Crude oil amount of purchase (3)
Storage tank is paid material amount (14)
Being provided with of definition phase I algorithm and Phase algorithm is as shown in table 1.
The setting of table 1 algorithm parameter
Phase I | Value | Phase | Value |
The population size | 10 | The random direction number | 5 |
|
500 | Maximum iteration time (DS) | 200 |
Crossing-over rate | 0.8 | The step-length ratio | 0.05 |
Aberration rate | 0.2 |
The Hybrid Search method is divided into Phase I and Phase:
Phase I is carried out the genetic algorithm of a cover standard floating-point encoding scheme, and step is following:
A, initialization: define the span of each decision variable, use the floating-point encoding scheme to generate population at random, wherein discrete variable is got approximate round values;
B, evaluation: with the input of the decision variable in the population that generates production schedule realistic model; Calculate all individual constraint destruction value CONB (x) in the population; And according to the size of constraint destruction value all individualities are sorted, the constraint destruction value CONB (x) that is about to individuality converts the ordering factor into;
C, selection: employing roulette mode is taken out equivalent amount at random in population individuality is as parent;
D, intersection and variation:, use crossover operator and mutation operator and generate new filial generation according to crossover probability that is provided with in advance and variation probability;
E, with the sample loops execution in step a~d of the new filial generation described in the steps d, until reaching predetermined genetic algebra as step a;
F, will accomplish the population that obtains behind the predetermined genetic algebra individual (being new filial generation) and corresponding target function value (among the step b with the corresponding ordering factor of this population individuality) and pass to the Phase algorithm;
The Phase I algorithm is primarily aimed at the population operation to cover whole solution space, and through the performance that the Phase algorithm is separated with lifting to individual operations, concrete steps are following:
G, the population individuality that obtains with the Phase I algorithm are separated x as primary iteration
0, set primary iteration step-length matrix a
0>0, carry out interative computation;
H, the i time iterative solution can be expressed as: x
i=x
I-1+ a
iD;
Wherein i is a number of iterations, and d is the vector of unit length of random direction, and this vector of unit length is a matrix form, and the scale of this vector of unit length is that (1, n), wherein n is the number of all decision variables.The value of each element is only for-1,0 or 1 in the vector of unit length (matrix).Obtain x after d and the step-length matrix dot product
0Movement matrix;
I, the x that each iteration is obtained
iInput production schedule realistic model carries out query manipulation, and described production schedule realistic model is the described overall production models that are associated through described logical network of Phase I and the nonlinear process model of atmospheric and vacuum distillation unit and catalytic cracking unit;
If satisfy condition: OBJ (x
i)>OBJ (x
I-1) and CONB (x
i)≤CONB (x
I-1);
Represent the i time iterative query success, be provided with simultaneously: a
I+1=a
i, x
i=x
I-1+ a
iD gets into computing next time again;
Otherwise, if do not satisfy condition: OBJ (x
i)>OBJ (x
I-1) and CONB (x
i)≤CONB (x
I-1), represent the i time iterative query failure, x is set
i=x
I-1, reduce step-size in search a
I+1=a
i/ 2 recomputate and inquire about x
iIf the continuous successful inquiring not yet that reduces for five times behind the step-size in search then regenerates random direction vector d (value-1,0 or 1 that is direction vector d element changes at random), execution in step (i) again;
J, when iterations i reaches threshold value, jump out iteration, obtaining the corresponding search result is described optimizing decision variable and the output of corresponding target function value.
The Hybrid Search method stops after reaching greatest iteration automatically, exports the optimizing decision variable of whole process, the manufacturing variables after promptly optimizing, and its performance is as shown in table 2:
The performance of table 2 Hybrid Search method
Constraint destroys | Overall situation profit/unit | Computing time |
0 | 14793×10 5 | 7.15s |
The visible Hybrid Search method of table 2 can obtain the profit near global optimum, and does not destroy to appoint and watch constraint.The pairing fitness value of optimizing decision variable is 147930, and Fig. 2 is for the evolution curve map of constraint destruction value in Phase I, and is visible through promptly converging to 0 fast less than 50 generations, proves that this method can find feasible solution rapidly.
Claims (8)
1. a non-linear production planning optimization method that is applied to refinery is characterized in that, may further comprise the steps:
(1) sets up in the said refinery logical network of oil refining process units and material side line, crude oil amount of purchase, Flow of Goods and Materials direction, overall production models and the oil product output data of input correspondence;
(2) comprise atmospheric and vacuum distillation unit and catalytic cracking unit at least in the described oil refining process units, and set up the nonlinear process model of atmospheric and vacuum distillation unit and catalytic cracking unit;
(3) utilize the constraint condition data of intermediate material storage tank, oil quality characteristic, other process units and the demand-supply relation, set up the equation of constraint of two phase targets functions with the profit expectation value of the constraint destruction value of oil refining process and planning cycle;
(4) confirm the decision variable that oil refining is produced in the planning cycle,, utilize the Hybrid Search method to obtain the optimizing decision variable that oil refining is produced in the planning cycle according to the equation of constraint in the step (3).
2. the non-linear production planning optimization method that is applied to refinery as claimed in claim 1 is characterized in that, in the step (3), the equation expression formula of the Phase I objective function of setting up with the constraint destruction value of oil refining process is:
CONB is the constraint destruction value in the whole refinery production run, G
iRepresent that single constraint exceeds or not enough absolute value, r
iRepresent predefined penalty factor;
I is the call number of constraint condition, and n is the quantity of constraint condition.
3. the non-linear production planning optimization method that is applied to refinery as claimed in claim 2 is characterized in that described constraint destruction value comprises the destruction value of following constraint: storage tank constraint, rerum natura constraint, other process units constraints and market supply and demand constraint.
4. the non-linear production planning optimization method that is applied to refinery as claimed in claim 3 is characterized in that, in the step (3), the equation expression formula of the Phase objective function of setting up with the profit expectation value of the planning cycle of oil refining process is:
OBJ=∑P
i·D
i,t-∑P
j·C
j,t-σ·∑S
u,t
P
iAnd P
jThe price of representing oil product and crude oil respectively, S
U, tThe jar storage of t batch of following u storage tank of expression, σ representation unit jar is deposited cost, D
I, tThe turnout of t batch of following i oil product of expression, C
J.tRepresent t batch of amount of purchase to j crude oil.
5. the non-linear production planning optimization method that is applied to refinery as claimed in claim 4 is characterized in that, decision variable comprises in the step (4):
The cutting temperature of atmospheric and vacuum distillation unit;
The conversion factor of catalytic cracking unit;
With corresponding other process units schemes of predetermined productive rate;
The crude oil amount of purchase;
Storage tank is paid the material amount.
6. the non-linear production planning optimization method that is applied to refinery as claimed in claim 5 is characterized in that the nonlinear process model of described atmospheric and vacuum distillation unit is following:
Y
u,n,t=H
u,n,t-H
u,n,t-1 (2)
H wherein
U, n, tThe n discharging side line of expression atmospheric and vacuum distillation unit u is at the productive rate of t production batch;
U is the atmospheric and vacuum distillation unit sequence number;
N is the discharging side line sequence number of atmospheric and vacuum distillation unit;
T is the production batch sequence number of atmospheric and vacuum distillation unit;
Y
U, n, tExpression and H
U, n, tCorresponding mass yield;
T
U, n, tBe the n discharging side line of expression atmospheric and vacuum distillation unit u cutting temperature at the t production batch;
K is predefined integer, the order in the representation formula;
a
U, 0, a
U, 1... a
U, KBe in advance according to true boiling point productive rate after the nonlinear process model match of described atmospheric and vacuum distillation unit and cutting temperature relevance parameter.
7. the non-linear production planning optimization method that is applied to refinery as claimed in claim 6 is characterized in that the nonlinear process model of described catalytic cracking unit is following:
Y
u,n,t=β
n,0+β
n,1(CONV
u,t-Z)+β
n,2(CONV
u,t-Z)
2 (3)
Y
U, n, tThe n discharging side line of expression catalytic cracking unit u is in the mass yield of t production batch;
CONV
U, tExpression catalytic cracking unit u is in the conversion factor of t production batch;
Z is the conversion factor of benchmark;
U is the catalytic cracking unit sequence number;
N is the discharging side line sequence number of catalytic cracking unit;
T is the production batch sequence number of catalytic cracking unit;
β
N, 0, β
N, 1, β
N, 2Be side line mass yield and the conversion factor relevance parameter after a series of matches.
8. the non-linear production planning optimization method that is applied to refinery as claimed in claim 7 is characterized in that, utilizes the Hybrid Search method to confirm the optimizing decision variable of oil refining production logical network in the planning cycle, and its detailed process is divided into Phase I and Phase;
Phase I is carried out the genetic algorithm of a cover standard floating-point encoding scheme, and step is following:
A, initialization: define the span of each decision variable, use the floating-point encoding scheme to generate population at random, wherein discrete variable is got approximate round values;
B, evaluation: with the input of the decision variable in the population that generates production schedule realistic model; Calculate all individual constraint destruction value CONB (x) in the population; And according to the size of constraint destruction value all individualities are sorted, the constraint destruction value CONB (x) that is about to individuality converts the ordering factor into;
Described production schedule realistic model is the overall production models that are associated through described logical network and the nonlinear process model of atmospheric and vacuum distillation unit and catalytic cracking unit;
C, selection: employing roulette mode is taken out equivalent amount at random in population individuality is as parent;
D, intersection and variation:, use crossover operator and mutation operator and generate new filial generation according to crossover probability that is provided with in advance and variation probability;
E, with the sample loops execution in step a~d of the new filial generation described in the steps d, until reaching predetermined genetic algebra as step a;
F, will to accomplish the population that obtains behind the predetermined genetic algebra individual and pass to the Phase algorithm with the individual corresponding ordering factor of this population;
The Phase algorithm, concrete steps are following:
G, the population individuality that obtains with the Phase I algorithm are separated x as primary iteration
0, set primary iteration step-length matrix a
0>0, carry out interative computation;
H, the i time iterative solution can be expressed as: x
i=x
I-1+ a
iD;
Wherein i is a number of iterations, and d is the vector of unit length of random direction, and this vector of unit length is a matrix form, and the scale of this vector of unit length is that (1, n), wherein n is the number of all decision variables, and the value of each element is only for-1,0 or 1 in the vector of unit length;
I, the x that each iteration is obtained
iInput production schedule realistic model carries out query manipulation, and described production schedule realistic model is the described overall production models that are associated through described logical network of Phase I and the nonlinear process model of atmospheric and vacuum distillation unit and catalytic cracking unit;
If satisfy condition: OBJ (x
i)>OBJ (x
I-1) and CONB (x
i)≤CONB (x
I-1);
Represent the i time iterative query success, be provided with simultaneously: a
I+1=a
i, x
i=x
I-1+ a
iD gets into computing next time again;
Otherwise, if do not satisfy condition: OBJ (x
i)>OBJ (x
I-1) and CONB (x
i)≤CONB (x
I-1), represent the i time iterative query failure, x is set
i=x
I-1, reduce step-size in search a
I+1=a
i/ 2 recomputate and inquire about x
iIf the continuous successful inquiring not yet that reduces for five times behind the step-size in search then regenerates random direction vector d and execution in step i;
J, when iterations i reaches threshold value, jump out iteration, obtaining the corresponding search result is described optimizing decision variable and the output of corresponding target function value.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201210084962.0A CN102622655B (en) | 2012-03-28 | 2012-03-28 | Nonlinear production plan optimization method applied to oil refineries |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201210084962.0A CN102622655B (en) | 2012-03-28 | 2012-03-28 | Nonlinear production plan optimization method applied to oil refineries |
Publications (2)
Publication Number | Publication Date |
---|---|
CN102622655A true CN102622655A (en) | 2012-08-01 |
CN102622655B CN102622655B (en) | 2014-12-17 |
Family
ID=46562562
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201210084962.0A Expired - Fee Related CN102622655B (en) | 2012-03-28 | 2012-03-28 | Nonlinear production plan optimization method applied to oil refineries |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN102622655B (en) |
Cited By (15)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103324084A (en) * | 2013-07-11 | 2013-09-25 | 南京富岛信息工程有限公司 | Crude oil online blending method facing to asphaltene control |
CN103365205A (en) * | 2013-07-25 | 2013-10-23 | 南京富岛信息工程有限公司 | Double-blending head online coordination control method for crude oil blending |
CN103472722A (en) * | 2013-09-03 | 2013-12-25 | 邵光震 | Control method and system for petrochemical industry |
CN105139084A (en) * | 2015-08-13 | 2015-12-09 | 北京中石润达科技发展有限公司 | Online whole-process optimization method for oil product |
CN106709084A (en) * | 2015-11-12 | 2017-05-24 | 中国石油化工股份有限公司 | Random seed number preprocessing, least square postprocessing and serial lumped kinetics method |
CN106709089A (en) * | 2015-11-12 | 2017-05-24 | 中国石油化工股份有限公司 | Lumping kinetics method for random seed number preprocessing least square post-processing distribution |
CN107609328A (en) * | 2017-08-30 | 2018-01-19 | 武汉理工大学 | A kind of Multipurpose Optimal Method of catalytic cracking unit model |
CN109507352A (en) * | 2019-01-02 | 2019-03-22 | 杭州辛孚能源科技有限公司 | The molecular method of stock is arbitrarily flowed in a kind of prediction petrochemical iy produced |
CN110009142A (en) * | 2019-03-25 | 2019-07-12 | 杭州辛孚能源科技有限公司 | A kind of petroleum chemical enterprise's plan optimization method of data-driven |
CN111598306A (en) * | 2020-04-22 | 2020-08-28 | 汉谷云智(武汉)科技有限公司 | Oil refinery production plan optimization method and device |
CN111931975A (en) * | 2020-06-19 | 2020-11-13 | 北京化工大学 | Cracking furnace group scheduling modeling and method under consideration of downstream disturbance constraint |
CN112200489A (en) * | 2020-10-30 | 2021-01-08 | 中国科学院自动化研究所 | Non-ferrous metal smelting production, supply and marketing integrated optimization system, method and device |
CN112686430A (en) * | 2020-12-16 | 2021-04-20 | 南京富岛信息工程有限公司 | Method for improving product yield model precision of refining enterprise device |
CN112947343A (en) * | 2021-03-03 | 2021-06-11 | 中国石油化工股份有限公司 | Oil refining chemical plant production target tracking control method and device |
CN113420500A (en) * | 2021-06-10 | 2021-09-21 | 北京宜能高科科技有限公司 | Intelligent atmospheric and vacuum system |
Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101261516A (en) * | 2008-04-08 | 2008-09-10 | 山东大学 | Oil refinery real time intelligent dynamically optimized scheduling modelling approach based on affair logic |
CN102269988A (en) * | 2011-03-18 | 2011-12-07 | 浙江大学 | Method for optimizing and determining pipeline separation point coefficient of process industry production schedule |
-
2012
- 2012-03-28 CN CN201210084962.0A patent/CN102622655B/en not_active Expired - Fee Related
Patent Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101261516A (en) * | 2008-04-08 | 2008-09-10 | 山东大学 | Oil refinery real time intelligent dynamically optimized scheduling modelling approach based on affair logic |
CN102269988A (en) * | 2011-03-18 | 2011-12-07 | 浙江大学 | Method for optimizing and determining pipeline separation point coefficient of process industry production schedule |
Non-Patent Citations (1)
Title |
---|
孙在冠等: "不确定市场下的炼厂生产非线性规划模型与调度优化", 《合肥工业大学学报(自然科学版)》 * |
Cited By (24)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103324084A (en) * | 2013-07-11 | 2013-09-25 | 南京富岛信息工程有限公司 | Crude oil online blending method facing to asphaltene control |
CN103324084B (en) * | 2013-07-11 | 2015-09-16 | 南京富岛信息工程有限公司 | A kind of crude oil on-line blending method controlled towards bituminous matter |
CN103365205B (en) * | 2013-07-25 | 2016-01-27 | 南京富岛信息工程有限公司 | A kind of crude oil blending two blending head on-line coordination control method |
CN103365205A (en) * | 2013-07-25 | 2013-10-23 | 南京富岛信息工程有限公司 | Double-blending head online coordination control method for crude oil blending |
CN103472722B (en) * | 2013-09-03 | 2016-05-11 | 邵光震 | For control method and the system of petrochemical industry |
CN103472722A (en) * | 2013-09-03 | 2013-12-25 | 邵光震 | Control method and system for petrochemical industry |
CN105139084A (en) * | 2015-08-13 | 2015-12-09 | 北京中石润达科技发展有限公司 | Online whole-process optimization method for oil product |
CN106709084A (en) * | 2015-11-12 | 2017-05-24 | 中国石油化工股份有限公司 | Random seed number preprocessing, least square postprocessing and serial lumped kinetics method |
CN106709089A (en) * | 2015-11-12 | 2017-05-24 | 中国石油化工股份有限公司 | Lumping kinetics method for random seed number preprocessing least square post-processing distribution |
CN107609328A (en) * | 2017-08-30 | 2018-01-19 | 武汉理工大学 | A kind of Multipurpose Optimal Method of catalytic cracking unit model |
CN109507352A (en) * | 2019-01-02 | 2019-03-22 | 杭州辛孚能源科技有限公司 | The molecular method of stock is arbitrarily flowed in a kind of prediction petrochemical iy produced |
CN110009142B (en) * | 2019-03-25 | 2021-03-02 | 广东辛孚科技有限公司 | Data-driven petrochemical enterprise plan optimization method |
CN110009142A (en) * | 2019-03-25 | 2019-07-12 | 杭州辛孚能源科技有限公司 | A kind of petroleum chemical enterprise's plan optimization method of data-driven |
CN111598306A (en) * | 2020-04-22 | 2020-08-28 | 汉谷云智(武汉)科技有限公司 | Oil refinery production plan optimization method and device |
CN111598306B (en) * | 2020-04-22 | 2023-07-18 | 汉谷云智(武汉)科技有限公司 | Method and device for optimizing production plan of oil refinery |
CN111931975A (en) * | 2020-06-19 | 2020-11-13 | 北京化工大学 | Cracking furnace group scheduling modeling and method under consideration of downstream disturbance constraint |
CN111931975B (en) * | 2020-06-19 | 2024-09-20 | 北京化工大学 | Cracking furnace group scheduling modeling and method considering downstream disturbance constraint |
CN112200489A (en) * | 2020-10-30 | 2021-01-08 | 中国科学院自动化研究所 | Non-ferrous metal smelting production, supply and marketing integrated optimization system, method and device |
CN112200489B (en) * | 2020-10-30 | 2023-06-23 | 中国科学院自动化研究所 | Integrated optimization system, method and device for nonferrous metal smelting production and supply marketing |
CN112686430A (en) * | 2020-12-16 | 2021-04-20 | 南京富岛信息工程有限公司 | Method for improving product yield model precision of refining enterprise device |
CN112686430B (en) * | 2020-12-16 | 2024-02-23 | 南京富岛信息工程有限公司 | Method for improving accuracy of product yield model of refining enterprise device |
CN112947343A (en) * | 2021-03-03 | 2021-06-11 | 中国石油化工股份有限公司 | Oil refining chemical plant production target tracking control method and device |
CN113420500A (en) * | 2021-06-10 | 2021-09-21 | 北京宜能高科科技有限公司 | Intelligent atmospheric and vacuum system |
CN113420500B (en) * | 2021-06-10 | 2022-12-02 | 北京宜能高科科技有限公司 | Intelligent atmospheric and vacuum system |
Also Published As
Publication number | Publication date |
---|---|
CN102622655B (en) | 2014-12-17 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN102622655A (en) | Nonlinear production plan optimization method applied to oil refineries | |
Bann et al. | The costs of production of alternative jet fuel: A harmonized stochastic assessment | |
Yao et al. | Stochastic techno-economic analysis of alcohol-to-jet fuel production | |
Yue et al. | Optimal supply chain design and operations under multi‐scale uncertainties: Nested stochastic robust optimization modeling framework and solution algorithm | |
Marufuzzaman et al. | Two-stage stochastic programming supply chain model for biodiesel production via wastewater treatment | |
Wang et al. | An immune genetic algorithm for multi-echelon inventory cost control of IOT based supply chains | |
Murillo-Alvarado et al. | Multi-objective optimization of the supply chain of biofuels from residues of the tequila industry in Mexico | |
CN103065204B (en) | The gasoline concoction optimization scheduling method of a kind of VERNA-GA | |
CN1688994A (en) | Method and system for operating a hydrocarbon production facility | |
CN101286065A (en) | Crude oil blending multi-period optimized crude oil concocting and scheduling method | |
CN105740960A (en) | Optimization method of industrial hydrocracking reaction condition | |
CN101833709A (en) | Mixing intelligent optimizing method for semiconductor production line production plan | |
CN103524284A (en) | Forecasting and optimizing method for ethylene cracking material configuration | |
Zhang et al. | Product selection and supply chain optimization for fast pyrolysis and biorefinery system | |
Jin et al. | Integrated operation and cyclic scheduling optimization for an ethylene cracking furnaces system | |
Ghadami et al. | A sustainable cross-efficiency DEA model for international MSW-to-biofuel supply chain design | |
Bayu et al. | Scheduling of gasoline blending and distribution using graphical genetic algorithm | |
CN108287474B (en) | Robust operation optimization method of catalytic reforming reactor based on uncertainty of raw materials | |
Mazzetto et al. | Strategic design of bioethanol supply chains including commodity market dynamics | |
Zirngast et al. | Synthesis of flexible supply networks under uncertainty applied to biogas production | |
Panteli et al. | Supply chain mixed integer linear program model integrating a biorefining technology superstructure | |
Handogo et al. | Preliminary design of mini oil refinery plant | |
CN102269988A (en) | Method for optimizing and determining pipeline separation point coefficient of process industry production schedule | |
Chen et al. | Multi-objective and multi-period optimization of a regional timber supply network with uncertainty | |
CN104200336A (en) | Enterprise materials balancing method based on comprehensive energy consumption judgment |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
C14 | Grant of patent or utility model | ||
GR01 | Patent grant | ||
CF01 | Termination of patent right due to non-payment of annual fee | ||
CF01 | Termination of patent right due to non-payment of annual fee |
Granted publication date: 20141217 Termination date: 20210328 |