A method and apparatus for determining the differential oil transport volume in a refined oil pipeline

By acquiring oil transportation data and calculating the amount of mixed oil, and using the quantity and density of oil to determine the oil transportation difference, the problem of inaccurate oil transportation difference in refined oil pipelines was solved, and accurate statistical analysis of transportation process data was achieved.

CN119554571BActive Publication Date: 2025-10-28PIPECHINA SOUTH CHINA CO +1
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202411467247.4
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-10-21
Publication Date
2025-10-28
Estimated Expiration
2044-10-21

AI Technical Summary

Technical Problem

Existing technologies cannot accurately determine the differential oil transport volume in pipelines, which affects the accuracy of statistical analysis of data during the transport process.

Method used

By acquiring oil transportation data, the amount of mixed oil is calculated using the quantity and density of oil, and the difference in oil transportation is determined based on the input, output and mixed oil amounts. The data processing device is used for precise calculation.

Benefits of technology

It improves the accuracy of refined oil delivery differentials, solves the problem of large delivery differential errors, and supports accurate statistical analysis of subsequent transportation process data.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119554571B_ABST
    Figure CN119554571B_ABST
Patent Text Reader

Abstract

This invention provides a method and apparatus for determining the differential oil transport volume in a refined oil pipeline, relating to the field of refined oil pipeline transportation technology. The method provided by this invention acquires oil transport data, including the input and output volumes of oil in each batch transported through a target pipeline in a target transport sequence within a target period, and the quantity of mixed oil between any two adjacent batches. Based on the quantity and density of the mixed oil between any two adjacent batches, the method determines the mixing quantity corresponding to the target batch of oil, which is the sum of the mixing quantities of the two mixing zones before and after the target batch. Finally, based on the input, output, and mixing quantity of the target batch of oil, the method determines the differential oil transport volume corresponding to the target batch. Compared to related technologies that determine the differential oil transport volume based on oil input, output, and pipeline inventory, the method provided by this invention improves the accuracy of refined oil transport differentials and solves the problem of large transport differential errors.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention relates to the field of refined oil pipeline transportation technology, and in particular to a method and apparatus for determining the differential oil transport volume in refined oil pipelines. Background Technology

[0002] Refined oil products are produced through the processing of crude oil and can be categorized into petroleum fuels, petroleum solvents and chemical raw materials, lubricants, paraffin wax, petroleum asphalt, and petroleum coke. Pipeline transportation is one of the most important modes of transporting refined oil products. Pipeline transportation generally uses a sequential delivery method to continuously transport multiple batches of different types of oil products to improve transportation efficiency. During the transportation of refined oil products, it is usually necessary to determine the oil transport differential (referred to as transport differential), which is the difference between the input and output of refined oil products. The transport differential is an important economic indicator for evaluating the refined oil transportation task.

[0003] In related technologies, the corresponding transmission difference is usually determined by the amount of oil output from the pipeline, the amount of oil sold from the pipeline, and the amount of oil stored in the pipeline within a time period. However, due to the long length of the pipeline and the fact that the amount of oil stored in the pipeline is related to multiple parameters such as the pipeline's physical capacity, oil interface, temperature, pressure, and density, technicians cannot accurately determine the amount of oil stored in the pipeline within a time period. This makes it impossible to accurately determine the transmission difference, which in turn affects the accuracy of statistical analysis of the finished oil transportation process data.

[0004] Therefore, there is an urgent need for a method and device for determining the differential oil transport volume in pipelines, so as to accurately determine the differential oil transport volume and provide support for the statistical analysis of subsequent refined oil transport process data. Summary of the Invention

[0005] This invention provides a method and apparatus for determining the differential oil transport volume in a pipeline, accurately determining the differential oil transport volume, and thus providing support for the statistical analysis of subsequent refined oil transport process data.

[0006] To achieve the above objectives, the embodiments of the present invention adopt the following technical solutions:

[0007] In a first aspect, a method for determining the differential oil transport volume in a refined oil pipeline is provided. The method includes: acquiring oil transport data, which includes the input and output volumes of oil in each batch of multiple batches transported through a target pipeline in a target transport sequence within a target period, and the quantity of mixed oil between any two adjacent batches, wherein the input volume is the quantity of oil entering the target pipeline, and the output volume is the quantity of oil leaving the target pipeline; determining the mixing quantity corresponding to the target batch of oil based on the quantity and density of the mixed oil between any two adjacent batches, wherein the mixing quantity is the sum of the mixing quantities corresponding to the two mixing zones before and after the target batch, and the target batch is any one of multiple batches; and determining the differential oil transport volume corresponding to the target batch of oil based on the input, output, and mixing quantity corresponding to the target batch of oil.

[0008] In one possible implementation of the first aspect, the method further includes: determining the sum of the oil transfer difference corresponding to each batch of oil in multiple batches as the oil transfer difference corresponding to the target cycle.

