Method and device for treating mixed oil in product oil pipeline, electronic equipment and storage medium

CN117889359BActive Publication Date: 2026-08-07CHINA PETROLEUM & CHEMICAL CORP +1
View PDF 1 Cites 0 Cited by

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
CHINA PETROLEUM & CHEMICAL CORP
Filing Date
2022-10-13
Publication Date
2026-08-07

AI Technical Summary

Technical Problem

[0003]上游中间站场下载混油造成扰动将影响混油的后续发展,导致全线混油量增大,但到达干线和分支管线输油末站待处理的混油量却会减少,从而减轻输油末站混油处理压力

Benefits of technology

[0016] This invention provides a method, apparatus, electronic equipment, and storage medium for treating mixed oil in pipelines. Based on the oil concentration and mixing quantity at each station, and constrained by the calculated relationship between the preceding oil concentration and the following mixing quantity at each intermediate station and terminal station along the main pipeline and branches, a safety factor for full-line remixing is determined for each pipeline branch. When the full-line remixing conditions for the main pipeline are met, the safety factor for full-line remixing of each pipeline branch is adjusted. Under the constraint of the adjusted safety factor, the required mixing quantity and total mixing quantity at each intermediate station along the main pipeline and branches are further obtained. This achieves full-line remixing while ensuring oil quality, thereby improving transportation efficiency.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN117889359B_ABST
    Figure CN117889359B_ABST
Patent Text Reader

Abstract

The embodiment of the application provides a product oil pipeline mixed oil processing method, device, electronic equipment and storage medium, the method comprises the following steps: determining the maximum safety factor of mixed oil back blending of each transportation section according to the maximum allowable concentration of front oil mixed with rear oil, the maximum allowable concentration of rear oil mixed with front oil, the calculation relationship of front oil concentration corresponding to the download mixed oil quantity of the transportation terminal in each pipeline branch line, and the preset storage tank volume, and determining the maximum safety factor of mixed oil back blending of each transportation section according to the maximum allowable concentration, the calculation relationship of front oil concentration and download mixed oil quantity, the storage tank volume and the maximum safety factor of mixed oil back blending of each transportation section; based on the maximum safety factor of mixed oil back blending of each transportation section and the calculation relationship, the mixed oil download flow and the mixed oil download total amount corresponding to each intermediate station are determined, so that the mixed oil back blending of the whole line is completed under the premise of ensuring the oil quality, and the transportation efficiency is provided.
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 mixed sections during pipeline transport. The optimal handling of these mixed sections directly impacts the quality of the transported oil and transportation costs. Two common methods for handling mixed oil are: one is to re-refine the oil locally, incurring additional economic costs; the other is to rely on oil surplus indicators for re-blending before supplying it to users. Re-blending methods can be broadly classified into two categories: centralized re-blending, where mixed oil is treated at the terminal station; and decentralized re-blending, where mixed oil is dispersed between intermediate stations and terminal stations.

[0003] The disturbance caused by mixed oil at upstream intermediate stations will affect the subsequent development of the mixed oil, leading to an increase in the total amount of mixed oil along the entire pipeline. However, the amount of mixed oil reaching the terminal stations of the main and branch pipelines for processing will decrease, thereby alleviating the pressure on the terminal stations to handle mixed oil. Currently, in actual operation, the determination of mixed oil loading and re-blending schemes at intermediate stations and terminal stations is basically based on rough manual experience, which can easily lead to substandard oil quality.

[0004] For sequential oil delivery pipeline networks with branch lines, the main problem this invention aims to solve is to comprehensively consider the oil mixing treatment at the main pipeline terminal and branch pipeline terminal, and to minimize the amount of non-re-blending treatment for the entire pipeline network while retaining the maximum allowable margin for pipeline oil quality indicators. Summary of the Invention

[0005] 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.

[0006] This invention provides a method for treating oil mixing in a refined oil pipeline. The refined oil pipeline includes a main pipeline and branch pipelines, which intersect at distribution stations. The refined oil pipeline is divided into f+1 transportation sections by f distribution stations. Each transportation section corresponds to a safety factor for oil mixing back into the pipeline. Each transportation section includes: a transportation section consisting of an intermediate station on the main pipeline upstream of the first distribution station and an intermediate station on the corresponding branch pipeline of the first distribution station; a transportation section consisting of an intermediate station on the main pipeline between the s-th and s-1-th distribution stations and an intermediate station on the corresponding branch pipeline of the s-th distribution station, where s is 2 to f; and a transportation section consisting of an intermediate station on the main pipeline downstream of the f-th distribution station and a terminal transportation station. The method includes:

[0007] According to the maximum permissible concentration K of preceding oil product A being blended with subsequent oil product B. AB The maximum permissible concentration (K) of subsequent oil products blended with preceding oil products. BA The calculation relationship between the upstream oil concentration and the downstream mixing volume at the terminal station of each pipeline branch, and the preset storage tank volume, determine the maximum safety factor n for oil re-mixing in each transportation section. s ; s represents the number of transport segments;

[0008] According to the maximum permissible concentration K of preceding oil product A being blended with subsequent oil product B. AB The maximum permissible concentration (K) of subsequent oil products blended with preceding oil products. BA The calculation relationship between the upstream oil concentration and the downstream mixing volume at the terminal station in the pipeline trunk line, the preset storage tank volume, and the maximum safety factor n for oil mixing in each transportation section. s Determine the maximum safety factor n for oil blending in each transportation segment after the update. s ;

[0009] Based on the updated maximum safety factor n for oil blending in each transportation segment s The calculation relationship between the forward oil concentration and the amount of mixed oil downloaded for each intermediate station in the main pipeline and branch pipeline that can download mixed oil is determined to determine the mixed oil download flow rate and total mixed oil download volume for each intermediate station.

