CN116070056A - Oil mixing treatment method and device for finished oil pipeline, electronic equipment and storage medium - Google Patents

Oil mixing treatment method and device for finished oil pipeline, electronic equipment and storage medium Download PDF

Info

Publication number
CN116070056A
CN116070056A CN202111278541.7A CN202111278541A CN116070056A CN 116070056 A CN116070056 A CN 116070056A CN 202111278541 A CN202111278541 A CN 202111278541A CN 116070056 A CN116070056 A CN 116070056A
Authority
CN
China
Prior art keywords
oil
concentration
mixed
product
oil product
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.)
Pending
Application number
CN202111278541.7A
Other languages
Chinese (zh)
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.)
Sinopec Dalian Petrochemical Research Institute Co ltd
China Petroleum and Chemical Corp
Original Assignee
China Petroleum and Chemical Corp
Sinopec Dalian Research Institute of Petroleum and Petrochemicals
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 China Petroleum and Chemical Corp, Sinopec Dalian Research Institute of Petroleum and Petrochemicals filed Critical China Petroleum and Chemical Corp
Priority to CN202111278541.7A priority Critical patent/CN116070056A/en
Publication of CN116070056A publication Critical patent/CN116070056A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F17/00Digital computing or data processing equipment or methods, specially adapted for specific functions
    • G06F17/10Complex mathematical operations

Landscapes

  • Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • Theoretical Computer Science (AREA)
  • Mathematical Physics (AREA)
  • Data Mining & Analysis (AREA)
  • General Physics & Mathematics (AREA)
  • Mathematical Analysis (AREA)
  • Mathematical Optimization (AREA)
  • Computational Mathematics (AREA)
  • Pure & Applied Mathematics (AREA)
  • Databases & Information Systems (AREA)
  • Software Systems (AREA)
  • General Engineering & Computer Science (AREA)
  • Algebra (AREA)
  • Pipeline Systems (AREA)

Abstract

The embodiment of the invention provides a method and a device for treating mixed oil of a finished oil pipeline, electronic equipment and a storage medium, wherein the method comprises the following steps: determining the maximum allowable concentration of the forward oil product doped with the backward oil product and the maximum allowable concentration of the backward oil product doped with the forward oil product; according to the planned downloading amount and the maximum allowable concentration of the backward oil products in each intermediate station, the maximum volume of the forward oil products diluted by the surplus index of the backward oil products in each intermediate station is obtained; determining a maximum safety coefficient according to the maximum volume of each intermediate station, the maximum allowable concentration, the corresponding relation between the forward oil concentration and the downloaded oil mixing amount respectively corresponding to each intermediate station and the transportation terminal station, and the storage tank volume; and determining the required downloading mixed oil quantity and the maximum concentration of each intermediate station according to the corresponding relation between the maximum safety coefficient and each intermediate station, so that complete full-line mixed oil back blending and transportation efficiency are provided on the premise of ensuring the quality of the oil product.

Description

