Methods, devices, electronic equipment and storage media for treating mixed oil in refined oil pipelines

By calculating the maximum allowable concentration and excess index of upstream and downstream oil products, the method for treating oil mixing in refined oil pipelines was optimized. Computer programs and devices were used to achieve distributed back-blending throughout the entire pipeline, solving the quality and cost problems of the oil mixing section in refined oil pipelines and improving transportation efficiency.

CN116070056BActive Publication Date: 2026-03-10CHINA PETROLEUM & CHEMICAL CORP +1
View PDF 2 Cites 0 Cited by

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2021-10-30
Publication Date
2026-03-10

AI Technical Summary

Technical Problem

In existing technologies, oil pipelines are prone to forming mixed oil sections when transporting different types of oil, resulting in substandard oil quality and increased transportation costs. Furthermore, the methods for handling mixed oil at intermediate stations and terminal stations rely on manual experience, making it difficult to effectively control the amount and concentration of mixed oil.

Method used

By determining the maximum allowable concentrations of upstream and downstream oil products, calculating the excess index dilution amount and safety factor at each intermediate station, optimizing the oil blending treatment method, ensuring distributed back-blending throughout the entire line, and using computer programs and devices for precise control.

Benefits of technology

This achieved the goal of blending and re-blending of the entire oil supply chain while ensuring oil quality, thereby improving transportation efficiency, reducing transportation costs, and avoiding the problem of substandard oil quality.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN116070056B_ABST
    Figure CN116070056B_ABST
Patent Text Reader

Abstract

This invention provides a method, apparatus, electronic device, and storage medium for treating mixed oil in refined oil pipelines. The method includes: determining the maximum permissible concentration of upstream oil mixed with downstream oil and the maximum permissible concentration of downstream oil mixed with upstream oil; obtaining the maximum volume of upstream oil diluted by the surplus index of downstream oil at each intermediate station based on the planned download volume and maximum permissible concentration of downstream oil at each intermediate station; determining a maximum safety factor based on the maximum volume at each intermediate station, the maximum permissible concentration, the correspondence between the upstream oil concentration and the download mixed oil volume corresponding to each intermediate station and the terminal transportation station, and the storage tank volume; and determining the required download mixed oil volume and maximum concentration at each intermediate station based on the maximum safety factor and the corresponding relationship at each intermediate station, thereby achieving full-line mixed oil re-blending while ensuring oil quality and improving transportation efficiency.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention relates to the field of petroleum transportation technology, and in particular to a method, apparatus, electronic device, and storage medium for treating mixed oil in refined oil pipelines. Background Technology

[0002] To meet diverse market demands and improve pipeline efficiency, refined oil pipelines typically employ sequential transport processes to transport different types and grades of refined oil. Due to convection and diffusion, different oil products can form a mixed-oil section during transport. Optimizing this mixed-oil process directly impacts the quality of the transported oil and transportation costs. In this invention, the preceding oil product is transported sequentially at the beginning of the sequence, and the following oil product is transported sequentially at the end. In the mixed-oil section, the preceding and following oil products may interpenetrate and influence each other. Therefore, it is necessary to pre-configure the maximum permissible concentration of the preceding oil product mixed with the following oil product, and vice versa.

[0003] Oil blending treatment methods rely on excess oil indicators to re-blend the oil for user use or downgrade it. Re-blending methods can be broadly divided into two categories: centralized re-blending, which concentrates the blended oil for processing at the terminal oil transfer station; and distributed re-blending, which disperses the blended oil for processing at intermediate stations and the terminal oil transfer station. This distributed re-blending method addresses the issue that upstream oil transfers cause disturbances, affecting the subsequent development of the blended oil and increasing the overall amount of blended oil along the pipeline. However, the amount of blended oil reaching the terminal oil transfer station is reduced, thus alleviating the pressure on the terminal oil transfer station's blending treatment. Currently, for distributed re-blending methods, the determination of re-blending flow rates, re-blending points, and operating methods at intermediate stations and the terminal oil transfer station is largely based on rough manual experience, which easily leads to problems such as substandard oil quality and incomplete re-blending of blended oil at intermediate stations and the terminal oil transfer station. Summary of the Invention

[0004] To address the problems existing in the prior art, the present invention provides a method, apparatus, electronic device, and storage medium for treating mixed oil in refined oil pipelines.

[0005] This invention provides a method for treating mixed oil in refined oil pipelines, comprising:

[0006] Determine the type of fuel to travel After being blended into the oil product Maximum allowable concentration Maximum permissible concentration of subsequent oil products blended with preceding oil products ;

[0007] Determine the number N of intermediate stations included in the target blending section, and base the calculation on the planned download volume of subsequent oil products at each intermediate station. And forward oil products After being blended into the oil product Maximum allowable concentration , The range is 1 to N, representing the maximum volume of oil products diluted by the surplus index of subsequent oil products at each intermediate station. ;

[0008] The maximum volume of oil product diluted by the surplus index of the oil product going forward at each intermediate station. Forward oil products After being blended into the oil product Maximum allowable concentration Maximum permissible concentration of subsequent oil products blended with preceding oil products The correspondence between the forward oil concentration and the downstream mixed oil volume for each intermediate station and the terminal station, as well as the preset storage tank volume, determine the maximum safety factor n for distributed blending throughout the entire line.

[0009] Based on the maximum safety factor and the corresponding relationship between the forward oil concentration and the downstream mixed oil volume at each intermediate station, the total amount of forward oil in the mixed oil to be diluted at each intermediate station is determined as follows: At that time, each intermediate station needs to download the mixed oil volume. The maximum concentration of the forward oil in the blend. .

[0010] According to the present invention, a method for treating mixed oil in a refined oil pipeline involves diluting the maximum volume of preceding oil based on the surplus index of subsequent oil products at each intermediate station. Forward oil products After being blended into the oil product Maximum allowable concentration Maximum permissible concentration of subsequent oil products blended with preceding oil products The relationship between the forward oil concentration and the downstream blending volume for each intermediate station and terminal station, and the maximum safety factor n for distributed blending across the entire line determined by the preset storage tank volume, including:

[0011] S21. Configure the initial safety factor, and based on the initial safety factor and the maximum volume of oil diluted by the upstream oil at each intermediate station using the surplus index of the downstream oil, determine the amount of oil to be diluted by the upstream oil. The corresponding relationship between the forward oil concentration and the downstream mixing amount at each intermediate station and the terminal station was determined to establish the oil concentration distribution map and the mixing amount of each concentration when the target mixing section reached the terminal station.