[0009] In one possible implementation of the first aspect, determining the mixing quantity of the target batch of oil based on the quantity and density of the mixed oil between any two adjacent batches includes: determining a first mixing quantity and a second mixing quantity of the target batch of oil based on the quantity and density of the mixed oil between any two adjacent batches, wherein the first mixing quantity is the mixing quantity between the oil of the batch preceding the target batch in the target transport sequence and the oil of the target batch, and the second mixing quantity is the mixing quantity between the oil of the batch following the target batch in the target transport sequence and the oil of the target batch; and determining the mixing quantity of the target batch of oil as the sum of the first mixing quantity and the second mixing quantity of the target batch of oil.

[0010] In one possible implementation of the first aspect, the formula for determining the first blending quantity corresponding to the target batch of oil is:

[0011] S1 = h1 * w1;

[0012]

[0013] Where S1 is the first blending quantity corresponding to the target batch of oil, h1 is the quantity of oil in the blend between the target batch and the previous batch of oil, w1 is the mass fraction of the target batch of oil in the blend between the target batch and the previous batch of oil, and ρ w1 ρ1 represents the density of the target batch of oil and the previous batch of oil, and ρ2 represents the density of the previous batch of oil.

[0014] The formula for determining the second blending amount corresponding to the target batch of oil is:

[0015] S2 = h2 * w2;

[0016]

[0017] Where S2 is the second blending quantity corresponding to the target batch of oil, h2 is the quantity of oil in the blend between the target batch and the subsequent batch of oil; w2 is the mass fraction of the target batch of oil in the blend between the target batch and the subsequent batch of oil; ρ w2 ρ1 represents the density of the target batch of oil and the subsequent batch of oil, and ρ3 represents the density of the subsequent batch of oil.

[0018] In one possible implementation of the first aspect, determining the oil transfer difference corresponding to the target batch of oil based on the input quantity, output quantity, and blending quantity corresponding to the target batch of oil includes: determining the sum of the output quantity and blending quantity corresponding to the target batch of oil; and determining the difference between the input quantity and the sum of the output quantity and blending quantity corresponding to the target batch of oil as the oil transfer difference corresponding to each batch of oil.

[0019] The beneficial effects of this invention are as follows: The method provided by this invention acquires oil transportation data, which includes the input and output quantities of oil in each batch of multiple batches transported through the target pipeline in a target transportation sequence within a target period, and the quantity of mixed oil between any two adjacent batches; determines the mixing quantity corresponding to the target batch of oil based on the quantity and density of the mixed oil between any two adjacent batches, where the mixing quantity is the sum of the mixing quantities corresponding to the two mixing zones before and after the target batch; and determines the oil transportation difference corresponding to the target batch of oil based on the input, output, and mixing quantity. In related technologies, the oil transportation difference is usually determined by the oil input, output, and pipeline inventory. However, since technicians cannot accurately determine the pipeline inventory of oil, the determined oil transportation difference is inaccurate. The method provided by this invention can quickly improve the accuracy of refined oil transportation difference and solve the problem of large errors in oil transportation difference.

[0020] Secondly, embodiments of the present invention provide a device for determining the differential oil transport volume in a refined oil pipeline. The device includes: a data acquisition unit for acquiring oil transport data, which includes the input and output volumes of oil in each batch of multiple batches transported through a target pipeline in a target transport sequence within a target period, and the quantity of mixed oil between any two adjacent batches, wherein the input volume is the quantity of oil entering the target pipeline, and the output volume is the quantity of oil leaving the target pipeline; a quantity determination unit for determining the mixing quantity corresponding to the target batch of oil based on the quantity and density of the mixed oil between any two adjacent batches, wherein the mixing quantity is the sum of the mixing quantities corresponding to the two mixing zones before and after the target batch, and the target batch is any one of multiple batches; and a differential transport volume determination unit for determining the differential oil transport volume corresponding to the target batch of oil based on the input, output, and mixing quantity corresponding to the target batch of oil.

[0021] In one possible implementation of the second aspect, the difference determination unit is further configured to: determine the difference in oil delivery corresponding to each batch of oil in multiple batches as the difference in oil delivery corresponding to the target period.

[0022] In one possible implementation of the second aspect, the quantity determination unit is specifically used to: determine the first and second mixing quantities corresponding to the target batch of oil based on the quantity and density of the mixed oil products between any two adjacent batches, wherein the first mixing quantity is the amount of oil products belonging to the target batch between the oil products of the preceding batch and the target batch in the target conveying sequence, and the second mixing quantity is the amount of oil products belonging to the target batch between the oil products of the following batch and the target batch in the target conveying sequence; and the sum of the first and second mixing quantities corresponding to the target batch of oil products is determined as the mixing quantity corresponding to the target batch of oil products.

[0023] In one possible implementation of the second aspect, the formula for determining the first blending quantity corresponding to the target batch of oil is:

[0024] S1 = h1 * w1;

[0025]

[0026] Where S1 is the first blending quantity corresponding to the target batch of oil, h1 is the quantity of oil in the blend between the target batch and the previous batch of oil, w1 is the mass fraction of the target batch of oil in the blend between the target batch and the previous batch of oil, and ρ w1 ρ1 represents the density of the target batch of oil and the previous batch of oil, and ρ2 represents the density of the previous batch of oil.

[0027] In other embodiments, the formula for determining the second blending amount corresponding to the target batch of oil is:

