Crude oil conveying method and device for long-distance pipeline, medium and electronic equipment
By automatically determining the oil delivery operation parameters of long-term pipelines, the problem of difficult manual production scheduling in the prior art is solved in a timely manner and crude oil corrosion problem, and rapid and economical crude oil transportation and corrosion inhibition are achieved.
Patent Information
- Application Number
- CN202310774379.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2023-06-27
- Publication Date
- 2024-12-27
AI Technical Summary
In the existing technology, when refining enterprises arrange crude oil delivery plans for long-term pipelines, manual production scheduling methods require high business skills for dispatchers, long program preparation cycle, and difficult to respond to emergencies such as delayed arrival of tankers and changes in market demand in a timely manner. , and the long-term retention of crude oil in the long-term pipeline will corrode the pipeline.
By obtaining the oil storage information of the initial pipeline, the oil collection operation parameters and the oil inlet direction in the long-term pipeline, the oil delivery operation parameters are automatically determined, and the crude oil delivery method is realized in the long-term pipeline, reducing manual intervention, improving productivity, and suppressing crude oil corrosion.
It has realized the rapid and automatic preparation of crude oil delivery plans, lowered the scheduling threshold, reduced the intensity of personnel, improved the productivity of enterprises, and effectively suppressed the corrosion of crude oil in long-term transportation pipelines.
Smart Images