[0010] This invention also provides a refined oil pipeline mixing treatment device. The refined oil pipeline includes a main pipeline and branch pipelines, which intersect at distribution stations. The refined oil pipeline is divided into f+1 transportation sections by f distribution stations. Each transportation section corresponds to a safety factor for blending back into the pipeline. Each transportation section includes: a transportation section consisting of an intermediate station on the main pipeline upstream of the first distribution station and an intermediate station on the corresponding branch pipeline of the first distribution station; a transportation section consisting of an intermediate station on the main pipeline between the s-th and s-1-th distribution stations and an intermediate station on the corresponding branch pipeline of the s-th distribution station, where s is 2 to f; and a transportation section consisting of an intermediate station on the main pipeline downstream of the f-th distribution station and a transportation terminal station. The device includes:

[0011] The first calculation module is used to calculate the maximum permissible concentration K of blending preceding oil product A with subsequent oil product B. AB The maximum permissible concentration (K) of subsequent oil products blended with preceding oil products. BA The calculation relationship between the upstream oil concentration and the downstream mixing volume at the terminal station of each pipeline branch, and the preset storage tank volume, determine the maximum safety factor n for oil re-mixing in each transportation section. s ; s represents the number of transport segments;

[0012] The second calculation module is used to calculate the maximum allowable concentration K of blending preceding oil product A into subsequent oil product B. AB The maximum permissible concentration (K) of subsequent oil products blended with preceding oil products. BA The calculation relationship between the upstream oil concentration and the downstream mixing volume at the terminal station in the pipeline trunk line, the preset storage tank volume, and the maximum safety factor n for oil mixing in each transportation section. s Determine the maximum safety factor n for oil blending in each transportation segment after the update. s ;

[0013] The processing module is used to adjust the maximum safety factor n for blending oil in each transportation segment according to the updated maximum safety factor n. s The calculation relationship between the forward oil concentration and the amount of mixed oil downloaded for each intermediate station in the main pipeline and branch pipeline that can download mixed oil is determined to determine the mixed oil download flow rate and total mixed oil download volume for each intermediate station.

[0014] 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.

[0015] 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.

[0016] This invention provides a method, apparatus, electronic equipment, and storage medium for treating mixed oil in pipelines. Based on the oil concentration and mixing quantity at each station, and constrained by the calculated relationship between the preceding oil concentration and the following mixing quantity at each intermediate station and terminal station along the main pipeline and branches, a safety factor for full-line remixing is determined for each pipeline branch. When the full-line remixing conditions for the main pipeline are met, the safety factor for full-line remixing of each pipeline branch is adjusted. Under the constraint of the adjusted safety factor, the required mixing quantity and total mixing quantity at each intermediate station along the main pipeline and branches are further obtained. This achieves full-line remixing while ensuring oil quality, thereby improving transportation efficiency. Attached Figure Description

[0017] 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.

[0018] 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.

[0019] Figure 2 This is a schematic diagram of the finished oil pipeline of the present invention;

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

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

[0022] 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.

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

[0024] 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 This method is applicable to refined oil pipeline scenarios where the pipeline includes main lines and branch lines, intersecting at distribution stations. Main lines include initial transportation stations, intermediate stations, and terminal stations, while branch lines include intermediate stations and terminal stations. Essentially, distribution stations are some intermediate stations on the main pipeline, and each distribution station corresponds to a branch line.

[0025] If the refined oil pipeline consists of f distribution stations, the entire refined oil pipeline can be divided into f+1 transportation sections, with each transportation section corresponding to a safety factor for blending and re-mixing.

[0026] Therefore, the transportation section includes: a transportation section consisting of an intermediate station on the main pipeline upstream of the first distribution station and an intermediate station on the corresponding branch pipeline of the first distribution station; a transportation section consisting of an intermediate station on the main pipeline between the s-th and s-1-th distribution stations and an intermediate station on the corresponding branch pipeline of the s-th distribution station, where s is 2 to f; and a transportation section consisting of an intermediate station on the main pipeline downstream of the f-th distribution station and the final transportation station.

[0027] See Figure 2 The refined oil pipeline consists of two distribution stations. The entire refined oil pipeline includes the first transportation station Y1 and the last transportation station Y2, as well as intermediate stations G1, G2, G3, G4, G5, G6, and G7 on the main pipeline, distribution stations F1 and F2, intermediate stations h11, h12, and h21 on the branch pipeline, and last transportation stations h13 and h22 on the branch pipeline.

[0028] The three transport segments are G1-G2-G3-F1-h11-h12-h13, G4-G5-F2-h21-h22, and G6-G7-Y2.

[0029] This method requires analyzing the oil mixing and re-mixing process on both pipeline branches and main pipelines to obtain a reasonable safety factor for oil mixing and re-mixing, as well as the corresponding oil mixing flow rate and total oil mixing volume at each intermediate station.

[0030] Therefore, the method includes the following steps:

[0031] 11. Based on the maximum permissible concentration K of blending preceding oil product A into subsequent oil product B. AB The maximum permissible concentration (K) of subsequent oil products blended with preceding oil products. BA The calculation relationship between the upstream oil concentration and the downstream mixing volume at the terminal station of each pipeline branch, and the preset storage tank volume, determine the maximum safety factor n for oil re-mixing in each transportation section.s ; s represents the number of transport segments;

[0032] 12. Based on the maximum permissible concentration K of blending preceding oil product A into subsequent oil product B. AB The maximum permissible concentration (K) of subsequent oil products blended with preceding oil products. BA The calculation relationship between the upstream oil concentration and the downstream mixing volume at the terminal station in the pipeline trunk line, the preset storage tank volume, and the maximum safety factor n for oil mixing in each transportation section. s Determine the maximum safety factor n for oil blending in each transportation segment after the update. s ;

