Method and system for evaluating remaining transportation capacity of refined oil pipeline with multiple injection points
By establishing a mixed integer linear planning model of multi-injection point refined oil pipelines, combining pipeline basic information and preset transportation batch information, batch arrangement information is formed and timing simulation is carried out, the accuracy of the residual transportation capacity assessment of oil and gas pipelines in the existing technology is solved, and a fast and accurate transportation capacity assessment is achieved.
Patent Information
- Application Number
- CN202310269368.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2023-03-15
- Publication Date
- 2025-05-30
- Estimated Expiration
- 2043-03-15
AI Technical Summary
When the prior art evaluates the residual transportation capacity of oil and gas pipelines, it is usually designed based on a single injection point, and the complexity and necessary constraints of multiple stations are not fully considered, resulting in low accuracy of the evaluation results.
Establish a residual transportation capacity evaluation method and system for multi-injection point refined oil pipelines, adopt a mixed integer linear planning model, combine the pipeline basic information and preset transportation batch information to form batch arrangement information, and perform timing simulation through the scheduling model to calculate the residual transportation capacity information that meets the preset goals.
Through this method and system, the remaining transportation capacity of the multi-injection point refined oil pipeline can be quickly and accurately calculated, taking into account the system complexity and constraints, and improving the accuracy and socio-economic benefits of the evaluation results.
Smart Images