Figure CN119204906A_ABST
Abstract
Description
Technical Field
[0001] The present disclosure relates to the field of production scheduling, and in particular, to a method, device, medium and electronic equipment for long-distance pipeline crude oil transportation. Background Art
[0002] The distance between the crude oil tank area at the wharf and the crude oil tank area in the plant of some oil refineries is long, and a long-distance pipeline is needed to transport the crude oil from the crude oil tank area at the wharf to the crude oil tank area in the plant. This pipeline can be hundreds of kilometers long, and it will take dozens of hours for the crude oil to leave the pipeline after entering the pipeline, which produces a significant delay effect. In such enterprises, the transportation plan of the long-distance pipeline is the key to the entire crude oil transportation plan.
[0003] At present, oil refineries mainly arrange the transportation plan of long-distance pipelines through manual production scheduling. This method requires high business skills of dispatchers, and the plan preparation cycle is long, making it difficult to respond to emergencies such as delayed arrival of oil tankers and changes in market demand in a timely manner. Summary of the invention
[0004] In order to overcome the problems existing in the related art, the present disclosure provides a method, device, medium and electronic equipment for transporting crude oil in a long-distance pipeline.
[0005] In order to achieve the above objectives, in a first aspect, the present disclosure provides a method for transporting crude oil via a long-distance pipeline, comprising:
[0006] Obtaining the pipeline section information of the initial oil storage in the long-distance pipeline, the oil collection operation parameters of the long-distance pipeline, and the destination of the incoming oil;
[0007] The oil delivery operation parameters of the long-distance pipeline are determined according to the pipeline section information, the oil receiving operation parameters and the destination of the incoming oil.
[0008] Optionally, the pipeline segment information includes the initial volume, initial oil type and destination of the stored oil of each pipeline segment included in the initial pipeline oil reserves, wherein the same type of crude oil that is continuously distributed and has the same destination in the initial pipeline oil reserves is divided into one pipeline segment;
[0009] The oil collection operation parameters include a first start time, a first end time, an oil collection volume, a first delivery rate, and a delivered oil type for each oil collection operation;
[0010] The oil delivery operation parameters include the second start time, the second end time, the oil delivery volume, the second delivery rate, the oil delivery destination and the oil type of each outgoing oil leaving the long-distance pipeline, wherein the outgoing oil is the incoming oil of the pipeline section or leaving the long-distance pipeline.
[0011] Optionally, determining the oil delivery operation parameters of the long-distance pipeline according to the pipeline segment information, the oil receiving operation parameters and the destination of the incoming oil includes:
[0012] Let i=1, o=1, no o =1, where i represents the i-th oil collection operation of the long-distance pipeline, o represents the o-th section of the long-distance pipeline oil, and no o Indicates the number of the oil outlet of the oth section o The outgoing oil is arranged in the order of entering the long-distance pipeline;
[0013] The first start time of the i-th oil collection operation is determined as the no. o The second start time of the first delivery is to determine the first delivery rate of the i-th oil collection operation as the no. o a second delivery rate for the secondary delivery;
[0014] Determine whether the remaining outgoing oil volume of the o-th section outgoing oil is greater than the remaining incoming oil volume of the i-th section incoming oil corresponding to the i-th oil collection operation;
[0015] If the remaining amount of the o-th section of the outgoing oil is not greater than the remaining amount of the i-th section of the incoming oil, the volume of the o-th section of the outgoing oil is determined as the no. o The volume of the oil delivered at the first stage is o the second start time of the first delivery, the no. o The second delivery rate of the oth section outlet oil and the no. o The volume of the oil delivered at the first time determines the oil output of the first section. o The second end time of the second delivery;
[0016] Update the remaining outgoing oil volume of the oth section outgoing oil and the remaining incoming oil volume of the ith section incoming oil, and set o to increase by 1, no o =1;
[0017] Determine whether the remaining amount of incoming line oil of the i-th section incoming line oil obtained after updating is equal to zero;
[0018] If the remaining amount of incoming oil of the i-th section of the incoming oil obtained after the update is equal to zero, then i is incremented by 1, and the method of determining the first start time of the i-th oil collection operation as the no. o The second starting time of the first delivery is to determine the first delivery rate of the i-th oil collection operation as the no. o The second delivery rate step of the oil delivery is repeated until i is equal to the total number of oil collection times;
[0019] The destination of the delivered oil of the oth section outlet for each delivery is the storage oil destination or the incoming oil destination of the oth section outlet oil, and the oil type of the delivered oil of the oth section outlet for each delivery is the initial oil type or the delivered oil type of the oth section outlet oil.
[0020] Optionally, the determining the oil delivery operation parameters of the long-distance pipeline according to the pipeline segment information, the oil receiving operation parameters and the destination of the incoming oil further includes:
[0021] If the remaining amount of the i-th section of the incoming oil obtained after the update is not equal to zero, the no. o-1 The second end time of the second delivery is determined as the no. o The second starting time of the ith delivery, and the first delivery rate of the ith oil collection operation is determined as the no. o a second delivery rate for the secondary delivery;
[0022] Return to the step of determining whether the remaining outgoing oil volume of the o-th section outgoing oil is greater than the remaining incoming oil volume of the i-th section incoming oil corresponding to the i-th oil collecting operation.
[0023] Optionally, the determining the oil delivery operation parameters of the long-distance pipeline according to the pipeline segment information, the oil receiving operation parameters and the destination of the incoming oil further includes:
[0024] If the remaining amount of the o-th section of the outlet oil is greater than the remaining amount of the i-th section of the inlet oil, the remaining amount of the i-th section of the inlet oil is determined as the no. o The volume of the oil delivered for the first time, and the first end time of the i-th oil collection operation is determined as the no. o The second end time of the second delivery;
[0025] Updating the remaining outgoing oil volume of the o-th section outgoing oil and the remaining incoming oil volume of the i-th section incoming oil;
[0026] Let i and no o 1 is added to each of them, and the first start time of the i-th oil collection operation is determined as the no. o The second starting time of the first delivery is to determine the first delivery rate of the i-th oil collection operation as the no. o The second delivery rate step of the delivery is repeated until i is equal to the total number of oil collection times.
[0027] Optionally, the determining the oil delivery operation parameters of the long-distance pipeline according to the pipeline segment information, the oil receiving operation parameters and the destination of the incoming oil further includes:
[0028] If i is equal to the total number of oil collection times, then the oil delivery operations of the long-distance pipeline are uniformly numbered according to the order in which the outgoing oil leaves the long-distance pipeline and the order in which each outgoing oil is delivered;
[0029] Two oil delivery operations with the same second delivery rate, delivery destination and delivery oil type and adjacent delivery operation times are merged.
[0030] Optionally, the method further comprises:
[0031] The crude oil section in the inlet oil except the outlet oil is determined as the end-of-term pipeline stock of the long-distance pipeline.
[0032] In a second aspect, the present disclosure provides a long-distance pipeline crude oil transportation device, comprising:
[0033] An acquisition module, used to acquire pipeline segment information of the initial oil storage in the long-distance pipeline, oil collection operation parameters of the long-distance pipeline, and the destination of the incoming oil;
[0034] The first determination module is used to determine the oil delivery operation parameters of the long-distance pipeline according to the pipeline section information, the oil receiving operation parameters and the destination of the incoming oil.
[0035] In a third aspect, the present disclosure provides a non-temporary computer-readable storage medium having a computer program stored thereon, which, when executed by a processor, implements the steps of the long-distance pipeline crude oil transportation method provided in the first aspect of the present disclosure.
[0036] In a fourth aspect, the present disclosure provides an electronic device, including:
[0037] a memory having a computer program stored thereon;
[0038] A processor is used to execute the computer program in the memory to implement the steps of the long-distance pipeline crude oil transportation method provided in the first aspect of the present disclosure.
[0039] In the above technical scheme, the pipeline section information of the initial oil storage in the long-distance pipeline, the oil collection operation parameters of the long-distance pipeline and the destination of the incoming oil are first obtained; then, the oil delivery operation parameters of the long-distance pipeline are determined according to the pipeline section information, the oil collection operation parameters and the destination of the incoming oil. In this way, as long as the oil collection plan of the long-distance pipeline is given and the destinations of the crude oil in the initial pipeline and the incoming oil are allocated, the oil delivery plan of the long-distance pipeline can be automatically compiled. Therefore, the crude oil transportation plan of the long-distance pipeline can be quickly and automatically compiled without manual intervention, which not only reduces the scheduling threshold, but also reduces the work intensity of personnel and improves the productivity of the enterprise, which is of great significance for achieving stable production and economic production. In addition, the rationality of the long-distance pipeline oil collection plan and the destination of the crude oil in the pipeline can be verified according to the oil delivery operation parameters of the long-distance pipeline. In addition, the present disclosure can solve the problem of crude oil transportation in long-distance pipelines and realize efficient transportation of crude oil in long-distance pipelines. Crude oil is usually corrosive and will corrode the pipeline if it stays in the long-distance pipeline for a long time. Therefore, the present disclosure can solve the technical problem of inhibiting corrosion of long-distance pipelines.
[0040] Other features and advantages of the present disclosure will be described in detail in the following detailed description. BRIEF DESCRIPTION OF THE DRAWINGS
[0041] The accompanying drawings are used to provide a further understanding of the present disclosure and constitute a part of the specification. Together with the following specific embodiments, they are used to explain the present disclosure but do not constitute a limitation of the present disclosure. In the accompanying drawings:
[0042] Figure 1 The present invention is a crude oil scheduling process flow chart of a refinery enterprise according to an exemplary embodiment.
[0043] Figure 2 The present invention is a flow chart showing a method for transporting crude oil through a long-distance pipeline according to an exemplary embodiment.
[0044] Figure 3 The present invention is a flow chart showing a method for determining the oil delivery operation parameters of a long-distance pipeline according to pipeline segment information, oil receiving operation parameters and the destination of incoming oil according to an exemplary embodiment.
[0045] Figure 4 The present invention is a block diagram of a long-distance pipeline crude oil transportation device according to an exemplary embodiment.
[0046] Figure 5 It is a block diagram of an electronic device according to an exemplary embodiment.
[0047] Figure 6 It is a block diagram of an electronic device according to an exemplary embodiment. DETAILED DESCRIPTION
[0048] The specific implementation of the present disclosure is described in detail below in conjunction with the accompanying drawings. It should be understood that the specific implementation described herein is only used to illustrate and explain the present disclosure, and is not used to limit the present disclosure.
[0049] It should be noted that all actions of acquiring signals, information or data in the present disclosure are carried out in compliance with the relevant data protection laws and policies of the country where the device is located and with the authorization given by the owner of the corresponding device.
[0050] Figure 1 FIG. 1 is a crude oil scheduling process flow chart of a refinery enterprise according to an exemplary embodiment. Figure 1 As shown in the figure, a certain oil refinery purchases crude oil and transports it to a certain wharf via tanker; after the tanker safely berths at the port, the crude oil is unloaded into multiple suitable wharf tanks; the crude oil in the wharf tank has two transportation routes: one transportation route is that the crude oil enters the transfer tank through a shorter oil pipeline (i.e., non-long-distance pipeline), and the other transportation route is that the crude oil enters the plant tank through a longer oil pipeline (i.e., long-distance pipeline); the crude oil in the transfer tank can also enter the plant tank through the long-distance pipeline; finally, the crude oil in the plant tank enters the distillation unit for processing. The non-long-distance pipeline connecting the wharf tank and the transfer tank is usually short (e.g., 11 km), and the transportation delay effect of the non-long-distance pipeline can be ignored, but the long-distance pipeline supplying the plant tank is usually long (e.g., 163 km) and has a large volume (e.g., 46,000 m 3 ), it takes a long time (for example, more than 20 hours) for crude oil to leave the long-distance pipeline after entering the long-distance pipeline. Therefore, the crude oil transportation problem of the oil refinery is a complex problem involving long-distance pipeline transportation.
[0051] In view of this, the present disclosure provides a method, device, medium and electronic equipment for transporting crude oil in a long-distance pipeline.
[0052] Figure 2 FIG. 1 is a flow chart showing a long-distance pipeline crude oil transportation according to an exemplary embodiment. Figure 2 As shown, the long-distance pipeline crude oil transportation method may include the following S201 and S202.
[0053] In S201, the pipeline section information of the initial oil storage in the long-distance pipeline, the oil receiving operation parameters of the long-distance pipeline, and the destination of the incoming oil are obtained.
[0054] In the present disclosure, the long-distance pipelines involved in the current crude oil scheduling project may be one or more, and the present disclosure does not make any specific limitation.
[0055] Before the current crude oil scheduling project starts, it is assumed that all long-distance pipelines have full oil reserves, and the initial pipeline oil reserves are the oil reserves in the long-distance pipelines at the start of scheduling. Among them, the same type of crude oil with continuous distribution and the same destination in the initial pipeline oil reserves is divided into a pipeline segment (i.e., crude oil segment). In this way, the initial pipeline oil reserves are divided into one or more pipeline segments, wherein the pipeline segment information includes the initial volume, initial oil type, and oil destination (i.e., downstream equipment) of each pipeline segment contained in the initial pipeline oil reserves, such as Figure 1 As shown, the downstream equipment of the long-distance pipeline may include plant tanks and distillation units.
[0056] As shown in Table 1 below, the initial pipeline oil storage includes three pipeline segments, among which CT09, CT08 and CT02 are all plant tanks.
[0057] Table 1 Pipeline segment information of initial oil storage
[0058]
[0059] When formulating a long-distance pipeline oil collection plan, oil refineries have basically determined the destination of the incoming oil (i.e., the destination of the incoming oil is known). The long-distance pipeline oil collection plan (known quantity) refers to the operation plan for the crude oil to enter the long-distance pipeline, which may include the operation time (including the first start time and the first end time), crude oil delivery volume, the first delivery rate, the type of oil delivered, etc.
[0060] For ease of understanding, the oil collection process of a long-distance pipeline receiving the same type of oil at the same rate and planned to go to the same single downstream equipment is recorded as one oil collection operation. According to the definition of the oil collection operation, the oil collection scheme of the long-distance pipeline can be divided into multiple oil collection operations, and the first start time, first end time, oil collection volume (i.e., delivery volume), first delivery rate, and delivered oil type of each oil collection operation can be obtained, that is, the oil collection operation parameters of the long-distance pipeline are obtained. That is, the oil collection operation parameters include the first start time, first end time, oil collection volume, first delivery rate, and delivered oil type of each oil collection operation.
[0061] As shown in Table 2 below, the long-distance pipeline includes 16 oil collection operations, among which CT01 to CT09 are all plant tanks, and the first start time and the first end time are both relative times starting from the scheduling start time.
[0062] Table 2 Oil receiving operation parameters and destination of incoming oil in long-distance pipelines
[0063]
[0064] return Figure 2 In S202, the oil delivery operation parameters of the long-distance pipeline are determined according to the pipeline segment information, the oil receiving operation parameters and the destination of the incoming oil.
[0065] In the present disclosure, the oil delivery operation parameters may include the second start time, the second end time, the oil delivery volume, the second delivery rate, the oil delivery destination and the oil type of each outgoing oil leaving the long-distance pipeline, wherein the outgoing oil is the pipeline section with initial storage oil or the incoming oil leaving the long-distance pipeline.
[0066] For example, according to the pipeline segment information of the initial oil storage shown in Table 1 above, and the oil receiving operation parameters and the destination of the incoming oil of the long-distance pipeline shown in Table 2 above, the oil delivery operation parameters of the long-distance pipeline shown in Table 3 below can be obtained. Among them, the second start time and the second end time are relative times starting from the scheduling start time.
[0067] Table 3 Oil delivery operation parameters of long-distance pipeline
[0068]
[0069] In the above technical scheme, the pipeline section information of the initial oil storage in the long-distance pipeline, the oil collection operation parameters of the long-distance pipeline and the destination of the incoming oil are first obtained; then, the oil delivery operation parameters of the long-distance pipeline are determined according to the pipeline section information, the oil collection operation parameters and the destination of the incoming oil. In this way, as long as the oil collection plan of the long-distance pipeline is given and the destinations of the crude oil in the initial pipeline and the incoming oil are allocated, the oil delivery plan of the long-distance pipeline can be automatically compiled. Therefore, the crude oil transportation plan of the long-distance pipeline can be quickly and automatically compiled without manual intervention, which not only reduces the scheduling threshold, but also reduces the work intensity of personnel and improves the productivity of the enterprise, which is of great significance for achieving stable production and economic production. In addition, the rationality of the long-distance pipeline oil collection plan and the destination of the crude oil in the pipeline can be verified according to the oil delivery operation parameters of the long-distance pipeline. In addition, the present disclosure can solve the problem of crude oil transportation in long-distance pipelines and realize efficient transportation of crude oil in long-distance pipelines. Crude oil is usually corrosive and will corrode the pipeline if it stays in the long-distance pipeline for a long time. Therefore, the present disclosure can solve the technical problem of inhibiting corrosion of long-distance pipelines.
[0070] The following is a detailed description of the specific implementation method of determining the oil delivery operation parameters of the long-distance pipeline according to the pipeline segment information, the oil receiving operation parameters and the destination of the incoming oil in the above S102. Figure 3 It is realized by S301~S313 shown in:
[0071] In S301, let i=1, o=1, no o =1.
[0072] In this disclosure, i represents the i-th oil collection operation of the long-distance pipeline, o represents the o-th section of the long-distance pipeline oil, and no o Indicates the oil outlet of section o oAmong them, because the long-distance pipeline may stop transmission, change speed, etc., each section of the outgoing oil may leave the long-distance pipeline multiple times, with multiple departure start times and end times, that is, multiple second start times and second end times. For this reason, the variable no is set o To indicate the different start and end times of the oth section of the outgoing oil.
[0073] In addition, each oil receiving operation of the long-distance pipeline is numbered starting from 1 according to the order in which the operations are executed; the outgoing oil is arranged according to the order in which it enters the long-distance pipeline, that is, the outgoing oil is numbered starting from 1 according to the order in which the outgoing oil enters the long-distance pipeline.
[0074] In S302, the first start time of the i-th oil collection operation is determined as the no. o The second starting time of the first delivery is to determine the first delivery rate of the i-th oil collection operation as the no. o The second delivery rate of the secondary delivery.
[0075] Right now,
[0076] Among them, tsin i is the first start time of the i-th oil recovery operation, The oil outlet of section o is o The second start time of the second delivery, fin i is the first delivery rate of the i-th oil recovery operation, The oil outlet of section o is o The second delivery rate of the secondary delivery.
[0077] In S303, it is determined whether the remaining outgoing oil volume of the o-th section outgoing oil is greater than the remaining incoming oil volume of the i-th section incoming oil corresponding to the i-th oil collection operation.
[0078] In the present disclosure, the remaining outlet oil volume of the oth section outlet oil vsout o The initial value is vout o , that is, vsout o =vout o , vout o is the oil collection volume or initial volume of the oth section of the outgoing oil. When the oth section of the outgoing oil is a pipeline segment, vsout o The initial value of vsout is the initial volume of the outgoing oil of the oth section. When the outgoing oil of the oth section is the incoming oil leaving the long-distance pipeline, vsout o The initial value of is the oil collection volume of the oth section of the outlet oil.
[0079] The i-th oil collection operation corresponds to the i-th section of the long-distance pipeline incoming oil, where the remaining incoming oil volume of the i-th section of the incoming oil vsin i is the volume of the i-th section of the oil that will enter the long-distance pipeline, vsin i The initial value of is the oil recovery volume vin of the i-th oil recovery operation i , that is, vsin i =vin i .
[0080] Due to the "first in, first out" (i.e. "plug flow") movement characteristics of the long-distance pipeline, the long-distance pipeline will first transport the first pipeline section to the downstream equipment, then the second pipeline section, and so on, until the crude oil in the pipeline section is completely output, that is, the initial pipeline oil is completely pushed out, the long-distance pipeline begins to transport the first section of incoming oil to the downstream equipment, then the second section of incoming oil, and so on, among which the pipeline sections are numbered from 1 according to the order of entering the long-distance pipeline.
[0081] If the remaining outgoing oil volume of the o-th section outgoing oil is not greater than the remaining incoming oil volume of the i-th section incoming oil corresponding to the i-th oil collection operation, it indicates that the remaining incoming oil of the i-th section incoming oil can completely push out the remaining outgoing oil of the o-th section outgoing oil. At this time, the following S304 to S306 can be executed; if the remaining outgoing oil volume of the o-th section outgoing oil is greater than the remaining incoming oil volume of the i-th section incoming oil corresponding to the i-th oil collection operation, it indicates that the remaining incoming oil of the i-th section incoming oil cannot completely push out the remaining outgoing oil of the o-th section outgoing oil. That is, the remaining incoming oil of the i-th section incoming oil and the incoming oil of the subsequent sections are required to completely push out the remaining outgoing oil of the o-th section outgoing oil. At this time, the following S310 to S312 can be executed.
[0082] In S304, the volume of the o-th section outlet oil is determined as the volume of the o-th section outlet oil. o The volume of the first delivery is based on the oil of the first section. o The second start time of the first delivery, the no. o The second delivery rate of the first delivery and the no. o The volume of the oil delivered at the first delivery is determined by the oil outlet of the first section. o The second end time of the second delivery.
[0083] In the present disclosure, when the remaining outgoing oil volume of the o-th segment outgoing oil is not greater than the remaining incoming oil volume of the i-th segment incoming oil corresponding to the i-th oil collection operation, it indicates that the remaining incoming oil of the i-th segment incoming oil can completely push out the remaining outgoing oil of the o-th segment outgoing oil. Therefore, the o-th segment outgoing oil is o The volume of the delivery is equal to the volume of the oil in the oth section, that is,
[0084] For example, the oil of the oth section outlet is o The second end time of the delivery
[0085]
[0086] In S305, the remaining outgoing oil volume of the oth segment outgoing oil and the remaining incoming oil volume of the ith segment incoming oil are updated, and o is incremented by 1, and no o =1.
[0087] Since the remaining oil in the i-th section of the inlet oil can completely push out the remaining oil in the o-th section of the outlet oil, the remaining oil volume of the o-th section of the outlet oil vsout o =0, that is, the remaining amount of the o-th section of the outgoing oil after the update is 0. At this time, it indicates that the complete oil payment plan for the o-th section of the outgoing oil has been determined. After that, the oil payment plan for the o+1-th section of the outgoing oil begins to be determined, that is, let o add 1, no o =1.
[0088] In addition, the remaining oil volume of the i-th section of the line oil That is, the remaining amount of incoming oil in the i-th section after updating is
[0089] In S306, it is determined whether the remaining amount of incoming line oil of the i-th section incoming line oil obtained after update is equal to zero.
[0090] In the present disclosure, if the remaining incoming oil amount of the i-th section incoming oil obtained after the update is equal to zero, it indicates that the remaining incoming oil of the i-th section incoming oil can just push out the remaining outgoing oil of the o-th section outgoing oil. At this time, it can be determined whether the i-th section incoming oil is the last section incoming oil of the long-distance pipeline, that is, the following S307 is executed; if the remaining incoming oil amount of the i-th section incoming oil obtained after the update is not equal to zero, that is, the remaining incoming oil amount of the i-th section incoming oil obtained after the update is greater than zero, it indicates that the remaining incoming oil of the i-th section incoming oil can not only completely push out the remaining outgoing oil of the o-th section outgoing oil, but also can be used to push out part or all of the outgoing oil of the o-th section outgoing oil (in S305, o has been added by 1), at this time, the following S309 can be executed, and then return to the above S303.
[0091] In S307, it is determined whether i is equal to the total number of oil collection times.
[0092] If i is not equal to the total number of oil collection times, that is, i is less than the total number of oil collection times, it indicates that the i-th section of incoming oil is not the last section of incoming oil of the long-distance pipeline. At this time, it is necessary to use the i+1-th section of incoming oil to push out the o-th section of outgoing oil (in S305, o has been added by 1), so i is added by 1, that is, the following S308 is executed, and then it returns to the above S302 to continue executing until i is equal to the total number of oil collection times; if i is equal to the total number of oil collection times, it indicates that the i-th section of incoming oil is the last section of incoming oil of the long-distance pipeline. At this time, it indicates that all the incoming oil of the long-distance pipeline has entered the long-distance pipeline, and the long-distance pipeline oil delivery is completed, that is, the complete oil delivery plan of the long-distance pipeline is obtained, and at this time, the method flow can be ended.
[0093] In S308, i is incremented by 1.
[0094] In S309, the oil of the outlet of the o-1 section is o-1 The second end time of the second delivery is determined as the no. o The second starting time of the ith delivery, and the first delivery rate of the ith oil collection operation is determined as the no. o The second delivery rate of the secondary delivery.
[0095] In the present disclosure, if the remaining amount of the incoming line oil of the i-th section after updating is not equal to zero, it means that the remaining incoming line oil of the i-th section of the incoming line oil can not only completely push out the remaining outgoing line oil of the o-1-th section of the outgoing line oil, but can also be used to push out part or all of the outgoing line oil of the o-th section of the outgoing line oil. At this time, the no. o-1 The second end time of the second delivery is determined as the no. o The second starting time of the ith delivery, and the first delivery rate of the ith oil collection operation is determined as the no. o Then, according to the remaining outgoing oil volume of the oth section outgoing oil and the remaining incoming oil volume of the ith section incoming oil obtained after the update, determine the no. o The volume of the first delivery and the volume of the oil outlet of the oth section o The second end time of the second delivery, that is, returns to the above S303.
[0096] In S310, the remaining amount of the incoming oil of the i-th section is determined as the no. o The volume of the oil delivered each time, and the first end time of the i-th oil collection operation is determined as the no. o The second end time of the second delivery.
[0097] If the remaining outgoing line oil volume of the o-th section outgoing line oil is greater than the remaining incoming line oil volume of the i-th section incoming line oil corresponding to the i-th oil collection operation, it means that the remaining incoming line oil of the i-th section incoming line oil cannot completely push out the remaining outgoing line oil of the o-th section outgoing line oil, that is, it is necessary to use the remaining incoming line oil of the i-th section incoming line oil and the incoming line oil of the subsequent sections to completely push out the remaining outgoing line oil of the o-th section outgoing line oil. At this time, the remaining incoming line oil volume of the i-th section incoming line oil is determined as the no. o The volume delivered each time is The first end time of the i-th oil collection operation is determined as the no. o The second end time of the delivery, i.e. Among them, tein i is the first end time of the i-th oil recovery operation.
[0098] In S311, the remaining outgoing oil volume of the o-th stage outgoing oil and the remaining incoming oil volume of the i-th stage incoming oil are updated.
[0099] Since the remaining incoming oil of the i-th section cannot completely push out the remaining outgoing oil of the o-th section, it is necessary to use the remaining incoming oil of the i-th section and the incoming oil of the subsequent sections to completely push out the remaining outgoing oil of the o-th section. Therefore, the remaining incoming oil amount of the i-th section is vsin i =0, at this time, it can be determined whether the i-th section of incoming oil is the last section of incoming oil of the long-distance pipeline, that is, the following S312 is executed.
[0100] Remaining oil volume of the oth section of the outlet oil That is, the remaining amount of outlet oil in the oth section after updating is
[0101] In S312, it is determined whether i is equal to the total number of oil collection times.
[0102] If i is not equal to the total number of oil collections, that is, i is less than the total number of oil collections, it means that the i-th section of incoming oil is not the last section of the long-distance pipeline. At this time, the i+1-th section of incoming oil is needed to push out the remaining outgoing oil of the o-th section of outgoing oil, that is, the o-th section of outgoing oil needs to leave the long-distance pipeline in multiple times. Therefore, i is increased by 1, no oAlso add 1, that is, execute the following S313, then return to the above S302 to continue executing until i is equal to the total number of oil collection times, wherein, after returning to S302 and executing S303, it is to determine whether the remaining outgoing oil volume of the oth section of the outgoing oil obtained after the update is greater than the remaining incoming oil volume of the i-th section of the incoming oil corresponding to the i-th oil collection operation; if i is equal to the total number of oil collection times, it indicates that the i-th section of the incoming oil is the last section of the incoming oil of the long-distance pipeline. At this time, it indicates that all the incoming oil of the long-distance pipeline has entered the long-distance pipeline, and the long-distance pipeline oil delivery is completed, that is, the complete oil delivery plan of the long-distance pipeline is obtained, and at this time, the method flow can be ended.
[0103] In S313, let i and no o Add 1 to each.
[0104] In addition, the destination of each delivery of the o-th section of the outgoing oil is the oil storage destination or the incoming oil destination of the o-th section of the outgoing oil, wherein, when the o-th section of the outgoing oil is a pipeline section, the destination of each delivery of the o-th section of the outgoing oil is the oil storage destination of the o-th section of the outgoing oil; when the o-th section of the outgoing oil is the incoming oil leaving the long-distance pipeline, the destination of each delivery of the o-th section of the outgoing oil is the incoming oil destination of the o-th section of the outgoing oil.
[0105] The delivered oil type for each delivery of the o-th section of the outgoing oil is the initial oil type or the delivery oil type of the o-th section of the outgoing oil, wherein, when the o-th section of the outgoing oil is a pipeline section, the delivered oil type for each delivery of the o-th section of the outgoing oil is the initial oil type of the o-th section of the outgoing oil, and when the o-th section of the outgoing oil is the incoming oil leaving the long-distance pipeline, the delivered oil type for each delivery of the o-th section of the outgoing oil is the delivery oil type of the o-th section of the outgoing oil.
[0106] In addition, the oil payment plans for each outlet oil obtained through the above S301 to S313 are relatively scattered. In order to make the oil payment plans clearer and more reasonable, the obtained oil payment plans can be sorted and sorted. Specifically, the above S202 can also include the following two steps:
[0107] If i is equal to the total number of oil collections, the oil delivery operations of the long-distance pipeline are uniformly numbered according to the order in which the outgoing oil leaves the long-distance pipeline and the order in which each outgoing oil is delivered;
[0108] Two oil delivery operations with the same second delivery rate, delivery destination and delivery oil type and adjacent delivery operation times are merged.
[0109] In the present disclosure, adjacent operation times means that the end time of the d-th oil delivery operation is the same as the start time of the d+1-th oil delivery operation; uniformly numbering the oil delivery operations of the long-distance pipeline means that for each section of outgoing oil, the double-layer structure information of L transportation operations of the section of outgoing oil is converted into the single-layer structure information of L oil delivery operations.
[0110] For example, the long-distance pipeline includes three sections of outgoing oil, wherein the first section of outgoing oil is a pipeline section, which is M02 oil and is transported once. The second start time of the first delivery of the first section of outgoing oil is 0.00h, the second end time is 11.16h, and the second delivery rate is 2100m 3 / h, the oil delivery destination is plant tank CT08, the oil delivery volume is 23443m 3 The second section of the outgoing oil is the incoming oil, which is M02 oil, and is transported once. The second start time of the first transport of the second section of the outgoing oil is 11.16h, the second end time is 19.47h, and the second transport rate is 2100m 3 / h, the oil delivery destination is plant tank CT08, the oil delivery volume is 17441m 3 The third section of the outgoing oil is the incoming oil, which is M08 oil and is transported in two times. The second start time of the first delivery of the third section of the outgoing oil is 25.71h, the second end time is 46.82h, and the second delivery rate is 2100m 3 / h, the oil delivery destination is the plant tank CT01, and the oil delivery volume is 44320m 3 The second start time of the second delivery of the third section of the oil is 46.82h, the second end time is 48.58h, and the second delivery rate is 2100m 3 / h, the oil delivery destination is plant tank CT06, and the oil delivery volume is 3690m 3 According to the order in which the three sections of outgoing oil leave the long-distance pipeline and the order in which each outgoing oil is delivered each time, the oil delivery operations of the long-distance pipeline are integrated (ie, uniformly numbered), and the oil delivery sequence shown in Table 4 is obtained.
[0111] Among them, the second delivery rate, oil delivery destination and oil delivery oil type of the first delivery of the first section outlet oil and the first delivery of the second section outlet oil are the same, and the oil delivery operation time is adjacent. Therefore, the first delivery of the first section outlet oil and the first delivery of the second section outlet oil can be combined to obtain the oil delivery operation parameters shown in Table 5 below.
[0112] Table 4: Operation parameters of long-distance pipeline oil delivery after unified numbering
[0113]
[0114] Table 5: Combined long-distance pipeline delivery operation parameters
[0115]
[0116] In addition, after determining the oil delivery operation parameters of the long-distance pipeline, the oil storage distribution in the long-distance pipeline at the end of the current crude oil scheduling project can also be determined based on the parameters, that is, the end-of-period pipeline oil storage, for the next crude oil scheduling project. Specifically, the above method can also include the following steps:
[0117] The crude oil section in the incoming oil, excluding the outgoing oil, is determined as the end-of-term pipeline inventory of the long-distance pipeline.
[0118] For example, based on the pipeline segment information of the initial oil storage in the pipeline shown in Table 1 above, and the oil receiving operation parameters and the destination of the incoming oil of the long-distance pipeline shown in Table 2 above, the oil delivery operation parameters of the long-distance pipeline shown in Table 3 above and the distribution information of the oil storage in the pipeline at the end of the period of the long-distance pipeline shown in Table 6 below can be obtained.
[0119] Table 6 Distribution information of oil reserves in long-distance pipelines at the end of the period
[0120]
[0121] Figure 4 FIG. 1 is a block diagram of a long-distance pipeline crude oil transportation device according to an exemplary embodiment. Figure 4 As shown, the device 400 includes:
[0122] The acquisition module 401 is used to acquire the pipeline segment information of the initial oil storage in the long-distance pipeline, the oil receiving operation parameters of the long-distance pipeline, and the destination of the incoming oil;
[0123] The first determination module 402 is used to determine the oil delivery operation parameters of the long-distance pipeline according to the pipeline segment information, the oil receiving operation parameters and the destination of the incoming oil.
[0124] In the above technical scheme, the pipeline section information of the initial oil storage in the long-distance pipeline, the oil collection operation parameters of the long-distance pipeline and the destination of the incoming oil are first obtained; then, the oil delivery operation parameters of the long-distance pipeline are determined according to the pipeline section information, the oil collection operation parameters and the destination of the incoming oil. In this way, as long as the oil collection plan of the long-distance pipeline is given and the destinations of the crude oil in the initial pipeline and the incoming oil are allocated, the oil delivery plan of the long-distance pipeline can be automatically compiled. Therefore, the crude oil transportation plan of the long-distance pipeline can be quickly and automatically compiled without manual intervention, which not only reduces the scheduling threshold, but also reduces the work intensity of personnel and improves the productivity of the enterprise, which is of great significance for achieving stable production and economic production. In addition, the rationality of the long-distance pipeline oil collection plan and the destination of the crude oil in the pipeline can be verified according to the oil delivery operation parameters of the long-distance pipeline. In addition, the present disclosure can solve the problem of crude oil transportation in long-distance pipelines and realize efficient transportation of crude oil in long-distance pipelines. Crude oil is usually corrosive and will corrode the pipeline if it stays in the long-distance pipeline for a long time. Therefore, the present disclosure can solve the technical problem of inhibiting corrosion of long-distance pipelines.
[0125] Optionally, the pipeline segment information includes the initial volume, initial oil type and destination of the stored oil of each pipeline segment included in the initial pipeline oil reserves, wherein the same type of crude oil that is continuously distributed and has the same destination in the initial pipeline oil reserves is divided into one pipeline segment;
[0126] The oil collection operation parameters include a first start time, a first end time, an oil collection volume, a first delivery rate, and a delivered oil type for each oil collection operation;
[0127] The oil delivery operation parameters include the second start time, the second end time, the oil delivery volume, the second delivery rate, the oil delivery destination and the oil type of each outgoing oil leaving the long-distance pipeline, wherein the outgoing oil is the incoming oil of the pipeline section or leaving the long-distance pipeline.
[0128] Optionally, the first determining module 402 includes:
[0129] Initialization submodule, used to set i=1, o=1, no o =1, where i represents the i-th oil collection operation of the long-distance pipeline, o represents the o-th section of the long-distance pipeline oil, and no o Indicates the number of the oil outlet of the oth section o The outgoing oil is arranged in the order of entering the long-distance pipeline;
[0130] The first determination submodule is used to determine the first start time of the i-th oil collection operation as the no. o The second starting time of the first delivery is to determine the first delivery rate of the i-th oil collection operation as the no. o a second delivery rate for the secondary delivery;
[0131] The second determination submodule is used to determine whether the remaining outgoing oil volume of the o-th section outgoing oil is greater than the remaining incoming oil volume of the i-th section incoming oil corresponding to the i-th oil collection operation;
[0132] The third determining submodule is configured to determine the volume of the o-th segment of the outgoing oil as the no. o The volume of the oil delivered at the first stage is o the second start time of the first delivery, the no. o The second delivery rate of the oth section outlet oil and the no. o The volume of the oil delivered at the first time determines the oil output of the first section. o The second end time of the second delivery;
[0133] The first updating submodule is used to update the remaining outgoing oil volume of the oth segment outgoing oil and the remaining incoming oil volume of the ith segment incoming oil, and to increase o by 1, no o =1;
[0134] The fourth determination submodule is used to determine whether the remaining incoming line oil amount of the i-th section incoming line oil obtained after updating is equal to zero;
[0135] The first trigger submodule is used for, if the remaining amount of incoming oil of the i-th section incoming oil obtained after the update is equal to zero, then adding 1 to i and triggering the first determination submodule to determine the first start time of the i-th oil collection operation as the no. o The second starting time of the first delivery is to determine the first delivery rate of the i-th oil collection operation as the no. o The second delivery rate of the oil delivery is increased until i is equal to the total number of oil collection times;
[0136] The destination of the delivered oil of the oth section outlet for each delivery is the storage oil destination or the incoming oil destination of the oth section outlet oil, and the oil type of the delivered oil of the oth section outlet for each delivery is the initial oil type or the delivered oil type of the oth section outlet oil.
[0137] Optionally, the first determining module 402 further includes:
[0138] The fifth determining submodule is used for, if the remaining amount of the incoming oil of the i-th section of the incoming oil obtained after the update is not equal to zero, o-1 The second end time of the second delivery is determined as the no. o The second starting time of the ith delivery, and the first delivery rate of the ith oil collection operation is determined as the no. o a second delivery rate for the secondary delivery;
[0139] The second triggering submodule is used to trigger the second determining submodule to determine whether the remaining outgoing oil volume of the o-th section outgoing oil is greater than the remaining incoming oil volume of the i-th section incoming oil corresponding to the i-th oil collecting operation.
[0140] Optionally, the first determining module 402 further includes:
[0141] The sixth determining submodule is configured to determine the remaining inlet oil volume of the i-th section inlet oil as the no. 1 value of the o-th section outlet oil if the remaining outlet oil volume of the o-th section outlet oil is greater than the remaining inlet oil volume of the i-th section inlet oil. o The volume of the oil delivered for the first time, and the first end time of the i-th oil collection operation is determined as the no.o The second end time of the second delivery;
[0142] The second updating submodule is used to update the remaining outgoing oil volume of the o-th section outgoing oil and the remaining incoming oil volume of the i-th section incoming oil;
[0143] The third trigger submodule is used to make i and no o 1 is added to each of them, and the first determining submodule is triggered to determine the first starting time of the i-th oil collection operation as the no. o The second starting time of the first delivery is to determine the first delivery rate of the i-th oil collection operation as the no. o The second delivery rate of the oil collection is increased until i is equal to the total number of oil collection times.
[0144] Optionally, the first determining module 402 further includes:
[0145] A numbering submodule, for uniformly numbering the oil delivery operations of the long-distance pipeline according to the order in which the outgoing oil leaves the long-distance pipeline and the order in which each outgoing oil is delivered, if i is equal to the total number of oil collection times;
[0146] The merging submodule is used to merge two oil delivery operations which have the same second delivery rate, oil delivery destination and oil delivery type and are adjacent in time.
[0147] Optionally, the device 400 further includes:
[0148] The second determination module is used to determine the crude oil section in the incoming oil except the outgoing oil as the end-of-period pipeline stock of the long-distance pipeline.
[0149] Regarding the device in the above embodiment, the specific manner in which each module performs operations has been described in detail in the embodiment of the method, and will not be elaborated here.
[0150] Figure 5 FIG. 7 is a block diagram of an electronic device 700 according to an exemplary embodiment. Figure 5 As shown, the electronic device 700 may include: a processor 701 and a memory 702. The electronic device 700 may also include one or more of a multimedia component 703, an input / output (I / O) interface 704, and a communication component 705.
[0151] The processor 701 is used to control the overall operation of the electronic device 700 to complete all or part of the steps in the above-mentioned long-distance pipeline crude oil transportation method. The memory 702 is used to store various types of data to support the operation of the electronic device 700, and these data may include, for example, instructions for any application or method used to operate on the electronic device 700, and application-related data, such as contact data, sent and received messages, pictures, audio, video, etc. The memory 702 can be implemented by any type of volatile or non-volatile storage device or a combination thereof, such as static random access memory (Static Random Access Memory, referred to as SRAM), electrically erasable programmable read-only memory (Electrically Erasable Programmable Read-Only Memory, referred to as EEPROM), erasable programmable read-only memory (Erasable Programmable Read-Only Memory, referred to as EPROM), programmable read-only memory (Programmable Read-Only Memory, referred to as PROM), read-only memory (Read-Only Memory, referred to as ROM), magnetic memory, flash memory, disk or optical disk. The multimedia component 703 may include a screen and an audio component. The screen may be, for example, a touch screen, and the audio component is used to output and / or input audio signals. For example, the audio component may include a microphone for receiving external audio signals. The received audio signal may be further stored in the memory 702 or sent through the communication component 705. The audio component also includes at least one speaker for outputting audio signals. The I / O interface 704 provides an interface between the processor 701 and other interface modules, and the other interface modules may be keyboards, mice, buttons, etc. These buttons may be virtual buttons or physical buttons. The communication component 705 is used for wired or wireless communication between the electronic device 700 and other devices. Wireless communication, such as Wi-Fi, Bluetooth, Near Field Communication (NFC), 2G, 3G, 4G, NB-IOT, eMTC, or other 5G, etc., or a combination of one or more of them, is not limited here. Therefore, the corresponding communication component 705 may include: Wi-Fi module, Bluetooth module, NFC module, etc.
[0152] In an exemplary embodiment, the electronic device 700 can be implemented by one or more application specific integrated circuits (ASIC), digital signal processors (DSP), digital signal processing devices (DSPD), programmable logic devices (PLD), field programmable gate arrays (FPGA), controllers, microcontrollers, microprocessors or other electronic components to execute the above-mentioned long-distance pipeline crude oil transportation method.
[0153] In another exemplary embodiment, a computer-readable storage medium including program instructions is also provided, and when the program instructions are executed by a processor, the steps of the above-mentioned long-distance pipeline crude oil transportation method are implemented. For example, the computer-readable storage medium can be the above-mentioned memory 702 including program instructions, and the above-mentioned program instructions can be executed by the processor 701 of the electronic device 700 to complete the above-mentioned long-distance pipeline crude oil transportation method.
[0154] Figure 6 1 is a block diagram of an electronic device 1900 according to an exemplary embodiment. For example, the electronic device 1900 may be provided as a server. Figure 6 The electronic device 1900 includes a processor 1922, which may be one or more, and a memory 1932 for storing a computer program executable by the processor 1922. The computer program stored in the memory 1932 may include one or more modules each corresponding to a set of instructions. In addition, the processor 1922 may be configured to execute the computer program to perform the above-mentioned long-distance pipeline crude oil transportation method.
[0155] In addition, the electronic device 1900 may further include a power supply component 1926 and a communication component 1950, wherein the power supply component 1926 may be configured to perform power management of the electronic device 1900, and the communication component 1950 may be configured to implement communication, for example, wired or wireless communication, of the electronic device 1900. In addition, the electronic device 1900 may further include an input / output (I / O) interface 1958. The electronic device 1900 may operate based on an operating system stored in the memory 1932.
[0156] In another exemplary embodiment, a computer-readable storage medium including program instructions is also provided, and when the program instructions are executed by a processor, the steps of the above-mentioned long-distance pipeline crude oil transportation method are implemented. For example, the non-transitory computer-readable storage medium can be the above-mentioned memory 1932 including program instructions, and the above-mentioned program instructions can be executed by the processor 1922 of the electronic device 1900 to complete the above-mentioned long-distance pipeline crude oil transportation method.
[0157] In another exemplary embodiment, a computer program product is also provided. The computer program product includes a computer program that can be executed by a programmable device. The computer program has a code portion for executing the above-mentioned long-distance pipeline crude oil transportation method when executed by the programmable device.
[0158] The preferred embodiments of the present disclosure are described in detail above in conjunction with the accompanying drawings; however, the present disclosure is not limited to the specific details in the above embodiments. Within the technical concept of the present disclosure, a variety of simple modifications can be made to the technical solution of the present disclosure, and these simple modifications all fall within the protection scope of the present disclosure.
[0159] It should also be noted that the various specific technical features described in the above specific embodiments can be combined in any suitable manner without contradiction. In order to avoid unnecessary repetition, the present disclosure will not further describe various possible combinations.
[0160] In addition, various embodiments of the present disclosure may be arbitrarily combined, and as long as they do not violate the concept of the present disclosure, they should also be regarded as the contents disclosed by the present disclosure.
Claims
1. A method for transporting crude oil via a long-distance pipeline, characterized in that: include: Obtaining the pipeline section information of the initial oil storage in the long-distance pipeline, the oil collection operation parameters of the long-distance pipeline, and the destination of the incoming oil; The oil delivery operation parameters of the long-distance pipeline are determined according to the pipeline section information, the oil receiving operation parameters and the destination of the incoming oil.
2. The method according to claim 1, characterized in that The pipeline segment information includes the initial volume, initial oil type and destination of the stored oil of each pipeline segment included in the initial pipeline oil storage, wherein the same type of crude oil that is continuously distributed and has the same destination in the initial pipeline oil storage is divided into one pipeline segment; The oil collection operation parameters include a first start time, a first end time, an oil collection volume, a first delivery rate, and a delivered oil type for each oil collection operation; The oil delivery operation parameters include the second start time, the second end time, the oil delivery volume, the second delivery rate, the oil delivery destination and the oil type of each outgoing oil leaving the long-distance pipeline, wherein the outgoing oil is the incoming oil of the pipeline section or leaving the long-distance pipeline.
3. The method according to claim 2, characterized in that Determining the oil delivery operation parameters of the long-distance pipeline according to the pipeline segment information, the oil receiving operation parameters and the destination of the incoming oil includes: Let i=1, o=1, no o =1, where i represents the i-th oil collection operation of the long-distance pipeline, o represents the o-th section of the long-distance pipeline oil, and no o Indicates the number of the oil outlet of the oth section o The outgoing oil is arranged in the order of entering the long-distance pipeline; The first start time of the i-th oil collection operation is determined as the no. o The second starting time of the first delivery is to determine the first delivery rate of the i-th oil collection operation as the no. o a second delivery rate for the secondary delivery; Determine whether the remaining outgoing oil volume of the o-th section outgoing oil is greater than the remaining incoming oil volume of the i-th section incoming oil corresponding to the i-th oil collection operation; If the remaining amount of the o-th section of the outgoing oil is not greater than the remaining amount of the i-th section of the incoming oil, the volume of the o-th section of the outgoing oil is determined as the no. o The volume of the oil delivered at the first stage is o the second start time of the first delivery, the no. o The second delivery rate of the oth section outlet oil and the no. o The volume of the oil delivered at the first time determines the oil output of the first section. o The second end time of the second delivery; Update the remaining outgoing oil volume of the oth section outgoing oil and the remaining incoming oil volume of the ith section incoming oil, and set o to increase by 1, no o =1; Determine whether the remaining amount of incoming line oil of the i-th section incoming line oil obtained after updating is equal to zero; If the remaining amount of incoming oil of the i-th section of the incoming oil obtained after the update is equal to zero, then i is incremented by 1, and the method of determining the first start time of the i-th oil collection operation as the no. o The second starting time of the first delivery is to determine the first delivery rate of the i-th oil collection operation as the no. o The second delivery rate step of the oil delivery is repeated until i is equal to the total number of oil collection times; The destination of the delivered oil of the oth section outlet for each delivery is the storage oil destination or the incoming oil destination of the oth section outlet oil, and the oil type of the delivered oil of the oth section outlet for each delivery is the initial oil type or the delivered oil type of the oth section outlet oil.
4. The method according to claim 3, characterized in that The step of determining the oil delivery operation parameters of the long-distance pipeline according to the pipeline segment information, the oil receiving operation parameters and the destination of the incoming oil further includes: If the remaining amount of the i-th section of the incoming oil obtained after the update is not equal to zero, the no. o-1 The second end time of the second delivery is determined as the no. o The second starting time of the ith delivery, and the first delivery rate of the ith oil collection operation is determined as the no. o a second delivery rate for the secondary delivery; Return to the step of determining whether the remaining outgoing oil volume of the o-th section outgoing oil is greater than the remaining incoming oil volume of the i-th section incoming oil corresponding to the i-th oil collecting operation.
5. The method according to claim 3, characterized in that: The step of determining the oil delivery operation parameters of the long-distance pipeline according to the pipeline segment information, the oil receiving operation parameters and the destination of the incoming oil further includes: If the remaining amount of the o-th section of the outlet oil is greater than the remaining amount of the i-th section of the inlet oil, the remaining amount of the i-th section of the inlet oil is determined as the no. o The volume of the oil delivered for the first time, and the first end time of the i-th oil collection operation is determined as the no. o The second end time of the second delivery; Updating the remaining outgoing oil volume of the o-th section outgoing oil and the remaining incoming oil volume of the i-th section incoming oil; Let i and no o 1 is added to each of them, and the first start time of the i-th oil collection operation is determined as the no. o The second starting time of the first delivery is to determine the first delivery rate of the i-th oil collection operation as the no. o The second delivery rate step of the delivery is repeated until i is equal to the total number of oil collection times.
6. The method according to any one of claims 3 to 5, characterized in that: The step of determining the oil delivery operation parameters of the long-distance pipeline according to the pipeline segment information, the oil receiving operation parameters and the destination of the incoming oil further includes: If i is equal to the total number of oil collection times, then the oil delivery operations of the long-distance pipeline are uniformly numbered according to the order in which the outgoing oil leaves the long-distance pipeline and the order in which each outgoing oil is delivered; Two oil delivery operations with the same second delivery rate, delivery destination and delivery oil type and adjacent delivery operation times are merged.
7. The method according to claim 2, characterized in that The method further comprises: The crude oil section in the inlet oil except the outlet oil is determined as the end-of-term pipeline stock of the long-distance pipeline.
8. A long-distance pipeline crude oil transportation device, characterized in that: include: An acquisition module, used to acquire pipeline segment information of the initial oil storage in the long-distance pipeline, oil collection operation parameters of the long-distance pipeline, and the destination of the incoming oil; The first determination module is used to determine the oil delivery operation parameters of the long-distance pipeline according to the pipeline section information, the oil receiving operation parameters and the destination of the incoming oil.
9. A non-transitory computer-readable storage medium having a computer program stored thereon, characterized in that: When the program is executed by a processor, the steps of the method described in any one of claims 1 to 7 are implemented.
10. An electronic device, characterized in that: include: a memory having a computer program stored thereon; A processor, configured to execute the computer program in the memory to implement the steps of the method according to any one of claims 1 to 7.