[0012] S22. Based on the oil concentration distribution map of the terminal transportation station and the amount of oil mixed at each concentration, determine the total amount of oil from the subsequent flow in the first 50% of the oil mixture in the oil concentration distribution map, and the total amount of oil from the preceding flow in the last 50% of the oil mixture in the oil concentration distribution map.

[0013] S23. Based on the preset storage tank volume and the preceding oil product... After being blended into the oil product Maximum allowable concentration Maximum permissible concentration of subsequent oil products mixed with preceding oil products Determine the theoretical total amount of oil products that the terminal transportation station can dilute by relying on surplus indicators;

[0014] S24. Determine that the total amount of subsequent oil products contained in the first 50% of the mixed oil in the mixed oil concentration distribution diagram is less than or equal to the theoretical total amount of subsequent oil products, and the total amount of preceding oil products contained in the last 50% of the mixed oil in the mixed oil concentration distribution diagram is less than or equal to the theoretical total amount of preceding oil products. Increase the initial safety factor by the preset increment, and repeat the above steps S21-S23 until the conditions of step S24 are no longer met, and obtain the maximum safety factor for distributed blending across the entire line.

[0015] According to the present invention, a method for treating mixed oil in a refined oil pipeline is provided, wherein the total amount of forward oil in the mixed oil to be diluted at each intermediate station is determined based on the maximum safety factor and the corresponding relationship between the forward oil concentration and the downstream mixed oil volume at each intermediate station. At that time, each intermediate station needs to download the mixed oil volume. The maximum concentration of the forward oil in the blend. ,include:

[0016] Based on the corresponding relationship between the forward oil concentration and the downstream blending amount for each intermediate station, the corresponding downstream blending amounts for forward oil concentrations of 1%, 2%, 3%, ..., j%, ..., 99% were determined. , where j = 1~99;

[0017] Make 1%× +2%× +3%× +…+j%× ≤ At that time, the value of j is determined, and the maximum concentration of the preceding oil product in the oil mixture is obtained. ,in, To the maximum safety factor;

[0018] Sure , , ... The total is the amount of mixed oil downloaded. .

[0019] According to the present invention, a method for treating oil mixing in a refined oil pipeline is provided, wherein determining the number of intermediate stations included in the target mixing section is based on the number of intermediate stations included in the target mixing section. Download volume of the plan for the subsequent oil products at each intermediate station and maximum allowable concentration To obtain the maximum volume of oil diluting the preceding oil products by relying on the surplus index of the following oil products at each intermediate station. ,include:

[0020] Determine the product of the planned download volume of subsequent oil products and the maximum allowable concentration of preceding oil products mixed with subsequent oil products at each intermediate station, and use the product as the maximum volume of preceding oil products diluted by the surplus index of subsequent oil products at each intermediate station.

[0021] According to the present invention, a method for treating oil mixing in pipelines, wherein the correspondence between the upstream oil concentration and the downstream mixing amount at each intermediate station and the terminal station includes:

[0022] Concentration distribution formula:

[0023]

[0024]

[0025]

[0026] Formula for calculating the amount of mixed oil:

[0027]

[0028] Or

[0029]

[0030] in, For the concentration of the oil product, For function, For Berkeley's standard, For fluid velocity, This refers to the mileage of the first intermediate station. The turbulent diffusion coefficient is... The average kinematic viscosity of the fluid. The Reynolds number is... For the length of the mixed oil, For correction factor, This represents the corresponding concentration value for symmetrically cut oil mixing heads. The inner diameter of the pipe. The mixing length is calculated without considering the impact of intermediate station mixing and unloading. This refers to the length of the oil mixing station at the previous intermediate station. This refers to the mileage of the corresponding intermediate station that is not the first intermediate station.

[0031] According to the present invention, a method for treating mixed oil in a refined oil pipeline is provided, wherein the method is based on a preset storage tank volume and the preceding oil... After being blended into the oil product Maximum allowable concentration Maximum permissible concentration of subsequent oil products mixed with preceding oil products Determine the theoretical total amount of oil products that the terminal transportation station can dilute between those traveling upstream and downstream using surplus quotas, including:

[0032] Determine the preset storage tank volume and the forward oil product. After being blended into the oil product Maximum allowable concentration Maximum permissible concentration of subsequent oil products mixed with preceding oil products The product value is such that the product value is the theoretical total amount of oil products that the terminal transportation station can dilute by relying on surplus indicators for both the preceding and following oil products.

[0033] The present invention also provides a device for treating mixed oil in a finished oil pipeline, comprising:

[0034] The first determination module is used to determine the type of oil being transported. After being blended into the oil product Maximum allowable concentration The maximum permissible concentration of subsequent oil product B blended with preceding oil product A ;

[0035] The second determining module is used to determine the number N of intermediate stations included in the target mixing section, based on the planned download volume of subsequent oil products at each intermediate station. The maximum permissible concentration of blending preceding oil product A with subsequent oil product B. , The range is 1 to N, representing the maximum volume of oil products diluted by the surplus index of subsequent oil products at each intermediate station. ;

[0036] The calculation module is used to determine the maximum volume of oil product diluted by downstream oil products at each intermediate station based on the surplus index of downstream oil products. Forward oil products After being blended into the oil product Maximum allowable concentration Maximum permissible concentration of subsequent oil products blended with preceding oil products The correspondence between the forward oil concentration and the downstream mixed oil volume for each intermediate station and the terminal station, as well as the preset storage tank volume, determine the maximum safety factor n for distributed blending throughout the entire line.

[0037] The processing module is used to determine the total amount of forward oil in the mixed oil to be diluted at each intermediate station based on the maximum safety factor and the corresponding relationship between the forward oil concentration and the downstream mixed oil volume at each intermediate station. At that time, each intermediate station needs to download the mixed oil volume. The maximum concentration of the forward oil in the blend. .

[0038] The present invention also provides an electronic device, including a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor executes the program to implement the steps of the above-described method for treating mixed oil in a refined oil pipeline.

[0039] The present invention also provides a non-transitory computer-readable storage medium having a computer program stored thereon, which, when executed by a processor, implements the steps of the above-described method for treating mixed oil in a refined oil pipeline.

[0040] This invention provides a method, apparatus, electronic device, and storage medium for treating mixed oil in refined oil pipelines. Based on the oil concentration and mixing volume at each station, and constrained by the correspondence between the preceding oil concentration and the following mixing volume at each intermediate station and the final transportation station, the maximum safety factor for distributed back-mixing along the entire pipeline is determined. Furthermore, under the constraint of this maximum safety factor, the required mixing volume at each intermediate station and the maximum concentration of the preceding oil in the mixed oil are obtained. This achieves full-line back-mixing while ensuring oil quality, thereby improving transportation efficiency. Attached Figure Description