Figure CN118690940B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of refined oil transportation, and particularly to a method and system for evaluating the remaining transportation capacity of a multi-injection point refined oil pipeline. Background Art
[0002] With the independent operation of oil and gas pipelines, refined oil pipelines have gradually become public transportation tools and act as carriers in the logistics market. For carriers, they are responsible for transporting oil products from injection points to subtransmission points on time and in accordance with the quantity.
[0003] Due to historical reasons, large oil and petrochemical enterprises are the main shippers of oil and gas pipelines and are generally long-term shippers. Their shipping plans are relatively stable, with a large quantity and certain priority. Pipeline enterprises need to prepare transportation plans for them in advance. After the refined oil pipeline is opened to the social platform, other small and medium-sized enterprises may also need to use the pipeline to transport oil products. Therefore, after determining the transportation plans of long-term shippers, pipeline enterprises timely disclose the remaining transportation capacity to the society, which not only relates to their own profits but also conforms to the maximum economic benefits of the whole society.
[0004] However, the inventors of the present application found in their research that the existing mathematical models for evaluating the remaining transportation capacity of oil and gas pipelines are usually designed based on a single injection point, without considering that with the construction of the pipeline network, its complexity is increasing day by day, and the operations between different station nodes affect each other. At the same time, the existing models also lack necessary constraint conditions, such as considering the arrival time of oil products at the subtransmission station, and the accuracy of the obtained evaluation results is not high. Summary of the Invention
[0005] In view of the above problems, the purpose of the present invention is to provide a method and system for evaluating the remaining transportation capacity of a multi-injection point refined oil pipeline. For a multi-injection point refined oil pipeline system, a mixed integer linear programming model is established, fully considering the complexity and constraint conditions of multiple stations in the system, and according to the set objective function, the remaining transportation capacity is calculated quickly and accurately, which is convenient for timely disclosure to the society and improves the social and economic benefits.
[0006] To achieve the above purpose, the present invention adopts the following technical solutions:
[0007] In the first aspect, the present application provides a method for evaluating the remaining transportation capacity of a multi-injection point refined oil pipeline, and the method includes:
[0008] Obtain the pipeline basic information of the multi-injection point refined oil pipeline;
[0009] Obtain the preset transportation batch information of the multi-injection point refined oil pipeline;
[0010] Based on the pipeline basic information and the preset transportation batch information, combined with a preset scheduling strategy, form batch scheduling information;
[0011] Input the batch scheduling information into a preset scheduling model for time series simulation, solve it by combining a set objective function and constraint conditions, and calculate the remaining transportation capacity information that meets the preset objectives;
[0012] Output the remaining transportation capacity information of the multi-injection point refined oil pipeline.
[0013] In one implementation manner of the present application, obtaining the pipeline basic information of the multi-injection point refined oil pipeline includes:
[0014] Obtain the station information and pipeline specification information in the multi-injection point refined oil pipeline. The station information includes the station type, the spacing and flow boundary between stations, and the station type includes injection stations and distribution stations.
[0015] In one implementation manner of the present application, the preset transportation batch information includes the type, quantity, and time information of the oil products injected at the injection stations, the distribution quantity and arrival time information of the batches distributed at the distribution stations, and also includes the restriction information on the types of oil products in adjacent batches.
[0016] In one implementation manner of the present application, forming the batch scheduling information according to the pipeline basic information and the preset transportation batch information, combined with a preset scheduling strategy, includes:
[0017] Step 1, according to the preset transportation batch information, form planned oil product transportation batches with corresponding sequences and quantities;
[0018] Step 2, along the pipeline transportation direction, if there is an intermediate injection station, insert a batch for the remaining capacity assessment of the current injection station for different distribution stations before each of the planned oil product transportation batches formed in Step 1;
[0019] Step 3, if there is a second intermediate injection station, insert a batch for the remaining capacity assessment of the updated injection station for different distribution stations before each batch formed in Step 2;
[0020] According to this rule, until all batches for the remaining capacity assessment corresponding to the injection stations are inserted, form the final batch scheduling information.
[0021] In one implementation manner of the present application, inputting the batch scheduling information into a preset scheduling model for time series simulation, solving it by combining a set objective function and constraint conditions, and calculating the remaining transportation capacity information that meets the preset objectives includes:
[0022] Calculate the volume coordinate system corresponding to the scheduling model based on the station information and pipeline specification information in the multi-injection-point refined oil pipeline, and record the volume coordinates of each station in the volume coordinate system;
[0023] According to the preset transportation batch information, use the quantity of the planned refined oil transportation batch in the batch scheduling information as a known quantity, and input the quantity of the remaining capacity evaluation batch as an unknown quantity into the scheduling model;
[0024] Set the objective function to maximize the utilization rate of the refined oil pipeline transportation capacity;
[0025] Use different variables to represent the remaining transportation capacities from different injection stations to different distribution stations, calculate the values of the remaining transportation capacities that meet the constraints of station operation type, pipeline flow, batch position, oil head tracking, arrival time, batch volume, and oil product type constraints, and maximize the objective function;
[0026] Integrate the remaining transportation capacities from different injection stations to different distribution stations in the same batch to obtain the remaining transportation capacity information of the multi-injection-point refined oil pipeline.
[0027] In a second aspect, the present application provides a remaining transportation capacity evaluation system for a multi-injection-point refined oil pipeline. The system includes:
[0028] A pipeline basic information input module for obtaining the pipeline basic information of the multi-injection-point refined oil pipeline;
[0029] A planned batch information input module for obtaining the preset transportation batch information of the multi-injection-point refined oil pipeline;
[0030] A batch scheduling module for forming batch scheduling information according to the pipeline basic information and the preset transportation batch information, in combination with a preset scheduling strategy;
[0031] A model scheduling module for inputting the batch scheduling information into a preset scheduling model for time series simulation, and solving it in combination with a set objective function and constraints to calculate the remaining transportation capacity information that meets the preset objectives;
[0032] An output module for outputting the calculation results of the remaining transportation capacity information of the multi-injection-point refined oil pipeline.
[0033] In an implementation manner of the present application, the pipeline basic information input module is used to obtain the station information and pipeline specification information in the multi-injection-point refined oil pipeline. The station information includes the station type, the distance between stations, and the flow boundary. The station type includes injection stations and distribution stations.
[0034] In an implementation manner of the present application, in the preset transportation batch information, it includes the oil product type, quantity, and time information of the injection batch at the injection station, the sub - transportation quantity and arrival time information of the batch sub - transportation at the sub - transportation station, and also includes the restriction information on the oil product types of adjacent batches.
[0035] In an implementation manner of the present application, the root batch scheduling module is used to form batch scheduling information according to the following steps, where:
[0036] Step 1: According to the preset transportation batch information, form planned oil product transportation batches with corresponding sequences and quantities.
[0037] Step 2: Along the pipeline transportation direction, if there is an intermediate injection station, insert a batch for the current injection station to evaluate the remaining capacity for different sub - transportation stations before each of the planned oil product transportation batches formed in Step 1.
[0038] Step 3: If there is a second intermediate injection station, insert a batch for the updated injection station to evaluate the remaining capacity for different sub - transportation stations before each batch formed in Step 2.
[0039] According to this rule, until all the batches for evaluating the remaining capacity corresponding to the injection stations are inserted, the final batch scheduling information is formed.
[0040] In an implementation manner of the present application, the model scheduling module is used to calculate the volume coordinate system corresponding to the scheduling model according to the station information and pipeline specification information in the multi - injection - point refined oil pipeline, and record the volume coordinates of each station in the volume coordinate system; according to the preset transportation batch information, take the quantity of the planned oil product transportation batches in the batch scheduling information as known quantities, and take the quantity of the batches for evaluating the remaining capacity as quantities to be solved and input them into the scheduling model; set an objective function to maximize the utilization rate of the refined oil pipeline transportation capacity; use different variables to represent the remaining transportation capacities of different injection stations for different sub - transportation stations, calculate the values of the remaining transportation capacities that meet the constraints of station operation type constraints, pipeline flow constraints, batch position constraints, oil head tracking constraints, arrival time constraints, batch volume constraints, and oil product type constraints, and make the objective function take the maximum value; integrate the remaining transportation capacities of different injection stations for different sub - transportation stations in the same batch to obtain the remaining transportation capacity information of the multi - injection - point refined oil pipeline.
[0041] Due to the adoption of the above technical solutions, the present invention has the following advantages: In the application solution of the present invention, the pipeline basic information and the preset transportation batch information of the multi-injection-point refined oil pipeline are obtained, and the batch scheduling information is formed according to the pipeline basic information and the preset transportation batch information; then the batch scheduling information is input into the preset scheduling model for time series simulation, and combined with the set objective function and constraint conditions for solution, and the remaining transportation capacity information meeting the preset objectives is calculated. Therefore, compared with the prior art, the complexity of the multi-injection-point pipeline system and the constraint conditions such as the shipper's transportation volume, arrival time, and adjacent batch requirements can be fully considered, and the remaining transportation capacity information can be calculated quickly and accurately, which is convenient for timely announcement to the society and improves the social and economic benefits. BRIEF DESCRIPTION OF THE DRAWINGS
[0042] Figure 1 FIG. is a schematic flowchart of a method for evaluating the remaining transportation capacity of a multi-injection-point refined oil pipeline provided by an embodiment of the present application;
[0043] Figure 2 FIG. is a schematic data flow diagram of modular processing of a method for evaluating the remaining transportation capacity of a multi-injection-point refined oil pipeline provided by an embodiment of the present application;
[0044] Figure 3 FIG. is a schematic diagram of a refined oil pipeline in an application scenario of an embodiment of the present application. DETAILED DESCRIPTION OF THE EMBODIMENTS
[0045] To make the objectives, technical solutions, and advantages of the embodiments of the present invention clearer, the technical solutions of the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings of the embodiments of the present invention. Obviously, the described embodiments are some, but not all, of the embodiments of the present invention. All other embodiments obtained by those of ordinary skill in the art based on the described embodiments of the present invention fall within the protection scope of the present invention.
[0046] When evaluating the remaining transportation capacity of oil and gas pipelines using the mathematical models of the prior art, they are usually designed based on a single injection point and lack the consideration of necessary constraints, resulting in low accuracy of the evaluation results. Accordingly, the present application provides a method and system for evaluating the remaining transportation capacity of a refined oil pipeline with multiple injection points. The method includes: obtaining the pipeline basic information of the refined oil pipeline with multiple injection points; obtaining the preset transportation batch information of the refined oil pipeline with multiple injection points; forming batch scheduling information according to the pipeline basic information and the preset transportation batch information in combination with a preset scheduling strategy; inputting the batch scheduling information into a preset scheduling model for time series simulation, and solving it in combination with a set objective function and constraints to calculate the remaining transportation capacity information meeting the preset objective; and outputting the remaining transportation capacity information of the refined oil pipeline with multiple injection points. The solution of the present application can quickly and accurately calculate the remaining transportation capacity.
[0047] See Figure 1 , in one aspect of the embodiments of the present application, a method for evaluating the remaining transportation capacity of a refined oil pipeline with multiple injection points is provided.
[0048] The method includes:
[0049] S11, obtaining the pipeline basic information of the refined oil pipeline with multiple injection points;
[0050] S12, obtaining the preset transportation batch information of the refined oil pipeline with multiple injection points;
[0051] S13, forming batch scheduling information according to the pipeline basic information and the preset transportation batch information in combination with a preset scheduling strategy;
[0052] S14, inputting the batch scheduling information into a preset scheduling model for time series simulation, and solving it in combination with a set objective function and constraints to calculate the remaining transportation capacity information meeting the preset objective;
[0053] S15, outputting the remaining transportation capacity information of the refined oil pipeline.
[0054] The above method obtains the pipeline basic information and the preset transportation batch information of the refined oil pipeline with multiple injection points, forms batch scheduling information according to the pipeline basic information and the preset transportation batch information, then inputs the batch scheduling information into a preset scheduling model for time series simulation, and solves it in combination with a set objective function and constraints to calculate the remaining transportation capacity information meeting the preset objective. Therefore, compared with the prior art, it can fully consider the complexity of the multi-injection point pipeline system and constraints such as the shipper's transportation volume, arrival time, and adjacent batch requirements, quickly and accurately calculate the remaining transportation capacity information, facilitate timely publication to the society, and improve social and economic benefits.
[0055] Combine the following Figure 2 , the process of the above method is described in a more detailed embodiment of the present application.
[0056] In the embodiment of the present application, the method for evaluating the remaining transportation capacity of a product oil pipeline with multiple injection points adopts a modular data processing method to calculate the remaining transportation capacity of the pipeline. The modules include: a pipeline basic information input module, a planned batch information input module, a batch scheduling module, a model scheduling module, and an output module.
[0057] The method of the present application is described in detail as follows:
[0058] S11, obtaining basic pipeline information of the multi-injection point refined oil pipeline;
[0059] Specifically, the basic information module of the refined oil pipeline includes pipeline specifications (such as wall thickness, pipe diameter, etc.), the distance between stations, flow boundaries (including injection flow at injection stations, distribution flow at distribution stations, and operation flow of inter-station pipe sections) and other information (such as station functions and quantity, etc.). Pipeline specifications and station distances can be converted into the volume coordinates of each station, that is, the accumulation of pipe section volume, which is used as the input of the scheduling model.
[0060] S12, obtaining preset transportation batch information of the multi-injection point refined oil pipeline;
[0061] Specifically, the preset transport batch information includes the type, quantity and time information of the oil injected into the batch by the injection station, the distribution quantity and arrival time information of the batch distributed by the distribution station, and the restriction information of the oil types of adjacent batches.
[0062] Due to historical reasons, large petroleum and petrochemical enterprises are defined as long-term shippers of finished oil pipelines and have priority in the transportation capacity reservation process. Usually, the pipeline transportation plan of the long-term shipper is usually determined before the remaining transportation capacity information is made public, and a shipping contract is signed to protect the rights and interests of both parties. The shipping contract information indicates the preset transportation batch information, mainly including the quantity / oil type / location / sequence of the injection station injection batch, the batch distribution volume / arrival time of the distribution station, and the regulations on adjacent batches of oil products. The pipeline carrier must strictly abide by the requirements of the shipping contract.
[0063] S13, forming batch scheduling information according to the pipeline basic information and the preset transportation batch information in combination with a preset scheduling strategy;
[0064] Specifically, Figure 2 For example, the number of injection stations, pipeline flow direction, batch sequence and other information are obtained from the basic information of the refined oil pipeline and the preset transportation batch information (usually reflected in the signed consignment contract information) to form aFigure 2 The diagram shows the batch arrangement method. The diagram involves three types of oil products P1-P3, two injection stations, and the batches specified in the contract include B1-B5.
[0065] Step 1: Arrange the acquired batches B1-B5 in the order specified in the contract;
[0066] Step 2, insert a remaining capacity assessment batch consisting of V1 oil products before each batch of B1-B5, and update the batch number to B1-B10;
[0067] Step 3 is the same as step 2. A remaining capacity assessment batch consisting of V2 is inserted before each batch, and the batch numbers are updated to B1-B20.
[0068] In the embodiments of the present application, the number of steps is always one more than the number of injection stations, indicating that the method is highly versatile in calculating the remaining transport capacity of different pipeline system structures.
[0069] S14, inputting the batch arrangement information into a preset scheduling model for time series simulation, solving the problem in combination with the set objective function and constraint conditions, and calculating the remaining transportation capacity information that meets the preset target;
[0070] Specifically, the scheduling model is constructed in a discrete time expression (time step is day), taking into account injection / distribution operation constraints, pipeline flow constraints, batch location constraints and batch tracking constraints. It is a general pipeline scheduling model that does not involve specific operating processes, that is, the assumptions include: no attention to the detailed operation of the station; no effect of pressure and temperature on oil products; ignoring oil evaporation losses; and not considering volume changes caused by mixed oil losses.
[0071] This application aims to maximize the utilization rate of the transportation capacity of the refined oil pipeline, that is, the ratio of the actual pipeline output to the designed output. The specific expression of the objective function is shown in formula (1).
[0072]
[0073] In the formula, Indicates the remaining transportation capacity of batch j at station i, in m 3 ; Indicates the volume of batch j delivered by station i, in m 3 ;design_C represents the design capacity of the pipeline; I represents the batch set of evaluation of the remaining transport capacity of station i; Z represents the set of injection stations; Indicates the set of batches that are transported by station i.
[0074] In this application, specific constraints include:
[0075] ① Injection / Offloading Operation Constraints
[0076] When injecting oil products at a station, it is restricted by the current passing batch. In the scheduling model, whether station i can inject the required batch j within time window k is represented by a binary variable . Its judgment condition is that the end of the oil tail of the batch at the starting moment does not exceed the volume coordinate of the station (Equation (2)), and the head of the batch oil at the ending moment exceeds the volume coordinate of the station (Equation (3)). For batch j, if the above conditions are met, that is, when the binary variable , there is no limit to the injection volume within time window k; otherwise, injection is not allowed (Equation (4)).
[0077]
[0078]
[0079]
[0080] In the formula, W k+1,j represents the head position of batch j at the (k + 1)th moment, in m 3 ; w i represents the position of station i, in m 3 ; is a binary variable, indicating that station i is allowed to inject batch j within time window k, otherwise not; M represents a maximum value; K represents the set of time windows; represents the amount of batch j injected by station i within time window k, in m 3 .
[0081] The offloading operation judgment of the offloading station is represented by a binary variable , and the constraint logic is the same as that of the injection operation, see Equations (5)-(7).
[0082]
[0083]
[0084]
[0085] In the formula, is a binary variable, indicating that station i is allowed to offload batch j within time window k, otherwise not; represents the amount of batch j offloaded by station i within time window k, in m 3 .
[0086] To prevent the unreasonable phenomenon of "injecting at this station and offloading at this station" at the same station, Equation (8) is added.
[0087]
[0088] Equation (9) is used to prevent pipeline backflow. During a certain time window, when the station can distribute a certain batch, the distribution volume cannot exceed the batch volume before the station, and the distribution volume of the upstream station for this batch should be deducted; on the contrary, there is no such restriction.
[0089]
[0090] When the station is performing injection or distribution tasks, the flow rate upper limit cannot be exceeded to ensure the safety of the station equipment. See Equations (10)-(11).
[0091]
[0092] In the formula, qz max i and qf max i respectively represent the injection and distribution flow rate upper limits of station i, with the unit of m 3 / h.
[0093] ② Pipeline flow rate constraint
[0094] During the flow of oil products, safe operation can be achieved only when the flow rate upper limit of the pipeline is not exceeded. When the intermediate injection station involved in this model is performing injection tasks, the upstream pipeline can operate without stopping. When the pipeline is downstream of the last injection station, Equation (12) is executed. During time window k, the total distribution volume of the downstream station cannot exceed the transportation capacity of the outbound pipeline; otherwise, Equation (13) is executed, and the injection volume of the injection station should also be considered on this basis.
[0095]
[0096] In the formula, qp maxi represents the flow rate upper limit of pipeline i (i.e., the outbound flow rate of station i), m 3 / h; represents the number of the last injection station.
[0097] ③ Batch position constraint
[0098] Equation (14) represents "positive sequence of position" of batches; Equation (15) represents "positive sequence of time" of batches. At the end of the scheduling period, all products must enter the pipeline completely. See Equation (16).
[0099] W k,j+1 ≤W k,j k∈K,j<jmax (14)
[0100] W k,j ≤W k+1,j k<kmax,j∈J (15)
[0101] W kmax,jmax ≥ w imin (16)
[0102] In the formula, jmax and kmax respectively represent the last elements of the batch set and the time window set; w imin represents the position of the pipeline's first station, usually 0, m 3 .
[0103] ④ Oil head tracking constraint
[0104] For the pipeline inventory batches, the oil head position at the starting moment is known, as shown in Equation (17). For the batches with signed contracts, the batch volume is known, as shown in Equation (18). For the remaining capacity evaluation batches of the intermediate injection stations, at the starting moment, the volume of such batches is zero, that is, the oil head positions of adjacent batches coincide, as shown in Equation (19).
[0105] W k,j = wb j k = 1, j ∈ J OLD (17)
[0106]
[0107]
[0108] In the formula, wb j represents the initial oil head coordinate of pipeline inventory batch j, m 3 ; J OLD represents the pipeline inventory batch set; represents the volume of injection batch j at station i, m 3 ; c j represents the volume of batch j with signed contract, m 3 .
[0109] For the batches injected at the intermediate stations, at the initial moment, there is a mathematical relationship as shown in Equation (20), where the oil head volume coordinate of a certain batch is equal to the oil head volume coordinate of the previous batch (injected at the first station) minus the injection volume.
[0110]
[0111] During the oil transportation process, Equation (21) should be followed. At a certain moment, the oil head position of a batch should be the position at the previous moment plus the total throughput of all forward batches in the entire pipeline system, and minus the total injection volume of all forward batches.
[0112]
[0113] ⑤ Arrival time constraint
[0114] Equation (22) indicates that the pipeline carrier needs to ensure the arrival time of the oil products consigned by the shipper. Only in this way can the shipper obtain the oil products from the terminal oil depot in a timely manner. To maintain transportation flexibility, the arrival time stipulated in the consignment contract is usually in the range [tlb j , tub j . The remaining capacity assessment batches need to be excluded, as shown in Equation (23).
[0115]
[0116] In the formula, tlb j and tub j represent the lower and upper limits of the required arrival time for batch j, in days; represents the demand of terminal i for batch j, that is, the sub - transmission volume required by the consignment contract, m 3 ; J RALL represents the set of all remaining capacity assessment batches.
[0117] ⑥ Batch volume constraint
[0118] During the transportation of batches, inter - batch mixing of oils will occur. Referring to the Colonial Pipeline, the volume of each batch of products should be not less than 4000 cubic meters. The binary variable is used to determine whether the remaining capacity assessment batch has a real volume. If so, it is 1; otherwise, it is 0. The batch volume requirements are shown in Equations (24) - (25).
[0119]
[0120]
[0121] ⑦ Oil product type constraint
[0122] Each batch should contain one type of oil product (Equation (26)). The binary variable is introduced in the model. When batch j is oil product o, it is 1; otherwise, it is 0. In addition, for the batches with which the consignment contract has been signed, the types of oil products are known, as shown in Equation (27).
[0123] After that, the binary variable is used to determine the type of inter - batch oil mixing, as shown in Equations (28) - (30).
[0124]
[0125]
[0126]
[0127]
[0128]
[0129] In the formula, is a binary variable, which represents that batch j is oil product o when , otherwise it is not; O represents the set of oil product types; is a binary variable, which represents that the mixing oil type between batch j and j + 1 is n when , otherwise it is not; N represents the set of mixing oil types; nmax represents the last element of the set of mixing oil types.
[0130] Formula (31) is used to restrict the non - allowed mixing oil types.
[0131]
[0132] In the formula, N U represents the set of non - allowed mixing oil types.
[0133] Furthermore, in the embodiments of the present application, the total volume of the remaining capacity evaluation batches is the injection volume of the corresponding station in the full cycle, specifically:
[0134]
[0135] S15, output the result of the remaining transportation capacity information.
[0136] Specifically, after being solved by a computer, the remaining capacity information will be output in the form of "remaining transportation [oil product] [volume] capacity from [injection station] to [distribution station] from [time] to [time]" for potential shippers to reserve.
[0137] Next, in a specific application scenario of the present application, the above - mentioned scheme is verified.
[0138] In an application scenario of the present application,
[0139] Taking Figure 3 the shown refined oil pipeline system as an example, this method is tested. There are 5 stations along the pipeline, including injection stations IS and D2, and distribution stations D1 - D4. A total of 3 oil products are transported, namely 92# gasoline, 95# gasoline, and 0# diesel, with a designed transportation capacity of 350,000 cubic meters (calculated based on 8 days). In this case, except that 95# gasoline and 0# diesel are not allowed to be transported adjacent to each other, the requirements of other shippers are shown in Table 2. The input parameters involved in the figure also include the position information of the stations converted into volume coordinates, and the flow rate limit information of the stations and pipeline segments. In addition, the information of the contracts signed by long - term shippers is shown in Table 1.
[0140]
[0141] Table 1
[0142]
[0143] Table 2
[0144] Programming in Python language on the Windows system, solving based on the Gurobi solver, and the output results are shown in Table 3. The first piece of information in Table 3 can be interpreted as "[Station D2] to [Station D3] remaining transportation of [Diesel 0#] [7418 m 3 capacity" from the [2nd day] to the [3rd day].
[0145]
[0146] Table 3
[0147] Generally, in accordance with the goal of maximizing the utilization rate of pipeline transportation capacity, the remaining injectable batches at the first station IS are B3, B7, and B11, and the injectable batches at the intermediate injection station D2 are B2, B4, B6, B8, B10, and B14. The remaining transportation capacity of the case pipeline is 132174 m 3 , of which 34093 m at Station IS 3 , and 98081 m at Station D2 3 . If all the remaining transportation capacity shown in Table 3 can be sold, the pipeline utilization rate will reach 96.59%. The pipeline enterprise can disclose the information listed in Table 3 to potential shippers. If necessary, after selling a part of the transportation capacity, the input information can be updated, and this method can still be used to output the updated remaining capacity information.
[0148] On the other hand, in the embodiment of the present application, a remaining transportation capacity evaluation system for a multi-injection point refined oil pipeline is further provided. This system can be implemented in a computer device in a hardware or software manner.
[0149] In the embodiment of the present application, a remaining transportation capacity evaluation system for a multi-injection point refined oil pipeline is provided, and the system includes:
[0150] A pipeline basic information input module, configured to obtain the pipeline basic information of the multi-injection point refined oil pipeline;
[0151] A planned batch information input module, configured to obtain the preset transportation batch information of the multi-injection point refined oil pipeline;
[0152] A batch scheduling module, configured to form batch scheduling information according to the pipeline basic information and the preset transportation batch information, in combination with a preset scheduling strategy;
[0153] A model scheduling module, configured to input the batch scheduling information into a preset scheduling model for time series simulation, solve in combination with a set objective function and constraint conditions, and calculate the remaining transportation capacity information that meets the preset objective;
[0154] An output module for outputting the calculation result of the remaining transportation capacity information of the multi-injection point refined oil pipeline.
[0155] The system provided in the above embodiment obtains the pipeline basic information and preset transportation batch information of the multi-injection point refined oil pipeline, forms batch scheduling information according to the pipeline basic information and preset transportation batch information, then inputs the batch scheduling information into a preset scheduling model for time series simulation, and combines the set objective function and constraint conditions to solve, and calculates the remaining transportation capacity information that meets the preset goal. Therefore, compared with the prior art, it can fully consider the complexity of the multi-injection point pipeline system and constraint conditions such as the shipper's transportation volume, arrival time, and adjacent batch requirements, quickly and accurately calculate the remaining transportation capacity information, which is convenient to announce to the society in a timely manner and improve social and economic benefits.
[0156] The above system can be implemented in a computer device in a hardware or software manner, so that the computer device can implement the method for evaluating the remaining transportation capacity of the multi-injection point refined oil pipeline in the embodiments of the present application. The specific details of the method can refer to the description of the foregoing embodiments and will not be repeated here.
[0157] In the embodiments of the present application, a computer-readable storage medium is also provided accordingly. The computer-readable storage medium stores a computer program, and when the computer device executes the computer program, the method for evaluating the remaining transportation capacity of the multi-injection point refined oil pipeline in the embodiments of the present application is implemented.
[0158] Those skilled in the art can clearly understand that for the convenience and conciseness of description, the specific working processes of the above system (device) and module units can refer to the corresponding processes in the foregoing method embodiments and will not be repeated here.
[0159] In several embodiments provided by the present invention, it should be understood that the disclosed system and method can be implemented in other ways. For example, the system device embodiments described above are only illustrative. For example, the above division of module units is only a logical function division, and there can be other division methods in actual implementation. For example, multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the displayed or discussed mutual coupling or direct coupling or communication connection can be through some interfaces, and the indirect coupling or communication connection of devices or units can be in an electrical, mechanical or other forms.
[0160] The integrated unit implemented in the form of software functional units can be stored in a computer-readable storage medium. The above-mentioned software functional units are stored in a storage medium and include several instructions for causing a computer device (which may be a personal computer, a server, or a network device, etc.) or a processor to execute some steps of the methods in the various embodiments of the present invention. The foregoing storage medium includes: various media that can store program codes, such as USB flash drives, mobile hard disks, read-only memories (ROMs), random access memories (RAMs), magnetic disks, or optical discs.
[0161] The above are only the preferred embodiments of the present invention and are not intended to limit the present invention. Any modifications, equivalent replacements, improvements, etc. made within the spirit and principles of the present invention shall be included within the scope of protection of the present invention.
Claims
1. A method for evaluating the remaining transportation capacity of a multi-injection-point refined oil pipeline, characterized in that, the method includes: Obtain the pipeline basic information of the multi-injection-point refined oil pipeline, including: obtain the station information and pipeline specification information in the multi-injection-point refined oil pipeline, the station information includes the station type and the spacing and flow boundary between stations, and the station type includes injection stations and distribution stations; Obtain the preset transportation batch information of the multi-injection-point refined oil pipeline, including the type, quantity and time information of the oil products injected in the injection station injection batches, further including the distribution quantity and arrival time information of the batch distribution in the distribution stations, and further including the restriction information of the oil product types of adjacent batches; According to the pipeline basic information and the preset transportation batch information, combined with a preset scheduling strategy, form batch scheduling information; Input the batch scheduling information into a preset scheduling model for time series simulation, and solve it in combination with a set objective function and constraint conditions to calculate the remaining transportation capacity information that meets the preset objective; Output the remaining transportation capacity information of the multi-injection-point refined oil pipeline; Among them, the forming of the batch scheduling information according to the pipeline basic information and the preset transportation batch information, combined with a preset scheduling strategy, includes: Step 1, according to the preset transportation batch information, form planned oil product transportation batches in corresponding order and quantity; Step 2, along the pipeline transportation direction, if there is an intermediate injection station, insert a batch for evaluating the remaining capacity of the current injection station for different distribution stations before each of the planned oil product transportation batches formed in Step 1; Step 3, if there is a second intermediate injection station, insert a batch for evaluating the remaining capacity of the updated injection station for different distribution stations before each batch formed in Step 2; According to this rule, until all the batches for evaluating the remaining capacity corresponding to the injection stations are inserted, the final batch scheduling information is formed; The inputting of the batch scheduling information into a preset scheduling model for time series simulation, and solving it in combination with a set objective function and constraint conditions to calculate the remaining transportation capacity information that meets the preset objective, includes: According to the station information and pipeline specification information in the multi-injection-point refined oil pipeline, calculate the volume coordinate system corresponding to the scheduling model, and record the volume coordinates of each station in the volume coordinate system; According to the preset transportation batch information, take the quantity of the planned oil product transportation batches in the batch scheduling information as known quantities, and input the quantity of the batches for evaluating the remaining capacity as quantities to be solved into the scheduling model; Set an objective function to maximize the utilization rate of the transportation capacity of the refined oil pipeline; Use different variables to represent the remaining transportation capacity of different injection stations for different distribution stations, calculate the remaining transportation capacity values that meet the constraint conditions of station operation type constraints, pipeline flow constraints, batch position constraints, oil head tracking constraints, arrival time constraints, batch volume constraints and oil product type constraints, and make the objective function take the maximum value; Integrate the remaining transportation capacity of different injection stations for different distribution stations in the same batch to obtain the remaining transportation capacity information of the multi-injection-point refined oil pipeline.
2. A system for evaluating the remaining transportation capacity of a multi-injection-point refined oil pipeline, It is characterized in that the system includes a pipeline basic information input module for obtaining the pipeline basic information of the multi-injection point refined oil pipeline. The pipeline basic information input module is used to obtain the station information and pipeline specification information in the multi-injection point refined oil pipeline. The station information includes the station type, the spacing and flow boundary between stations, and the station type includes injection stations and distribution stations; a planned batch information input module for obtaining the preset transportation batch information of the multi-injection point refined oil pipeline. In the preset transportation batch information, it includes the type, quantity, and time information of the oil products injected in the injection batch of the injection station, the distribution quantity and arrival time information of the distribution in the distribution batch of the distribution station, and also includes the restriction information on the types of oil products in adjacent batches; a batch scheduling module for forming batch scheduling information according to the pipeline basic information and the preset transportation batch information, in combination with a preset scheduling strategy; a model scheduling module for inputting the batch scheduling information into a preset scheduling model for time series simulation, solving in combination with a set objective function and constraint conditions, and calculating the remaining transportation capacity information that meets the preset objectives; an output module for outputting the calculation result of the remaining transportation capacity information of the multi-injection point refined oil pipeline; wherein, the batch scheduling module is used to form batch scheduling information according to the following steps, where Step 1, form planned oil product transportation batches with corresponding sequences and quantities according to the preset transportation batch information; Step 2, along the pipeline transportation direction, if there is an intermediate injection station, insert a batch for the current injection station to evaluate the remaining capacity for different distribution stations before each of the planned oil product transportation batches formed in Step 1; Step 3, if there is a second intermediate injection station, insert a batch for the updated injection station to evaluate the remaining capacity for different distribution stations before each batch formed in Step 2; According to this rule, until all the batches for evaluating the remaining capacity corresponding to the injection stations are inserted, the final batch scheduling information is formed; the model scheduling module is used to calculate the volume coordinate system corresponding to the scheduling model according to the station information and pipeline specification information in the multi-injection point refined oil pipeline, and record the volume coordinates of each station in the volume coordinate system; according to the preset transportation batch information, take the quantity of the planned oil product transportation batches in the batch scheduling information as known quantities, and take the quantity of the batches for evaluating the remaining capacity as unknown quantities and input them into the scheduling model; set an objective function to maximize the utilization rate of the refined oil pipeline transportation capacity; use different variables to represent the remaining transportation capacity of different injection stations for different distribution stations, calculate the remaining transportation capacity values that meet the constraint conditions of station operation type constraints, pipeline flow constraints, batch position constraints, oil head tracking constraints, arrival time constraints, batch volume constraints, and oil product type constraints, and make the objective function take the maximum value; integrate the remaining transportation capacity of different injection stations for different distribution stations in the same batch to obtain the remaining transportation capacity information of the multi-injection point refined oil pipeline.
Citation Information
Patent Citations
Data analysis method and device for determining production plan
CN106295995A
Pipeline transport dispatching method and apparatus
CN108596457A