[0033] 13. Based on the updated maximum safety factor n for oil blending in each transportation segment. s The calculation relationship between the forward oil concentration and the amount of mixed oil downloaded for each intermediate station in the main pipeline and branch pipeline that can download mixed oil is determined to determine the mixed oil download flow rate and total mixed oil download volume for each intermediate station.

[0034] Regarding steps 11 to 13, 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 treatment 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.

[0035] During the transportation of oil products, they pass through multiple intermediate stations from the initial station to the final station. During this process, the mixed-oil sections, resulting from oil blending, must pass through several intermediate stations. Some intermediate stations are designated for mixing, while others are not. The intermediate stations designated for mixing are called distribution stations. Since each distribution station corresponds to a pipeline branch, and the existence of these distribution stations divides the entire refined oil pipeline into multiple transportation sections, a reasonable safety factor for blending is determined for each transportation section. This safety factor is based on the maximum allowable concentration K of preceding oil product A mixed with subsequent oil product B. AB The maximum permissible concentration (K) of subsequent oil products blended with preceding oil products. BA The calculation relationship between the upstream oil concentration and the downstream mixing volume at the terminal station of each pipeline branch, and the preset storage tank volume, determine the maximum safety factor n for oil re-mixing in each transportation section. s; s represents the number of transportation sections. The distribution map of mixed oil concentration at each station, determined by calculation, is affected by a safety factor.

[0036] The following is a detailed explanation of how to determine the maximum safety factor for blending oil in each transportation segment:

[0037] S21. Based on the maximum permissible concentration K AB and maximum allowable concentration K BA Determine the corresponding oil mixing concentration range for each intermediate station;

[0038] S22. Based on the calculation relationship between the upstream oil concentration and the downstream mixing amount corresponding to the transportation terminal in the pipeline branch, determine the oil mixing concentration distribution map and the mixing amount of each concentration when the mixing section reaches the transportation terminal; among them, the oil mixing concentration distribution map and the mixing amount of each concentration are negatively correlated with the safety factor.

[0039] S23. Based on the oil mixing concentration distribution map of the transportation terminal and the amount of oil mixed at each concentration, determine the total amount of subsequent oil products contained in the first 50% of the mixed oil in the oil mixing concentration distribution map within the oil mixing concentration range, and the total amount of preceding oil products contained in the last 50% of the mixed oil in the oil mixing concentration distribution map.

[0040] S24. Based on the preset storage tank volume and the maximum allowable concentration K of blending preceding oil product A with subsequent oil product B, AB The maximum permissible concentration (K) of subsequent oil products blended with preceding oil products. BA Determine the theoretical total amount of oil products that the terminal transportation station can dilute by relying on surplus indicators;

[0041] S25. If the total amount of subsequent oil products in the first 50% of the mixed oil concentration distribution map within the mixed oil concentration range 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 map is less than or equal to the theoretical total amount of preceding oil products, then the initial safety factor is increased by a preset increment, and the above steps S22-S24 are repeated until the condition of step S25 is no longer met, thus obtaining the maximum safety factor for the mixed oil re-blending in the transportation section.

[0042] The following specific examples will be used to explain steps S21 to S25:

[0043] Determine the maximum permissible concentration K of the preceding oil product blended into the following oil product. AB The maximum permissible concentration K of subsequent oil products blended with preceding oil products BA Then the concentration range of the mixed oil downloaded from each intermediate station is K. BA ~1-K AB .

[0044] Based on the calculated relationship between the upstream oil concentration and the downstream mixing volume corresponding to the transportation terminal in the pipeline branch, the oil mixing concentration distribution map and the mixing volume of each concentration are determined when the mixing section reaches the transportation terminal.

[0045] In this invention, the calculation relationship between the preceding oil concentration and the downstream mixed oil quantity corresponding to the final transportation station includes:

[0046] Concentration distribution formula:

[0047]

[0048]

[0049] D T =17.4VRe 2 / 3

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

[0051]

[0052] Or

[0053]

[0054] Among them, K A Let φ be the forward oil concentration, and Pe be a function. d Here, D is the Berkeley number, v is the fluid velocity, L1 is the mileage of the first intermediate station, and D is the fluid velocity. T Where is the turbulent diffusion coefficient, V is the average kinematic viscosity of the fluid, Re is the Reynolds number, C is the mixing length, α is the correction factor, Z is the concentration corresponding to the symmetrically cut mixing head, d is the pipe inner diameter, and C * To determine the mixing length without considering the impact of intermediate station mixing, C0 is the mixing length of the previous intermediate station, and L2 is the mileage of the corresponding intermediate station that is not the first intermediate station. C0 has a qualitative relationship with the safety factor.

[0055] For example, the smaller the safety factor, the larger C0; the larger the safety factor, the smaller C0.

[0056] It should be noted that the forward oil concentration and downstream mixing volume for the first intermediate station are obtained based on the following calculation relationship:

[0057] Concentration distribution formula:

[0058]

[0059]

[0060] D T =17.4VRe 2 / 3

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

[0062]

[0063] The following calculation relationship is used to determine the forward oil concentration and downstream mixing volume for the second intermediate station or the final transportation station:

[0064] Concentration distribution formula:

[0065]

[0066]

[0067] D T =17.4VRe 2 / 3

[0068]

[0069] Then, based on the oil mixing concentration distribution map at 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 within the oil mixing concentration range shown in the oil mixing concentration distribution map, and the total amount of preceding oil products contained in the last 50% of the oil mixture shown in the oil mixing concentration distribution map, that is, obtain the concentration within... The total amount of subsequent oil products contained in the blended oil, and the concentration obtained at... The total amount of subsequent oil products contained in the mixed oil.