[0041] To more clearly illustrate the technical solutions in the embodiments of the present invention or the prior art, the drawings used in the description of the embodiments or the prior art will be briefly introduced below. Obviously, the drawings described below are some embodiments of the present invention. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.

[0042] Figure 1 This is a flowchart illustrating an embodiment of the method for treating mixed oil in a refined oil pipeline according to the present invention.

[0043] Figure 2 This is a structural diagram of an embodiment of the oil mixing treatment device for finished oil pipelines of the present invention;

[0044] Figure 3 This is a structural diagram of an embodiment of the electronic device of the present invention. Detailed Implementation

[0045] To make the objectives, technical solutions, and advantages of this invention clearer, the technical solutions of this invention will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some, not all, of the embodiments of this invention. All other embodiments obtained by those skilled in the art based on the embodiments of this invention without creative effort are within the scope of protection of this invention.

[0046] The following is combined Figures 1-3This invention describes the method, apparatus, electronic equipment, and storage medium for treating mixed oil in pipelines for finished oil products.

[0047] Figure 1 This invention provides a schematic flowchart of a method for treating mixed oil in a refined oil pipeline. (See attached diagram.) Figure 1 The method includes:

[0048] 11. Determine the type of fuel to be used. After being blended into the oil product Maximum allowable concentration The maximum permissible concentration of subsequent oil product B blended with preceding oil product A ;

[0049] 12. Determine the number N of intermediate stations included in the target blending section, and base the calculation on the planned download volume of subsequent oil products at each intermediate station. The maximum permissible concentration of blending preceding oil product A with subsequent oil product B. , The range is 1 to N, representing the maximum volume of oil products diluted by the surplus index of subsequent oil products at each intermediate station. ;

[0050] 13. The maximum volume of oil product diluted by the surplus index of the oil products flowing downstream at each intermediate station. Forward oil products After being blended into the oil product Maximum allowable concentration Maximum permissible concentration of subsequent oil products blended with preceding oil products The correspondence between the forward oil concentration and the downstream mixed oil volume for each intermediate station and the terminal station, as well as the preset storage tank volume, determine the maximum safety factor n for distributed blending throughout the entire line.

[0051] 14. Based on the maximum safety factor and the corresponding relationship between the forward oil concentration and the downstream mixed oil volume for each intermediate station, determine the total amount of forward oil in the mixed oil to be diluted at each intermediate station. At that time, each intermediate station needs to download the mixed oil volume. The maximum concentration of the forward oil in the blend. .

[0052] Regarding steps 11 and 12, it should be noted that in this invention, to meet different market demands and improve pipeline efficiency, refined oil pipelines typically employ a sequential transport process to transport different types and grades of refined oil. Different oil products will form a mixed-oil section during pipeline transport due to convection and diffusion. The optimization of this mixed-oil process directly affects the quality of the transported oil and transportation costs. In this invention, the preceding oil product is the one transported first in the sequence, and the following oil product is the one transported last in the sequence. The preceding and following oil products may interpenetrate and influence each other in the mixed-oil section. Therefore, it is necessary to pre-configure the maximum allowable concentration of the preceding oil product mixed with the following oil product, and the maximum allowable concentration of the following oil product mixed with the preceding oil product.

[0053] During the transportation of oil products, they pass through multiple intermediate stations from the initial station to the final station. During this process, oil blending (i.e., blending sections) can occur, requiring passage through multiple intermediate stations. Therefore, after obtaining the oil transportation route, the number of intermediate stations involved in the target blending section can be determined, i.e., the total number of intermediate stations in the entire transportation process. Oil usage planning can pre-configure the planned download volume of subsequent oil products at each intermediate station. Then, through a pre-configured calculation method, based on the planned download volume of subsequent oil products at each intermediate station and the maximum allowable concentration of subsequent oil products blended into preceding oil products, the maximum volume of preceding oil products diluted by the surplus index of subsequent oil products can be obtained at each intermediate station.

[0054] The following example illustrates the above steps using a sequential refined oil pipeline where the preceding oil product is #0 diesel and the following oil product is #92 gasoline. This pipeline includes two intermediate stations for mixing the oil products. The subsequent gasoline batch volume is 100,000 m³. 3 The first intermediate station plans to download 15,000 ml of 92# gasoline. 3 The second intermediate station plans to download 20,000 ml of 92# gasoline. 3 The remainder is unloaded and pumped into tanks at the final oil transfer station.

[0055] Samples of the forward diesel and subsequent gasoline from the blending section were taken and blending experiments were conducted in the laboratory. The flash point of the gasoline blended into the diesel and the final boiling point of the diesel blended into the gasoline were determined. The maximum allowable concentration of the subsequent gasoline blended into the forward diesel in this blending section was 0.37%, and the maximum allowable concentration of the forward diesel blended into the subsequent gasoline was 0.42%.

[0056] In this application, the maximum volume of oil product diluted by the surplus index of the subsequent oil product can be calculated by multiplying the planned download volume and the maximum allowable concentration for each intermediate station.

[0057] The following is a calculation of the maximum amount of gasoline (V) that the first intermediate station can dilute the preceding gasoline using the surplus index of subsequent gasoline.A1 =15000 * 0.42% = 63m 3 .

[0058] Second intermediate station V A2 =20000 * 0.42% = 84m 3 .

[0059] Regarding step 13, it should be noted that in this invention, the oil blending treatment method relies on the oil surplus index to re-blend the oil for user use or for downgrading. The re-blending oil blending treatment method can be broadly divided into two categories: one is centralized re-blending, which concentrates the blended oil for processing at the terminal oil transfer station; the other is distributed re-blending, which disperses the blended oil for processing at intermediate stations and the terminal oil transfer station. This distributed re-blending method is due to the disturbance caused by the downstream flow of blended oil from upstream stations, which affects the subsequent development of the blended oil and leads to an increase in the total amount of blended oil along the entire line. However, the amount of blended oil that needs to be processed at the terminal oil transfer station will decrease, thereby reducing the pressure on the terminal oil transfer station's blending treatment. Therefore, in this application, it is necessary to determine whether the blending section can achieve full-line distributed re-blending, and further determine the amount of blended oil that needs to be processed at each intermediate station and the maximum concentration of the upstream oil in the blended oil.