[0028] S2 = h2 * w2;

[0029]

[0030] Where S2 is the second blending quantity corresponding to the target batch of oil, h2 is the quantity of oil in the blend between the target batch and the subsequent batch of oil; w2 is the mass fraction of the target batch of oil in the blend between the target batch and the subsequent batch of oil; ρ w2 ρ1 represents the density of the target batch of oil and the subsequent batch of oil, and ρ3 represents the density of the subsequent batch of oil.

[0031] In one possible implementation of the second aspect, the difference determination unit is specifically used to: determine the sum of the output quantity and the mixed quantity corresponding to the target batch of oil; and determine the difference between the input quantity and the sum of the output quantity and the mixed quantity corresponding to the target batch of oil as the difference quantity corresponding to each batch of oil.

[0032] Thirdly, an electronic device is provided, the electronic device including a memory and one or more processors; the memory is coupled to the processors; wherein the memory stores computer program code, the computer program code including computer instructions, which, when executed by the processor, cause the electronic device to perform the method as described in any implementation of the first aspect.

[0033] Fourthly, a computer-readable storage medium is provided, including computer instructions that, when executed on an electronic device, cause the electronic device to perform a method as described in any implementation of the first aspect.

[0034] Fifthly, a computer program product is provided that, when run on a computer, causes the computer to perform the methods as described in any implementation of the first aspect.

[0035] Understandably, the beneficial effects achieved by the apparatus of the second aspect, the electronic device of the third aspect, the computer-readable storage medium of the fourth aspect, and the computer program product of the fifth aspect provided above can be referred to the beneficial effects of the first aspect and any possible design thereof, which will not be repeated here. Attached Figure Description

[0036] Figure 1 This is a schematic diagram of the hardware structure of an electronic device according to an embodiment of the present invention;

[0037] Figure 2This is a flowchart illustrating a method for determining the differential oil transport volume in a pipeline according to an embodiment of the present invention;

[0038] Figure 3 This is a schematic diagram illustrating an oil transportation method according to an embodiment of the present invention;

[0039] Figure 4 This is a flowchart illustrating another method for determining the differential oil transport volume in a pipeline, as shown in an embodiment of the present invention.

[0040] Figure 5 This is a flowchart illustrating another method for determining the differential oil transport volume in a refined oil pipeline, as shown in an embodiment of the present invention.

[0041] Figure 6 This is a schematic diagram of the hardware structure of a determining device according to an embodiment of the present invention. Detailed Implementation

[0042] The technical solutions of the embodiments of the present invention will be described below with reference to the accompanying drawings. In the description of the present invention, unless otherwise stated, " / " indicates that the objects before and after are in an "or" relationship; for example, A / B can represent A or B. "And / or" in the present invention is merely a description of the relationship between the related objects, indicating that three relationships can exist. For example, A and / or B can represent: A existing alone, A and B existing simultaneously, and B existing alone, where A and B can be singular or plural. Furthermore, in the description of the present invention, unless otherwise stated, "multiple" refers to two or more. "At least one of the following" or similar expressions refer to any combination of these items, including any combination of single or plural items.

[0043] Furthermore, to facilitate a clear description of the technical solutions of the embodiments of the present invention, the terms "first" and "second" are used in the embodiments of the present invention to distinguish identical or similar items with essentially the same function and effect. Those skilled in the art will understand that the terms "first" and "second" do not limit the quantity or execution order, and the terms "first" and "second" are not necessarily different.

[0044] In this embodiment of the invention, the terms "exemplary" or "for example" are used to indicate that something is being described as an example, illustration, or illustration. Any embodiment or design described as "exemplary" or "for example" in this embodiment of the invention should not be construed as being more preferred or advantageous than other embodiments or designs. Specifically, the use of terms such as "exemplary" or "for example" is intended to present the relevant concepts in a concrete manner for ease of understanding.

[0045] Refined oil products are produced through the processing of crude oil and can be categorized into petroleum fuels, petroleum solvents and chemical raw materials, lubricants, paraffin wax, petroleum asphalt, and petroleum coke. Pipeline transportation is one of the most important modes of transporting refined oil products. Pipeline transportation generally uses a sequential transport method to continuously transport multiple batches of different types of oil products to improve transportation efficiency. Currently, refined oil products are typically transported via long-distance pipelines to ensure the quality of each batch. During the transportation of refined oil products, it is usually necessary to determine the transport difference (referred to as transport difference), which is the difference between the input and output of refined oil products. The transport difference is used to determine the amount of refined oil product loss during transportation and is an important economic indicator for evaluating refined oil product transportation tasks.

[0046] In related technologies, the corresponding transmission difference is usually determined by the amount of oil output from the pipeline, the amount of oil sold from the pipeline, and the amount of oil stored in the pipeline within a time period. However, due to the long length of the pipeline and the fact that the amount of oil stored in the pipeline is related to multiple parameters such as the pipeline's physical capacity, oil interface, temperature, pressure, and density, technicians cannot accurately determine the amount of oil stored in the pipeline within a time period. This makes it impossible to accurately determine the transmission difference, which in turn affects the accuracy of statistical analysis of the finished oil transportation process data.