[0070] Based on the preset storage tank volume and the maximum allowable concentration K of blending preceding oil product A with subsequent oil product B. AB The maximum permissible concentration (K) of subsequent oil products blended with preceding oil products. BA Determine the theoretical total amount of upstream and downstream oil products that can be diluted at the final transportation station using surplus indicators. This involves determining the pre-set storage tank volume and the maximum permissible concentration K of upstream oil product A mixed with downstream oil product B. AB The maximum permissible concentration (K) of subsequent oil products blended with preceding oil products. BA The product value is used as the theoretical total amount of oil products that the terminal transportation station can dilute by relying on surplus indicators.

[0071] If it is determined that the total amount of subsequent oil products in the first 50% of the mixed oil 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 is less than or equal to the theoretical total amount of preceding oil products, the initial safety factor is increased by a preset increment (e.g., gradually increasing by 0.1), and the above steps S21-S24 are repeated until the condition of step S25 is no longer met, and the maximum safety factor of the transportation section is obtained. This maximum safety factor is the most suitable safety factor.

[0072] Based on the above processing steps, the maximum safety factor for each transportation segment can be determined separately.

[0073] In this invention, the maximum safety factor for each transport segment is determined based on the environment of the pipeline branch, without fully considering the environment of the pipeline trunk. Therefore, it is necessary to verify and update the maximum safety factor for each transport segment to obtain various safety factors that conform to the overall pipeline.

[0074] In this invention, the maximum permissible concentration K of blending preceding oil product A into subsequent oil product B is determined. AB The maximum permissible concentration (K) of subsequent oil products blended with preceding oil products. BA The calculation relationship between the upstream oil concentration and the downstream mixing volume at the terminal station in the pipeline trunk line, the preset storage tank volume, and the maximum safety factor n for oil mixing in each transportation section. s Determine the maximum safety factor n for oil blending in each transportation segment after the update. s Among them, the calculated relationship between the upstream oil concentration and the downstream mixed oil volume corresponding to the terminal station in the pipeline trunk line is qualitatively related to the safety factor. In other words, the distribution map of mixed oil concentration at each station, determined by the calculated relationship, is affected by the safety factor.

[0075] The following is a detailed explanation of the process for updating the maximum safety factor for blending oil in each transportation segment:

[0076] S31, Based on the maximum permissible concentration K AB and maximum allowable concentration K BA Determine the corresponding oil mixing concentration range for each intermediate station;

[0077] S32. Based on the calculation relationship between the upstream oil concentration and the downstream mixing amount corresponding to the transportation terminal in the pipeline trunk, determine the oil mixing concentration distribution map and the mixing amount of each concentration when the mixing section reaches the transportation terminal; among them, the oil mixing concentration distribution map and the mixing amount of each concentration are negatively correlated with the safety factor.

[0078] S33. Based on the oil mixing 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 mixed oil in the oil mixing concentration distribution map and the total amount of preceding oil products contained in the last 50% of the mixed oil in the oil mixing concentration distribution map.

[0079] S34. Based on the preset storage tank volume and the maximum allowable concentration K of blending preceding oil product A with subsequent oil product B, AB The maximum permissible concentration (K) of subsequent oil products blended with preceding oil products. BA Determine the theoretical total amount of oil products that the terminal transportation station can dilute by relying on surplus indicators;

[0080] S35. When it is determined that the total amount of subsequent oil products in the first 50% of the mixed oil concentration distribution map within the mixed oil concentration range is greater than 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 map is greater than the theoretical total amount of preceding oil products, the maximum safety factor for the mixed oil re-mixing in the s-th transportation segment is reduced by a preset reduction amount, and the above steps S32-S34 are repeated until the condition of step S35 is no longer met, and the updated maximum safety factor for the mixed oil re-mixing in each transportation segment is obtained; wherein, if the maximum safety factor for the mixed oil re-mixing in the s-th transportation segment is reduced to a preset value and the condition of step S34 is still met, then the maximum safety factor for the mixed oil re-mixing in the (s+1)-th transportation segment is reduced by a preset reduction amount, and the above steps S32-S34 are repeated, where s is 1 to f.

[0081] Steps S31-S35 are based on the same principle as steps S21-S25. Step S35 will be explained in detail below. If the main pipeline can be completely mixed, the mixed oil flow rate and total mixed oil volume of each intermediate station will be calculated according to the initially determined maximum safety factor for mixed oil mixing in each transportation section.

[0082] If it is determined that the main pipeline cannot be completely mixed, then gradually decrease n1, where n1 is the safety factor corresponding to the first transport section. Repeat the above process of determining whether the main pipeline can be completely mixed until the condition for complete mixing at the end of the pipeline is met. At this point, calculate and record the updated n1. If the condition for complete mixing at the end of the transmission station is still not met even when n1 = 1, then gradually decrease n2, where n2 is the safety factor corresponding to the first pipeline branch. Repeat the above process. Continue in this manner until the condition for complete mixing at the end of the transmission station is met, or all safety factors are 1. Stop the calculation and record the mixed oil flow rate and total mixed oil volume at each station.

[0083] In this invention, the maximum safety factor n for the re-mixing of oil in each pipeline branch is updated. i The calculation relationship between the forward oil concentration and the mixed oil volume at each intermediate station capable of mixing oil in the main pipeline and branch pipelines is used to determine the mixed oil mixing flow rate and total mixed oil volume at each intermediate station, including:

[0084] According to the maximum allowable concentration K AB and maximum allowable concentration K BA Determine the corresponding oil mixing concentration range for each intermediate station;

[0085] Based on the transmission flow rates of the main pipeline and branch pipelines, the maximum safety factor corresponding to each intermediate station on the main pipeline upstream of the distribution station and each intermediate station on the corresponding branch pipeline, the calculation relationship between the upstream oil concentration and the downstream mixing amount corresponding to each intermediate station in the main pipeline and branch pipelines, the planned downstream volume of downstream oil product B, and the maximum allowable concentration K of upstream oil product mixed with downstream oil product. AB The maximum permissible concentration K of subsequent oil products blended into preceding oil products BA The concentration range of mixed oil is used to determine the mixed oil flow rate and total mixed oil volume at each intermediate station in the main pipeline and branch pipelines.