Oil mixing treatment method and device for finished oil pipeline, electronic equipment and storage medium
Technical Field
The invention relates to the technical field of petroleum transportation, in particular to a method and a device for treating mixed oil of a finished oil pipeline, electronic equipment and a storage medium.
Background
In order to meet different market demands and improve the pipe conveying efficiency, a sequential conveying process is generally adopted to convey different types and brands of finished oil. Different oil products can form a mixed oil section in the pipe transportation process under the action of convection transmission and diffusion transmission, and the quality of the pipe transportation and the transportation cost can be directly influenced by the optimization treatment of mixed oil. In the invention, the forward oil is the oil which is conveyed forward in sequence, and the backward oil is the oil which is conveyed backward in sequence. The condition that the mutual infiltration influence exists in the oil mixing section of the forward oil product and the backward oil product, so that the maximum allowable concentration of the forward oil product doped with the backward oil product and the maximum allowable concentration of the backward oil product doped with the forward oil product are required to be prepared in advance.
The oil mixing treatment method adopts the method that the oil product surplus index is used for user use or degradation treatment after back mixing. The back-blending type oil blending treatment method can be roughly classified into two types: the mixed oil is concentrated at an oil delivery end station for treatment and concentrated back mixing; the other type is distributed back blending which disperses the mixed oil in an intermediate station and an oil delivery terminal station for treatment. The distributed back blending method is characterized in that the disturbance is caused by the mixed oil download of an upstream station, the subsequent development of mixed oil is affected, the total mixed oil amount is increased, but the mixed oil amount to be treated when reaching an oil delivery terminal station is reduced, so that the mixed oil treatment pressure of the oil delivery terminal station is reduced. At present, for a mixed oil distributed back blending treatment method, how to determine the back blending flow and the back blending point of an intermediate station and an oil delivery end station and an operation method are roughly determined basically by virtue of manual experience, so that the problems that the quality of oil products is unqualified, the mixed oil of the intermediate station and the oil delivery end station cannot be completely back blended and the like are extremely easy to cause.
Disclosure of Invention
Aiming at the problems existing in the prior art, the invention provides a method and a device for treating mixed oil of a finished oil pipeline, electronic equipment and a storage medium.
The invention provides a method for treating oil mixing of a finished oil pipeline, which comprises the following steps:
determining the maximum allowable concentration K of the preceding oil product A doped with the following oil product B AB And the maximum allowable concentration K of the oil product mixed with the downstream oil product BA
Determining the number N of intermediate yards contained in the target oil mixing section, and according to the planned downloading amount V of the backward oil product in each intermediate yard i And the preceding oil A is mixed with the following oil BMaximum allowable concentration K AB I is 1-N, and the maximum volume V of the forward oil product diluted by the surplus index of the backward oil product in each intermediate station is obtained Ai
Diluting the maximum volume V of the forward oil product according to the surplus index of the backward oil product in each intermediate station Ai Maximum allowable concentration K of the preceding oil product A doped with the following oil product B AB And the maximum allowable concentration K of the oil product mixed with the downstream oil product BA The corresponding relation between the forward oil concentration and the downloaded oil mixing quantity, which correspond to each intermediate station and each transportation terminal station, and the preset storage tank volume determine the maximum safety coefficient n of full-line distributed back doping;
determining that the total quantity of the forward oil products in the mixed oil required to be diluted in each intermediate station is V according to the maximum safety coefficient and the corresponding relation between the forward oil product concentration and the downloaded mixed oil quantity respectively corresponding to each intermediate station Ai N, the mixed oil quantity V is needed to be downloaded in each intermediate station Mi And maximum concentration K of forward oil in the mixed oil Ai
According to the method for treating the mixed oil of the finished oil pipeline, provided by the invention, the maximum volume quantity V of the forward oil product is diluted according to the surplus index of the backward oil product in each intermediate station Ai Maximum allowable concentration K of the preceding oil product A doped with the following oil product B AB And the maximum allowable concentration K of the oil product mixed with the downstream oil product BA The corresponding relation between the forward oil concentration and the downloaded oil mixing amount, which are respectively corresponding to each intermediate station and each transportation terminal, and the preset storage tank volume determine the maximum safety factor n of full-line distributed back doping, and the method comprises the following steps:
s21, configuring an initial safety coefficient, and diluting the maximum volume V of the forward oil product according to the initial safety coefficient and the surplus index of the backward oil product by each intermediate station Ai The corresponding relation between the forward oil concentration and the downloaded oil mixing quantity corresponding to each intermediate station and each transportation terminal respectively determines the oil mixing concentration distribution diagram and the oil mixing quantity of each concentration when the target oil mixing section reaches the transportation terminal;
s22, determining the total amount of the backward oil in the first 50% of the mixed oil in the mixed oil concentration distribution diagram and the total amount of the forward oil in the second 50% of the mixed oil in the mixed oil concentration distribution diagram according to the mixed oil concentration distribution diagram of the final transportation station and the mixed oil amount of each concentration;
S23, mixing the forward oil A into the maximum allowable concentration K of the backward oil B according to the preset storage tank volume AB Maximum allowable concentration K of the downstream oil product mixed with the upstream oil product BA Determining the theoretical total amount of the forward oil product and the backward oil product which can be diluted by means of the surplus index at the end of transportation;
s24, determining that the total amount of the backward oil products contained in the first 50% of the mixed oil in the mixed oil concentration distribution diagram is smaller than or equal to the theoretical total amount of the backward oil products, and the total amount of the forward oil products contained in the second 50% of the mixed oil in the mixed oil concentration distribution diagram is smaller than or equal to the theoretical total amount of the forward oil products, increasing an initial safety coefficient according to a preset increment, and repeating the steps S21-S23; and (3) until the condition of the step S24 is not met, obtaining the maximum safety coefficient of the full-line distributed back doping.
According to the method for treating the mixed oil of the finished oil pipeline, which is provided by the invention, the total quantity of the forward oil in the mixed oil required to be diluted in each intermediate station is determined to be V according to the maximum safety coefficient and the corresponding relation between the forward oil concentration and the downloaded mixed oil quantity respectively corresponding to each intermediate station Ai At the time of/n, the mixed oil quantity V needs to be downloaded in each intermediate station Mi And maximum concentration K of forward oil in the mixed oil Ai Comprising:
and determining the corresponding download oil mixing quantity V when the forward oil concentration is 1%, 2%, 3%,..the j%,..the 99% according to the corresponding relation between the forward oil concentration and the download oil mixing quantity respectively corresponding to each intermediate station KAj Wherein j=1 to 99;
let 1% x V KA1 +2%×V KA2 +3%×V KA3 +...++j%×V KAj ≤V Ai When in n, determining the value of j to obtain the maximum concentration K of the forward oil in the mixed oil Ai Wherein n is the maximum safety factor;
determining V KA1 、V KA2 、V KA3 、......、V KAj The sum of (2) is the download mixed oil volume V Mi
According to the invention provideThe method for treating the mixed oil of the finished oil pipeline comprises the steps of determining the number of intermediate stations contained in a target mixed oil section, and determining the planned downloading amount V of the backward oil product in the ith intermediate station i And a maximum allowable concentration K AB Obtaining the maximum volume V of the forward oil product diluted by the surplus index of the backward oil product in each intermediate station Ai Comprising:
and determining a product value of the planned downloading amount of the backward oil products of each intermediate station and the maximum allowable concentration of the blended forward oil products, so that the product value is used as the maximum volume of the forward oil products diluted by each intermediate station depending on the surplus index of the backward oil products.
According to the method for treating the mixed oil of the finished oil pipeline, the corresponding relation between the concentration of the forward oil product and the downloaded mixed oil product corresponding to each intermediate station and the transportation terminal station comprises the following steps:
concentration distribution formula:
Figure BDA0003330449000000041
/>
Figure BDA0003330449000000042
D T =17.4VRe 2/3
the oil mixing amount calculation formula:
Figure BDA0003330449000000043
or is or
Figure BDA0003330449000000044
Wherein K is A As a function of the concentration of the forward oil product, phi, pe d Is Becky Lei number, v is fluid flow rate, L 1 For mileage of first intermediate yard, D T In order to be a turbulent diffusion coefficient,v is the average kinematic viscosity of the fluid, re is the Reynolds number, C is the length of the mixed oil, alpha is a correction coefficient, Z is the corresponding value of the concentration of the symmetrically cut mixed oil head, d is the inner diameter of a pipeline, and C * C, to make the mixed oil length not considering the mixed oil download effect of the intermediate station yard 0 For the length of the mixed oil of the last intermediate station, L 2 Is the mileage of the corresponding intermediate yard other than the first intermediate yard.
According to the method for treating the mixed oil of the finished oil pipeline, which is provided by the invention, the maximum allowable concentration K of the forward oil A doped with the backward oil B is determined according to the preset storage tank volume AB Maximum allowable concentration K of the downstream oil product mixed with the upstream oil product BA Determining the theoretical total amount of the forward oil product and the backward oil product which can be diluted by means of the surplus index at the tail station of transportation comprises the following steps:
determining the preset storage tank volume and the maximum allowable concentration K of the forward oil product A doped with the backward oil product B AB Maximum allowable concentration K of the downstream oil product mixed with the upstream oil product BA The product value of (2) enables the product value to be used as a transportation terminal station to dilute the theoretical total amount of the forward oil product and the backward oil product by means of the surplus index.
The invention also provides a device for treating the mixed oil of the finished oil pipeline, which comprises:
a first determining module for determining the maximum allowable concentration K of the forward oil product A doped with the backward oil product B AB And the maximum allowable concentration K of the following oil B doped with the preceding oil A BA
A second determining module, configured to determine the number N of intermediate yards included in the target oil mixing section, according to the planned download amount V of the backward oil product in each intermediate yard i And the maximum allowable concentration K of the following oil B doped with the preceding oil A AB I is 1-N, and the maximum volume V of the forward oil product diluted by the surplus index of the backward oil product in each intermediate station is obtained Ai
The calculation module is used for diluting the maximum volume V of the forward oil product according to the surplus index of the backward oil product in each intermediate station Ai Maximum allowable concentration K of the preceding oil product A doped with the following oil product B AB And the maximum allowable concentration K of the oil product mixed with the downstream oil product BA Each intermediate stationThe corresponding relation between the concentration of the forward oil product and the downloaded oil mixing quantity respectively corresponding to the field and the transportation terminal station, and the preset storage tank volume determine the maximum safety coefficient n of full-line distributed back doping;
the processing module is used for determining that the total quantity of the forward oil products in the mixed oil required to be diluted in each intermediate station is V according to the maximum safety coefficient and the corresponding relation between the forward oil product concentration and the downloaded mixed oil quantity respectively corresponding to each intermediate station Ai N, the mixed oil quantity V is needed to be downloaded in each intermediate station Mi And maximum concentration K of forward oil in the mixed oil Ai
The invention also provides an electronic device comprising a memory, a processor and a computer program stored on the memory and capable of running on the processor, wherein the steps of the oil mixing treatment method of the finished oil pipeline are realized when the processor executes the program.
The present invention also provides a non-transitory computer readable storage medium having stored thereon a computer program which, when executed by a processor, implements the steps of the finished oil pipeline blending treatment method as described above.
According to the oil mixing processing method, the device, the electronic equipment and the storage medium for the finished oil pipeline, provided by the embodiment of the invention, the maximum safety coefficient of full-line distributed back mixing is determined under the constraint of the corresponding relation between the forward oil concentration and the download oil mixing quantity respectively corresponding to each intermediate station and the transportation end station based on the oil concentration and the oil mixing quantity corresponding to each station, the amount of the mixed oil to be downloaded and the maximum concentration of the forward oil in the mixed oil in each intermediate station are further obtained under the constraint of the maximum safety coefficient, and the full-line back mixing is completed under the premise of ensuring the oil quality, so that the transportation efficiency is provided.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings that are required in the embodiments or the description of the prior art will be briefly described, and it is obvious that the drawings in the following description are some embodiments of the present invention, and other drawings may be obtained according to these drawings without inventive effort for a person skilled in the art.
FIG. 1 is a flow chart of an embodiment of a method for treating oil mixing in a finished oil pipeline according to the present invention;
FIG. 2 is a diagram showing the construction of an embodiment of the oil mixing treatment device for a finished oil pipeline according to the present invention;
fig. 3 is a block diagram of an embodiment of an electronic device according to the present invention.
Detailed Description
For the purpose of making the objects, technical solutions and advantages of the present invention more apparent, the technical solutions of the present invention will be clearly and completely described below with reference to the accompanying drawings, and it is apparent that the described embodiments are some embodiments of the present invention, not all embodiments. All other embodiments, which can be made by those skilled in the art based on the embodiments of the invention without making any inventive effort, are intended to be within the scope of the invention.
The method, the device, the electronic equipment and the storage medium for treating the mixed oil of the finished oil pipeline are described below with reference to fig. 1-3.
Fig. 1 shows a schematic flow chart of a method for treating oil mixing of a finished oil pipeline, which is provided by the invention, and referring to fig. 1, the method comprises the following steps:
11. determining the maximum allowable concentration K of the preceding oil product A doped with the following oil product B AB And the maximum allowable concentration K of the following oil B doped with the preceding oil A BA
12. Determining the number N of intermediate yards contained in the target oil mixing section, and according to the planned downloading amount V of the backward oil product in each intermediate yard i And the maximum allowable concentration K of the following oil B doped with the preceding oil A AB I is 1-N, and the maximum volume V of the forward oil product diluted by the surplus index of the backward oil product in each intermediate station is obtained Ai
13. Diluting the maximum volume V of the forward oil product according to the surplus index of the backward oil product in each intermediate station Ai Maximum allowable concentration K of the preceding oil product A doped with the following oil product B AB And the maximum allowable concentration K of the oil product mixed with the downstream oil product BA Respectively corresponding forward oil products of each intermediate station and each transport terminalThe corresponding relation between the concentration and the downloaded mixed oil quantity and the preset storage tank volume determine the maximum safety coefficient n of full-line distributed back doping;
14. determining that the total quantity of the forward oil products in the mixed oil required to be diluted in each intermediate station is V according to the maximum safety coefficient and the corresponding relation between the forward oil product concentration and the downloaded mixed oil quantity respectively corresponding to each intermediate station Ai At the time of/n, the mixed oil quantity V needs to be downloaded in each intermediate station Mi And maximum concentration K of forward oil in the mixed oil Ai
For the steps 11 and 12, it should be noted that in the present invention, in order to meet different market demands, the product oil pipelines generally adopt sequential conveying processes to convey different types of product oils with different brands, so as to improve the pipe conveying efficiency. Different oil products can form a mixed oil section in the pipe transportation process under the action of convection transmission and diffusion transmission, and the quality of the pipe transportation and the transportation cost can be directly influenced by the optimization treatment of mixed oil. In the invention, the forward oil is the oil which is conveyed forward in sequence, and the backward oil is the oil which is conveyed backward in sequence. The condition that the mutual infiltration influence exists in the oil mixing section of the forward oil product and the backward oil product, so that the maximum allowable concentration of the forward oil product doped with the backward oil product and the maximum allowable concentration of the backward oil product doped with the forward oil product are required to be prepared in advance.
In the process of conveying oil products, the oil products need to pass through a plurality of intermediate stations from a conveying head station to a conveying tail station, and in the process, oil mixing situations (namely oil mixing sections) need to pass through the plurality of intermediate stations. Therefore, after the oil product conveying route is obtained, the number of intermediate stations contained in the target oil mixing section can be determined, namely, a plurality of intermediate stations exist in the whole conveying process. The use planning of the oil products can pre-configure the planned downloading amount of the backward oil products of each intermediate station, and then the maximum volume of the forward oil products diluted by the surplus index of the backward oil products of each intermediate station is obtained according to the planned downloading amount of the backward oil products of each intermediate station and the maximum allowable concentration of the forward oil products doped into the backward oil products by a pre-configured calculation mode.
The following is that the forward oil product conveyed in a certain finished oil product sequential conveying pipeline is used as a No. 0 vehicleThe steps are explained by taking 92# gasoline as a specific example of diesel oil and 92# gasoline, and two intermediate stations for downloading mixed oil are contained in the finished oil sequential conveying pipeline. The batch quantity of the backward gasoline is 100000m 3 The first intermediate station was scheduled to download 92# gasoline 15000m 3 The second intermediate station plans to download 92# gasoline 20000m 3 The remainder is downloaded into the tank at the end of the delivery.
Sampling the forward diesel oil and the backward gasoline of the oil mixing section, carrying out blending experiments in a laboratory, and determining the flash point of the blended gasoline in the diesel oil and the final distillation point of the blended diesel oil in the gasoline to obtain the maximum allowable concentration K of the blended backward gasoline in the forward diesel oil of the oil mixing section AB Maximum allowable concentration K of diesel fuel blended into the gasoline for the following process =0.37% BA =0.423%。
In the application, the product of the planned downloading amount and the maximum allowable concentration can be used for calculating to obtain the maximum volume amount of the forward oil product diluted by each intermediate station depending on the surplus index of the backward oil product.
The following are provided: calculating the maximum V of the forward gasoline which can be diluted by the surplus index of the backward gasoline in the first intermediate station A1 =15000*0.42%=63m 3
Second intermediate yard V A2 =20000*0.42%=84m 3
It should be noted that, in step 13, in the method of the present invention, the blending oil treatment method is used for the user to use or degrade after blending by means of the oil surplus index. The back-blending type oil blending treatment method can be roughly classified into two types: the mixed oil is concentrated at an oil delivery end station for treatment and concentrated back mixing; the other type is distributed back blending which disperses the mixed oil in an intermediate station and an oil delivery terminal station for treatment. The distributed back blending method is characterized in that the disturbance is caused by the mixed oil download of an upstream station, the subsequent development of mixed oil is affected, the total mixed oil amount is increased, but the mixed oil amount to be treated when reaching an oil delivery terminal station is reduced, so that the mixed oil treatment pressure of the oil delivery terminal station is reduced. Therefore, in the application, it is necessary to determine whether the oil mixing section can realize full-line distributed complete back mixing, so as to further determine the amount of mixed oil to be downloaded and the maximum concentration of the forward oil in the mixed oil in each intermediate station.
In the application, the maximum volume V of the forward oil product is diluted according to the surplus index of the backward oil product in each intermediate station Ai Maximum allowable concentration K of the preceding oil product A doped with the following oil product B AB And the maximum allowable concentration K of the oil product mixed with the downstream oil product BA Determining the maximum safety coefficient of full-line distributed back blending according to the corresponding relation between the forward oil concentration and the downloaded oil mixing quantity respectively corresponding to each intermediate station and the transportation terminal, and the preset storage tank volume, and determining that the total forward oil in the mixed oil required to be diluted in each intermediate station is V according to the maximum safety coefficient and the corresponding relation between the forward oil concentration and the downloaded oil mixing quantity respectively corresponding to each intermediate station after the maximum safety coefficient is determined Ai At the time of/n, the mixed oil quantity V needs to be downloaded in each intermediate station Mi And maximum concentration K of forward oil in the mixed oil Ai
In the present invention, step 13 is further explained, specifically as follows:
s21, configuring an initial safety coefficient, and diluting the maximum volume V of the forward oil product according to the initial safety coefficient and the surplus index of the backward oil product by each intermediate station Ai The corresponding relation between the forward oil concentration and the downloaded oil mixing quantity corresponding to each intermediate station and each transportation terminal respectively determines the oil mixing concentration distribution diagram and the oil mixing quantity of each concentration when the mixed oil of the target oil mixing section reaches the transportation terminal;
S22, determining the total amount of the backward oil in the first 50% of the mixed oil in the mixed oil concentration distribution diagram and the total amount of the forward oil in the second 50% of the mixed oil in the mixed oil concentration distribution diagram according to the mixed oil concentration distribution diagram of the final transportation station and the mixed oil amount of each concentration;
s23, mixing the forward oil A into the maximum allowable concentration K of the backward oil B according to the preset storage tank volume AB Maximum allowable concentration K of the downstream oil product mixed with the upstream oil product BA Determining the theoretical total amount of the forward oil product and the backward oil product which can be diluted by means of the surplus index at the end of transportation;
s24, when the total amount of the backward oil products contained in the mixed oil of the first 50% in the mixed oil concentration distribution diagram is less than or equal to the theoretical total amount of the backward oil products, and the total amount of the forward oil products contained in the mixed oil of the second 50% in the mixed oil concentration distribution diagram is less than or equal to the theoretical total amount of the forward oil products, increasing the initial safety coefficient according to a preset increment, and repeating the steps S21-S23; and (3) until the condition of the step S24 is not met, obtaining the maximum safety coefficient of the full-line distributed back doping.
In the present invention, step 14 is further explained, specifically as follows:
and determining the corresponding download oil mixing quantity V when the forward oil concentration is 1%, 2%, 3%,..the j%,..the 99% according to the corresponding relation between the forward oil concentration and the download oil mixing quantity respectively corresponding to each intermediate station KAj Wherein j=1 to 99;
let 1% x V KA1 +2%×V KA2 +3%×V KA3 +...++j%×V KAj ≤V Ai When in n, determining the value of j to obtain the maximum concentration K of the forward oil in the mixed oil Ai Wherein n is the maximum safety coefficient, i is the serial number of the intermediate station;
determining V KA1 、V KA2 、V KA3 、......、V KAj The sum of (2) is the download mixed oil volume V Mi
The following description will proceed with the two oil delivery examples described above, namely, step S21 to step S24, specifically as follows:
setting the forward gasoline contained in the mixed oil which is required to be diluted by depending on the surplus index of the backward gasoline in the first intermediate station to be 63m 3 The forward gasoline contained in the mixed oil which is required to be diluted by depending on the surplus index of the backward gasoline in the second intermediate station is 84m 3
And calculating that the forward diesel oil concentration of the first intermediate station is 1%, 2% and the download oil mixing amount of the first intermediate station is 154m respectively according to the corresponding relation between the forward oil concentration and the download oil mixing amount of the respective intermediate station and the transportation terminal 3 、82m 3 、66m 3 、......、40m 3
Setting initial safety coefficient as 1, and respectively calculating the obtained forward diesel oil concentration1%, 2%,. And. 3 、82m 3 、66m 3 、......、40m 3 The products are summed to make the sum value smaller than or equal to the maximum volume V of the forward oil diluted by the surplus index of the backward oil Ai And when the quotient value of the initial safety coefficient is compared with the quotient value of the initial safety coefficient, recording the value m% reached by the concentration of the forward diesel oil. Based on the calculation principle, the corresponding relation between the corresponding forward oil concentration and the downloaded oil mixing amount can be used for calculating to obtain a mixed oil concentration distribution diagram corresponding to the second intermediate station and the transportation terminal and the oil mixing amount of each concentration. The profile of the oil blend concentration is the recorded value m% reached by the concentration of the diesel fuel in the forward direction at the end of the transportation.
And then determining the total amount of the backward oil in the first 50% of the mixed oil in the mixed oil concentration distribution diagram and the total amount of the forward oil in the second 50% of the mixed oil in the mixed oil concentration distribution diagram according to the mixed oil concentration distribution diagram of the final transportation station and the mixed oil amount of each concentration.
In the invention, the corresponding relation between the forward oil concentration and the downloaded oil mixing quantity corresponding to each intermediate station and the transportation terminal station comprises the following steps:
concentration distribution formula:
Figure BDA0003330449000000101
Figure BDA0003330449000000102
D T =17.4VRe 2/3
the oil mixing amount calculation formula:
Figure BDA0003330449000000103
or is or
Figure BDA0003330449000000104
Wherein K is A As a function of the concentration of the forward oil product, phi, pe d Is Becky Lei number, v is fluid flow rate, L 1 For mileage of first intermediate yard, D T Is a turbulence diffusion coefficient, V is the average kinematic viscosity of the fluid, re is the Reynolds number, C is the length of the mixed oil, alpha is a correction coefficient, Z is a value corresponding to the concentration of the symmetrically cut mixed oil head, d is the inner diameter of a pipeline, and C * C, to make the mixed oil length not considering the mixed oil download effect of the intermediate station yard 0 For the length of the mixed oil of the last intermediate station, L 2 Is the mileage of the corresponding intermediate yard other than the first intermediate yard.
It should be noted that, for the forward oil concentration and the download oil mixing amount corresponding to the first intermediate station, the following corresponding relationship is obtained:
concentration distribution formula:
Figure BDA0003330449000000111
Figure BDA0003330449000000112
D T =17.4VRe 2/3
the oil mixing amount calculation formula:
Figure BDA0003330449000000113
and aiming at the forward oil concentration and the download oil mixing quantity corresponding to the second intermediate station or the transportation terminal, obtaining according to the following corresponding relation:
concentration distribution formula:
Figure BDA0003330449000000114
/>
Figure BDA0003330449000000115
D T =17.4VRe 2/3
Figure BDA0003330449000000116
because each forward oil concentration corresponds to a download oil mixture, the total amount of backward oil in the first 50% of the mixed oil in the mixed oil concentration distribution diagram and the total amount of forward oil in the last 50% of the mixed oil in the mixed oil concentration distribution diagram are obtained based on the sum of the product value and the product value of the download oil mixture and the forward oil concentration and the concentration obtained by the '1-forward oil concentration'.
For example, the concentration of the forward oil is 10%, the downloaded oil mixing amount is K, the oil amount of the forward oil is Kx10%, and correspondingly, the concentration of the backward oil is 90%, and the oil amount of the backward oil is Kx90%.
In the invention, the preset storage tank volume and the maximum allowable concentration K of the forward oil product A doped with the backward oil product B are determined AB Maximum allowable concentration K of the downstream oil product mixed with the upstream oil product BA The product value of (2) enables the product value to be used as a transportation terminal station to dilute the theoretical total amount of the forward oil product and the backward oil product by means of the surplus index. Specific examples are:
because can perform the tank-pouring operation in the station and the volume of the storage tank is larger than 50000m 3 Therefore, the theoretical value of the total amount of forward diesel oil/backward gasoline which can be diluted by the oil surplus index at the last station is 185m 3 、215m 3
V BT =50000×0.37%=185
V AT =50000×0.43%=215
Based on judgment conditions
Figure BDA0003330449000000121
And->
Figure BDA0003330449000000122
The oil mixing section can be judged to be capable of realizing complete back mixing of all lines, and n is an initial safety coefficient.
In this example, the computer program is used to calculate n, starting from 1, and increasing by 0.1 successively, and repeating the above steps until the maximum safety factor for realizing the full-line distributed back doping is 2.1.
When n is 2.1, K of the first intermediate station A1 =23%、V M1 =412m 3 Second intermediate yard K A2 =21%、V M2 =398m 3
In the embodiment, a densimeter is used as mixed oil detection equipment, and the downstream gasoline downloading flow of a first intermediate station is 800m 3 And/h, the downstream gasoline downloading flow of the second intermediate station is 1000m 3 /h。
And in the first intermediate station, when the densimeter detects that the concentration of the forward diesel oil is 21% of the corresponding density value, switching the in-station pipeline to an inlet pipeline of the oil mixing tank, and when the densimeter detects that the concentration of the forward diesel oil is 0% of the corresponding density value, switching the in-station pipeline to a 92# gasoline inlet pipeline.
At the same time according to the flow rate
Figure BDA0003330449000000123
Pumping the mixed oil in the mixed oil tank to a No. 92 gasoline tank, mixing the mixed oil in an inlet header pipe, and then entering the No. 92 gasoline tank.
And the second intermediate station oil mixing section is downloaded in the same way,
Figure BDA0003330449000000124
in the invention, the oil delivery end station can adopt four-section cutting, and the oil delivery end station is utilized for 5 ten thousand meters 3 And the oil storage tank blends the two middle sections of mixed oil respectively, and finally, complete blending of the whole line is realized.
According to the oil mixing treatment method for the finished oil pipeline, the maximum safety coefficient of full-line distributed back blending is determined under the constraint of the corresponding relation between the forward oil concentration and the downloaded oil mixing quantity respectively corresponding to each intermediate station and the transportation terminal station based on the oil concentration and the oil mixing quantity corresponding to each station, the oil mixing quantity required to be downloaded in each intermediate station and the maximum concentration of the forward oil in the mixed oil are further obtained under the constraint of the maximum safety coefficient, and on the premise of guaranteeing the oil quality, the full-line back blending is completed, and the transportation efficiency is provided.
The oil mixing treatment device for the finished oil pipeline provided by the invention is described below, and the oil mixing treatment device for the finished oil pipeline and the oil mixing treatment method for the finished oil pipeline described below can be correspondingly referred to each other.
Fig. 2 shows a schematic structural diagram of a device for oil mixing treatment of a finished oil pipeline, referring to fig. 2, the device includes a first determining module 21, a second determining module 22, a calculating module 23 and a treating module 24, wherein:
a first determination module 21 for determining the maximum allowable concentration K of the forward oil A blended with the backward oil B AB And the maximum allowable concentration K of the following oil B doped with the preceding oil A BA
A second determining module 22 for determining the number N of intermediate yards included in the target oil mixing section according to the planned download amount V of the backward oil product in each intermediate yard i And the maximum allowable concentration K of the following oil B doped with the preceding oil A AB I is 1-N, and the maximum volume V of the forward oil product diluted by the surplus index of the backward oil product in each intermediate station is obtained Ai
A calculation module 23 for diluting the maximum volume V of the forward oil product according to the surplus index of the backward oil product in each intermediate station Ai Maximum allowable concentration K of the preceding oil product A doped with the following oil product B AB And the maximum allowable concentration K of the oil product mixed with the downstream oil product BA The corresponding relation between the forward oil concentration and the downloaded oil mixing quantity, which correspond to each intermediate station and each transportation terminal station, and the preset storage tank volume determine the maximum safety coefficient n of full-line distributed back doping;
a processing module 24 for determining that each intermediate yard needs to be diluted according to the maximum safety factor and the corresponding relationship between the forward oil concentration and the downloaded oil mixture corresponding to each intermediate yardThe total amount of the forward oil in the released mixed oil is V Ai At the time of/n, the mixed oil quantity V needs to be downloaded in each intermediate station Mi And maximum concentration K of forward oil in the mixed oil Ai
In a further apparatus of the above apparatus, the computing module is specifically configured to:
s21, configuring an initial safety coefficient, and diluting the maximum volume V of the forward oil product according to the initial safety coefficient and the surplus index of the backward oil product by each intermediate station Ai The corresponding relation between the forward oil concentration and the downloaded oil mixing quantity corresponding to each intermediate station and each transportation terminal respectively determines the oil mixing concentration distribution diagram and the oil mixing quantity of each concentration when the mixed oil of the target oil mixing section reaches the transportation terminal;
s22, determining the total amount of the backward oil in the first 50% of the mixed oil in the mixed oil concentration distribution diagram and the total amount of the forward oil in the second 50% of the mixed oil in the mixed oil concentration distribution diagram according to the mixed oil concentration distribution diagram of the final transportation station and the mixed oil amount of each concentration;
S23, mixing the forward oil A into the maximum allowable concentration K of the backward oil B according to the preset storage tank volume AB Maximum allowable concentration K of the downstream oil product mixed with the upstream oil product BA Determining the theoretical total amount of the forward oil product and the backward oil product which can be diluted by means of the surplus index at the end of transportation;
s24, when the total amount of the backward oil products contained in the mixed oil of the first 50% in the mixed oil concentration distribution diagram is less than or equal to the theoretical total amount of the backward oil products, and the total amount of the forward oil products contained in the mixed oil of the second 50% in the mixed oil concentration distribution diagram is less than or equal to the theoretical total amount of the forward oil products, increasing the initial safety coefficient according to a preset increment, and repeating the steps S21-S23; and (3) until the condition of the step S24 is not met, obtaining the maximum safety coefficient of the full-line distributed back doping.
In a further arrangement of the above arrangement, the processing module is configured to:
determining that the total quantity of the forward oil products in the mixed oil required to be diluted in each intermediate station is V according to the maximum safety coefficient and the corresponding relation between the forward oil product concentration and the downloaded mixed oil quantity respectively corresponding to each intermediate station Ai At/n, eachMixed oil quantity V needed to be downloaded in intermediate station Mi And maximum concentration K of forward oil in the mixed oil Ai Comprising:
and determining the corresponding download oil mixing quantity V when the forward oil concentration is 1%, 2%, 3%,..the j%,..the 99% according to the corresponding relation between the forward oil concentration and the download oil mixing quantity respectively corresponding to each intermediate station KA Wherein j=1 to 99;
let 1% x V KA +2%×V KA2 +3%×V KA3 +...++j%×V KA ≤V Ai When in n, determining the value of j to obtain the maximum concentration K of the forward oil in the mixed oil Ai Wherein n is the maximum safety factor;
determining V KA1 、V KA2 、V KA3 、......、V KAj The sum of (2) is the download mixed oil volume V Mi
In a further apparatus of the above apparatus, the first determining module is configured to:
the number of intermediate yards included in the target oil mixing section is determined according to the planned downloading amount V of the backward oil product in the ith intermediate yard i And a maximum allowable concentration K AB Obtaining the maximum volume V of the forward oil product diluted by the surplus index of the backward oil product in each intermediate station Ai Comprising:
and determining a product value of the planned downloading amount of the backward oil products of each intermediate station and the maximum allowable concentration of the blended forward oil products, so that the product value is used as the maximum volume of the forward oil products diluted by each intermediate station depending on the surplus index of the backward oil products.
In a further apparatus of the above apparatus, the corresponding relationship between the forward oil concentration and the download oil mixture amount corresponding to each intermediate station and the transportation terminal station includes:
concentration distribution formula:
Figure BDA0003330449000000151
Figure BDA0003330449000000152
D T =17.4VRe 2/3
the oil mixing amount calculation formula:
Figure BDA0003330449000000153
or is or
Figure BDA0003330449000000154
Wherein K is A As a function of the concentration of the forward oil product, phi, pe a Is Becky Lei number, v is fluid flow rate, L 1 For mileage of first intermediate yard, D T Is a turbulence diffusion coefficient, V is the average kinematic viscosity of the fluid, re is the Reynolds number, C is the length of the mixed oil, alpha is a correction coefficient, Z is a value corresponding to the concentration of the symmetrically cut mixed oil head, d is the inner diameter of a pipeline, and C * C, to make the mixed oil length not considering the mixed oil download effect of the intermediate station yard 0 For the length of the mixed oil of the last intermediate station, L 2 Is the mileage of the corresponding intermediate yard other than the first intermediate yard.
In a further arrangement of the above arrangement, the calculation module calculates the maximum allowable concentration K of the forward oil A blended with the backward oil B based on the preset storage tank volume and the forward oil A AB Maximum allowable concentration K of the downstream oil product mixed with the upstream oil product BA The method is particularly used in the treatment process of determining the theoretical total amount of the forward oil product and the backward oil product which can be diluted by means of the surplus index at the tail station of transportation:
determining the preset storage tank volume and the maximum allowable concentration K of the forward oil product A doped with the backward oil product B AB Maximum allowable concentration K of the downstream oil product mixed with the upstream oil product BA The product value of (2) enables the product value to be used as a transportation terminal station to dilute the theoretical total amount of the forward oil product and the backward oil product by means of the surplus index.
Since the apparatus according to the embodiment of the present invention is the same as the method according to the above embodiment, the details of the explanation will not be repeated here.
It should be noted that, in the embodiment of the present invention, the related functional modules may be implemented by a hardware processor (hardware processor).
According to the oil mixing treatment device for the finished oil pipeline, provided by the invention, the maximum safety coefficient of full-line distributed back blending is determined under the constraint of the corresponding relation between the forward oil concentration and the downloaded oil mixing amount respectively corresponding to each intermediate station and the transportation terminal based on the oil concentration and the oil mixing amount corresponding to each station, and the oil mixing amount V required to be downloaded in each intermediate station is further obtained under the constraint of the maximum safety coefficient Mi And the maximum concentration of the forward oil in the mixed oil, so that complete full-line oil mixing and back blending are achieved on the premise of ensuring the quality of the oil, and the transportation efficiency is improved.
Fig. 3 illustrates a physical schematic diagram of an electronic device, as shown in fig. 3, where the electronic device may include: processor 31, communication interface (Communications Interface) 32, memory 33 and communication bus 34, wherein processor 31, communication interface 22 and memory 23 communicate with each other via communication bus 24. The processor 21 may call logic instructions in the memory 23 to perform the following method:
determining the maximum allowable concentration K of the preceding oil product A doped with the following oil product B AB And the maximum allowable concentration K of the oil product mixed with the downstream oil product BA
Determining the number N of intermediate yards contained in the target oil mixing section, and according to the planned downloading amount V of the backward oil product in each intermediate yard i And a maximum allowable concentration K AB I is 1-N, and the maximum volume V of the forward oil product diluted by the surplus index of the backward oil product in each intermediate station is obtained Ai
Diluting the maximum volume V of the forward oil product according to the surplus index of the backward oil product in each intermediate station Ai Maximum allowable concentration K of the preceding oil product A doped with the following oil product B AB And the maximum allowable concentration K of the oil product mixed with the downstream oil product BA The corresponding forward oil concentration and download oil mixing quantity of each intermediate station and transport terminal stationThe corresponding relation and the preset storage tank volume determine the maximum safety coefficient n of the full-line distributed back doping;
determining that the total quantity of the forward oil products in the mixed oil required to be diluted in each intermediate station is V according to the maximum safety coefficient and the corresponding relation between the forward oil product concentration and the downloaded mixed oil quantity respectively corresponding to each intermediate station Ai At the time of/n, the mixed oil quantity V needs to be downloaded in each intermediate station Mi And maximum concentration K of forward oil in the mixed oil Ai
Further, the logic instructions in the memory 33 described above may be implemented in the form of software functional units and may be stored in a computer readable storage medium when sold or used as a stand alone product. Based on this understanding, the technical solution of the present invention may be embodied essentially or in a part contributing to the prior art or in a part of the technical solution, in the form of a software product stored in a storage medium, comprising several instructions for causing a computer device (which may be a personal computer, a server, a network device, etc.) to perform all or part of the steps of the method according to the embodiments of the present invention. And the aforementioned storage medium includes: a U-disk, a removable hard disk, a Read-Only Memory (ROM), a random access Memory (RAM, random Access Memory), a magnetic disk, or an optical disk, or other various media capable of storing program codes.
In another aspect, the present invention also provides a computer program product comprising a computer program stored on a non-transitory computer readable storage medium, the computer program comprising program instructions which, when executed by a computer, are capable of performing the methods provided by the methods described above, the method comprising:
determining the maximum allowable concentration K of the preceding oil product A doped with the following oil product B AB And the maximum allowable concentration K of the oil product mixed with the downstream oil product BA
Determining the number N of intermediate yards contained in the target oil mixing section, and according to the planned downloading amount V of the backward oil product in each intermediate yard i And a maximum allowable concentration K AB I is 1 to N,obtaining the maximum volume V of the forward oil product diluted by the surplus index of the backward oil product in each intermediate station Ai
Diluting the maximum volume V of the forward oil product according to the surplus index of the backward oil product in each intermediate station Ai Maximum allowable concentration K of the preceding oil product A doped with the following oil product B AB And the maximum allowable concentration K of the oil product mixed with the downstream oil product BA The corresponding relation between the forward oil concentration and the downloaded oil mixing quantity, which correspond to each intermediate station and each transportation terminal station, and the preset storage tank volume determine the maximum safety coefficient n of full-line distributed back doping;
Determining that the total quantity of the forward oil products in the mixed oil required to be diluted in each intermediate station is V according to the maximum safety coefficient and the corresponding relation between the forward oil product concentration and the downloaded mixed oil quantity respectively corresponding to each intermediate station Ai At the time of/n, the mixed oil quantity V needs to be downloaded in each intermediate station Mi And maximum concentration K of forward oil in the mixed oil Ai
In yet another aspect, the present invention also provides a non-transitory computer readable storage medium having stored thereon a computer program which, when executed by a processor, is implemented to perform the method provided by the above embodiments, for example, comprising:
determining the maximum allowable concentration K of the preceding oil product A doped with the following oil product B AB And the maximum allowable concentration K of the oil product mixed with the downstream oil product BA
Determining the number N of intermediate yards contained in the target oil mixing section, and according to the planned downloading amount V of the backward oil product in each intermediate yard i And a maximum allowable concentration K AB I is 1-N, and the maximum volume V of the forward oil product diluted by the surplus index of the backward oil product in each intermediate station is obtained Ai
Diluting the maximum volume V of the forward oil product according to the surplus index of the backward oil product in each intermediate station Ai Maximum allowable concentration K of the preceding oil product A doped with the following oil product B AB And the maximum allowable concentration K of the oil product mixed with the downstream oil product BA Corresponding relation between forward oil concentration and download oil mixing amount of each intermediate station and transport terminalDetermining the maximum safety coefficient n of full-line distributed back doping according to the system and the preset storage tank volume;
determining that the total quantity of the forward oil products in the mixed oil required to be diluted in each intermediate station is V according to the maximum safety coefficient and the corresponding relation between the forward oil product concentration and the downloaded mixed oil quantity respectively corresponding to each intermediate station Ai At the time of/n, the mixed oil quantity V needs to be downloaded in each intermediate station Mi And maximum concentration K of forward oil in the mixed oil Ai
From the above description of the embodiments, it will be apparent to those skilled in the art that the embodiments may be implemented by means of software plus necessary general hardware platforms, or of course may be implemented by means of hardware. Based on this understanding, the foregoing technical solution may be embodied essentially or in a part contributing to the prior art in the form of a software product, which may be stored in a computer readable storage medium, such as ROM/RAM, a magnetic disk, an optical disk, etc., including several instructions for causing a computer device (which may be a personal computer, a server, or a network device, etc.) to execute the method described in the respective embodiments or some parts of the embodiments.
Finally, it should be noted that: the above embodiments are only for illustrating the technical solution of the present invention, and are not limiting; although the invention has been described in detail with reference to the foregoing embodiments, it will be understood by those of ordinary skill in the art that: the technical scheme described in the foregoing embodiments can be modified or some technical features thereof can be replaced by equivalents; such modifications and substitutions do not depart from the spirit and scope of the technical solutions of the embodiments of the present invention.