[0047] Therefore, there is an urgent need for a method and device for determining the pipeline transport differential of refined oil products, so as to accurately determine the transport differential of refined oil products and provide support for the statistical analysis of subsequent refined oil product transportation process data.

[0048] In view of this, embodiments of the present invention provide a method for determining the differential oil transport volume in a refined oil pipeline. The method includes: acquiring oil transport data, which includes the input and output volumes of oil in each batch of multiple batches transported through a target pipeline in a target period according to a target transport sequence, and the quantity of mixed oil between any two adjacent batches, wherein the input volume is the quantity of oil entering the target pipeline, and the output volume is the quantity of oil leaving the target pipeline; determining the mixing quantity corresponding to the target batch of oil based on the quantity and density of the mixed oil between any two adjacent batches, wherein the mixing quantity is the sum of the mixing quantities corresponding to the two mixing zones before and after the target batch, and the target batch is any one of multiple batches; and determining the differential oil transport volume corresponding to the target batch of oil based on the input, output, and mixing quantity corresponding to the target batch of oil.

[0049] The method provided in this invention acquires oil transportation data, including the input and output volumes of each batch of oil transported in a target pipeline according to a target transportation sequence within a target period, and the quantity of mixed oil between any two adjacent batches. Based on the quantity and density of the mixed oil between any two adjacent batches, the method determines the mixing quantity corresponding to the target batch of oil, where the mixing quantity is the quantity of oil included in the mixed oil. Finally, based on the input, output, and mixing quantity of the target batch of oil, the method determines the corresponding oil transport differential. In related technologies, the oil transport differential is typically determined by the oil input volume, output volume, and pipeline inventory. However, since technicians cannot accurately determine the pipeline inventory of oil, the determined oil transport differential is inaccurate. The method provided in this invention can improve the accuracy of the refined oil transport differential and solve the problem of large errors in the oil transport differential.

[0050] In some embodiments, the method for determining the differential oil transport volume in a refined oil pipeline provided by the present invention can be executed by a device 100 for determining the differential oil transport volume in a refined oil pipeline (hereinafter referred to as the determining device 100). As an example, the determining device 100 can be any electronic device 200 with data processing capabilities, such as a general-purpose computer, personal computer, laptop computer, switch, or tablet computer, etc. The specific implementation of the purchasing list determining device 100 is not limited here.

[0051] Figure 1 A schematic diagram of the hardware structure of an electronic device provided in an embodiment of the present invention is shown. The electronic device 200 includes a processor 210, a memory 220, and a communication interface 230.

[0052] Processor 210 may include one or more processing cores. Processor 210 connects to various parts within electronic device 200 using various interfaces and lines, and performs various functions and processes data of electronic device 200 by running or executing instructions, programs, code sets, or instruction sets stored in memory 220, and by calling data stored in memory 220. Optionally, processor 210 may be implemented using at least one of the following hardware forms: Central Processing Unit (CPU), Graphics Processing Unit (GPU), Digital Signal Processing (DSP), Field-Programmable Gate Array (FPGA), and Programmable Logic Array (PLA).

[0053] The memory 220 may include random access memory (RAM) or read-only memory (ROM). Optionally, the memory 220 may include a non-transitory computer-readable storage medium. The memory 220 may be used to store instructions, programs, code, code sets, or instruction sets. The memory 220 may include a stored program area. This stored program area may store instructions for implementing an operating system, instructions for implementing at least one function (such as data acquisition functions, data processing functions, etc.), and instructions for implementing the various method embodiments described above.

[0054] The communication interface 230 is used to communicate with other devices, equipment, or communication networks, such as data storage devices, image processing devices, or Ethernet, wireless access networks (RAN), wireless local area networks (WLAN), etc.

[0055] In terms of physical implementation, the aforementioned devices (such as processor 210, memory 220, and communication interface 230) can each be devices within the same device (such as a laptop computer). Alternatively, at least two of these devices can be located within the same device, i.e., as different devices within the same device, similar to the deployment of devices or components in a distributed system.

[0056] It is understood that the structure illustrated in this embodiment does not constitute a specific limitation on the electronic device 200. In other embodiments of the present invention, the electronic device 200 may include more or fewer components than illustrated, or combine some components, or split some components, or have different component arrangements. The illustrated components may be implemented in hardware, software, or a combination of software and hardware.

[0057] The method for determining the differential oil transport volume in a pipeline provided by the present invention will be described below with reference to the accompanying drawings.

[0058] Figure 2 This is a flowchart illustrating a method for determining the differential oil transport volume in a refined oil pipeline, provided as an embodiment of the present invention. Optionally, this method can be... Figure 1 The illustrated electronic device 200 performs the operation, that is, the determining device 100 performs the operation. The method may include the following steps:

[0059] S1. Obtain oil transportation data.

[0060] The oil transportation data includes the input and output quantities of each batch of oil transported through the target pipeline in the target transportation sequence within the target period, as well as the quantity of mixed oil between any two adjacent batches. The input quantity is the quantity of oil entering the target pipeline, and the output quantity is the quantity of oil leaving the target pipeline.