[0086] Furthermore, the calculation relationship between the forward oil concentration and the downstream mixing amount at each intermediate station on the pipeline trunk and branch line upstream of the distribution station, the maximum safety factor corresponding to each intermediate station on the pipeline branch line corresponding to each branch station, the forward oil concentration and downstream mixing amount corresponding to each intermediate station in the pipeline trunk and branch line, the planned downstream volume of downstream oil B, and the maximum allowable concentration K of forward oil mixed with downstream oil are all included. AB The maximum permissible concentration K of subsequent oil products blended into preceding oil products BA And determining the mixed oil discharge flow rate and total mixed oil discharge volume at each intermediate station in the main pipeline and branch pipelines within the mixed oil discharge concentration range, including:

[0087] Based on the calculated relationship between the concentration of upstream oil and the amount of mixed oil at each intermediate station in the pipeline trunk and branch lines, the planned amount of downstream oil B to be delivered, and the maximum allowable concentration K of upstream oil mixed with downstream oil. AB The maximum permissible concentration K of subsequent oil products blended into preceding oil products BA The mixture concentration range is defined as follows: the total amount of preceding oil and subsequent oil contained in the mixture within the specified concentration range; and the total amount of mixture within the auxiliary concentration range, wherein the auxiliary concentration range is defined as the range between a preset concentration and the maximum permissible concentration K of preceding oil mixed with subsequent oil. AB The numerical range between;

[0088] Establish the planned download volume of subsequent oil product B and the maximum allowable concentration K of subsequent oil product blended into preceding oil product. BA The relationship between the total amount of preceding oil products in the oil mixture, the total amount of subsequent oil products in the oil mixture, the total amount of oil mixture in the auxiliary concentration range, and the oil mixture ratio.

[0089] The adopted value for the oil mixing ratio is determined based on the aforementioned relationship.

[0090] The mixed oil discharge flow rate and total mixed oil discharge amount at each intermediate station in the pipeline trunk and branch lines are determined based on the transmission flow rate of the pipeline trunk and branch lines, as well as the maximum safety factor and the adopted value.

[0091] Furthermore, the relational expression includes:

[0092] R·V A ≤K BA ×(V+R·V B -V 混 )

[0093] Where V represents the planned download volume of subsequent oil product B, V A V represents the total amount of preceding oil products contained in the blend. B K represents the total amount of downstream oil products contained in the blend. BA R represents the maximum permissible concentration of a subsequent oil product blended with a preceding oil product, and V represents the blending ratio. 混 This refers to the total amount of mixed oil within the auxiliary concentration range.

[0094] Furthermore, determining the mixed oil discharge flow rate and total mixed oil discharge amount at each intermediate station in the pipeline trunk and branch lines based on the transmission flow rate of the pipeline trunk and branch lines, the maximum safety factor, and the adopted value includes:

[0095] Based on the transmission flow of the main pipeline and the transmission flow of the branch pipeline, as well as the maximum safety factor and the adopted value, the following calculation formula is used to determine the mixed oil discharge flow and total mixed oil discharge of each intermediate station in the main pipeline and the branch pipeline.

[0096]

[0097]

[0098] Among them, Q d To mix download traffic, V M R represents the total amount of mixed oil downloads, Q represents the proportion of mixed oil downloads, and V represents the transmission flow rate. A V represents the total amount of preceding oil products contained in the blend. B The total amount of downstream oil products contained in the blended oil is denoted as n, where n is the maximum safety factor.

[0099] In this invention, the transmission terminal can be divided into four segments, utilizing the 50,000 m of the transmission terminal. 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.

[0100] The present invention provides a method for treating blended oil in pipelines. Based on the oil concentration and blending volume at each station, and constrained by the calculated relationship between the preceding oil concentration and the following blending volume at each intermediate station and terminal station along the main pipeline and branches, a safety factor for full-line blending is determined for each pipeline branch. When the full-line blending conditions of the main pipeline are met, the safety factor for full-line blending of each pipeline branch is adjusted. Under the constraint of the adjusted safety factor, the required blending volume and total blending volume at each intermediate station along the main pipeline and branches are further obtained. This method achieves full-line blending while ensuring oil quality, thereby improving transportation efficiency.

[0101] 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.

[0102] Figure 3 A schematic diagram of a refined oil pipeline mixing treatment device provided by the present invention is shown below. Figure 3 The refined oil pipeline includes a main pipeline and branch pipelines. The main pipeline and branch pipelines intersect at distribution stations. The refined oil pipeline is divided into f+1 transportation sections by f distribution stations. Each transportation section corresponds to a safety factor for blending back into the oil. The transportation sections include: a transportation section consisting of intermediate stations on the main pipeline upstream of the first distribution station; an intermediate station on the main pipeline between the s-th and s-1-th distribution stations; an intermediate station on the branch pipeline corresponding to the s-th distribution station (s is 2 to f); and a transportation section consisting of intermediate stations and the terminal station on the main pipeline downstream of the f-th distribution station. The device includes a first calculation module 31, a second calculation module 32, and a processing module 33, wherein:

[0103] The first calculation module 31 is used to calculate the maximum allowable concentration K of blending preceding oil product A with subsequent oil product B. AB The maximum permissible concentration (K) of subsequent oil products blended with preceding oil products. BA The calculation relationship between the upstream oil concentration and the downstream mixing volume at the terminal station of each pipeline branch, and the preset storage tank volume, determine the maximum safety factor n for oil re-mixing in each transportation section. s ; s represents the number of transport segments;

