CN106408127B - Crude oil scheduling and scheduling method and system - Google Patents

Crude oil scheduling and scheduling method and system Download PDF

Info

Publication number
CN106408127B
CN106408127B CN201610850308.4A CN201610850308A CN106408127B CN 106408127 B CN106408127 B CN 106408127B CN 201610850308 A CN201610850308 A CN 201610850308A CN 106408127 B CN106408127 B CN 106408127B
Authority
CN
China
Prior art keywords
crude oil
scheduling
blending proportion
blending
constraint
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201610850308.4A
Other languages
Chinese (zh)
Other versions
CN106408127A (en
Inventor
娄海川
苏宏业
侯卫锋
荣冈
古勇
艾胜兰
吴玉成
周夏芳
许祎
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
ZHEJIANG SUPCON SOFTWARE CO Ltd
Zhejiang University ZJU
Original Assignee
Zhejiang Supcon Software Co ltd
Zhejiang University ZJU
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Zhejiang Supcon Software Co ltd, Zhejiang University ZJU filed Critical Zhejiang Supcon Software Co ltd
Priority to CN201610850308.4A priority Critical patent/CN106408127B/en
Publication of CN106408127A publication Critical patent/CN106408127A/en
Application granted granted Critical
Publication of CN106408127B publication Critical patent/CN106408127B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q10/00Administration; Management
    • G06Q10/04Forecasting or optimisation specially adapted for administrative or management purposes, e.g. linear programming or "cutting stock problem"
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q50/00Information and communication technology [ICT] specially adapted for implementation of business processes of specific business sectors, e.g. utilities or tourism
    • G06Q50/02Agriculture; Fishing; Forestry; Mining

Landscapes

  • Business, Economics & Management (AREA)
  • Engineering & Computer Science (AREA)
  • Strategic Management (AREA)
  • Human Resources & Organizations (AREA)
  • Economics (AREA)
  • Theoretical Computer Science (AREA)
  • General Business, Economics & Management (AREA)
  • General Physics & Mathematics (AREA)
  • Physics & Mathematics (AREA)
  • Tourism & Hospitality (AREA)
  • Marketing (AREA)
  • Health & Medical Sciences (AREA)
  • Development Economics (AREA)
  • Agronomy & Crop Science (AREA)
  • General Health & Medical Sciences (AREA)
  • Marine Sciences & Fisheries (AREA)
  • Mining & Mineral Resources (AREA)
  • Primary Health Care (AREA)
  • Life Sciences & Earth Sciences (AREA)
  • Animal Husbandry (AREA)
  • Game Theory and Decision Science (AREA)
  • Entrepreneurship & Innovation (AREA)
  • Operations Research (AREA)
  • Quality & Reliability (AREA)
  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)
  • Feedback Control In General (AREA)

Abstract

The method and the system for scheduling and scheduling crude oil provided by the invention have the advantages that a crude oil blending proportion parameter and a crude oil scheduling and scheduling parameter are obtained, a crude oil blending proportion calculation model is established, the crude oil blending proportion is obtained according to the crude oil blending proportion calculation model and the crude oil blending proportion parameter, so that the optimization setting of the limited configurable crude oil blending proportion is completed, the production cost of an oil refining enterprise is reduced, then a crude oil scheduling and scheduling optimization model is established, a crude oil scheduling and scheduling scheme is generated according to the crude oil scheduling and scheduling parameter, finally a crude oil scheduling and scheduling plan report is generated according to the crude oil blending proportion and the crude oil scheduling and scheduling scheme, a workshop is issued for execution, and the accuracy, the performability and the working efficiency of the crude oil scheduling and scheduling are improved.

Description