[0061] Specifically, the input volume of each batch of oil is the sum of the oil injected by each batch of oil from multiple injection metering stations connected to the pipeline, and the output volume of each batch of oil is the sum of the oil output from each batch of oil from multiple distribution metering stations connected to the pipeline.

[0062] For example, see Figure 3 , Figure 3 This is a schematic diagram of oil transportation according to an embodiment of the present invention. Five batches of oil are transported in the target pipeline in the target transportation sequence, namely batch 1, batch 2, batch 3, batch 4 and batch 5. There are mixed oil zones between any two adjacent batches of oil, namely mixed oil zone 1, mixed oil zone 2, mixed oil zone 3 and mixed oil zone 4.

[0063] It should be understood that multiple batches of oil products can be of the same or different types, for example, gasoline or diesel. If two adjacent batches of oil products are of the same type but different grades, the quantity of the mixed oil products between the two adjacent batches is 0.

[0064] It should be noted that the embodiments of the present invention do not impose any particular limitation on the specific type of oil, and can be any type of oil that needs to pass through the target pipeline.

[0065] S2. Determine the amount of mixed oil corresponding to the target batch based on the quantity and density of the mixed oil between any two adjacent batches. The amount of mixed oil is the sum of the amounts of mixed oil corresponding to the two mixing zones before and after the target batch.

[0066] Specifically, each blending zone includes two different batches of oil, with the target batch being any one of multiple batches. For ease of understanding, the following example uses batch 3 as the target batch for explanation. The oil delivery data includes the input and output volumes of each batch of oil, as well as the quantity of mixed oil in each of the four blending zones. Combined with... Figure 3 When the target batch is batch 3, the amount of oil mixed in the target batch is the amount of oil included in mixing zone 2 and mixing zone 3.

[0067] In one possible implementation, see Figure 4 The above S2 specifically includes the following steps:

[0068] S21. Determine the first and second blending quantities of the target batch of oil based on the quantity and density of the blended oil between any two adjacent batches.

[0069] The first blending quantity is the amount of oil that belongs to the target batch between the oil products of the previous batch and the oil products of the target batch in the target delivery sequence, and the second blending quantity is the amount of oil that belongs to the target batch between the oil products of the next batch and the oil products of the target batch in the target delivery sequence.

[0070] Referring to the example above, when the target batch is batch 3, the first mixing quantity is the amount of oil mixed between batch 2 and batch 3. That is, the quantity of oil belonging to batch 3 in mixing zone 2. The second mixing quantity is the amount of oil mixed between batch 4 and batch 3. That is, the quantity of oil belonging to batch 3 in mixing zone 3.

[0071] S22. The sum of the first blending amount and the second blending amount corresponding to the target batch of oil is determined as the blending amount corresponding to the target batch of oil.

[0072] In some embodiments, the formula for determining the first blending amount corresponding to the target batch of oil is:

[0073] S1 = h1 * w1;

[0074]

[0075] Where S1 is the first blending quantity corresponding to the target batch of oil, h1 is the quantity of oil in the blend between the target batch and the previous batch of oil, w1 is the mass fraction of the target batch of oil in the blend between the target batch and the previous batch of oil, and ρ w1 ρ1 represents the density of the target batch of oil and the previous batch of oil, and ρ2 represents the density of the previous batch of oil.

[0076] In other embodiments, the formula for determining the second blending amount corresponding to the target batch of oil is:

[0077] S2 = h2 * w2;

[0078]

[0079] Where S2 is the second blending quantity corresponding to the target batch of oil, h2 is the quantity of oil in the blend between the target batch and the subsequent batch of oil; w2 is the mass fraction of the target batch of oil in the blend between the target batch and the subsequent batch of oil; ρ w2ρ1 represents the density of the target batch of oil and the subsequent batch of oil, and ρ3 represents the density of the subsequent batch of oil.

[0080] Based on the above example, when batch 3 is diesel and batch 2 is gasoline, the formula for determining the first blending quantity corresponding to batch 3 is:

[0081] S1 = h 混 *w1;

[0082]

[0083] Where S1 is the first blending amount corresponding to batch 3, h 混 ρ represents the quantity of oil in blending zone 2 between batch 3 and batch 2; w1 represents the mass fraction of batch 2 oil in blending zone 2; ρ w1 ρ1 is the average density of oil in blending zone 2, ρ2 is the density of oil in batch 3, and ρ3 is the density of oil in batch 3.

[0084] S3. Determine the oil transfer difference corresponding to the target batch of oil based on the input, output and mixing quantities of the target batch of oil.

[0085] In one possible implementation, see Figure 5 The above S3 specifically includes the following steps:

[0086] S31. Determine the sum of the output quantity and the blending quantity corresponding to the target batch of oil;

[0087] S32. The difference between the sum of the input quantity, output quantity and mixed quantity of the target batch of oil is determined as the oil transfer difference for each batch of oil.

[0088] In one possible implementation, the formula for determining the transport differential corresponding to the target batch of oil is:

[0089] Δm x =∑mi x -(∑mo x +m hx );