[0104] The second calculation module 32 is used to calculate the maximum allowable concentration K of blending preceding oil product A with subsequent oil product B. AB The maximum permissible concentration (K) of subsequent oil products blended with preceding oil products. BA The calculation relationship between the upstream oil concentration and the downstream mixing volume at the terminal station in the pipeline trunk line, the preset storage tank volume, and the maximum safety factor n for oil mixing in each transportation section. sDetermine the maximum safety factor n for oil blending in each transportation segment after the update. s ;

[0105] Processing module 33 is used to adjust the maximum safety factor n for blending oil in each transportation segment according to the updated maximum safety factor n. s The calculation relationship between the forward oil concentration and the amount of mixed oil downloaded for each intermediate station in the main pipeline and branch pipeline that can download mixed oil is determined to determine the mixed oil download flow rate and total mixed oil download volume for each intermediate station.

[0106] 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.

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

[0108] This invention provides a refined oil pipeline blending treatment device. Based on the oil concentration and blending quantity corresponding to each station, and under the constraint of the calculation relationship between the forward oil concentration and the downstream blending quantity corresponding to each intermediate station and the final transportation station of the pipeline trunk and branches, a safety factor for full-line blending of each pipeline branch is determined. When the full-line blending conditions of the pipeline trunk are met, the safety factor for full-line blending of each pipeline branch is adjusted. Under the constraint of the adjusted safety factor, the required downstream blending quantity and total downstream blending quantity of each intermediate station on the pipeline trunk and branches are further obtained. This achieves full-line blending of oil while ensuring oil quality, thereby improving transportation efficiency.

[0109] Figure 4 An example is a schematic diagram of the physical structure of an electronic device, such as... Figure 4 As shown, the electronic device may include: a processor 41, a communication interface 42, a memory 43, and a communication bus 44, wherein the processor 41, the communication interface 42, and the memory 43 communicate with each other through the communication bus 44. The processor 41 can call logical instructions in the memory 43 to execute the following methods:

[0110] According to the maximum permissible concentration K of preceding oil product A being blended with subsequent oil product B. AB The maximum permissible concentration (K) of subsequent oil products blended with preceding oil products. BA The calculation relationship between the upstream oil concentration and the downstream mixing volume at the terminal station of each pipeline branch, and the preset storage tank volume, determine the maximum safety factor n for oil re-mixing in each transportation section. s ; s represents the number of transport segments;

[0111] According to the maximum permissible concentration K of preceding oil product A being blended with subsequent oil product B. AB The maximum permissible concentration (K) of subsequent oil products blended with preceding oil products. BA The calculation relationship between the upstream oil concentration and the downstream mixing volume at the terminal station in the pipeline trunk line, the preset storage tank volume, and the maximum safety factor n for oil mixing in each transportation section. s Determine the maximum safety factor n for oil blending in each transportation segment after the update. s ;

[0112] Based on the updated maximum safety factor n for oil blending in each transportation segment s The calculation relationship between the forward oil concentration and the amount of mixed oil downloaded for each intermediate station in the main pipeline and branch pipeline that can download mixed oil is determined to determine the mixed oil download flow rate and total mixed oil download volume for each intermediate station.

[0113] Furthermore, the logical instructions in the aforementioned memory 43 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.

[0114] 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:

[0115] According to the maximum permissible concentration K of preceding oil product A being blended with subsequent oil product B. AB The maximum permissible concentration (K) of subsequent oil products blended with preceding oil products. BA The calculation relationship between the upstream oil concentration and the downstream mixing volume at the terminal station of each pipeline branch, and the preset storage tank volume, determine the maximum safety factor n for oil re-mixing in each transportation section. s ; s represents the number of transport segments;

[0116] According to the maximum permissible concentration K of preceding oil product A being blended with subsequent oil product B. AB The maximum permissible concentration (K) of subsequent oil products blended with preceding oil products. BA The calculation relationship between the upstream oil concentration and the downstream mixing volume at the terminal station in the pipeline trunk line, the preset storage tank volume, and the maximum safety factor n for oil mixing in each transportation section. s Determine the maximum safety factor n for oil blending in each transportation segment after the update. s ;

[0117] Based on the updated maximum safety factor n for oil blending in each transportation segment s The calculation relationship between the forward oil concentration and the amount of mixed oil downloaded for each intermediate station in the main pipeline and branch pipeline that can download mixed oil is determined to determine the mixed oil download flow rate and total mixed oil download volume for each intermediate station.

[0118] 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:

[0119] According to the maximum permissible concentration K of preceding oil product A being blended with subsequent oil product B. AB The maximum permissible concentration (K) of subsequent oil products blended with preceding oil products. BA The calculation relationship between the upstream oil concentration and the downstream mixing volume at the terminal station of each pipeline branch, and the preset storage tank volume, determine the maximum safety factor n for oil re-mixing in each transportation section. s ; s represents the number of transport segments;

[0120] According to the maximum permissible concentration K of preceding oil product A being blended with subsequent oil product B. AB The maximum permissible concentration (K) of subsequent oil products blended with preceding oil products. BA The calculation relationship between the upstream oil concentration and the downstream mixing volume at the terminal station in the pipeline trunk line, the preset storage tank volume, and the maximum safety factor n for oil mixing in each transportation section. s Determine the maximum safety factor n for oil blending in each transportation segment after the update. s ;

[0121] Based on the updated maximum safety factor n for oil blending in each transportation segment s The calculation relationship between the forward oil concentration and the amount of mixed oil downloaded for each intermediate station in the main pipeline and branch pipeline that can download mixed oil is determined to determine the mixed oil download flow rate and total mixed oil download volume for each intermediate station.

[0122] 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.