Claims (10)

1. The method for treating the mixed oil of the finished oil pipeline is characterized by comprising the following steps of:
determining the maximum allowable concentration K of the preceding oil product A doped with the following oil product B AB And the maximum allowable concentration K of the oil product mixed with the downstream oil product BA
Determining the number N of intermediate yards contained in the target oil mixing section according to the number N of intermediate yards in each intermediate yardPlanned downloading amount V of station-yard backward oil products i And the maximum allowable concentration K of the preceding oil product A doped with the following oil product B AB I is 1-N, and the maximum volume V of the forward oil product diluted by the surplus index of the backward oil product in each intermediate station is obtained Ai
Diluting the maximum volume V of the forward oil product according to the surplus index of the backward oil product in each intermediate station Ai Maximum allowable concentration K of the preceding oil product A doped with the following oil product B AB And the maximum allowable concentration K of the oil product mixed with the downstream oil product BA The corresponding relation between the forward oil concentration and the downloaded oil mixing quantity, which correspond to each intermediate station and each transportation terminal station, and the preset storage tank volume determine the maximum safety coefficient n of full-line distributed back doping;
determining that the total quantity of the forward oil products in the mixed oil required to be diluted in each intermediate station is V according to the maximum safety coefficient and the corresponding relation between the forward oil product concentration and the downloaded mixed oil quantity respectively corresponding to each intermediate station Ai N, the mixed oil quantity V is needed to be downloaded in each intermediate station Mi And maximum concentration K of forward oil in the mixed oil Ai
2. The method for oil mixing treatment of a finished oil pipeline according to claim 1, wherein the maximum volume V of the forward oil product is diluted according to the surplus index of the backward oil product at each intermediate station Ai Maximum allowable concentration K of the preceding oil product A doped with the following oil product B AB And the maximum allowable concentration K of the oil product mixed with the downstream oil product BA The corresponding relation between the forward oil concentration and the downloaded oil mixing amount, which are respectively corresponding to each intermediate station and each transportation terminal, and the preset storage tank volume determine the maximum safety factor n of full-line distributed back doping, and the method comprises the following steps:
S21, configuring an initial safety coefficient, and diluting the maximum volume V of the forward oil product according to the initial safety coefficient and the surplus index of the backward oil product by each intermediate station Ai Determining a mixed oil concentration distribution diagram and each concentration when a target mixed oil section reaches a transportation terminal according to the corresponding relation between the forward oil concentration and the downloaded mixed oil quantity, which correspond to each intermediate station and the transportation terminal respectivelyOil mixing amount;
s22, determining the total amount of the backward oil in the first 50% of the mixed oil in the mixed oil concentration distribution diagram and the total amount of the forward oil in the second 50% of the mixed oil in the mixed oil concentration distribution diagram according to the mixed oil concentration distribution diagram of the final transportation station and the mixed oil amount of each concentration;
s23, mixing the forward oil A into the maximum allowable concentration K of the backward oil B according to the preset storage tank volume AB Maximum allowable concentration K of the downstream oil product mixed with the upstream oil product BA Determining the theoretical total amount of the forward oil product and the backward oil product which can be diluted by means of the surplus index at the end of transportation;
s24, when the total amount of the backward oil products contained in the mixed oil of the first 50% in the mixed oil concentration distribution diagram is less than or equal to the theoretical total amount of the backward oil products, and the total amount of the forward oil products contained in the mixed oil of the second 50% in the mixed oil concentration distribution diagram is less than or equal to the theoretical total amount of the forward oil products, increasing the initial safety coefficient according to a preset increment, and repeating the steps S21-S23; and (3) until the condition of the step S24 is not met, obtaining the maximum safety coefficient of the full-line distributed back doping.
3. The method for treating oil mixture in a finished oil pipeline according to claim 1 or 2, wherein the total amount of the forward oil in the oil mixture to be diluted in each intermediate station is determined to be V according to the maximum safety factor and the corresponding relation between the forward oil concentration and the downloaded oil mixture corresponding to each intermediate station Ai At the time of/n, the mixed oil quantity V needs to be downloaded in each intermediate station Mi And maximum concentration K of forward oil in the mixed oil Ai Comprising:
and determining the corresponding download oil mixing quantity V when the forward oil concentration is 1%, 2%, 3%,..the j%,..the 99% according to the corresponding relation between the forward oil concentration and the download oil mixing quantity respectively corresponding to each intermediate station KA Wherein j=1 to 99;
let 1% x V KA1 +2%×V KA +3%×V KA3 +...++j%×V KAj ≤V Ai When in n, determining the value of j to obtain the maximum concentration K of the forward oil in the mixed oil Ai Wherein n is the maximum safety factor;
determining V KA1 、V KA2 、V KA 、......、V KAj The sum of (2) is the download mixed oil volume V Mi
4. A method of oil blending treatment for a finished oil pipeline according to claim 3, wherein the determination of the number of intermediate yards included in the target oil blending section is based on the planned download V of the following oil at the ith intermediate yard i And a maximum allowable concentration K AB Obtaining the maximum volume V of the forward oil product diluted by the surplus index of the backward oil product in each intermediate station Ai Comprising:
and determining a product value of the planned downloading amount of the backward oil products of each intermediate station and the maximum allowable concentration of the blended forward oil products, so that the product value is used as the maximum volume of the forward oil products diluted by each intermediate station depending on the surplus index of the backward oil products.
5. The method for treating oil mixing of a finished oil pipeline according to claim 1 or 2, wherein the corresponding relation between the forward oil concentration and the downloaded oil mixing amount corresponding to each intermediate station and each transportation terminal station comprises the following steps:
concentration distribution formula:
Figure FDA0003330448990000031
Figure FDA0003330448990000032
D T =17.4VRe 2/3
the oil mixing amount calculation formula:
Figure FDA0003330448990000033
or is or
Figure FDA0003330448990000034
Wherein K is A As a function of the concentration of the forward oil product, phi, pe d Is Becky Lei number, v is fluid flow rate, L 1 For mileage of first intermediate yard, D T Is a turbulence diffusion coefficient, V is the average kinematic viscosity of the fluid, re is the Reynolds number, C is the length of the mixed oil, alpha is a correction coefficient, Z is a value corresponding to the concentration of the symmetrically cut mixed oil head, d is the inner diameter of a pipeline, and C * C, to make the mixed oil length not considering the mixed oil download effect of the intermediate station yard 0 For the length of the mixed oil of the last intermediate station, L 2 Is the mileage of the corresponding intermediate yard other than the first intermediate yard.
6. The method for oil mixing treatment of a finished oil pipeline according to claim 2, wherein the maximum allowable concentration K of the forward oil A blended with the backward oil B is based on a preset storage tank volume AB Maximum allowable concentration K of the downstream oil product mixed with the upstream oil product BA Determining the theoretical total amount of the forward oil product and the backward oil product which can be diluted by means of the surplus index at the tail station of transportation comprises the following steps:
determining the preset storage tank volume and the maximum allowable concentration K of the forward oil product A doped with the backward oil product B AB Maximum allowable concentration K of the downstream oil product mixed with the upstream oil product BA The product value of (2) enables the product value to be used as a transportation terminal station to dilute the theoretical total amount of the forward oil product and the backward oil product by means of the surplus index.
7. The utility model provides a finished oil pipeline mixes oily processing apparatus which characterized in that includes:
a first determining module for determining the maximum allowable concentration K of the forward oil product A doped with the backward oil product B AB And the maximum allowable concentration K of the oil product mixed with the downstream oil product BA
A second determining module, configured to determine the number N of intermediate yards included in the target oil mixing section, according to the planned download amount of the backward oil product in each intermediate yardV i And the maximum allowable concentration K of the preceding oil product A doped with the following oil product B AB I is 1-N, and the maximum volume V of the forward oil product diluted by the surplus index of the backward oil product in each intermediate station is obtained Ai
The calculation module is used for diluting the maximum volume V of the forward oil product according to the surplus index of the backward oil product in each intermediate station Ai Maximum allowable concentration K of the preceding oil product A doped with the following oil product B AB And the maximum allowable concentration K of the oil product mixed with the downstream oil product BA The corresponding relation between the forward oil concentration and the downloaded oil mixing quantity, which correspond to each intermediate station and each transportation terminal station, and the preset storage tank volume determine the maximum safety coefficient n of full-line distributed back doping;
the processing module is used for determining that the total quantity of the forward oil products in the mixed oil required to be diluted in each intermediate station is V according to the maximum safety coefficient and the corresponding relation between the forward oil product concentration and the downloaded mixed oil quantity respectively corresponding to each intermediate station Ai N, the mixed oil quantity V is needed to be downloaded in each intermediate station Mi And maximum concentration K of forward oil in the mixed oil A
8. The oil mixing treatment device for a finished oil pipeline according to claim 7, wherein the calculation module is specifically configured to:
s21, configuring an initial safety coefficient, and diluting the maximum volume V of the forward oil product according to the initial safety coefficient and the surplus index of the backward oil product by each intermediate station Ai The corresponding relation between the forward oil concentration and the downloaded oil mixing quantity corresponding to each intermediate station and each transportation terminal respectively determines the oil mixing concentration distribution diagram and the oil mixing quantity of each concentration when the target oil mixing section reaches the transportation terminal;
S22, determining the total amount of the backward oil in the first 50% of the mixed oil in the mixed oil concentration distribution diagram and the total amount of the forward oil in the second 50% of the mixed oil in the mixed oil concentration distribution diagram according to the mixed oil concentration distribution diagram of the final transportation station and the mixed oil amount of each concentration;
s23, mixing the forward oil A into the maximum allowable concentration K of the backward oil B according to the preset storage tank volume AB Maximum allowable concentration K of the downstream oil product mixed with the upstream oil product BA Determining the theoretical total amount of the forward oil product and the backward oil product which can be diluted by means of the surplus index at the end of transportation;
s24, determining that the total amount of the backward oil products contained in the first 50% of the mixed oil in the mixed oil concentration distribution diagram is smaller than or equal to the theoretical total amount of the backward oil products, and the total amount of the forward oil products contained in the second 50% of the mixed oil in the mixed oil concentration distribution diagram is smaller than or equal to the theoretical total amount of the forward oil products, increasing an initial safety coefficient according to a preset increment, and repeating the steps S21-S23; and (3) until the condition of the step S24 is not met, obtaining the maximum safety coefficient of the full-line distributed back doping.
9. An electronic device comprising a memory, a processor and a computer program stored on the memory and executable on the processor, characterized in that the processor implements the steps of the method for oil mixing treatment of a finished oil pipeline according to any one of claims 1 to 6 when executing the program.
10. A non-transitory computer readable storage medium having stored thereon a computer program, characterized in that the computer program, when executed by a processor, realizes the steps of the method for oil mixing treatment of a finished oil pipeline according to any one of claims 1 to 6.
CN202111278541.7A 2021-10-30 2021-10-30 Oil mixing treatment method and device for finished oil pipeline, electronic equipment and storage medium Pending CN116070056A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202111278541.7A CN116070056A (en) 2021-10-30 2021-10-30 Oil mixing treatment method and device for finished oil pipeline, electronic equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202111278541.7A CN116070056A (en) 2021-10-30 2021-10-30 Oil mixing treatment method and device for finished oil pipeline, electronic equipment and storage medium