[0090] Where, Δm x ∑mi represents the difference in oil transport volume corresponding to the target batch of oil. x ∑mo is the input quantity corresponding to the target batch of oil. x The output quantity corresponding to the target batch of oil; m hx This refers to the amount of blended oil corresponding to the target batch of oil.

[0091] Furthermore, the method provided in this embodiment of the invention also includes the following steps:

[0092] Determine the batch transfer rate corresponding to the target batch of oil.

[0093] Among them, the batch loss rate m x The formula for determining it is:

[0094] m x =(Δm) x / ∑mi x )*100%;

[0095] Optionally, the method provided in this embodiment of the invention further includes the following steps:

[0096] S4. The sum of the oil transfer difference corresponding to each batch of oil in multiple batches is determined as the oil transfer difference corresponding to the target cycle.

[0097] For example, the oil transportation data includes the input and output of oil in each of the five batches transported through the target pipeline in the target transportation sequence from April to May 2024, as well as the quantity of mixed oil between any two adjacent batches. The transportation difference of each batch of oil is determined in turn, and the sum of the transportation differences of the five batches of oil is determined as the transportation difference of the corresponding oil in April to May 2024.

[0098] It should be understood that the target batch is any one of multiple batches. That is, the method for determining the oil transfer difference corresponding to each batch of oil is the same as the method for determining the oil transfer difference corresponding to the target batch of oil, which will not be repeated here.

[0099] As shown in S1-S4, the method provided by this embodiment of the invention acquires oil transportation data, which includes the input and output quantities of oil in each batch of multiple batches transported through the target pipeline in a target transportation sequence within a target period, and the quantity of mixed oil between any two adjacent batches. Based on the quantity and density of the mixed oil between any two adjacent batches, the method determines the mixing quantity corresponding to the target batch of oil, which is the sum of the mixing quantities corresponding to the two mixing zones before and after the target batch. Finally, based on the input, output, and mixing quantity of the target batch of oil, the method determines the oil transportation difference corresponding to the target batch of oil. In related technologies, the oil transportation difference is typically determined by the oil input, output, and pipeline inventory. However, since technicians cannot accurately determine the pipeline inventory of oil, the determined oil transportation difference is inaccurate. The method provided by this embodiment of the invention can improve the accuracy of the refined oil transportation difference and solve the problem of large errors in the oil transportation difference.

[0100] The foregoing mainly describes the solutions of the embodiments of the present invention from a methodological perspective. It is understood that, in order to achieve the above-mentioned functions, the determining device includes at least one of the hardware structures and software modules corresponding to the execution of each function. Those skilled in the art should readily recognize that, in conjunction with the units and algorithm steps of the various examples described in the embodiments disclosed herein, the embodiments of the present invention can be implemented in hardware or a combination of hardware and computer software. Whether a function is executed in hardware or by computer software driving hardware depends on the specific application and design constraints of the technical solution. Those skilled in the art can use different methods to implement the described functions for each specific application, but such implementation should not be considered beyond the scope of the embodiments of the present invention.

[0101] In this embodiment of the invention, the determining device can be divided into functional units according to the above method example. For example, the determining device can be divided into functional units corresponding to various functions, or two or more functions can be integrated into one processing unit. The integrated unit can be implemented in hardware or as a software functional unit. It should be noted that the unit division in this embodiment of the invention is illustrative and only represents one logical functional division; other division methods may be used in actual implementation.

[0102] For example, Figure 6 A schematic diagram of the hardware structure of a determining device provided in an embodiment of the present invention is shown. The determining device 100 includes: a data acquisition unit 610, used to acquire oil transportation data, the oil transportation data including the input amount, output amount, and quantity of mixed oil between any two adjacent batches of oil transported through a target pipeline in a target period according to a target transportation sequence; a quantity determining unit 620, used to determine the mixing amount corresponding to the target batch of oil based on the quantity and density of mixed oil between any two adjacent batches, the mixing amount being the sum of the mixing amounts corresponding to the two mixing zones before and after the target batch, the target batch being any one of the multiple batches; and a transportation difference determining unit 630, used to determine the transportation difference corresponding to the target batch of oil based on the input amount, output amount, and mixing amount corresponding to the target batch of oil.

[0103] Optionally, the difference determination unit 630 is further configured to: sum the difference in oil transfer amounts corresponding to each batch of oil in multiple batches to determine the difference in oil transfer amounts corresponding to the target period.

[0104] Optionally, the quantity determination unit 620 is specifically used to: determine the first and second mixing quantities of the target batch of oil based on the quantity and density of the mixed oil between any two adjacent batches, wherein the first mixing quantity is the amount of oil belonging to the target batch between the oil of the batch preceding the target batch in the target conveying sequence and the oil of the target batch, and the second mixing quantity is the amount of oil belonging to the target batch between the oil of the batch following the target batch in the target conveying sequence and the oil of the target batch; and determine the mixing quantity of the target batch of oil by summing the first and second mixing quantities of the target batch of oil.

[0105] Optionally, the formula for determining the first blending amount corresponding to the target batch of oil is:

[0106] S1 = h1 * w1;

[0107]