[0123] 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 for treating mixed oil in a refined oil pipeline, characterized in that, The refined oil pipeline includes a main pipeline and branch pipelines, the main pipeline and the branch pipelines intersect at a distribution station, and the refined oil pipeline is... Each distribution station is divided into Each transportation segment corresponds to a safety factor for blending back into the oil. The transportation segments include: a segment consisting of an intermediate station on the main pipeline upstream of the first distribution station and an intermediate station on the corresponding branch pipeline; and a segment consisting of... The first distribution station and the first Intermediate stations on the pipeline trunk line between the distribution stations, and the first Each distribution station corresponds to an intermediate station on a pipeline branch line, forming a transportation section. 2~ and the The method comprises a transportation section consisting of intermediate stations and transportation terminals on the pipeline trunk line downstream of a distribution station, wherein the method includes: According to the oil quality After being blended into the oil product Maximum allowable concentration Maximum permissible concentration of subsequent oil products mixed with preceding oil products The calculation relationship between the upstream oil concentration and the downstream mixing volume at the terminal station in each pipeline branch, along with the preset storage tank volume, determines the maximum safety factor for oil re-mixing in each transportation section. ; Represents the number of transport segments; According to the oil quality After being blended into the oil product Maximum allowable concentration Maximum permissible concentration of subsequent oil products mixed with preceding oil products The calculation relationship between the upstream oil concentration and the downstream mixing volume at the terminal station in the pipeline trunk line, the preset storage tank volume, and the maximum safety factor for oil re-mixing in each transportation section. Determine the maximum safety factor for oil blending in each transportation segment after the update. ; Based on the updated maximum safety factor for oil blending in each transportation segment The calculation relationship between the forward oil concentration and the amount of mixed oil downloaded for each intermediate station in the main pipeline and branch pipeline that can download mixed oil is determined to determine the mixed oil download flow rate and the total amount of mixed oil downloaded for each intermediate station. According to the preceding oil products After being blended into the oil product Maximum allowable concentration Maximum permissible concentration of subsequent oil products mixed with preceding oil products The calculation relationship between the upstream oil concentration and the downstream mixing volume at the terminal station in each pipeline branch, along with the preset storage tank volume, determines the maximum safety factor for oil re-mixing in each transportation section. ,include: S21. Based on the maximum permissible concentration and maximum allowable concentration Determine the corresponding oil mixing concentration range for each intermediate station; S22. Based on the calculation relationship between the upstream oil concentration and the downstream mixing amount corresponding to the transportation terminal in the pipeline branch, determine the oil mixing concentration distribution map and the mixing amount of each concentration when the mixing section reaches the transportation terminal. Among them, the oil mixing concentration distribution map and the mixing amount of each concentration are negatively correlated with the safety factor. S23. Based on the oil concentration distribution map of the transportation terminal 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 mixed in the oil concentration distribution map within the oil concentration range, and the total amount of preceding oil products contained in the last 50% of the oil mixed in the oil concentration distribution map. S24. 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; S25. If the total amount of subsequent oil products in the first 50% of the mixed oil concentration distribution map within the mixed oil concentration range 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 map is less than or equal to the theoretical total amount of preceding oil products, then increase the initial safety factor by a preset increment, and repeat steps S22-S24 above; until the condition of step S25 is no longer met, the maximum safety factor for mixed oil re-blending in the transportation section is obtained. According to the preceding oil products After being blended into the oil product Maximum allowable concentration Maximum permissible concentration of subsequent oil products mixed with preceding oil products The calculation relationship between the upstream oil concentration and the downstream mixing volume at the terminal station in the pipeline trunk line, the preset storage tank volume, and the maximum safety factor for oil re-mixing in each transportation section. Determine the maximum safety factor for oil blending in each transportation segment after the update. ,in: S31, Based on the maximum permissible concentration and maximum allowable concentration Determine the corresponding oil mixing concentration range for each intermediate station; S32. Based on the calculation relationship between the upstream oil concentration and the downstream mixing amount corresponding to the transportation terminal in the pipeline trunk, determine the oil mixing concentration distribution map and the mixing amount of each concentration when the mixing section reaches the transportation terminal. Among them, the oil mixing concentration distribution map and the mixing amount of each concentration are negatively correlated with the safety factor. S33. Based on the oil mixing 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 mixed oil in the oil mixing concentration distribution map that is in the lower concentration range of the mixed oil, and the total amount of preceding oil products contained in the last 50% of the mixed oil in the oil mixing concentration distribution map. S34. 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; S35. When it is determined that the total amount of subsequent oil products contained in the first 50% of the mixed oil concentration range in the mixed oil concentration distribution diagram is greater than 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 concentration distribution diagram is greater than the theoretical total amount of preceding oil products, then the first... The maximum safety factor for blending and re-blending in each transportation segment is reduced according to the preset reduction amount, and the above steps S32-S34 are repeated until the condition of step S35 is no longer met, thus obtaining the updated maximum safety factor for blending and re-blending in each transportation segment; wherein, the first If the maximum safety factor for the re-blending of oil in the first transportation section is reduced to the preset value, and the condition of step S35 is still met, then for the first... The maximum safety factor for oil re-mixing in each transportation section is reduced according to the preset reduction amount, and then steps S32-S34 above are repeated, wherein... 1~ .

2. The method for treating mixed oil in refined oil pipelines according to claim 1, characterized in that, The maximum safety factor for blending back into the oil in each transport segment is updated. The calculation relationship between the forward oil concentration and the mixed oil quantity for each intermediate station capable of mixing oil in the main pipeline and branch pipelines is established to determine the mixed oil mixing flow rate and total mixed oil mixing quantity for each intermediate station, including: Based on the maximum allowable concentration and maximum allowable concentration Determine the corresponding oil mixing concentration range for each intermediate station; Based on the transmission flow rates of the main pipeline and branch pipelines, the maximum safety factor corresponding to the transportation section, the calculation relationship between the upstream oil concentration and the downstream mixing amount at each intermediate station in the main pipeline and branch pipelines, and the downstream oil... Planned download volume, maximum allowable concentration of oil products blended with oil products from upstream. The maximum permissible concentration of subsequent oil products blended with preceding oil products. In addition, the concentration range of mixed oil is determined to ascertain the mixed oil discharge flow rate and total mixed oil discharge volume at each intermediate station in the main pipeline and branch pipelines.