[0060] In this application, the maximum volume of oil product diluted by the surplus index of the oil product going forward is determined based on the following criteria at each intermediate station. Forward oil products After being blended into the oil product Maximum allowable concentration Maximum permissible concentration of subsequent oil products blended with preceding oil products The maximum safety factor for distributed blending across the entire line is determined by considering the correspondence between the forward oil concentration and the downstream blending volume at each intermediate station and terminal station, as well as the pre-set storage tank volume. Then, based on the maximum safety factor and the corresponding correspondence between the forward oil concentration and the downstream blending volume at each intermediate station, the total amount of forward oil in the blending to be diluted at each intermediate station is determined. At that time, each intermediate station needs to download the mixed oil volume. The maximum concentration of the forward oil in the blend. .

[0061] In this invention, step 13 is further explained as follows:

[0062] S21. Configure the initial safety factor, and based on the initial safety factor and the maximum volume of oil diluted by the upstream oil at each intermediate station using the surplus index of the downstream oil, determine the amount of oil to be diluted by the upstream oil. The corresponding relationship between the forward oil concentration and the downstream mixing amount of each intermediate station and the terminal station is determined to establish the oil concentration distribution map and the mixing amount of each concentration when the target mixing section reaches the terminal station.

[0063] S22. Based on the oil concentration distribution map of the terminal transportation station and the amount of oil mixed at each concentration, determine the total amount of oil from the subsequent flow in the first 50% of the oil mixture in the oil concentration distribution map, and the total amount of oil from the preceding flow in the last 50% of the oil mixture in the oil concentration distribution map.

[0064] S23. Based on the preset storage tank volume and the preceding oil product... After being blended into the oil product Maximum allowable concentration Maximum permissible concentration of subsequent oil products mixed with preceding oil products Determine the theoretical total amount of oil products that the terminal transportation station can dilute by relying on surplus indicators;

[0065] S24. If the total amount of subsequent oil products in the first 50% of the mixed oil concentration distribution diagram is less than or equal to the theoretical total amount of subsequent oil products, and the total amount of preceding oil products in the last 50% of the mixed oil concentration distribution diagram is less than or equal to the theoretical total amount of preceding oil products, the initial safety factor is increased by a preset increment, and the above steps S21-S23 are repeated until the condition of step S24 is no longer met, and the maximum safety factor of the distributed blending across the entire line is obtained.

[0066] In this invention, step 14 is further explained as follows:

[0067] Based on the corresponding relationship between the forward oil concentration and the downstream blending amount for each intermediate station, the corresponding downstream blending amounts for forward oil concentrations of 1%, 2%, 3%, ..., j%, ..., 99% were determined. , where j = 1~99;

[0068] Make 1%× +2%× +3%× +…+j%× ≤ At that time, the value of j is determined, and the maximum concentration of the preceding oil product in the oil mixture is obtained. ,in, For the maximum safety factor, i is the sequence number of the intermediate station;

[0069] Sure , , ... The total is the amount of mixed oil downloaded. .

[0070] The following explanation uses the two oil transportation examples described above to illustrate steps S21-S24, as follows:

[0071] Assume that the amount of gasoline from the preceding journey that needs to be diluted by the surplus index of gasoline from the following journey at the first intermediate station is 63m. 3 The second intermediate station needs to rely on the surplus index of subsequent gasoline to dilute the blended oil containing 84mg of preceding gasoline. 3 .

[0072] Using the correlation between the forward diesel concentration and the downstream blending quantity at each intermediate station and the terminal station, the downstream blending quantities corresponding to the forward diesel concentrations of 1%, 2%, ..., 99% at the first intermediate station were calculated to be 154 m³. 3 82m 3 66m 3 ... 40m 3 .

[0073] With an initial safety factor of 1, the corresponding mixing amounts for the calculated forward diesel concentrations of 1%, 2%, ..., 99% are 154 m³. 3 82m 3 66m 3 ... 40m 3 Perform product summation so that the sum is less than or equal to the maximum volume of preceding oil product diluted by the surplus index of subsequent oil products. When the value is quotiented with the initial safety factor, the forward diesel concentration is recorded as m%. Based on the above calculation principle and the corresponding relationship between the forward oil concentration and the downstream mixing amount, the mixing concentration distribution map and the mixing amount of each concentration at the second intermediate station and the final transportation station can be calculated. This mixing concentration distribution map is the recorded forward diesel concentration m% at the final transportation station.

[0074] Then, based on the oil concentration distribution map of the terminal transportation station and the amount of oil mixed at each concentration, determine the total amount of subsequent oil products contained in the first 50% of the oil mixture in the oil concentration distribution map, and the total amount of preceding oil products contained in the last 50% of the oil mixture in the oil concentration distribution map.

[0075] In this invention, the correspondence between the forward oil concentration and the downstream blending amount for each intermediate station and the terminal station includes:

[0076] Concentration distribution formula:

[0077]

[0078]

[0079]

[0080] Formula for calculating the amount of mixed oil:

[0081]

[0082] Or

[0083]

[0084] in, For the concentration of the oil product, For function, For Berkeley's standard, For fluid velocity, This refers to the mileage of the first intermediate station. The turbulent diffusion coefficient is... The average kinematic viscosity of the fluid. The Reynolds number is... For the length of the mixed oil, For correction factor, This represents the corresponding concentration value for symmetrically cut oil mixing heads. The inner diameter of the pipe. The mixing length is calculated without considering the impact of intermediate station mixing and unloading. This refers to the length of the oil mixing station at the previous intermediate station. This refers to the mileage of the corresponding intermediate station that is not the first intermediate station.

[0085] It should be noted that the forward oil concentration and downstream blending volume for the first intermediate station are obtained based on the following correspondence:

[0086] Concentration distribution formula:

[0087]

[0088]

[0089]

[0090] Formula for calculating the amount of mixed oil:

[0091]

[0092] The preceding oil concentration and the downstream mixing volume for the second intermediate station or the terminal station are obtained based on the following correspondence:

[0093] Concentration distribution formula:

[0094]

[0095]

[0096]

[0097]

[0098] Since each preceding oil concentration corresponds to a downstream mixing quantity, the total amount of downstream oil contained in the first 50% of the mixed oil in the mixed oil concentration distribution map and the total amount of preceding oil contained in the mixed oil in the last 50% of the mixed oil in the mixed oil concentration distribution map are obtained by multiplying the downstream mixing quantity, the preceding oil concentration, and the concentration obtained by "1 - preceding oil concentration" and summing the product values.

[0099] For example, if the concentration of the preceding oil is 10% and the amount of the following oil is K, then the amount of oil containing the preceding oil is K×10%. Correspondingly, if the concentration of the following oil is 90%, then the amount of oil containing the following oil is K×90%.