[0108] Where S1 is the first blending quantity corresponding to the target batch of oil, h1 is the quantity of oil in the blend between the target batch and the previous batch of oil, w1 is the mass fraction of the target batch of oil in the blend between the target batch and the previous batch of oil, and ρ w1 ρ1 represents the density of the target batch of oil and the previous batch of oil, and ρ2 represents the density of the previous batch of oil.

[0109] The formula for determining the second blending amount corresponding to the target batch of oil is:

[0110] S2 = h2 * w2;

[0111]

[0112] Where S2 is the second blending quantity corresponding to the target batch of oil, h2 is the quantity of oil in the blend between the target batch and the subsequent batch of oil; w2 is the mass fraction of the target batch of oil in the blend between the target batch and the subsequent batch of oil; ρ w2 ρ1 represents the density of the target batch of oil and the subsequent batch of oil, and ρ3 represents the density of the subsequent batch of oil.

[0113] Optionally, the difference determination unit 630 is specifically used to: determine the sum of the output quantity and the mixed quantity corresponding to the target batch of oil; and determine the difference between the input quantity and the sum of the output quantity and the mixed quantity corresponding to the target batch of oil as the difference in oil delivery quantity for each batch of oil.

[0114] It should be understood that specific descriptions of the above-mentioned optional methods can be found in the foregoing method embodiments, and will not be repeated here. Furthermore, explanations of any of the determining devices 100 provided above, as well as descriptions of their beneficial effects, can be found in the corresponding method embodiments described above, and will not be repeated here.

[0115] This invention also provides a computer-readable storage medium storing at least one computer instruction, which is loaded and executed by a processor to implement the methods of the various embodiments described above. Explanations of the relevant content and descriptions of the beneficial effects of any of the computer-readable storage media provided above can be found in the corresponding embodiments described above, and will not be repeated here.

[0116] This invention also provides a chip. This chip integrates a control circuit for implementing the functions of the aforementioned determining device 100 and one or more ports. Optionally, the functions supported by this chip are as described above and will not be repeated here.

[0117] Those skilled in the art will understand that the program for implementing all or part of the steps of the above embodiments, which can be executed by a program instructing related hardware, can be stored in a computer-readable storage medium. The storage medium mentioned above can be a read-only memory, a random access memory, etc. The processing unit or processor mentioned above can be a central processing unit, a general-purpose processor, an application-specific integrated circuit (ASIC), a microprocessor (DSP), a field-programmable gate array (FPGA), or other programmable logic devices, transistor logic devices, hardware components, or any combination thereof.

[0118] This invention also provides a computer program product containing instructions that, when executed on a computer, cause the computer to perform any of the methods described in the above embodiments. The computer program product includes one or more computer instructions. When the computer program instructions are loaded and executed on a computer, all or part of the flow or function according to the embodiments of this invention is generated. The computer may be a general-purpose computer, a special-purpose computer, a computer network, or other programmable device. The computer instructions may be stored in a computer-readable storage medium or transmitted from one computer-readable storage medium to another. For example, computer instructions may be transmitted from one website, computer, server, or data center to another via wired (e.g., coaxial cable, fiber optic, digital subscriber line (DSL)) or wireless (e.g., infrared, wireless, microwave, etc.) means. The computer-readable storage medium may be any available medium accessible to a computer or a data storage device such as a server or data center that integrates one or more available media. The available medium may be a magnetic medium (e.g., floppy disk, hard disk, magnetic tape), an optical medium (e.g., DVD), or a semiconductor medium (e.g., SSD), etc.

[0119] It should be noted that the devices for storing computer instructions or computer programs provided in the embodiments of the present invention, such as, but not limited to, the aforementioned memory, computer-readable storage medium, and communication chip, are all non-transitory. Those skilled in the art should recognize that the functions described in the embodiments of the present invention in one or more of the above examples can be implemented using hardware, software, firmware, or any combination thereof. When implemented using software, these functions can be stored in a computer-readable storage medium or transmitted as one or more instructions or code on a computer-readable storage medium. Computer-readable storage media include computer storage media and communication media, wherein communication media include any medium that facilitates the transmission of computer programs from one place to another. Storage media can be any available medium accessible to general-purpose or special-purpose computers.

[0120] Although embodiments of the present invention have been shown and described above, it is understood that the above embodiments are exemplary and should not be construed as limiting the present invention. Those skilled in the art can make changes, modifications, substitutions and variations to the above embodiments within the scope of the present invention.

Claims