3. The method for treating mixed oil in refined oil pipelines according to claim 2, characterized in that, The calculation relationship between the forward oil concentration and the downstream mixing amount at each intermediate station in the pipeline trunk and branch lines is based on the transmission flow rate of the pipeline trunk and branch lines, the maximum safety factor corresponding to the transportation section, and the subsequent oil concentration. Planned download volume, maximum allowable concentration of oil products blended with oil products from upstream. The maximum permissible concentration of subsequent oil products blended with preceding oil products. In addition to the concentration range of mixed oil, the flow rate and total amount of mixed oil at each intermediate station in the main pipeline and branch pipelines are determined, including: Based on the calculation relationship between the upstream oil concentration and the downstream mixing amount at each intermediate station in the pipeline trunk and branch lines, the downstream oil... Planned download volume, maximum allowable concentration of oil products blended with oil products from upstream. The maximum permissible concentration of subsequent oil products blended with preceding oil products. The text discusses various aspects of oil blending, including the concentration ranges, the total amount of preceding and subsequent oils within a given concentration range, and the total amount of oil within an auxiliary concentration range. It also defines the preset concentration range and the maximum permissible concentration of preceding and subsequent oils mixed together. The numerical range between; Establish subsequent oil products The planned download volume and the maximum allowable concentration of subsequent oil products blended into preceding oil products. The relationship between the total amount of preceding oil products in the oil mixture, the total amount of subsequent oil products in the oil mixture, the total amount of oil mixture in the auxiliary concentration range, and the oil mixture ratio. The adopted value for the oil mixing ratio is determined based on the aforementioned relationship. Based on the transmission flow rate of the main pipeline, the transmission flow rate of the branch pipeline, the maximum safety factor, and the adopted value, determine the mixed oil discharge flow rate and the total mixed oil discharge volume of each intermediate station in the main pipeline and the branch pipeline.

4. The method for treating mixed oil in refined oil pipelines according to claim 3, characterized in that, The relational expressions include: ; in, For subsequent oil products The planned download volume, This refers to the total amount of preceding oil products contained in the blend. This refers to the total amount of downstream oil products contained in the blend. The maximum permissible concentration for blending subsequent oil products into preceding oil products. The ratio of mixed oil to download. This refers to the total amount of mixed oil within the auxiliary concentration range.

5. The method for treating mixed oil in refined oil pipelines according to claim 4, characterized in that, The determination of the mixed oil discharge flow rate and total mixed oil discharge amount at each intermediate station in the pipeline trunk and branch lines based on the transmission flow rate of the pipeline trunk, the transmission flow rate of the pipeline branch lines, the maximum safety factor, and the adopted value includes: Based on the transmission flow rate of the pipeline trunk line, the transmission flow rate of the pipeline branch line, the maximum safety factor, and the adopted value, the following calculation formula is used to determine the mixed oil download flow rate and the total mixed oil download volume of each intermediate station in the pipeline trunk line and pipeline branch line; ; ; in, To mix download traffic, For the total download volume of mixed oil, The ratio of mixed oil to download. To transmit traffic, This refers to the total amount of preceding oil products contained in the blend. This refers to the total amount of downstream oil products contained in the blend. This represents the maximum safety factor.

6. A refined oil pipeline mixing treatment apparatus based on the refined oil pipeline mixing treatment method according to any one of claims 1-5, characterized in that, The refined oil pipeline includes a main pipeline and branch pipelines, the main pipeline and the branch pipelines intersect at a distribution station, and the refined oil pipeline is... Each distribution station is divided into There are several transportation sections, each corresponding to a safety factor for blending back into the oil. Each transportation section includes: a section consisting of intermediate stations on the pipeline upstream of the first distribution station; a section consisting of... The first distribution station and the first Intermediate stations on the pipeline trunk line between the distribution stations, and the first Each distribution station corresponds to an intermediate station on a pipeline branch line, forming a transportation section. 2~ and the The device comprises a transportation section consisting of intermediate stations and terminal stations on the pipeline downstream of a distribution station, and includes: The first calculation module is used to calculate based on the preceding oil quality. After being blended into the oil product Maximum allowable concentration Maximum permissible concentration of subsequent oil products mixed with preceding oil products The calculation relationship between the upstream oil concentration and the downstream mixing volume at the terminal station in each pipeline branch, along with the preset storage tank volume, determines the maximum safety factor for oil re-mixing in each transportation section. ; Represents the number of transport segments; The second calculation module is used to calculate based on the preceding oil quality. After being blended into the oil product Maximum allowable concentration Maximum permissible concentration of subsequent oil products mixed with preceding oil products The calculation relationship between the upstream oil concentration and the downstream mixing volume at the terminal station in the pipeline trunk line, the preset storage tank volume, and the maximum safety factor for oil re-mixing in each transportation section. Determine the maximum safety factor for oil blending in each transportation segment after the update. ; The processing module is used to adjust the maximum safety factor for blending oil in each transport segment according to the updated maximum safety factor. The calculation relationship between the forward oil concentration and the amount of mixed oil downloaded for each intermediate station in the main pipeline and branch pipeline that can download mixed oil is determined to determine the mixed oil download flow rate and total mixed oil download volume for each intermediate station.

7. An electronic device comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, characterized in that, When the processor executes the program, it implements the steps of the refined oil pipeline mixing treatment method as described in any one of claims 1 to 5.

8. A non-transitory computer-readable storage medium having a computer program stored thereon, characterized in that, When executed by a processor, the computer program implements the steps of the refined oil pipeline mixing treatment method as described in any one of claims 1 to 5.

Citation Information

Patent Citations

  • Mixed oil treatment method and device for product oil pipeline, electronic equipment and storage medium

    CN116070056A