[0100] In this invention, a preset storage tank volume and the preceding oil product are determined. After being blended into the oil product Maximum allowable concentration Maximum permissible concentration of subsequent oil products mixed with preceding oil products The product value is used as the theoretical total amount of oil that the terminal transportation station can dilute between the preceding and following oil products using surplus indicators. A specific example is:

[0101] Because the station can perform tank transfer operations and the storage tanks are all large, with a volume of 50,000 m³. 3 Therefore, based on the tank volume calculation, the theoretical value of the total amount of diesel / gasoline that the terminal oil station can dilute using the oil surplus index is 185m³. 3 215m 3 .

[0102]

[0103]

[0104] Based on judgment conditions and This can be used to determine whether the mixing section can achieve complete remixing throughout the entire line, where n is the initial safety factor.

[0105] In this example, a computer program is used to calculate n, starting from 1 and increasing by 0.1 each time, repeating the above steps until the maximum safety factor of 2.1 that can achieve full-line distributed back-mixing is calculated.

[0106] When n is 2.1, the K of the first intermediate station A1 =23%, V M1 =412m 3 The second intermediate station K A2 =21%, V M2 =398m 3 .

[0107] In this embodiment, a density meter is used as the oil mixing detection device, and the gasoline flow rate after the first intermediate station is 800m³. 3 / h, the gasoline download flow rate after the second intermediate station is 1000m³. 3 / h.

[0108] At the first intermediate station, when the densitometer detects a density value corresponding to a forward diesel concentration of 21%, the station's pipeline transportation process is switched to the mixing tank inlet pipeline. When the densitometer detects a density value corresponding to a forward diesel concentration of 0%, the station's pipeline transportation process is switched to the 92# gasoline inlet pipeline.

[0109] At the same time, according to the flow rate m 3 / h pumps the oil from the mixing tank to the No. 92 gasoline tank, so that the two are mixed in the inlet manifold and then enter the No. 92 gasoline tank.

[0110] Similarly, download the second intermediate station mixing section. m 3 / h.

[0111] In this invention, the oil terminal station can be divided into four sections, utilizing the 50,000 m³ capacity of the oil terminal station. 3 The oil storage tanks will re-mix the two intermediate sections of mixed oil separately, ultimately achieving complete re-mixing throughout the entire line.

[0112] The present invention provides a method for treating mixed oil in pipelines. Based on the oil concentration and mixing volume at each station, and constrained by the correspondence between the forward oil concentration and the downstream mixing volume at each intermediate station and the terminal station, the maximum safety factor for distributed back-mixing along the entire line is determined. Under the constraint of the maximum safety factor, the required downstream mixing volume at each intermediate station and the maximum concentration of forward oil in the mixed oil are further obtained. This method achieves full-line back-mixing while ensuring oil quality, thereby improving transportation efficiency.

[0113] The following describes the oil mixing treatment device for refined oil pipelines provided by the present invention. The oil mixing treatment device for refined oil pipelines described below can be referred to in correspondence with the oil mixing treatment method for refined oil pipelines described above.

[0114] Figure 2 A schematic diagram of a refined oil pipeline mixing treatment device provided by the present invention is shown below. Figure 2 The device includes a first determining module 21, a second determining module 22, a calculation module 23, and a processing module 24, wherein:

[0115] The first determining module 21 is used to determine the preceding oil type. After being blended into the oil product Maximum allowable concentration The maximum permissible concentration of subsequent oil product B blended with preceding oil product A ;

[0116] The second determining module 22 is used to determine the number N of intermediate stations included in the target mixing section, based on the planned download volume of subsequent oil products at each intermediate station. The maximum permissible concentration of blending preceding oil product A with subsequent oil product B. , The range is 1 to N, representing the maximum volume of oil products diluted by the surplus index of subsequent oil products at each intermediate station. ;

[0117] Calculation module 23 is used to calculate the maximum volume of oil products diluted by the surplus index of subsequent oil products at each intermediate station. Forward oil products After being blended into the oil product Maximum allowable concentration Maximum permissible concentration of subsequent oil products blended with preceding oil products The correspondence between the forward oil concentration and the downstream mixed oil volume for each intermediate station and the terminal station, as well as the preset storage tank volume, determine the maximum safety factor n for distributed blending throughout the entire line.

[0118] Processing module 24 is used to determine the total amount of forward oil in the mixed oil to be diluted at each intermediate station based on the maximum safety factor and the corresponding relationship between the forward oil concentration and the downstream mixed oil volume at each intermediate station. At that time, each intermediate station needs to download the mixed oil volume. The maximum concentration of the forward oil in the blend. .

[0119] In a further embodiment of the above-described apparatus, the computing module is specifically used for:

[0120] S21. Configure the initial safety factor, and based on the initial safety factor and the maximum volume of oil diluted by the upstream oil at each intermediate station using the surplus index of the downstream oil, determine the amount of oil to be diluted by the upstream oil. The corresponding relationship between the forward oil concentration and the downstream mixing amount of each intermediate station and the terminal station is determined to establish the oil concentration distribution map and the mixing amount of each concentration when the target mixing section reaches the terminal station.

[0121] S22. Based on the oil concentration distribution map of the terminal transportation station and the amount of oil mixed at each concentration, determine the total amount of oil from the subsequent flow in the first 50% of the oil mixture in the oil concentration distribution map, and the total amount of oil from the preceding flow in the last 50% of the oil mixture in the oil concentration distribution map.

[0122] S23. Based on the preset storage tank volume and the preceding oil product... After being blended into the oil product Maximum allowable concentration Maximum permissible concentration of subsequent oil products mixed with preceding oil products Determine the theoretical total amount of oil products that the terminal transportation station can dilute by relying on surplus indicators;

[0123] S24. If the total amount of subsequent oil products in the first 50% of the mixed oil concentration distribution diagram is less than or equal to the theoretical total amount of subsequent oil products, and the total amount of preceding oil products in the last 50% of the mixed oil concentration distribution diagram is less than or equal to the theoretical total amount of preceding oil products, the initial safety factor is increased by a preset increment, and the above steps S21-S23 are repeated until the condition of step S24 is no longer met, and the maximum safety factor of the distributed blending across the entire line is obtained.

[0124] In a further embodiment of the above-described apparatus, the processing module is used for:

[0125] Based on the maximum safety factor and the corresponding relationship between the forward oil concentration and the downstream mixed oil volume at each intermediate station, the total amount of forward oil in the mixed oil to be diluted at each intermediate station is determined as follows: At that time, each intermediate station needs to download the mixed oil volume. The maximum concentration of the forward oil in the blend. ,include:

[0126] Based on the corresponding relationship between the forward oil concentration and the downstream blending amount for each intermediate station, the corresponding downstream blending amounts for forward oil concentrations of 1%, 2%, 3%, ..., j%, ..., 99% were determined. , where j = 1~99;

[0127] Make 1%× +2%× +3%× +…+j%× ≤ At that time, the value of j is determined, and the maximum concentration of the preceding oil product in the oil mixture is obtained. ,in, To the maximum safety factor;

[0128] Sure , , ... The total is the amount of mixed oil downloaded. .

[0129] In a further embodiment of the above-described apparatus, the first determining module is configured to:

[0130] The number of intermediate stations included in the target mixing section is determined based on the number of stations in the first... Download volume of the plan for the subsequent oil products at each intermediate station and maximum allowable concentration To obtain the maximum volume of oil diluting the preceding oil products by relying on the surplus index of the following oil products at each intermediate station. ,include:

[0131] Determine the product of the planned download volume of subsequent oil products and the maximum allowable concentration of preceding oil products mixed with subsequent oil products at each intermediate station, and use the product as the maximum volume of preceding oil products diluted by the surplus index of subsequent oil products at each intermediate station.

[0132] In a further embodiment of the above-mentioned apparatus, the correspondence between the forward oil concentration and the downstream blending quantity for each intermediate station and the final transportation station includes:

[0133] Concentration distribution formula:

[0134]

[0135]

[0136]

[0137] Formula for calculating the amount of mixed oil:

[0138]

[0139] Or

[0140]

[0141] in, For the concentration of the oil product, For function, For Berkeley's standard, For fluid velocity, This refers to the mileage of the first intermediate station. The turbulent diffusion coefficient is... The average kinematic viscosity of the fluid. The Reynolds number is... For the length of the mixed oil, For correction factor, This represents the corresponding concentration value for symmetrically cut oil mixing heads. The inner diameter of the pipe. The mixing length is calculated without considering the impact of intermediate station mixing and unloading. This refers to the length of the oil mixing station at the previous intermediate station. This refers to the mileage of the corresponding intermediate station that is not the first intermediate station.

[0142] In a further embodiment of the aforementioned device, the calculation module calculates based on the preset storage tank volume and the preceding oil product. After being blended into the oil product Maximum allowable concentration Maximum permissible concentration of subsequent oil products mixed with preceding oil products In the process of determining the theoretical total amount of upstream and downstream oil products that the terminal transportation station can dilute using surplus indicators, it is specifically used for:

[0143] Determine the preset storage tank volume and the forward oil product. After being blended into the oil product Maximum allowable concentration Maximum permissible concentration of subsequent oil products mixed with preceding oil products The product value is such that the product value is the theoretical total amount of oil products that the terminal transportation station can dilute by relying on surplus indicators for both the preceding and following oil products.

[0144] Since the device described in this embodiment of the invention is based on the same principle as the method described in the above embodiments, more detailed explanations will not be repeated here.

[0145] It should be noted that, in the embodiments of the present invention, the relevant functional modules can be implemented by a hardware processor.

[0146] This invention provides a refined oil pipeline mixing treatment device. Based on the oil concentration and mixing quantity at each station, and constrained by the correspondence between the forward oil concentration and the downstream mixing quantity at each intermediate station and the final transport station, the maximum safety factor for distributed backmixing along the entire pipeline is determined. Furthermore, under the constraint of this maximum safety factor, the required downstream mixing quantity at each intermediate station is obtained. The maximum concentration of oil products in the blend is achieved, enabling the full-line blending and re-blending of oil products while ensuring oil quality, thus improving transportation efficiency.

[0147] Figure 3 An example is a schematic diagram of the physical structure of an electronic device, such as... Figure 3 As shown, the electronic device may include: a processor 31, a communication interface 32, a memory 33, and a communication bus 34, wherein the processor 31, the communication interface 32, and the memory 33 communicate with each other via the communication bus 34. The processor 31 can call logical instructions in the memory 33 to execute the following methods:

[0148] Determine the type of fuel to travel After being blended into the oil product Maximum allowable concentration Maximum permissible concentration of subsequent oil products blended with preceding oil products ;

[0149] Determine the number N of intermediate stations included in the target blending section, and base the calculation on the planned download volume of subsequent oil products at each intermediate station. and maximum allowable concentration , The range is 1 to N, representing the maximum volume of oil products diluted by the surplus index of subsequent oil products at each intermediate station. ;

[0150] The maximum volume of oil product diluted by the surplus index of the oil product going forward at each intermediate station. Forward oil products After being blended into the oil product Maximum allowable concentration Maximum permissible concentration of subsequent oil products blended with preceding oil products The correspondence between the forward oil concentration and the downstream mixed oil volume for each intermediate station and the terminal station, as well as the preset storage tank volume, determine the maximum safety factor n for distributed blending throughout the entire line.

[0151] Based on the maximum safety factor and the corresponding relationship between the forward oil concentration and the downstream mixed oil volume at each intermediate station, the total amount of forward oil in the mixed oil to be diluted at each intermediate station is determined as follows: At that time, each intermediate station needs to download the mixed oil volume. The maximum concentration of the forward oil in the blend. .

[0152] Furthermore, the logical instructions in the aforementioned memory 33 can be implemented as software functional units and, when sold or used as independent products, can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present invention, or the part that contributes to the prior art, or a part of the technical solution, can be embodied in the form of a software product. This computer software product is stored in a storage medium and includes several instructions to cause a computer device (which may be a personal computer, server, or network device, etc.) to execute all or part of the steps of the methods described in the various embodiments of the present invention. The aforementioned storage medium includes various media capable of storing program code, such as USB flash drives, portable hard drives, read-only memory (ROM), random access memory (RAM), magnetic disks, or optical disks.

[0153] On the other hand, the present invention also provides a computer program product, the computer program product comprising a computer program stored on a non-transitory computer-readable storage medium, the computer program comprising program instructions, wherein when the program instructions are executed by a computer, the computer is able to perform the methods provided by the above methods, the method comprising:

[0154] Determine the type of fuel to travel After being blended into the oil product Maximum allowable concentration Maximum permissible concentration of subsequent oil products blended with preceding oil products ;

[0155] Determine the number N of intermediate stations included in the target blending section, and base the calculation on the planned download volume of subsequent oil products at each intermediate station. and maximum allowable concentration , The range is 1 to N, representing the maximum volume of oil products diluted by the surplus index of subsequent oil products at each intermediate station. ;