1. A method for determining the differential oil transport volume in a refined oil pipeline, characterized in that, The method includes: Acquire oil transportation data, which includes the input and output quantities of oil in each batch of multiple batches transported through the target pipeline in the target transportation sequence within the target period, and the quantity of mixed oil between any two adjacent batches, wherein the input quantity is the quantity of oil entering the target pipeline, and the output quantity is the quantity of oil leaving the target pipeline. The amount of oil mixed in the target batch is determined based on the quantity and density of the mixed oil between any two adjacent batches. The amount of oil mixed is the sum of the amounts of the two mixing zones before and after the target batch. The target batch is any one of multiple batches. The corresponding oil delivery difference for the target batch of oil is determined based on the input, output, and blending quantities of the target batch of oil. The step of determining the amount of mixed oil corresponding to the target batch based on the quantity and density of the mixed oil between any two adjacent batches includes: The first and second mixing amounts of the target batch of oil are determined based on the quantity and density of the mixed oil between any two adjacent batches. The first mixing amount is the amount of oil belonging to the target batch between the oil of the batch preceding the target batch in the target delivery sequence and the oil of the target batch. The second mixing amount is the amount of oil belonging to the target batch between the oil of the batch following the target batch in the target delivery sequence and the oil of the target batch. The sum of the first blending amount and the second blending amount corresponding to the target batch of oil is determined as the blending amount corresponding to the target batch of oil. The formula for determining the first blending amount corresponding to the target batch of oil is: S1=h1*w1 ; Wherein, S1 is the first blending quantity corresponding to the target batch of oil, h1 is the quantity of oil in the blend between the target batch of oil and the previous batch of oil, and w1 is the mass fraction of the target batch of oil in the blend between the target batch of oil and the previous batch of oil. The density of the blend between the target batch of oil and the previous batch of oil. The density of the target batch of oil. The formula for determining the second blending amount corresponding to the target batch of oil is: S2 = h2 * w2 Wherein, S2 is the second blending quantity corresponding to the target batch of oil, h2 is the quantity of oil in the blend between the target batch of oil and the subsequent batch of oil, and w2 is the mass fraction of the target batch of oil in the blend between the target batch of oil and the subsequent batch of oil. The density of the blended oil between the target batch and the subsequent batch. The density of the target batch of oil. .

2. The method according to claim 1, characterized in that, The method further includes: The sum of the oil transfer difference corresponding to each batch of oil in multiple batches is determined as the oil transfer difference corresponding to the target period.

3. The method according to claim 1, characterized in that, The step of determining the oil transfer difference corresponding to the target batch of oil based on the input quantity, output quantity, and blending quantity of the target batch of oil includes: Determine the sum of the output and blending quantities corresponding to the target batch of oil; The difference between the sum of the input quantity, output quantity, and blending quantity of the target batch of oil is determined as the oil transfer difference for each batch of oil.

4. A device for determining the differential oil transport volume in a refined oil pipeline, characterized in that, The device includes: The data acquisition unit is used to acquire oil transportation data, which includes the input amount, output amount and quantity of oil in each batch of multiple batches transported through the target pipeline in the target transportation sequence within the target period, and the quantity of mixed oil between any two adjacent batches. The input amount is the quantity of oil entering the target pipeline and the output amount is the quantity of oil leaving the target pipeline. The quantity determination unit is used to determine the amount of oil mixed in the target batch based on the amount of oil mixed between any two adjacent batches. The amount of oil mixed is the sum of the amounts of oil mixed in the two mixing zones before and after the target batch. The target batch is any one of multiple batches. The delivery difference determination unit is used to determine the delivery difference of the target batch of oil based on the input quantity, output quantity and mixing quantity of the target batch of oil. The quantity determination unit is specifically used for: The first and second mixing amounts of the target batch of oil are determined based on the quantity and density of the mixed oil between any two adjacent batches. The first mixing amount is the amount of oil belonging to the target batch between the oil of the batch preceding the target batch in the target delivery sequence and the oil of the target batch. The second mixing amount is the amount of oil belonging to the target batch between the oil of the batch following the target batch in the target delivery sequence and the oil of the target batch. The sum of the first blending amount and the second blending amount corresponding to the target batch of oil is determined as the blending amount corresponding to the target batch of oil. The formula for determining the first blending amount corresponding to the target batch of oil is: S1=h1*w1 ; Wherein, S1 is the first blending quantity corresponding to the target batch of oil, h1 is the quantity of oil in the blend between the target batch of oil and the previous batch of oil, and w1 is the mass fraction of the target batch of oil in the blend between the target batch of oil and the previous batch of oil. The density of the blend between the target batch of oil and the previous batch of oil. The density of the target batch of oil. The formula for determining the second blending amount corresponding to the target batch of oil is: S2 = h2 * w2 Wherein, S2 is the second blending quantity corresponding to the target batch of oil, h2 is the quantity of oil in the blend between the target batch of oil and the subsequent batch of oil, and w2 is the mass fraction of the target batch of oil in the blend between the target batch of oil and the subsequent batch of oil. The density of the blended oil between the target batch and the subsequent batch. The density of the target batch of oil. .

5. The apparatus according to claim 4, characterized in that, The output difference determination unit is further configured to: The sum of the oil transfer difference corresponding to each batch of oil in multiple batches is determined as the oil transfer difference corresponding to the target period.

6. The apparatus according to claim 4, characterized in that, The output difference determination unit is specifically used for: Determine the sum of the output and blending quantities corresponding to the target batch of oil; The difference between the sum of the input quantity, output quantity, and blending quantity of the target batch of oil is determined as the oil transfer difference for each batch of oil.

Citation Information

Patent Citations

  • Auxiliary ontology construction method, electronic equipment and storage medium

    CN111737487A

  • Oil product sequential conveying method and oil mixing interface tracking method and device

    CN113780958A