Crude oil scheduling and scheduling method and system
Technical Field
The invention relates to the field of crude oil scheduling, in particular to a crude oil scheduling and production scheduling method and system.
Background
At present, the scheduling personnel of domestic oil refining enterprises generally formulate a production scheduling schedule according to experience to schedule and schedule crude oil, and because the experience and the capability of the scheduling personnel are different, the scheduling and scheduling effects of the crude oil are greatly different, and the optimization problem of scheduling and scheduling cannot be considered globally, therefore, the existing method for manually formulating the production scheduling schedule to schedule and schedule the crude oil has low efficiency and cannot meet the production requirements of modern enterprises.
Meanwhile, the influence of the blending proportion of crude oil on the production cost is often ignored in the conventional crude oil scheduling and scheduling method, so that the problems of high cost and low efficiency of the conventional crude oil scheduling and scheduling method for oil refining enterprises are caused.
Disclosure of Invention
The invention discloses a method and a system for scheduling and scheduling crude oil, which are used for establishing a crude oil blending proportion calculation model and a crude oil scheduling and scheduling optimization model, automatically generating a crude oil scheduling and scheduling plan report and improving the efficiency of scheduling and scheduling crude oil.
In order to achieve the technical purpose, the embodiment of the invention provides the following technical scheme:
a method of scheduling production of crude oil, the method comprising:
acquiring a crude oil blending proportion parameter and a crude oil scheduling and scheduling parameter;
establishing a crude oil blending proportion calculation model, and calculating the crude oil blending proportion according to the crude oil blending proportion calculation model and the crude oil blending proportion parameters;
establishing a crude oil scheduling and scheduling optimization model, and generating a crude oil scheduling and scheduling scheme according to the crude oil scheduling and scheduling optimization model, the crude oil blending proportion and the scheduling and scheduling parameters;
and generating a crude oil scheduling and production scheduling plan report according to the crude oil blending proportion and the crude oil scheduling and production scheduling scheme.
Preferably, the establishing of the crude oil blending ratio calculation model, and the calculating of the crude oil blending ratio according to the crude oil blending ratio calculation model and the crude oil blending ratio parameter include:
establishing a crude oil blending proportion objective function
Figure BDA0001120841300000021
Obtaining a feasible region of the crude oil blending proportion target function according to the crude oil blending proportion parameter, wherein Min phi is the target function, and Q is1And Q2I is the number of crude oil types, n is the total blended crude oil number, j is the physical property number of the blended crude oil, m is the total physical property number of the blended crude oil, a is the weight coefficientjiIs the j property content, p, of the i crudejIs the blending target of j property content of crude oil, pj≥0,λjIs the weight of the j-th property of the crude oil, λj≥0,xiIs the blending proportion of the i-th crude oil, xi≥0,ciIs the purchase price of the i-th crude oil, ci≥0;
Determining crude oil blending proportion constraint conditions, wherein the crude oil blending proportion constraint conditions specifically comprise the following steps: the acid value and the sulfur content of the blended crude oil are restricted, the density of the blended crude oil is restricted, the yield of a side line product is restricted after blending, the physical property deviation range of the blended crude oil is restricted, the blending proportion of the crude oil is normalized, the input flow of the crude oil is restricted, the total amount of the blended crude oil is restricted, and the blending ratio of the crude oil is restricted;
and calculating an optimal solution by using a nonlinear optimization solver in a feasible region of the crude oil blending proportion objective function according to the crude oil blending proportion constraint condition to obtain the crude oil blending proportion.
Preferably, the establishing of the crude oil scheduling and scheduling optimization model and the generating of the crude oil scheduling and scheduling scheme according to the crude oil scheduling and scheduling optimization model, the crude oil blending ratio and the scheduling and scheduling parameters comprise:
establishing a crude oil scheduling and scheduling objective function
Figure BDA0001120841300000022
Zr,r′,tE (0,1), and obtaining a feasible domain of the crude oil scheduling and scheduling objective function according to the crude oil scheduling and scheduling parameters, wherein Minobj is the objective function, Zr,r′,tSwitching discrete variables for crude oil tanks, wherein Ts is a scheduling production cycle, Nt is the number of the crude oil tanks, t is any scheduling time, r is any crude oil tank, r 'is any crude oil tank different from r, and r is not equal to r';
determining crude oil scheduling and scheduling constraints, wherein the crude oil scheduling and scheduling constraints specifically comprise: the method comprises the following steps of crude oil tank switching times constraint, t period crude oil tank r oil quantity limitation constraint, blending oil number constraint guaranteed at any moment, t period crude oil tank material balance constraint, crude oil processing load limitation constraint, crude oil blending ratio selection constraint and crude oil processing switching load change constraint;
and calculating an optimal solution by using a mixed integer linear programming solver in a feasible domain of the crude oil scheduling and scheduling objective function according to the crude oil scheduling and scheduling constraint condition to obtain the crude oil scheduling and scheduling scheme.
Preferably, the method further comprises:
and monitoring the actual crude oil scheduling and scheduling conditions after the crude oil scheduling and scheduling plan report is executed, and when the crude oil tank cannot be normally circulated, recalculating the crude oil blending proportion and obtaining the crude oil scheduling and scheduling scheme again.
Preferably, the method further comprises:
and when the crude oil tank cannot be normally circulated, an alarm signal is sent out.
A crude scheduling and scheduling system, the system comprising:
the acquisition unit is used for acquiring a crude oil blending proportion parameter and a crude oil scheduling production scheduling parameter by a user;
the first modeling unit is used for establishing a crude oil blending proportion calculation model and calculating the crude oil blending proportion according to the crude oil blending proportion calculation model and the crude oil blending proportion parameter;
the second modeling unit is used for establishing a crude oil scheduling and scheduling optimization model and generating a crude oil scheduling and scheduling scheme according to the crude oil scheduling and scheduling optimization model, the crude oil blending proportion and the scheduling and scheduling parameters;
and the generating unit is used for generating a crude oil scheduling and production scheduling plan report according to the crude oil blending proportion and the crude oil scheduling and production scheduling scheme.
Preferably, the first modeling unit includes:
a first obtaining subunit for establishing an objective function of crude oil blending ratio
Figure BDA0001120841300000031
Obtaining a feasible region of the crude oil blending proportion target function according to the crude oil blending proportion parameter, wherein Min phi is the target function, and Q is1And Q2I is the number of crude oil types, n is the total blended crude oil number, j is the physical property number of the blended crude oil, m is the total physical property number of the blended crude oil, a is the weight coefficientjiIs the j property content, p, of the i crudejIs the blending target of j property content of crude oil, pj≥0,λjIs the weight of the j-th property of the crude oil, λj≥0,xiIs the blending proportion of the i-th crude oil, xi≥0,ciIs the purchase price of the i-th crude oil, ci≥0;
The first determining subunit is used for determining crude oil blending proportion constraint conditions, and the crude oil blending proportion constraint conditions specifically comprise: the acid value and the sulfur content of the blended crude oil are restricted, the density of the blended crude oil is restricted, the yield of a side line product is restricted after blending, the physical property deviation range of the blended crude oil is restricted, the blending proportion of the crude oil is normalized, the input flow of the crude oil is restricted, the total amount of the blended crude oil is restricted, and the blending ratio of the crude oil is restricted;
and the first calculating subunit is used for calculating an optimal solution in a feasible region of the crude oil blending proportion objective function by using a nonlinear optimization solver according to the crude oil blending proportion constraint condition to obtain the crude oil blending proportion.
Preferably, the second modeling unit includes:
a second obtaining subunit for establishing a crude oil scheduling production scheduling objective function
Figure BDA0001120841300000041
Zr,r′,tE (0,1) is obtained according to the scheduling production parameters of the crude oilObtaining a feasible region of the crude oil scheduling and scheduling objective function, wherein Minobj is the objective function, Zr,r′,tSwitching discrete variables for crude oil tanks, wherein Ts is a scheduling production cycle, Nt is the number of the crude oil tanks, t is any scheduling time, r is any crude oil tank, r 'is any crude oil tank different from r, and r is not equal to r';
the second determining subunit is configured to determine a crude oil scheduling production scheduling constraint condition, where the crude oil scheduling production scheduling constraint condition specifically includes: the method comprises the following steps of crude oil tank switching times constraint, t period crude oil tank r oil quantity limitation constraint, blending oil number constraint guaranteed at any moment, t period crude oil tank material balance constraint, crude oil processing load limitation constraint, crude oil blending ratio selection constraint and crude oil processing switching load change constraint;
and the second calculating subunit is used for calculating an optimal solution by using a mixed integer linear programming solver in a feasible domain of the crude oil scheduling and scheduling objective function according to the crude oil scheduling and scheduling constraint condition to obtain the crude oil scheduling and scheduling scheme.
Preferably, the system further comprises:
and the monitoring unit is used for monitoring the actual crude oil scheduling and scheduling conditions after the crude oil scheduling and scheduling plan report is executed, and when the crude oil tank cannot be normally circulated, recalculating the crude oil blending proportion and obtaining the crude oil scheduling and scheduling scheme again.
Preferably, the system further comprises:
and the alarm unit is used for sending out an alarm signal when the crude oil tank cannot be normally circulated.
Compared with the prior art, the invention has the following beneficial effects:
the method and the system for scheduling and scheduling crude oil provided by the invention have the advantages that a crude oil blending proportion parameter and a crude oil scheduling and scheduling parameter are obtained, a crude oil blending proportion calculation model is established, the crude oil blending proportion is obtained according to the crude oil blending proportion calculation model and the crude oil blending proportion parameter, so that the optimization setting of the limited configurable crude oil blending proportion is completed, the production cost of an oil refining enterprise is reduced, then a crude oil scheduling and scheduling optimization model is established, a crude oil scheduling and scheduling scheme is generated according to the crude oil scheduling and scheduling parameter, finally a crude oil scheduling and scheduling plan report is generated according to the crude oil blending proportion and the crude oil scheduling and scheduling scheme, a workshop is issued for execution, and the accuracy, the performability and the working efficiency of the crude oil scheduling and scheduling are improved.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, it is obvious that the drawings in the following description are only embodiments of the present invention, and for those skilled in the art, other drawings can be obtained according to the provided drawings without creative efforts.
FIG. 1 is a flow chart of a method for scheduling and scheduling crude oil according to an embodiment of the present invention;
FIG. 2 is a flow chart of another method of scheduling crude oil according to an embodiment of the present invention;
FIG. 3 is a flow chart of another method of scheduling crude oil according to an embodiment of the present invention;
FIG. 4 is a flow chart of another method of scheduling crude oil according to an embodiment of the present invention;
FIG. 5 is a schematic structural diagram of a crude oil scheduling system according to an embodiment of the present invention;
FIG. 6 is a schematic structural diagram of another crude oil scheduling system according to an embodiment of the present invention.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
Referring to fig. 1, the embodiment discloses a method for scheduling and scheduling crude oil, which specifically includes the following steps:
step S101: acquiring a crude oil blending proportion parameter and a crude oil scheduling and scheduling parameter;
specifically, the crude oil blending proportion parameters comprise: crude oil type, crude oil supply amount, blending side line target physical property, blending side line yield, blending side line physical property, weighting coefficient and blending proportion initial value; the crude oil scheduling and scheduling parameters comprise: scheduling period, initial stock of each crude oil tank, crude oil planning-to-stock time, crude oil planning-to-stock quantity, and processed variety tank.
Step S102: establishing a crude oil blending proportion calculation model, and calculating the crude oil blending proportion according to the crude oil blending proportion calculation model and the crude oil blending proportion parameters;
specifically, the crude oil blending ratio calculation model comprises a crude oil blending ratio objective function and a crude oil blending ratio constraint condition.
The blending proportion of the crude oil is the proportion of various crude oils in blending.
Step S103: establishing a crude oil scheduling and scheduling optimization model, and generating a crude oil scheduling and scheduling scheme according to the crude oil scheduling and scheduling optimization model, the crude oil blending proportion and the scheduling and scheduling parameters;
specifically, the crude oil scheduling and scheduling optimization model comprises: a crude oil scheduling and scheduling objective function and a crude oil scheduling and scheduling constraint condition.
The crude oil scheduling and scheduling scheme comprises crude oil variety processing and crude oil tank switching sequence.
Step S104: and generating a crude oil scheduling and production scheduling plan report according to the crude oil blending proportion and the crude oil scheduling and production scheduling scheme.
Specifically, a crude oil scheduling and scheduling plan report is automatically generated according to the crude oil blending proportion and the crude oil scheduling and scheduling scheme, an enterprise can customize a report template according to actual requirements, so that a system automatically generates a crude oil scheduling and scheduling plan report which meets the customized template, and the format of the report can be Excel and other formats.
It will be appreciated that the generated report will be sent to each device plant for execution.
The crude oil scheduling and scheduling method comprises the steps of obtaining a crude oil blending proportion parameter and a crude oil scheduling and scheduling parameter, establishing a crude oil blending proportion calculation model, obtaining a crude oil blending proportion according to the crude oil blending proportion calculation model and the crude oil blending proportion parameter, accordingly completing the optimization setting of the limited configurable crude oil blending proportion, reducing the production cost of oil refining enterprises, then establishing a crude oil scheduling and scheduling optimization model, generating a crude oil scheduling and scheduling scheme according to the crude oil scheduling and scheduling optimization model, the crude oil blending proportion and the scheduling parameter, and finally generating a crude oil scheduling and scheduling plan report according to the crude oil blending proportion and the crude oil scheduling and scheduling scheme to be executed in a workshop.
Referring to fig. 2, the specific implementation process of establishing the crude oil blending ratio calculation model and calculating the crude oil blending ratio according to the crude oil blending ratio calculation model and the crude oil blending ratio parameter is as follows:
step S201: establishing a crude oil blending proportion objective function
Figure BDA0001120841300000061
Obtaining a feasible region of the crude oil blending proportion target function according to the crude oil blending proportion parameter;
specifically, in the objective function of the blending proportion of the crude oil, Min phi is the objective function, Q1And Q2I is the number of crude oil types, n is the total blended crude oil number, j is the physical property number of the blended crude oil, m is the total physical property number of the blended crude oil, a is the weight coefficientjiIs the j property content, p, of the i crudejIs the blending target of j property content of crude oil, pj≥0,λjIs the weight of the j-th property of the crude oil, λj≥0,xiIs the blending proportion of the i-th crude oil, xi≥0,ciIs the purchase price of the i-th crude oil, ciIs more than or equal to 0. The objective function of the crude oil blending proportion is to ensure that the physical property of the blended crude oil is within a set target value range and is deviatedThe difference is minimized and at the same time, an economic optimum in view of the production costs is required, wherein the first term
Figure BDA0001120841300000062
For minimum deviation of weighted property, the second term
Figure BDA0001120841300000063
The production cost is minimized.
Step S202: determining crude oil blending proportion constraint conditions;
specifically, the crude oil blending proportion constraint conditions specifically comprise:
and (3) restricting the acid value and the sulfur content of the blended crude oil:
Figure BDA0001120841300000071
Figure BDA0001120841300000072
wherein the content of the first and second substances,
Figure BDA0001120841300000073
is the acid value and the sulfur content of the blended crude oil, aj,min,aj,maxThe lower limit and the upper limit of the acid value and the sulfur content of the blended crude oil are shown.
And (3) carrying out density constraint on blended crude oil:
Figure BDA0001120841300000074
Figure BDA0001120841300000075
wherein the content of the first and second substances,
Figure BDA0001120841300000076
is the density, rho, of the blended crude oili,min,ρi,maxThe lower limit and the upper limit of the density of the blended crude oil are shown.
And (3) restricting the yield of side line products after blending:
Figure BDA0001120841300000077
bk,min≤pRk≤bk,max
wherein, pRkFor the side product yield after blending, k is the number of side products, bkiEmpirical yield of the corresponding side-stream product for each crude oil, bk,min,bk,maxThe lower limit and the upper limit of the side product yield after the blending.
And (3) restricting the physical property deviation range of the blended crude oil:
Figure BDA0001120841300000078
wherein p isj,min,pj,maxThe lower limit and the upper limit of the physical property deviation range of the blended crude oil.
Crude oil blending proportion is normalized and restrained:
Figure BDA0001120841300000079
wherein x isiThe blending proportion of the i-th crude oil.
Crude oil input flow limit constraints:
wX≤tB
wherein B is the maximum flow rate of each crude oil input pipeline, and B is [ B ═ B1,b2,...bn]TB is more than or equal to 0, w is the total amount of the current blended crude oil, w is more than or equal to 0, t is the predicted execution time of the current crude oil blending, and t is more than or equal to 0.
Limiting and restricting the total amount of crude oil available for blending:
Vmin≤wX≤Vmax
wherein, Vmin,VmaxThe lower limit and the upper limit of the total blending amount can be supplied to each blending tank connected with each blending pipelineAnd (4) limiting.
Crude oil blending ratio constraint:
Xmin≤X≤Xmax
wherein, Xmin,XmaxThe lower limit and the upper limit of the blending ratio of each crude oil are preset.
Step S203: and calculating an optimal solution by using a nonlinear optimization solver in a feasible region of the crude oil blending proportion objective function according to the crude oil blending proportion constraint condition to obtain the crude oil blending proportion.
Referring to fig. 3, the establishing a crude oil scheduling and scheduling optimization model, and generating a crude oil scheduling and scheduling scheme according to the crude oil scheduling and scheduling optimization model, the crude oil blending ratio, and the scheduling and scheduling parameters specifically include the following steps:
step S301: establishing a crude oil scheduling and scheduling objective function
Figure BDA0001120841300000081
Zr,r,tE (0,1), and obtaining a feasible domain of the crude oil scheduling and scheduling objective function according to the crude oil scheduling and scheduling parameters;
specifically, in the crude oil scheduling and production scheduling objective function, Minobj is the objective function, Zr,r′,tDiscrete variables are switched for crude oil tanks, Ts is a scheduling production period, Nt is the number of the crude oil tanks, t is any scheduling time, r is any crude oil tank, r 'is any crude oil tank different from r, and r is not equal to r'. The objective of the crude scheduling objective function is to minimize the switching costs of crude tanks.
Step S302: determining crude oil scheduling production scheduling constraint conditions;
specifically, the crude oil scheduling production scheduling constraint conditions aim to: the crude oil variety processing and crude oil tank switching sequence is optimized and arranged, and the operating cost of the atmospheric and vacuum distillation unit is reduced.
The crude oil scheduling and scheduling constraint conditions specifically comprise:
crude oil tank switching times constraint:
Zr,r′,t≥Dr,t+Dr′,t-1-1;Dr,t∈(0,1)
wherein D isr,t,Dr′,t-1The discrete variables are the crude oil tank processing discrete variable at the time r and the crude oil tank processing discrete variable at the time r-1.
Limiting the oil amount in the crude oil tank r in t period:
Vr,min≤Vr,t≤Vr,max
wherein, Vr,tIs the oil quantity in the crude oil tank r in t period, Vr,min,Vr,maxThe lower and upper limits of the amount of oil in the crude tank r for the t cycle.
The number of types of blending oil guaranteed at any time is restricted:
Figure BDA0001120841300000091
Figure BDA0001120841300000092
wherein Nc and Nd are respectively the number of blended oil and the number of leading crude oil, rd is a leading crude oil tank, and Drd,tThe discrete variables that dominate the crude tank processing at time t.
And (3) material balance constraint of the crude oil tank in a period t:
Vr,t=Vr,t-1+Fbr,t-Fr,t
Figure BDA0001120841300000093
wherein, Vr,t-1,Fbr,t,Fr,tThe oil amount in the crude oil tank r at the time of t-1, the planned storage amount of crude oil at the time of t, the crude oil storage at the time of t and Vr,0Is the initial crude oil inventory.
Limiting constraints on crude oil processing load:
Mr,minDr,t≤Fr,t≤Mr,maxDr,t
wherein M isr,min,Mr,maxLower limit of crude oil processing loadAnd an upper limit.
Crude oil blending ratio selection constraint:
Figure BDA0001120841300000094
Figure BDA0001120841300000095
wherein, Cr,tDiscrete variable selected for crude oil blending ratio, Kr,tAnd calculating the crude oil blending proportion obtained by the crude oil blending proportion calculation model.
Crude oil processing switching load change constraint:
ΔFr,minZr,r′,t≤Fr,t-Fr′,t-1≤ΔFr,maxZr,r′,t
wherein, Δ Fr,min,ΔFr,maxLower and upper limits of load change are switched for crude oil processing.
Step S303: and calculating an optimal solution by using a mixed integer linear programming solver in a feasible domain of the crude oil scheduling and scheduling objective function according to the crude oil scheduling and scheduling constraint condition to obtain the crude oil scheduling and scheduling scheme.
Referring to fig. 4, the method further includes:
step S105: and monitoring the actual crude oil scheduling and scheduling conditions after the crude oil scheduling and scheduling plan report is executed, and when the crude oil tank cannot be normally circulated, recalculating the crude oil blending proportion and obtaining the crude oil scheduling and scheduling scheme again.
It can be understood that after the crude oil scheduling and scheduling plan report is generated, the crude oil scheduling and scheduling plan report is issued to each workshop, each workshop executes the crude oil scheduling and scheduling plan report and then performs actual crude oil scheduling and scheduling, the actual crude oil scheduling and scheduling conditions are monitored, when a crude oil tank cannot be normally circulated, it is indicated that a large deviation occurs between the actual crude oil scheduling and scheduling schemes in the crude oil scheduling and scheduling plan report, a crude oil blending ratio needs to be recalculated and a crude oil scheduling and scheduling plan report needs to be reacquired according to the crude oil blending ratio parameter and the crude oil scheduling and scheduling parameters at the moment, a new crude oil scheduling and scheduling plan report is generated and issued to each workshop, and each workshop executes the new crude oil scheduling and scheduling plan report to perform crude oil scheduling and scheduling.
Specifically, when the crude oil tank can not be normally circulated, an alarm signal is sent out. The alarm signal includes: any one of the modes of buzzing, voice prompt information or alarm lamp flashing and the like can play a prompting role.
Based on the crude oil scheduling and scheduling method disclosed in the above embodiment, the present embodiment correspondingly discloses a crude oil scheduling and scheduling system, please refer to fig. 5, and the system includes:
an obtaining unit 101, for a user to obtain a crude oil blending proportion parameter and a crude oil scheduling production scheduling parameter;
specifically, the obtaining unit 101 obtains a crude oil blending ratio parameter and a crude oil scheduling production scheduling parameter, where the crude oil blending ratio parameter includes: crude oil type, crude oil supply amount, blending side line target physical property, blending side line yield, blending side line physical property, weighting coefficient and blending proportion initial value; the crude oil scheduling and scheduling parameters comprise: scheduling period, initial stock of each crude oil tank, crude oil planning-to-stock time, crude oil planning-to-stock quantity, and processed variety tank. The obtaining unit 101 sends the parameters to the first modeling unit 102 and the second modeling unit 103, and provides a data base for the calculation of the crude oil blending ratio and the crude oil scheduling production scheme.
The first modeling unit 102 is used for establishing a crude oil blending proportion calculation model and calculating a crude oil blending proportion according to the crude oil blending proportion calculation model and the crude oil blending proportion parameter;
the second modeling unit 103 is used for establishing a crude oil scheduling and scheduling optimization model and generating a crude oil scheduling and scheduling scheme according to the crude oil scheduling and scheduling optimization model, the crude oil blending proportion and the scheduling and scheduling parameters;
and the generating unit 104 is used for generating a crude oil scheduling and production scheduling plan report according to the crude oil blending proportion and the crude oil scheduling and production scheduling scheme.
The crude oil scheduling and scheduling system disclosed in this embodiment obtains the crude oil blending ratio parameter and the crude oil scheduling and scheduling parameter through the obtaining unit 101, a crude oil blending proportion calculation model is established through the first modeling unit 102 to obtain a crude oil blending proportion, thereby completing the optimized setting of the blending proportion of the limited configurable crude oil, reducing the production cost of oil refining enterprises, and then a crude oil scheduling and scheduling optimization model is established through a second modeling unit 103, a crude oil scheduling and scheduling scheme is generated according to the crude oil scheduling and scheduling optimization model, the crude oil blending ratio and the scheduling and scheduling parameters, and finally a crude oil scheduling and scheduling plan report is generated through a generating unit 104 according to the crude oil blending ratio and the crude oil scheduling and scheduling scheme, so that the accuracy, the performability and the working efficiency of the crude oil scheduling and scheduling are improved.
Referring to fig. 6, the first modeling unit 102 includes:
a first obtaining subunit 107 for establishing an objective function of the blending proportion of the crude oil
Figure BDA0001120841300000111
Obtaining a feasible region of the crude oil blending proportion target function according to the crude oil blending proportion parameter, wherein Min phi is the target function, and Q is1And Q2I is the number of crude oil types, n is the total blended crude oil number, j is the physical property number of the blended crude oil, m is the total physical property number of the blended crude oil, a is the weight coefficientjiIs the j property content, p, of the i crudejIs the blending target of j property content of crude oil, pj≥0,λjIs the weight of the j-th property of the crude oil, λj≥0,xiIs the blending proportion of the i-th crude oil, xi≥0,ciIs the purchase price of the i-th crude oil, ci≥0;
The first determining subunit 108 is configured to determine a crude oil blending ratio constraint condition, where the crude oil blending ratio constraint condition specifically includes: the acid value and the sulfur content of the blended crude oil are restricted, the density of the blended crude oil is restricted, the yield of a side line product is restricted after blending, the physical property deviation range of the blended crude oil is restricted, the blending proportion of the crude oil is normalized, the input flow of the crude oil is restricted, the total amount of the blended crude oil is restricted, and the blending ratio of the crude oil is restricted;
and the first calculating subunit 109 is configured to calculate an optimal solution by using a nonlinear optimization solver in a feasible region of the crude oil blending ratio objective function according to the crude oil blending ratio constraint condition, so as to obtain the crude oil blending ratio.
The second modeling unit includes:
a second obtaining subunit 110, configured to establish a crude oil scheduling production scheduling objective function
Figure BDA0001120841300000112
Zr,r′,tE (0,1), and obtaining a feasible domain of the crude oil scheduling and scheduling objective function according to the crude oil scheduling and scheduling parameters, wherein Minobj is the objective function, Zr,r′,tSwitching discrete variables for crude oil tanks, wherein Ts is a scheduling production cycle, Nt is the number of the crude oil tanks, t is any scheduling time, r is any crude oil tank, r 'is any crude oil tank different from r, and r is not equal to r';
the second determining subunit 111 is configured to determine a crude oil scheduling constraint condition, where the crude oil scheduling constraint condition specifically includes: the method comprises the following steps of crude oil tank switching times constraint, t period crude oil tank r oil quantity limitation constraint, blending oil number constraint guaranteed at any moment, t period crude oil tank material balance constraint, crude oil processing load limitation constraint, crude oil blending ratio selection constraint and crude oil processing switching load change constraint;
and a second calculating subunit 112, configured to calculate, according to the crude oil scheduling and scheduling constraint condition, an optimal solution by using a mixed integer linear programming solver in a feasible domain of the crude oil scheduling and scheduling objective function, so as to obtain the crude oil scheduling and scheduling scheme.
The system further comprises:
and the monitoring unit 105 is used for monitoring the actual crude oil scheduling and scheduling conditions after the crude oil scheduling and scheduling plan report is executed, and when the crude oil tank cannot be normally circulated, recalculating the crude oil blending proportion and obtaining the crude oil scheduling and scheduling scheme again.
Specifically, the monitoring unit 105 detects the actual crude oil scheduling and scheduling conditions in real time, and the problem that the crude oil scheduling and scheduling cannot be effectively controlled due to the fact that the actual crude oil scheduling and scheduling conditions have large deviation from the scheduling and scheduling scheme in the crude oil scheduling and scheduling plan report is solved.
And the alarm unit 106 is used for sending an alarm signal when the crude oil tank cannot be normally circulated.
It should be noted that the manner of sending the alarm signal by the alarm unit 106 includes: any one of the modes of buzzing, voice prompt information or alarm lamp flashing and the like can play a prompting role.
It can be understood that the crude oil scheduling and scheduling system disclosed in this embodiment corresponds to the crude oil scheduling and scheduling method disclosed in the above embodiment, and for specific parameters and descriptions in the system, reference should be made to the crude oil scheduling and scheduling method disclosed in the above embodiment, which is not described herein again.
The previous description of the disclosed embodiments is provided to enable any person skilled in the art to make or use the present invention. Various modifications to these embodiments will be readily apparent to those skilled in the art, and the generic principles defined herein may be applied to other embodiments without departing from the spirit or scope of the invention. Thus, the present invention is not intended to be limited to the embodiments shown herein but is to be accorded the widest scope consistent with the principles and novel features disclosed herein.