[0156] The maximum volume of oil product diluted by the surplus index of the oil product going forward at each intermediate station. Forward oil products After being blended into the oil product Maximum allowable concentration Maximum permissible concentration of subsequent oil products blended with preceding oil products The correspondence between the forward oil concentration and the downstream mixed oil volume for each intermediate station and the terminal station, as well as the preset storage tank volume, determine the maximum safety factor n for distributed blending throughout the entire line.

[0157] Based on the maximum safety factor and the corresponding relationship between the forward oil concentration and the downstream mixed oil volume at each intermediate station, the total amount of forward oil in the mixed oil to be diluted at each intermediate station is determined as follows: At that time, each intermediate station needs to download the mixed oil volume. The maximum concentration of the forward oil in the blend. .

[0158] In another aspect, the present invention also provides a non-transitory computer-readable storage medium having a computer program stored thereon, which, when executed by a processor, is implemented to perform the methods provided in the above embodiments, including, for example:

[0159] Determine the type of fuel to travel After being blended into the oil product Maximum allowable concentration Maximum permissible concentration of subsequent oil products blended with preceding oil products ;

[0160] Determine the number N of intermediate stations included in the target blending section, and base the calculation on the planned download volume of subsequent oil products at each intermediate station. and maximum allowable concentration , The range is 1 to N, representing the maximum volume of oil products diluted by the surplus index of subsequent oil products at each intermediate station. ;

[0161] The maximum volume of oil product diluted by the surplus index of the oil product going forward at each intermediate station. Forward oil products After being blended into the oil product Maximum allowable concentration Maximum permissible concentration of subsequent oil products blended with preceding oil products The correspondence between the forward oil concentration and the downstream mixed oil volume for each intermediate station and the terminal station, as well as the preset storage tank volume, determine the maximum safety factor n for distributed blending throughout the entire line.

[0162] Based on the maximum safety factor and the corresponding relationship between the forward oil concentration and the downstream mixed oil volume at each intermediate station, the total amount of forward oil in the mixed oil to be diluted at each intermediate station is determined as follows: At that time, each intermediate station needs to download the mixed oil volume. The maximum concentration of the forward oil in the blend. .

[0163] Through the above description of the embodiments, those skilled in the art can clearly understand that each embodiment can be implemented by means of software plus necessary general-purpose hardware platforms, and of course, it can also be implemented by hardware. Based on this understanding, the above technical solutions, in essence or the part that contributes to the prior art, can be embodied in the form of a software product. This computer software product can be stored in a computer-readable storage medium, such as ROM / RAM, magnetic disk, optical disk, etc., and includes several instructions to cause a computer device (which may be a personal computer, server, or network device, etc.) to execute the methods described in the various embodiments or some parts of the embodiments.

[0164] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present invention, and not to limit them; although the present invention has been described in detail with reference to the foregoing embodiments, those skilled in the art should understand that modifications can still be made to the technical solutions described in the foregoing embodiments, or equivalent substitutions can be made to some of the technical features; and these modifications or substitutions do not cause the essence of the corresponding technical solutions to deviate from the spirit and scope of the technical solutions of the embodiments of the present invention.

Claims

1. A method of handling mixed oil in a product oil pipeline, characterized by, Comprising: Determining the maximum allowable concentration K of a preceding oil product A into a following oil product B AB and the maximum allowable concentration K of a following oil product into a preceding oil product BA ; determining the number N of intermediate stations included in the target oil mixing section, according to the planned download volume V of the rear oil product at each intermediate station i and the maximum allowable concentration K of the rear oil product B mixed into the front oil product A AB , i is 1~N, obtaining the maximum volume V of the front oil product diluted by the rear oil product at each intermediate station Ai ; According to the maximum volume V of the front oil product diluted by the surplus index of the rear oil product in each intermediate station Ai The maximum allowable concentration K of the front oil product A mixed with the rear oil product B AB The maximum allowable concentration K of the rear oil product mixed with the front oil product BA The corresponding relationship between the concentration of the front oil product and the mixed oil quantity of each intermediate station and the terminal station, and the maximum safety factor n of the distributed back mixing determined by the preset storage tank volume. The total amount of the forward oil in the mixed oil that needs to be diluted by each intermediate station is determined according to the maximum safety factor and the corresponding relationship between the forward oil concentration and the download mixed oil amount of each intermediate station Ai When n Mi And the maximum concentration K Ai Of the forward oil in the mixed oil The maximum volume V of the preceding oil product diluted by the excess index of the following oil product according to each intermediate station Ai The maximum allowable concentration K of the preceding oil product A mixed with the following oil product B AB The maximum allowable concentration K of the following oil product mixed with the preceding oil product BA The corresponding relationship between the concentration of the preceding oil product and the mixed oil quantity of each intermediate station and the transport terminal, and the maximum safety factor n of the distributed back-mixing of the whole line determined by the preset storage tank volume. S21, configuring an initial safety factor, and determining a maximum volume V of the dilution of the forward oil product by the surplus index of the intermediate station field depending on the initial safety factor Ai and the corresponding relationship between the concentration of the forward oil product and the mixed oil volume at the target mixed oil section, and determining the mixed oil concentration distribution diagram and the mixed oil volume of each concentration when the target mixed oil section reaches the transportation terminal. S22, determining the total amount of the rear oil in the first 50% of the mixed oil in the mixed oil concentration distribution graph and the total amount of the front oil in the last 50% of the mixed oil in the mixed oil concentration distribution graph according to the mixed oil concentration distribution graph of the transportation terminal and the mixed oil amount of each concentration; S23, determining the maximum allowable concentration K of the following oil product B mixed into the preceding oil product A according to the preset tank volume AB the maximum allowable concentration K of the following oil product mixed into the preceding oil product BA determining the theoretical total amount of the preceding oil product and the following oil product that can be diluted by the surplus index at the end of the transportation S24, when the total amount of the rear oil in the first 50% of the mixed oil in the mixed oil concentration distribution graph is less than or equal to the theoretical total amount of the rear oil, and the total amount of the front oil in the last 50% of the mixed oil in the mixed oil concentration distribution graph is less than or equal to the theoretical total amount of the front oil, increasing the initial safety factor by a preset increment, and then repeating the above steps S21-S23; Until the condition of step S24 is not met, the maximum safety factor of the full-line distributed back blending is obtained.