Publications (1)

Publication Number Publication Date
CN116070056A true CN116070056A (en) 2023-05-05

Family

ID=86175539

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202111278541.7A Pending CN116070056A (en) 2021-10-30 2021-10-30 Oil mixing treatment method and device for finished oil pipeline, electronic equipment and storage medium

Country Status (1)

Country Link
CN (1) CN116070056A (en)

Similar Documents

Publication Publication Date Title
CN103889032B (en) A kind of terminal and network selecting method
CN106764448B (en) A kind of Batch Transportation mixed contamination plug cutting method
US10472255B2 (en) Fluid metering system
CN106593672A (en) Diesel engine calibration method based on LCCE optimization
CN108256810A (en) Insurance business approval process treating method and apparatus
CN102643662A (en) Crude oil blending optimization method
CN114593369B (en) Method and device for cutting mixed oil of finished oil
CN113780958A (en) Oil product sequential conveying method, and oil mixing interface tracking method and device
CN116070056A (en) Oil mixing treatment method and device for finished oil pipeline, electronic equipment and storage medium
CN115455827A (en) Method and system for calculating oil mixing amount of finished oil pipeline based on real-time data
CN105665674A (en) Ingredient prediction method for dissimilar steel continuous casting
Zhou et al. A MILP model for the detailed scheduling of multiproduct pipelines with the hydraulic constraints rigorously considered
Zhou et al. Technical and economic optimization of natural gas transmission network operation to balance node delivery flow rate and operation cost
CN117889359A (en) Oil mixing treatment method and device for finished oil pipeline, electronic equipment and storage medium
CN114154106B (en) Batch tracking method, system and equipment for finished oil pipeline based on real-time data
CN114707717B (en) Finished oil one-time logistics optimization method and system considering multi-mode intermodal transportation
CN116538073A (en) Slurry leakage detection method for slurry circulating pump
CN107281972B (en) Standard control method and device for material preparation
CN114565120A (en) Path calculation method for oil product movement control system
CN110475951A (en) The pressure and flow control of fixed displacement pump in reducing agent allocating system
CN210944867U (en) Series connection type energy-saving carbon deoxidation device
CN114623073B (en) Sequential decision method for pump starting scheme of liquid pipeline for multi-batch sequential transportation
CN108119756A (en) Oil gas transportation dispatching method and device
CN104449923A (en) Method for reducing LNG evaporation capacity
Gong et al. The calculation method of mixing volume in a products pipeline

Legal Events

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

Effective date of registration: 20240201

Address after: 100728 No. 22 North Main Street, Chaoyang District, Beijing, Chaoyangmen

Applicant after: CHINA PETROLEUM & CHEMICAL Corp.

Country or region after: China

Applicant after: Sinopec (Dalian) Petrochemical Research Institute Co.,Ltd.

Address before: 100728 No. 22 North Main Street, Chaoyang District, Beijing, Chaoyangmen

Applicant before: CHINA PETROLEUM & CHEMICAL Corp.

Country or region before: China

Applicant before: DALIAN RESEARCH INSTITUTE OF PETROLEUM AND PETROCHEMICALS, SINOPEC Corp.

TA01 Transfer of patent application right