Claims (6)

1. A method for scheduling and scheduling crude oil, comprising the following steps:
acquiring a crude oil blending proportion parameter and a crude oil scheduling and scheduling parameter;
establishing a crude oil blending proportion calculation model, and calculating the crude oil blending proportion according to the crude oil blending proportion calculation model and the crude oil blending proportion parameters;
establishing a crude oil scheduling and scheduling optimization model, and generating a crude oil scheduling and scheduling scheme according to the crude oil scheduling and scheduling optimization model, the crude oil blending proportion and the scheduling and scheduling parameters;
generating a crude oil scheduling and production scheduling plan report according to the crude oil blending proportion and the crude oil scheduling and production scheduling scheme;
the method comprises the following steps of establishing a crude oil blending proportion calculation model, and calculating the crude oil blending proportion according to the crude oil blending proportion calculation model and the crude oil blending proportion parameters, wherein the crude oil blending proportion calculation model comprises the following steps:
establishing a crude oil blending proportion objective function
Figure FDA0003189360210000011
Obtaining a feasible region of the crude oil blending proportion target function according to the crude oil blending proportion parameter, wherein Min phi is the target function, and Q is1And Q2I is the number of crude oil types, n is the total blended crude oil number, j is the physical property number of the blended crude oil, m is the total physical property number of the blended crude oil, a is the weight coefficientjiIs the j property content, p, of the i crudejIs the blending target of j property content of crude oil, pj≥0,λjIs the weight of the j-th property of the crude oil, λj≥0,xiIs the blending proportion of the i-th crude oil, xi≥0,ciIs the purchase price of the i-th crude oil, ci≥0;
Determining crude oil blending proportion constraint conditions, wherein the crude oil blending proportion constraint conditions specifically comprise the following steps: the acid value and the sulfur content of the blended crude oil are restricted, the density of the blended crude oil is restricted, the yield of a side line product is restricted after blending, the physical property deviation range of the blended crude oil is restricted, the blending proportion of the crude oil is normalized, the input flow of the crude oil is restricted, the total amount of the blended crude oil is restricted, and the blending ratio of the crude oil is restricted;
calculating an optimal solution by using a nonlinear optimization solver in a feasible region of the crude oil blending proportion target function according to the crude oil blending proportion constraint condition to obtain the crude oil blending proportion;
the method for establishing the crude oil scheduling and scheduling optimization model and generating the crude oil scheduling and scheduling scheme according to the crude oil scheduling and scheduling optimization model, the crude oil blending proportion and the scheduling and scheduling parameters comprises the following steps:
establishing a crude oil scheduling and scheduling objective function
Figure FDA0003189360210000012
Obtaining a feasible region of the crude oil scheduling production objective function according to the crude oil scheduling production parameters, wherein Minobj is the objective function, Zr,r′,tSwitching discrete variables for crude oil tanks, wherein Ts is a scheduling production cycle, Nt is the number of the crude oil tanks, t is any scheduling time, r is any crude oil tank, r 'is any crude oil tank different from r, and r is not equal to r';
determining crude oil scheduling and scheduling constraints, wherein the crude oil scheduling and scheduling constraints specifically comprise: the method comprises the following steps of crude oil tank switching times constraint, t period crude oil tank r oil quantity limitation constraint, blending oil number constraint guaranteed at any moment, t period crude oil tank material balance constraint, crude oil processing load limitation constraint, crude oil blending ratio selection constraint and crude oil processing switching load change constraint;
and calculating an optimal solution by using a mixed integer linear programming solver in a feasible domain of the crude oil scheduling and scheduling objective function according to the crude oil scheduling and scheduling constraint condition to obtain the crude oil scheduling and scheduling scheme.
2. The method of claim 1, further comprising:
and monitoring the actual crude oil scheduling and scheduling conditions after the crude oil scheduling and scheduling plan report is executed, and when the crude oil tank cannot be normally circulated, recalculating the crude oil blending proportion and obtaining the crude oil scheduling and scheduling scheme again.
3. The method of claim 2, further comprising:
and when the crude oil tank cannot be normally circulated, an alarm signal is sent out.
4. A crude oil scheduling and scheduling system, the system comprising:
the acquisition unit is used for acquiring a crude oil blending proportion parameter and a crude oil scheduling production scheduling parameter by a user;
the first modeling unit is used for establishing a crude oil blending proportion calculation model and calculating the crude oil blending proportion according to the crude oil blending proportion calculation model and the crude oil blending proportion parameter;
the second modeling unit is used for establishing a crude oil scheduling and scheduling optimization model and generating a crude oil scheduling and scheduling scheme according to the crude oil scheduling and scheduling optimization model, the crude oil blending proportion and the scheduling and scheduling parameters;
the generating unit is used for generating a crude oil scheduling and production scheduling plan report according to the crude oil blending proportion and the crude oil scheduling and production scheduling scheme;
wherein the first modeling unit includes:
a first obtaining subunit for establishing an objective function of crude oil blending ratio
Figure FDA0003189360210000021
Obtaining a feasible region of the crude oil blending proportion target function according to the crude oil blending proportion parameter, wherein Min phi is the target function, and Q is1And Q2I is the number of crude oil types, n is the total blended crude oil number, j is the physical property number of the blended crude oil, m is the total physical property number of the blended crude oil, a is the weight coefficientjiIs the j property content, p, of the i crudejIs the blending target of j property content of crude oil, pj≥0,λjIs the weight of the j-th property of the crude oil, λj≥0,xiIs the blending proportion of the i-th crude oil, xi≥0,ciIs the purchase price of the i-th crude oil, ci≥0;
The first determining subunit is used for determining crude oil blending proportion constraint conditions, and the crude oil blending proportion constraint conditions specifically comprise: the acid value and the sulfur content of the blended crude oil are restricted, the density of the blended crude oil is restricted, the yield of a side line product is restricted after blending, the physical property deviation range of the blended crude oil is restricted, the blending proportion of the crude oil is normalized, the input flow of the crude oil is restricted, the total amount of the blended crude oil is restricted, and the blending ratio of the crude oil is restricted;
the first calculation subunit is used for calculating an optimal solution in a feasible region of the crude oil blending proportion target function by using a nonlinear optimization solver according to the crude oil blending proportion constraint condition to obtain the crude oil blending proportion;
the second modeling unit includes:
a second obtaining subunit for establishing a crude oil scheduling production scheduling objective function
Figure FDA0003189360210000031
Obtaining a feasible region of the crude oil scheduling production objective function according to the crude oil scheduling production parameters, wherein Minobj is the objective function, Zr,r′,tSwitching discrete variables for crude oil tanks, wherein Ts is a scheduling production cycle, Nt is the number of the crude oil tanks, t is any scheduling time, r is any crude oil tank, r 'is any crude oil tank different from r, and r is not equal to r';
the second determining subunit is configured to determine a crude oil scheduling production scheduling constraint condition, where the crude oil scheduling production scheduling constraint condition specifically includes: the method comprises the following steps of crude oil tank switching times constraint, t period crude oil tank r oil quantity limitation constraint, blending oil number constraint guaranteed at any moment, t period crude oil tank material balance constraint, crude oil processing load limitation constraint, crude oil blending ratio selection constraint and crude oil processing switching load change constraint;
and the second calculating subunit is used for calculating an optimal solution by using a mixed integer linear programming solver in a feasible domain of the crude oil scheduling and scheduling objective function according to the crude oil scheduling and scheduling constraint condition to obtain the crude oil scheduling and scheduling scheme.
5. The system of claim 4, further comprising:
and the monitoring unit is used for monitoring the actual crude oil scheduling and scheduling conditions after the crude oil scheduling and scheduling plan report is executed, and when the crude oil tank cannot be normally circulated, recalculating the crude oil blending proportion and obtaining the crude oil scheduling and scheduling scheme again.
6. The system of claim 5, further comprising:
and the alarm unit is used for sending out an alarm signal when the crude oil tank cannot be normally circulated.
CN201610850308.4A 2016-09-26 2016-09-26 Crude oil scheduling and scheduling method and system Active CN106408127B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610850308.4A CN106408127B (en) 2016-09-26 2016-09-26 Crude oil scheduling and scheduling method and system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610850308.4A CN106408127B (en) 2016-09-26 2016-09-26 Crude oil scheduling and scheduling method and system