2. The method of handling mixed oil in a product pipeline as set forth in claim 1, wherein, The total amount of forward oil in the mixed oil that each intermediate station needs to dilute is determined according to the maximum safety factor and the corresponding relationship between the forward oil concentration and the download mixed oil amount of each intermediate station Ai When V Mi and the maximum concentration K Ai of the forward oil in the mixed oil, and the method comprises the steps of: According to the corresponding relationship between the preceding oil concentration and the download mixed oil quantity of each intermediate station, the download mixed oil quantity V corresponding to the preceding oil concentration of 1%, 2%, 3%,..., j%,..., 99% is determined KAj wherein j = 1-99; 1% x V KA1 + 2% x V KA2 + 3% x V KA3 +... + j% x V KAj ≤ V Ai / n, determine the value of j to obtain the maximum concentration K of the front oil product in the mixed oil Ai wherein n is the maximum safety factor; The sum of V KA1 , V KA2 , V KA3 , …, V KAj is the download mixed oil amount V Mi .

3. The method of handling mixed oil of a product oil pipeline according to claim 2, characterized by, The determination of the number of intermediate stations contained in the target mixed oil section comprises the following steps: i and the maximum allowable concentration K AB , obtaining the maximum volume of the dilution of the front oil product by the surplus index of the rear oil product at each intermediate station Ai , comprising: Determine the product value of the planned download amount of the rear oil and the maximum allowable concentration of the front oil mixed into the rear oil at each intermediate station, and use the product value as the maximum volume of the front oil diluted by the rear oil at each intermediate station.

4. The product pipeline mixed oil handling method according to claim 1, characterized by, The corresponding relationship between the concentration of the front oil and the download mixed oil amount of each intermediate station and the transportation terminal includes: The concentration distribution formula is: D T = 17.4 V Re 2 / 3 The mixed oil amount calculation formula is: Or where K A is the concentration of the oil product in front, φ is a function, Pe d is the Beckley number, v is the flow rate of the fluid, L1 is the distance of the first intermediate station, D T is the 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, α is the correction coefficient, Z is the corresponding value of the concentration of the mixed oil head cut, d is the inner diameter of the pipeline, C * is the length of the mixed oil without considering the influence of the mixed oil download at the intermediate station, C0 is the length of the mixed oil at the previous intermediate station, L2 is the distance of the corresponding intermediate station other than the first intermediate station.

5. The product pipeline mixed oil handling method according to claim 1, characterized by, The maximum allowable concentration K of the front oil product A after the rear oil product B is added according to the preset tank volume AB The maximum allowable concentration K of the rear oil product after the front oil product is added BA Determine the theoretical total amount of the front oil product and the rear oil product that can be diluted by the surplus index at the end of the transportation, including: determining a preset tank volume and a maximum allowable concentration K of the preceding oil product A after the preceding oil product A is mixed with the following oil product B AB , a maximum allowable concentration K of the following oil product after the following oil product is mixed with the preceding oil product BA , and a product value of the maximum allowable concentration K of the preceding oil product A after the preceding oil product A is mixed with the following oil product B, and a maximum allowable concentration K of the following oil product after the following oil product is mixed with the preceding oil product, and a product value of the maximum allowable concentration K of the preceding oil product A after the preceding oil product A is mixed with the following oil product B, and a maximum allowable concentration K of the following oil product after the following oil product is mixed with the preceding oil product, and a product value of the maximum allowable concentration K of the preceding oil product A after the preceding oil product A is 6. A product pipeline mixed oil treatment apparatus characterized by comprising: Comprising: The first determining module is configured to determine a maximum allowable concentration K of the front oil product A mixed into the rear oil product B AB and the maximum allowable concentration K of the rear oil product mixed into the front oil product BA ; A second determining module is configured to determine the number N of intermediate stations included in the target mixed oil section, and determine the planned download volume V of the rear oil product at each intermediate station i and the maximum allowable concentration K of the rear oil product B mixed into the front oil product A AB , i is 1 to N, and obtain the maximum volume V of the front oil product diluted by the rear oil product at each intermediate station Ai ; a calculation module for calculating the maximum volume V of the front oil product diluted by the surplus index of the rear oil product at each intermediate station Ai , the maximum allowable concentration K of the front oil product A mixed with the rear oil product B AB , and the maximum allowable concentration K of the rear oil product mixed with the front oil product BA , the corresponding relationship between the concentration of the front oil product and the mixed oil quantity at each intermediate station and the transport terminal, and the maximum safety factor n of the distributed back-mixing determined by the preset storage tank volume. The processing module is configured to determine the total amount of forward oil in the mixed oil that needs to be diluted V for each intermediate station according to the maximum safety factor and the corresponding relationship between the forward oil concentration and the download mixed oil amount of each intermediate station Ai When n Mi and the maximum concentration K of the forward oil in the mixed oil Ai ; The calculation module is specifically used for: S21, configuring an initial safety factor, and determining a maximum volume V of the dilution of the forward oil product by the surplus index of the intermediate station field depending on the initial safety factor Ai and the corresponding relationship between the concentration of the forward oil product and the mixed oil volume at the target mixed oil section, and determining the mixed oil concentration distribution diagram and the mixed oil volume of each concentration when the target mixed oil section reaches the transportation terminal. S22, determining the total amount of the rear oil in the first 50% of the mixed oil in the mixed oil concentration distribution graph and the total amount of the front oil in the last 50% of the mixed oil in the mixed oil concentration distribution graph according to the mixed oil concentration distribution graph of the transportation terminal and the mixed oil amount of each concentration; S23, determining the maximum allowable concentration K of the following oil product B mixed into the preceding oil product A according to the preset tank volume AB the maximum allowable concentration K of the following oil product mixed into the preceding oil product BA determining the theoretical total amount of the preceding oil product and the following oil product that can be diluted by the surplus index at the end of the transportation S24, when the total amount of the rear oil in the first 50% of the mixed oil in the mixed oil concentration distribution graph is less than or equal to the theoretical total amount of the rear oil, and the total amount of the front oil in the last 50% of the mixed oil in the mixed oil concentration distribution graph is less than or equal to the theoretical total amount of the front oil, increasing the initial safety factor by a preset increment, and then repeating the above steps S21-S23; Until the condition of step S24 is not met, the maximum safety factor of the full-line distributed back blending is obtained.

7. 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 product oil pipeline mixed oil processing method according to any one of claims 1-5 when executing the program.

8. A non-transitory computer-readable storage medium having stored thereon a computer program, characterized in that, The computer program is executed by the processor to implement the steps of the product oil pipeline mixed oil processing method according to any one of claims 1-5.

Citation Information

Patent Citations

  • Cutting method for mixed-oil section in refined oil product batch transportation

    CN106764448A

  • Cutting and back-mixing technology for mixed oil

    CN1253255A