Publications (2)

Publication Number Publication Date
CN106408127A CN106408127A (en) 2017-02-15
CN106408127B true CN106408127B (en) 2021-10-15

Family

ID=57997535

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610850308.4A Active CN106408127B (en) 2016-09-26 2016-09-26 Crude oil scheduling and scheduling method and system

Country Status (1)

Country Link
CN (1) CN106408127B (en)

Families Citing this family (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109242197A (en) * 2018-09-26 2019-01-18 深圳埃克斯工业自动化有限公司 Oil plant crude oil refines dispatching method and device
CN110703713B (en) * 2019-11-05 2022-05-06 青岛大学 Method for improving switching efficiency of single-device multi-product processing scheme
CN111191844B (en) * 2019-12-31 2023-09-08 汉谷云智(武汉)科技有限公司 Crude oil mixing optimization method and device
CN111156419B (en) * 2020-01-07 2021-09-17 南京富岛信息工程有限公司 Variable speed scheduling method and system for long-distance pipeline crude oil mixed transportation
CN111860938B (en) * 2020-06-01 2023-05-30 浙江中控技术股份有限公司 Global blending scheduling optimization method for crude oil storage and transportation system
CN113537748B (en) * 2021-07-07 2023-12-22 浙江中控技术股份有限公司 Multi-period blending scheduling production scheduling method and system for crude oil storage and transportation

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101286065A (en) * 2008-05-23 2008-10-15 清华大学 Crude oil blending multi-period optimized crude oil concocting and scheduling method
US7891427B2 (en) * 2006-04-11 2011-02-22 Chevron U.S.A. Inc. System and method for management of steam flooding for oil wells
CN104008431A (en) * 2014-05-30 2014-08-27 南京富岛信息工程有限公司 Crude oil tank farm scheduling method

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7891427B2 (en) * 2006-04-11 2011-02-22 Chevron U.S.A. Inc. System and method for management of steam flooding for oil wells
CN101286065A (en) * 2008-05-23 2008-10-15 清华大学 Crude oil blending multi-period optimized crude oil concocting and scheduling method
CN104008431A (en) * 2014-05-30 2014-08-27 南京富岛信息工程有限公司 Crude oil tank farm scheduling method

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
CRUDE OIL SCHEDULING;Marcus V.Magallhaes 等;《FOCAPO2003》;20031231;第323页-第326页 *
炼油生产中的原油多周期调度优化;李亚平 等;《计算机集成制造***》;20150228;第21卷(第2期);第503页-都509页 *

Also Published As

Publication number Publication date
CN106408127A (en) 2017-02-15

Similar Documents

Publication Publication Date Title
CN106408127B (en) Crude oil scheduling and scheduling method and system
WO2023130709A1 (en) Production scheduling method and apparatus for household appliance device, device, and storage medium
JP5292792B2 (en) Inventory management system, inventory management method, and inventory management program
CN103972896A (en) Load modeling and optimal control method based on demand response
AU2006235195A1 (en) Mining optimisation
CN103455902A (en) Steel distribution risk early-warning method of automobile accessory enterprises
EP2650739A1 (en) Method and device for optimising a production process
Vogelezang 4.3 Using COSMIC FFP for Sizing, Estimating, and Planning in an ERP Environment
CN113159979A (en) Scheduling decision method and system
CN116384616A (en) Intelligent management method and system for production worksheets of printed and packaged products and electronic equipment
CN101025799A (en) Production plan inventory management system and method
CN103400301B (en) Control method and the system of goods in a kind of Q-time interval
CN104462372A (en) Method and system for project schedule control based on file driving
JP6459530B2 (en) Management device, detection device, management system, management device control method, control program, and recording medium
JP2015230697A (en) Schedule management device in manufacturing plant and operation method of manufacturing plant
JP6451314B2 (en) Management device, display device, management device control method, control program, and recording medium
CN114091770A (en) Prediction analysis method, device, equipment and storage medium for material demand plan
JP2011198169A5 (en)
CN101833283A (en) Coked material balancing method
Lees et al. Challenges with performance management of automatic control loops in a large-scale batch processing environment
CN109508910B (en) Intelligent production control method for preventing cross contamination of feed
KR102531260B1 (en) Method for Managing Production Schedule in Carbon Black
CN114115154B (en) Node scheduling method and device for production line, electronic equipment and storage medium
CN202647189U (en) Gas system base on dynamic balance scheduling
CN101710397A (en) Method for generating cost control information, device and data management system thereof

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
TA01 Transfer of patent application right

Effective date of registration: 20190520

Address after: 310053 4th Floor, Zone D, No. 309 Liuhe Road, Binjiang District, Hangzhou City, Zhejiang Province

Applicant after: Zhejiang SUPCON Software Co., Ltd.

Applicant after: Zhejiang University

Address before: 310053 4th Floor, D District, No. 309 Liuhe Road, Binjiang District, Hangzhou City, Zhejiang Province (High-tech Zone)

Applicant before: Zhejiang SUPCON Software Co., Ltd.

TA01 Transfer of patent application right
GR01 Patent grant
GR01 Patent grant