Coastal refinery emergency scheduling method, device and equipment and storage medium
Through simulation and optimization, the abnormal crude oil dispatch caused by load changes in the refinery's atmospheric and vacuum distillation unit is resolved, enabling rapid and low-cost optimization of the dispatch plan and ensuring production stability.
Patent Information
- Application Number
- CN202311639258.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2023-12-01
- Publication Date
- 2025-11-21
- Estimated Expiration
- 2043-12-01
AI Technical Summary
Abnormal crude oil dispatch caused by changes in the load of the refinery's atmospheric and vacuum distillation unit may lead to excessive tank storage, insufficient tank receiving and payment for settling and desalting time, or conflicts in unloading at the terminal, affecting production stability.
By using simulation to identify abnormal information in scheduling events, adjustments are made to long-distance pipeline transmission, time shifting, oil borrowing from the same tank farm, oil borrowing from commercial storage tanks, and tanker unloading speed to optimize the crude oil scheduling plan and ensure that there is no abnormal information.
Quickly obtain new, highly feasible crude oil dispatch plans, reduce costs, improve the feasibility of dispatch plans, and mitigate the impact of anomalies.
Smart Images

Figure CN120087732B_ABST
Abstract
Description
TECHNICAL FIELD
[0001] The present application belongs to the technical field of crude oil scheduling, and particularly relates to a coastal refinery emergency scheduling method and device, equipment and storage medium. BACKGROUND
[0002] For a refinery, the atmospheric-vacuum distillation unit is the leading unit. Due to fluctuations in downstream units, the load of the atmospheric-vacuum distillation unit changes, most of which is load reduction, and in extreme cases, the unit is shut down. If the load is reduced, it may cause a tank to burst, and if the load is increased, it may result in a lack of oil. SUMMARY
[0003] To solve the above problems, the present application provides a coastal refinery emergency scheduling method and device, equipment and storage medium.
[0004] The first object of the present application is to provide a coastal refinery emergency scheduling method, which comprises:
[0005] Based on the inspection of the crude oil scheduling information of the coastal refinery emergency scheduling request, the crude oil scheduling abnormal information of the scheduling event is determined;
[0006] Based on the crude oil scheduling abnormal information of the scheduling event, the crude oil scheduling plan is adjusted;
[0007] Based on the adjustment of the crude oil scheduling plan, a new crude oil scheduling plan is obtained.
[0008] In the embodiment of the present application, the inspection of the crude oil scheduling information of the coastal refinery emergency scheduling request to determine the crude oil scheduling abnormal information of the scheduling event comprises:
[0009] Collect all scheduling event information in the scheduling period corresponding to the crude oil scheduling information;
[0010] Based on the simulation deduction result of each scheduling event, the crude oil scheduling abnormal information of the scheduling event is determined.
[0011] In the embodiment of the present application, the simulation deduction result of each scheduling event is determined based on all scheduling events, and the crude oil scheduling abnormal information of the scheduling event is determined.
[0012] In the scheduling period, each scheduling event is simulated and deduced, until the simulation and deduction of all scheduling events are completed, wherein the inspection of the simulation and deduction comprises:
[0013] First inspection: inspect whether the upper and lower limits of the tank storage are broken through;
[0014] Second inspection: inspect whether the tank receiving and delivery does not meet the static desalination time and whether the tank receiving and delivery does not meet the receiving and delivery conditions, wherein the cases that do not meet the conditions include multiple inputs, multiple outputs and simultaneous inputs and outputs;
[0015] Third test: test whether the oil unloading at the wharf occupies a conflict;
[0016] The simulation deduction result is determined as the crude oil scheduling exception information of the scheduling event, wherein the simulation deduction result is corresponding information when the first test result is yes, and / or the simulation deduction result is corresponding information when the second test result is yes, and / or the simulation deduction result is corresponding information when the third test result is yes.
[0017] In the embodiment of the present application, in the simulation deduction of all scheduling events in the scheduling period, the simulation deduction is performed according to the time sequence of the scheduling events in the scheduling period, wherein the time sequence of the scheduling events is the scheduling event information.
[0018] In the embodiment of the present application, when the crude oil scheduling plan is adjusted, the crude oil scheduling exception information exists in the scheduling period, and the adjustment includes:
[0019] The two steps of adjustment and simulation deduction are cyclically performed according to the time sequence of the scheduling events in the scheduling period, until the crude oil scheduling exception information does not exist in the crude oil scheduling plan;
[0020] In the adjustment process, the adjusted crude oil scheduling plan of the current scheduling event is used as the crude oil scheduling plan of the next scheduling event, and the adjustment of the current scheduling event does not cause the crude oil scheduling exception.
[0021] In the embodiment of the present application, the adjustment of the crude oil scheduling plan based on the crude oil scheduling exception information of the scheduling event includes:
[0022] The long-distance pipeline transmission event is modified based on the crude oil scheduling exception information of the scheduling event;
[0023] The modified long-distance pipeline transmission event is used as the adjusted scheduling plan for the first test;
[0024] Based on the first test result, it is selected whether to judge whether the long-distance pipeline is shut down;
[0025] Based on the judgment result, it is selected whether to perform time shift on the long-distance pipeline transmission event;
[0026] The shifted transmission event is used as the adjusted scheduling plan for the second test;
[0027] Based on the second test result, it is selected whether to borrow oil from the same tank area;
[0028] The storage oil event of the same tank area after borrowing oil from the same tank area is used as the adjusted scheduling plan for the third test;
[0029] Based on the third test result, it is selected whether to borrow oil from the commercial storage tank;
[0030] The event of the commercial storage tank storing oil after borrowing oil from the commercial storage tank is taken as the fourth verification of the adjusted scheduling plan;
[0031] Based on the fourth verification result, it is selected whether to adjust the unloading speed of the oil tanker;
[0032] The unloading speed after the unloading speed adjustment is taken as the fifth verification of the adjusted scheduling plan;
[0033] Based on the fifth verification result, the adjustment of the crude oil scheduling plan is ended;
[0034] The first verification, the second verification and the third verification are included in the first verification, the second verification and the third verification.
[0035] The first verification: verifying whether the upper and lower limits of the tank are broken through;
[0036] The second verification: verifying whether the tank receiving and paying do not meet the static desalination time and whether the tank receiving and paying do not meet the receiving and paying conditions, wherein the cases of not meeting include multiple inputs, multiple outputs and simultaneous inputs and outputs;
[0037] The third verification: verifying whether the oil unloading at the wharf occupies conflicts.
[0038] In the embodiment of the present application, the modification of the long-distance pipeline transmission event comprises:
[0039] Identifying the to-be-adjusted time period and the minimum required adjusted transmission volume corresponding to the scheduling event;
[0040] Filtering a first alternative oil tank of the terminal oil tank according to a first preset condition;
[0041] Taking the first alternative oil tank as a first long-distance pipeline alternative transmission adjustment result;
[0042] Taking the first long-distance pipeline alternative transmission adjustment result as the sixth verification of the adjusted scheduling plan;
[0043] Based on the sixth verification result, it is selected whether to take the first long-distance pipeline alternative transmission adjustment result as the modified long-distance pipeline transmission event;
[0044] The terminal oil tank is an oil tank connected with a crude oil unit;
[0045] The sixth verification comprises the first verification, the first verification and the third verification;
[0046] The first preset condition comprises:
[0047] The first alternative oil tank is the same or similar to the crude oil tank;
[0048] The first alternative oil tank is in an available state and does not violate the static desalination constraint and the receiving and paying condition during the borrowed period.
[0049] The tank storage of the first alternative oil tank meets preset upper and lower limit requirements after the oil volume is borrowed.
[0050] In the embodiment of the present application, the selection of whether to perform the first long-distance pipeline replacement transmission adjustment result as the modified long-distance pipeline transmission event based on the sixth verification result comprises:
[0051] The sixth verification result is that the first verification result is no, the first verification result is no and the third verification result is no, and the first long-distance pipeline replacement transmission adjustment result is selected as the modified long-distance pipeline transmission event;
[0052] The sixth verification result is that the first verification result is yes, and / or the first verification result is yes, and / or the third verification result is yes, and a second alternative oil tank of a start point oil tank and an end point oil tank is screened according to a second preset condition;
[0053] The second alternative oil tank is used as a second long-distance pipeline replacement transmission adjustment result;
[0054] The second long-distance pipeline replacement transmission adjustment result is used as an adjusted scheduling plan, and a seventh verification is performed;
[0055] The selection of whether to perform the second long-distance pipeline replacement transmission adjustment result as the modified long-distance pipeline transmission event based on the seventh verification result comprises:
[0056] The seventh verification comprises the first verification, the first verification and the third verification;
[0057] The start point oil tank is an oil tank connected to the end point oil tank through the long-distance pipeline;
[0058] The second preset condition comprises that the second alternative oil tank is the same as or similar to the crude oil tank in oil type, the second alternative oil tank is in an available state during the borrowed period and does not violate the static desalting constraint and the receiving and paying condition, and the tank storage of the second alternative oil tank meets preset upper and lower limit requirements after the oil volume is borrowed.
[0059] In the embodiment of the present application, the selection of whether to perform the second long-distance pipeline replacement transmission adjustment result as the modified long-distance pipeline transmission event based on the seventh verification result comprises:
[0060] The seventh verification result is that the first verification result is no, the first verification result is no and the third verification result is no, and the second long-distance pipeline replacement transmission adjustment result is selected as the modified long-distance pipeline;
[0061] The seventh verification result is that the first verification result is yes, and / or the first verification result is yes, and / or the third verification result is yes, and the selection of performing the same tank area oil borrowing is performed;
[0062] The same-tank-area oil borrowing and the same-tank-area oil storage event after the oil borrowing is taken as the eighth verification of the adjusted scheduling plan;
[0063] Based on the eighth verification result, it is selected whether to take the same-tank-area oil borrowing and the same-tank-area oil storage event after the oil borrowing as the modified long-distance pipeline;
[0064] The eighth verification includes the first verification, the first verification and the third verification.
[0065] In the embodiment of the present application, based on the first verification result, it is selected whether to perform time shifting on the long-distance pipeline transmission event, including:
[0066] When the first verification result is no, and / or the first verification result is no, and / or the third verification result is no, it is selected to perform the judgment of whether the long-distance pipeline is shut down.
[0067] When the first verification result is no, and / or the first verification result is no, and / or the third verification result is no, it is selected to perform the judgment of whether the long-distance pipeline is shut down.
[0068] In the embodiment of the present application, based on the judgment result, it is selected whether to perform time shifting on the long-distance pipeline transmission event, including:
[0069] When the judgment result is no, it is selected not to perform time shifting on the long-distance pipeline transmission event.
[0070] When the judgment result is yes, it is selected to perform time shifting on the long-distance pipeline transmission event.
[0071] In the embodiment of the present application, the time shifting on the long-distance pipeline transmission event includes:
[0072] An abnormal in-plant tank set requiring adjustment by time shifting is collected, and a minimum shifting time length is set;
[0073] According to the abnormal degree of the upper and lower limits of the tank storage and the long-distance pipeline transmission rate, the minimum shifting time length required to eliminate the current tank abnormality is calculated;
[0074] The target minimum shifting time length is determined according to the set minimum shifting time length and the calculated minimum shifting time length;
[0075] The long-distance pipeline transmission event is time shifted according to the target minimum shifting time length.
[0076] In the embodiment of the present application, the same-tank-area oil borrowing includes:
[0077] The to-be-adjusted time period and the minimum required transmission amount corresponding to the scheduling event are identified;
[0078] The third alternative oil tank of the crude oil tank is screened according to the third preset condition.
[0079] The third alternative oil tank is used as a result of the oil borrowing adjustment;
[0080] The third preset condition includes: the third alternative oil tank is the same or similar to the oil tank; the third alternative oil tank is in a usable state during the borrowed period and does not violate the standing desalination constraint and the receiving and paying condition; and the oil quantity of the third alternative oil tank meets the preset upper and lower limit requirements after being borrowed.
[0081] In the embodiment of the present application, the commercial storage tank oil borrowing comprises:
[0082] Collecting an abnormal wharf tank set that needs to be adjusted by commercial storage tank oil borrowing;
[0083] Screening a commercial storage tank set in a state available for oil borrowing according to a fourth preset condition;
[0084] Collecting a time period set available for oil borrowing and oil return;
[0085] Under the optimization target and the constraint condition, a commercial storage tank oil borrowing result is determined based on the setting of variables;
[0086] The optimization target includes: the minimum number of abnormal wharf tank oil borrowing start point switching; the minimum number of abnormal wharf tank oil borrowing and oil return; and the maximum balance of oil borrowing and oil return;
[0087] The constraint condition includes: at most one event of the tank to be adjusted in each time period; the upper and lower limits of the tank storage at the end of each oil tank in each time period; the event start and end time constraint of the available time period of the oil tank; and the transmission event in the original scheduling plan;
[0088] The variables include: the delivery object of the oil tank in each time period; the delivery oil quantity of the oil tank in each time period; the start time and end time of each oil tank in each time period; and the tank storage at the end of each oil tank in each time period;
[0089] The time period set is the intersection of the available time periods of the commercial storage tank and the abnormal wharf tank;
[0090] The oil tank includes the abnormal wharf tank and the screened commercial storage tank;
[0091] The fourth preset condition includes: the oil type of the commercial storage tank matches the oil type of the abnormal wharf tank; and the commercial storage tank and the abnormal wharf tank have an intersection in the transmissible time period.
[0092] In the embodiment of the present application, the adjustment of the oil tanker unloading speed comprises:
[0093] Collecting an oil tanker set that causes abnormal wharf occupation due to ship schedule change;
[0094] According to the occupation information, a non-abnormal ship schedule to which the ship schedule can be adjusted is calculated;
[0095] According to the updated ship schedule and the oil tanker oil amount, the long-distance pipeline transmission rate is calculated;
[0096] In the case that the calculated long-distance pipeline transmission rate meets the wharf transmission rate limit, the oil tanker ship schedule is updated until all abnormal oil tanker ship schedule adjustments are successful.
[0097] A second object of the present application is to provide a coastal refinery emergency scheduling device, the device comprising:
[0098] The determination module is configured to determine crude oil scheduling exception information of a scheduling event based on inspection of crude oil scheduling information of the coastal refinery emergency scheduling request;
[0099] The adjustment module is configured to adjust the crude oil scheduling plan based on the crude oil scheduling exception information of the scheduling event;
[0100] The obtaining module obtains a new crude oil scheduling plan based on the adjustment of the crude oil scheduling plan.
[0101] A third object of the present application is to provide an electronic device, the electronic device comprising: a processor coupled with a memory;
[0102] The memory is configured to store a computer program;
[0103] The processor is configured to execute the computer program stored in the memory, so that the electronic device executes the method as described above.
[0104] A fourth object of the present application is to provide a computer readable storage medium, the computer readable storage medium storing a program or instructions, when the program or instructions are run on a computer, the computer executes the method as described above.
[0105] The present application has the following beneficial effects:
[0106] The coastal refinery emergency scheduling method and device, equipment and storage medium provided by the present application are suitable for adjusting the crude oil scheduling plan caused by the change of the atmospheric and vacuum distillation unit load, the present application adopts the modification of the long-distance pipeline transmission event, the time translation of the long-distance pipeline transmission event, the oil borrowing of the same tank area, the oil borrowing of the commercial storage tank area and the adjustment of the oil tanker unloading speed as the specific measures for the adjustment of the crude oil scheduling plan, the feasible new crude oil scheduling plan can be quickly obtained, and the obtained new crude oil scheduling plan meets the no crude oil scheduling exception information.
[0107] And the application further reduces the difference between the new crude oil scheduling and the original scheduling plan, reduces the cost caused by the change of the crude oil scheduling plan, and further improves the feasibility of the new crude oil scheduling by setting various optimization targets, preset or constraint conditions through long pipeline transmission event modification, time translation of long pipeline transmission event, oil borrowing from the same tank area, oil borrowing from the commercial storage tank area, and adjusting the oil unloading speed of the tanker.
[0108] Other features and advantages of the present application will be set forth in the following description, and in part will become apparent to those skilled in the art upon examination of the following or can be learned by practice of the present application. The objects and other advantages of the present application can be realized and attained by the structure particularly pointed out in the description, claims and drawings. BRIEF DESCRIPTION OF DRAWINGS
[0109] In order to more clearly illustrate the technical solutions in the embodiments of the present application or the prior art, the following will briefly introduce the drawings needed to be used in the embodiments or the prior art description. Obviously, the drawings in the following description are some embodiments of the present application, and for those skilled in the art, other drawings can also be obtained without creative labor on the basis of these drawings.
[0110] Figure 1 A flow chart of an emergency scheduling method of a coastal refinery according to an embodiment of the present application is shown;
[0111] Figure 2 A structural schematic diagram of a coastal refinery according to an embodiment of the present application is shown;
[0112] Figure 3 A block diagram of an emergency scheduling device of a coastal refinery according to an embodiment of the present application is shown;
[0113] Figure 4 A block diagram of an electronic device according to an embodiment of the present application is shown;
[0114] In the drawings:
[0115] Determination module 1; adjustment module 2; obtaining module 3; electronic device 300; processor 301; memory 302. DETAILED DESCRIPTION
[0116] In order to make the objects, technical solutions and advantages of the embodiments of the present application clearer, the following will combine the drawings in the embodiments of the present application to clearly and completely describe the technical solutions in the embodiments of the present application. Obviously, the described embodiments are some of the embodiments of the present application, not all the embodiments. Based on the embodiments in the present application, all other embodiments obtained by those skilled in the art without creative labor are within the protection scope of the present application.
[0117] As Figure 1 shown, according to an embodiment of the present application, a coastal refinery emergency scheduling method comprises:
[0118] Step S1, based on the inspection of crude oil scheduling information of the coastal refinery emergency scheduling request, determine the crude oil scheduling abnormal information of the scheduling event;
[0119] Step S2, based on the crude oil scheduling abnormal information of the scheduling event, adjust the crude oil scheduling plan;
[0120] Step S3, based on the adjustment of the crude oil scheduling plan, get the new crude oil scheduling plan.
[0121] In step S1, the inspection of crude oil scheduling information of the coastal refinery emergency scheduling request determines the crude oil scheduling abnormal information of the scheduling event, comprising:
[0122] Step A1, collect all scheduling event information in the scheduling period corresponding to the crude oil scheduling information;
[0123] Step A2, based on the simulation and deduction result of each scheduling event, determine the crude oil scheduling abnormal information of the scheduling event.
[0124] In step A1, the crude oil scheduling information of the coastal refinery emergency scheduling request includes the information content shown in Table 1;
[0125] Table 1
[0126]
[0127] As Figure 2 shown, the scheduling route of the crude oil of the coastal refinery includes cruise ships (on behalf of several cruise ships), wharfs (on behalf of several wharfs), wharf tank farms, in-plant tank farms (referring to in-plant tank farms) and crude oil units, the crude oil scheduling route is: sea-transported crude oil is transported from cruise ships to wharfs, then to wharf tank farms, and then from wharf tank farms to in-plant tank farms, sea-transported crude oil is mixed in in-plant tank farms to form mixed crude oil, and the mixed crude oil is transported to the crude oil unit. In this crude oil scheduling route, under the scenario that the load of the crude oil unit changes, it is possible to cause the tank storage in the tank farm information to exceed the preset upper and lower limits, and the scheduling event of the crude oil scheduling abnormality occurs. Based on this, it is necessary to adjust the scheduling plan of the scheduling event of the crude oil scheduling abnormality, first, the specific information of the crude oil scheduling abnormality of the scheduling event needs to be determined, that is, the purpose of step A1.
[0128] In step A2, based on the simulation and deduction result of each scheduling event, determine the crude oil scheduling abnormal information of the scheduling event, comprising:
[0129] Step B1, in the scheduling period, simulation deduction of all scheduling events one by one until the simulation deduction of all scheduling events is completed, wherein the test of simulation deduction includes:
[0130] First test: test whether the tank inventory upper and lower limits are broken through;
[0131] Second test: test whether the tank receiving and delivery does not meet the static desalination time; whether the tank receiving and delivery does not meet the receiving and delivery conditions, wherein the unsatisfied conditions include multiple in, multiple out, and simultaneous in and out;
[0132] Third test: test whether the wharf oil unloading occupies conflicts;
[0133] Step B2, the result of simulation deduction is the crude oil scheduling exception information of the scheduling event, wherein the result of simulation deduction is the corresponding information when the first test result is yes, and / or the corresponding information when the second test result is yes, and / or the corresponding information when the third test result is yes.
[0134] In step B1, in the simulation deduction of all scheduling events one by one in the scheduling period, the simulation deduction is performed one by one according to the time sequence of the scheduling events in the scheduling period, wherein the time of the scheduling event is derived from the scheduling event information; this kind of simulation deduction method one by one according to the sequence is only one kind of scheme which is most optimal in simulation deduction efficiency (speed) exemplarily put forward by the present application, and other schemes can also be used for simulation deduction in other embodiments of the present application, as long as all the scheduling events in the scheduling period are completed simulation deduction.
[0135] In step B2, the result of simulation deduction is the corresponding information when the first test result is yes, and / or the corresponding information when the second test result is yes, and / or the corresponding information when the third test result is yes, that is, after simulation deduction, there is a crude oil scheduling exception in the scheduling event, that is, it is determined that "test tank inventory upper and lower limits breakthrough", and / or "test tank receiving and delivery does not meet the static desalination time; and / or the tank receiving and delivery does not meet the receiving and delivery conditions", and / or "test wharf oil unloading occupies conflicts" are the crude oil scheduling exception information of the scheduling event;
[0136] And when the result of simulation deduction is that the first test result is no, the second test result is no and the third test result is no, that is, there is no crude oil scheduling exception in the scheduling event.
[0137] In step S2, when the crude oil scheduling plan is adjusted, there are multiple crude oil scheduling exception information of scheduling events in the scheduling period, and the adjustment includes:
[0138] According to the time sequence of the scheduling events in the scheduling period, the two steps of adjustment and simulation deduction are circularly executed until there is no crude oil scheduling exception information in the crude oil scheduling plan;
[0139] In the adjustment process, the adjusted crude oil scheduling plan of the current scheduling event is taken as the crude oil scheduling plan of the next scheduling event, and the adjustment of the current scheduling event does not cause the crude oil scheduling exception;
[0140] The sequential cycle adjustment method in the scheduling period is only an example of the present application, which is the most optimal adjustment efficiency (speed and error rate) when there are multiple scheduling events with crude oil scheduling exception information. In other embodiments of the present application, other solutions can be used for adjustment, as long as the new crude oil scheduling plan obtained after adjustment does not have crude oil scheduling exception information.
[0141] In step S2, the crude oil scheduling plan is adjusted based on the scheduling event crude oil scheduling exception information, including:
[0142] Step C1, modifying the long-distance pipeline transmission event based on the scheduling event crude oil scheduling exception information;
[0143] Step C2, first checking the modified long-distance pipeline transmission event as the adjusted scheduling plan;
[0144] Step C3, based on the first checking result, selecting whether to judge whether the long-distance pipeline is shut down;
[0145] Step C4, based on the judgment result, selecting whether to perform time shift on the long-distance pipeline transmission event;
[0146] Step C5, second checking the shifted transmission event as the adjusted scheduling plan;
[0147] Step C6, based on the second checking result, selecting whether to borrow oil from the same tank area;
[0148] Step C7, third checking the same tank area storage oil event after borrowing oil from the same tank area as the adjusted scheduling plan;
[0149] Step C8, based on the third checking result, selecting whether to borrow oil from the commercial storage tank;
[0150] Step C9, fourth checking the commercial storage tank storage oil event after borrowing oil from the commercial storage tank as the adjusted scheduling plan;
[0151] Step C10, based on the fourth checking result, selecting whether to adjust the oil unloading speed;
[0152] Step C11, fifth checking the unloading speed event after adjusting the unloading speed as the adjusted scheduling plan;
[0153] Step C12, based on the fifth checking result, ending the adjustment of the crude oil scheduling plan.
[0154] The first check, the second check, the third check, the fourth check and the fifth check each include a first check, a second check and a third check.
[0155] In the above steps:
[0156] The modification of the long-distance pipeline transmission event refers to eliminating the abnormality of the tank storage in the plant caused by the abnormality of the atmospheric and vacuum distillation by changing the starting point or the ending point of the long-distance pipeline transmission event to eliminate the abnormality of the tank storage in the plant caused by the original transmission event; the modification of the atmospheric and vacuum distillation formula eliminates the abnormality of the tank storage in the plant caused by the abnormality of the atmospheric and vacuum distillation by modifying the source tank and the oil transfer rate / proportion in the atmospheric and vacuum distillation event to eliminate the abnormality of the tank storage in the plant caused by the abnormality of the atmospheric and vacuum distillation;
[0157] The time translation refers to eliminating the abnormality of the tank storage in the plant caused by the abnormality of the atmospheric and vacuum distillation by performing time translation on the overall transmission event to eliminate the abnormality of the tank storage in the plant, and then adjusting other abnormalities (such as the abnormality of the tank storage or the receiving and delivering conditions of the wharf tank area) caused by the time translation. The time translation strategy will cause the interruption of the long-distance pipeline transmission, and therefore is only applicable to the scenario where the long-distance pipeline transmission is allowed to be interrupted;
[0158] The same tank area borrowing refers to eliminating the abnormality of the tank storage or the transmission by changing the starting point or the ending point of the transmission event to affect the tank storage and the transmission of the related tank;
[0159] The commercial storage tank area borrowing refers to eliminating the abnormality of the tank storage by adding a transmission of the commercial storage tank area to supplement the tank storage of the wharf tank area;
[0160] The oil tanker unloading speed adjustment refers to eliminating the abnormality of the tank storage of the wharf tank area by changing the oil tanker unloading speed, which may cause the delay of the oil tanker.
[0161] In step C1, the modification of the long-distance pipeline transmission event includes:
[0162] Step D1, identifying a to-be-adjusted time period and a minimum required adjusted transmission volume corresponding to the scheduling event;
[0163] Step D2, screening a first replacement oil tank of the ending point oil tank according to a first preset condition;
[0164] Step D3, taking the first replacement oil tank as a first long-distance pipeline replacement transmission adjustment result;
[0165] Step D4, taking the first long-distance pipeline replacement transmission adjustment result as an adjusted scheduling plan to perform a sixth check;
[0166] Step D5, based on the sixth check result, selecting whether to take the first long-distance pipeline replacement transmission adjustment result as a modified long-distance pipeline transmission event;
[0167] The terminal oil tank is an oil tank connected with the atmospheric-vacuum distillation device.
[0168] The sixth verification includes the first verification, the first verification, and the third verification.
[0169] The first preset condition includes:
[0170] The first alternative oil tank is the same as or similar to the crude oil tank in oil type.
[0171] The first alternative oil tank is in a usable state during the borrowed period and does not violate the static desalting constraint and the receiving and paying condition.
[0172] The first alternative oil tank oil quantity meets the preset upper and lower limit requirements after being borrowed.
[0173] In step D5, based on the sixth verification result, it is selected whether to perform the first long-distance pipeline replacement transmission adjustment result as the modified long-distance pipeline transmission event, including:
[0174] In step D51, the sixth verification result is that the first verification result is no, the first verification result is no, and the third verification result is no, that is, there is no abnormal situation of crude oil scheduling, and the first long-distance pipeline replacement transmission adjustment result is selected as the modified long-distance pipeline transmission event (that is, a new crude oil scheduling plan is obtained);
[0175] In step D52, the sixth verification result is that the first verification result is yes, and / or the first verification result is yes, and / or the third verification result is yes, that is, there is an abnormal situation of crude oil scheduling, and a second alternative oil tank of the starting oil tank and the terminal oil tank is selected according to the second preset condition;
[0176] In step D52', the second alternative oil tank is used as the second long-distance pipeline replacement transmission adjustment result;
[0177] In step D52'', the second long-distance pipeline replacement transmission adjustment result is used as the adjusted scheduling plan, and a seventh verification is performed;
[0178] In step D52''', based on the seventh verification result, it is selected whether to perform the second long-distance pipeline replacement transmission adjustment result as the modified long-distance pipeline transmission event;
[0179] The seventh verification includes the first verification, the first verification, and the third verification.
[0180] The starting oil tank is an oil tank connected with the terminal oil tank through a long-distance pipeline;
[0181] The second preset condition includes that the second alternative oil tank is the same as or similar to the crude oil tank in oil type, the second alternative oil tank is in a usable state during the borrowed period and does not violate the static desalting constraint and the receiving and paying condition, and the second alternative oil tank oil quantity meets the preset upper and lower limit requirements after being borrowed.
[0182] In step D52”’, the selecting whether to replace the transmission adjustment result of the second long-distance pipeline as the modified long-distance pipeline transmission event based on the seventh check result comprises:
[0183] In step D52”’1, when the seventh check result is that the first check result is no, the first check result is no and the third check result is no, i.e. there is no abnormal situation of crude oil scheduling, the second long-distance pipeline is selected to replace the transmission adjustment result as the modified long-distance pipeline (i.e. a new crude oil scheduling plan is obtained).
[0184] In step D52”’2, when the seventh check result is that the first check result is yes, and / or the first check result is yes, and / or the third check result is yes, i.e. there is an abnormal situation of crude oil scheduling, the same tank area is selected to borrow oil.
[0185] In step D52”’2’, the same tank area storage oil event after the same tank area borrows oil is subjected to an eighth check as an adjusted scheduling plan.
[0186] In step D52”’2”, whether to take the same tank area storage oil event after the same tank area borrows oil as the modified long-distance pipeline is selected based on the eighth check result.
[0187] The eighth check comprises the first check, the first check and the third check.
[0188] In step D52”’2”, the selecting whether to take the same tank area storage oil event after the same tank area borrows oil as the modified long-distance pipeline based on the eighth check result comprises:
[0189] In step D52”’2”1, when the eighth check result is that the first check result is no, the first check result is no and the third check result is no, i.e. there is no abnormal situation of crude oil scheduling, the same tank area storage oil event after the same tank area borrows oil is selected as the modified long-distance pipeline (i.e. a new crude oil scheduling plan is obtained).
[0190] In step D52”’2”2, when the eighth check result is that the first check result is yes, and / or the first check result is yes, and / or the third check result is yes, i.e. there is an abnormal situation of crude oil scheduling, the “modification of the long-distance pipeline transmission event” is terminated, i.e. the step C1 is terminated, and it is indicated that the step C1 cannot achieve a new crude oil scheduling plan without an abnormality, and directly enters the operation of “time shift of the long-distance pipeline transmission event”.
[0191] In step C3, the selecting whether to make a judgment on whether the long-distance pipeline is shut down based on the first check result comprises:
[0192] Step C31, the first check result is the first test result is no, the first test result is no and the third test result is no, that is, there is no crude oil scheduling abnormal situation, select no to determine whether the long-distance pipeline is shut down, that is, select to end the adjustment of the crude oil scheduling plan, and obtain the new crude oil scheduling plan of the modified long-distance pipeline transmission event in step C2 (that is, the scheduling plan of the modified long-distance pipeline transmission event);
[0193] Step C32, the first check result is the first test result is no, and / or the first test result is no, and / or the third test result is no, that is, there is a crude oil scheduling abnormal situation, select to determine whether the long-distance pipeline is shut down, wherein whether the long-distance pipeline is shut down is input information, which is determined by the manufacturer production plan of each specific coastal refinery.
[0194] In step C4, based on the judgment result, whether to perform time shift on the long-distance pipeline transmission event is selected, including:
[0195] Step C41, the judgment result is no, and no time shift is selected for the long-distance pipeline transmission event, then directly enter the "adjust the oil tanker unloading speed" step, and then enter steps C11 and C12.
[0196] Step C42, the judgment result is yes, and time shift is selected for the long-distance pipeline transmission event.
[0197] In step C5, the time shift for the long-distance pipeline transmission event includes:
[0198] Step E1, collect an abnormal in-plant tank set that needs to be adjusted by time shift, and set a minimum shift time length;
[0199] Step E2, calculate the minimum shift time length of the long-distance pipeline required to eliminate the current tank abnormality according to the tank storage upper and lower limit abnormality degree and the long-distance pipeline transmission rate;
[0200] Step E3, determine the target minimum shift time length according to the set minimum shift time length and the calculated minimum shift time length;
[0201] Step E4, perform time shift on the long-distance pipeline transmission event according to the target minimum shift time length.
[0202] In step C6, based on the second check result, whether to perform the same tank area oil borrowing is selected, including:
[0203] Step C61, when the second check result is no, the first check result is no, the first check result is no and the third check result is no, i.e. no abnormal situation of crude oil scheduling, selecting no to perform the same tank area oil borrowing, i.e. selecting to end the adjustment of the crude oil scheduling plan, obtaining a new crude oil scheduling plan after the translation adjustment in step C5 (i.e. the transmission event after the translation is taken as the adjusted scheduling plan);
[0204] Step C62, when the second check result is no, the first check result is no, and / or the first check result is no, and / or the third check result is no, i.e. there is an abnormal situation of crude oil scheduling, selecting to perform the same tank area oil borrowing.
[0205] In step C7, the same tank area oil borrowing includes:
[0206] Step F1, identifying a to-be-adjusted time period and a minimum required adjusted transmission volume corresponding to a scheduling event;
[0207] According to a third preset condition, a third alternative oil tank of the crude oil tank is screened;
[0208] Step F2, taking the third alternative oil tank as a borrowing adjustment result;
[0209] The third preset condition includes that the third alternative oil tank is the same or similar in oil type to the crude oil tank, the third alternative oil tank is in an available state at the borrowed period and does not violate the standing desalting constraint and the receiving and paying condition, and the oil volume of the third alternative oil tank satisfies a preset upper and lower limit requirement after being borrowed.
[0210] In step C8, based on the third check result, whether to perform the commercial storage tank oil borrowing is selected, including:
[0211] Step C81, when the third check result is no, the first check result is no and the third check result is no, i.e. no abnormal situation of crude oil scheduling, selecting no to perform the commercial storage tank oil borrowing, i.e. selecting to end the adjustment of the crude oil scheduling plan, obtaining a new crude oil scheduling plan after the same tank area oil borrowing adjustment in step C7 (i.e. the scheduling plan of the same tank area storage oil event after the same tank area oil borrowing);
[0212] Step C82, when the third check result is no, the first check result is no, and / or the first check result is no, and / or the third check result is no, i.e. there is an abnormal situation of crude oil scheduling, selecting to perform the commercial storage tank oil borrowing.
[0213] In step C9, the commercial storage tank oil borrowing includes:
[0214] Step G1, collecting an abnormal wharf tank set that needs to be adjusted by the commercial storage tank oil borrowing;
[0215] Step G2, screening a commercial storage tank set in a state available for oil borrowing according to a fourth preset condition;
[0216] Step G3, collect the time period set in which the oil can be borrowed and returned;
[0217] Step G4, based on the setting of the variables, determine the result of the oil borrowing of the commercial storage tank under the optimization target and the constraint condition;
[0218] The optimization target includes: the minimum number of abnormal wharf tank oil borrowing start point switching; the minimum number of abnormal wharf tank oil borrowing and returning; and the maximum balance of oil borrowing and returning.
[0219] The constraint condition includes: at most one event of each time period of the tank to be adjusted; the upper and lower limits of the tank storage at the end of each time period of the oil tank; the available time period event start and end time constraint of the oil tank; and the transmission event in the original scheduling plan.
[0220] The variables include: the delivery object of the oil tank in each time period; the delivery oil quantity of the oil tank in each time period; the start time and end time of each time period of each oil tank; and the tank storage at the end of each time period of each oil tank.
[0221] The time period set is the intersection of the available time periods of the commercial storage tank and the abnormal wharf tank.
[0222] The oil tank includes the abnormal wharf tank and the screened commercial storage tank.
[0223] The fourth preset condition includes: the oil type of the commercial storage tank matches the oil type of the abnormal wharf tank; and the commercial storage tank and the abnormal wharf tank have intersection in the transmissible time period.
[0224] In step C10, based on the fourth verification result, whether to adjust the oil tanker unloading speed includes:
[0225] Step C101, when the fourth verification result is that the first verification result is no, the first verification result is no, and the third verification result is no, i.e. there is no abnormal situation of crude oil scheduling, it is selected not to adjust the oil tanker unloading speed, i.e. the adjustment of the original crude oil scheduling plan is selected to end, and a new crude oil scheduling plan of the commercial storage tank after the oil borrowing of the commercial storage tank (i.e. the scheduling plan of the oil storage event of the commercial storage tank after the oil borrowing of the commercial storage tank) is obtained in step C9;
[0226] Step C102, when the fourth verification result is that the first verification result is no, and / or the first verification result is no, and / or the third verification result is no, i.e. there is an abnormal situation of crude oil scheduling, it is selected to adjust the oil tanker unloading speed.
[0227] In step C11, the adjustment of the oil tanker unloading speed includes:
[0228] Step H1, collect the oil tanker set caused by abnormal wharf occupation due to ship period change;
[0229] Step H2, calculate the non-abnormal ship period to which the ship period can be adjusted according to the occupation information;
[0230] Step H3, calculating the long-distance pipeline transmission rate according to the updated ship schedule and the tanker oil amount;
[0231] Step H4, updating the tanker ship schedule in the case that the calculated long-distance pipeline transmission rate meets the wharf transmission rate limit until all abnormal tanker ship schedule adjustments are successful.
[0232] In step C12, based on the fifth verification result, the adjustment of the crude oil scheduling plan is ended, including:
[0233] Step C121, when the fifth verification result is that the first verification result is false, the first verification result is false, and the third verification result is false, i.e. there is no abnormal situation of crude oil scheduling, the adjustment of the crude oil scheduling plan is ended, and a new crude oil scheduling plan after adjusting the unloading speed (i.e. the scheduling plan of the unloading speed event after adjusting the unloading speed) in step C11 is obtained;
[0234] Step C122, when the fifth verification result is that the first verification result is false, and / or the first verification result is false, and / or the third verification result is false, i.e. there is an abnormal situation of crude oil scheduling, the adjustment of the crude oil scheduling plan is ended, and the adjustment information is fed back.
[0235] As shown in the figure, according to an embodiment of the present application, a coastal refinery emergency scheduling device is provided, which comprises: Figure 3 The determination module 1 is used for determining the abnormal information of crude oil scheduling of the scheduling event based on the verification of the crude oil scheduling information of the coastal refinery emergency scheduling request;
[0236] The adjustment module 2 is used for adjusting the crude oil scheduling plan based on the abnormal information of crude oil scheduling of the scheduling event;
[0237] The obtaining module 3 obtains a new crude oil scheduling plan based on the adjustment of the crude oil scheduling plan.
[0238] As shown in the figure, in some embodiments of the present application, an electronic device is provided, which comprises: a processor 301 coupled with a memory 302;
[0239] Figure 4 The memory 302 is used for storing a computer program;
[0240] The processor 301 is used for executing the computer program stored in the memory 302, so that the electronic device executes the method as described in the above embodiments.
[0241] The processor 301 is used for executing the computer program stored in the memory 302, so that the electronic device executes the method as described in the above embodiments.
[0242] In some embodiments of the present application, a computer readable storage medium is provided, which stores a program or instructions, when the program or instructions are executed on a computer, the computer is caused to perform the method as described in the above embodiments.
[0243] According to embodiments of the present application, the computer readable storage medium can be a non-volatile computer readable storage medium, which can include, but is not limited to, a portable computer diskette, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing. In this application, a computer readable storage medium can be any tangible medium that contains or stores a program used or combined with an instruction execution system, an electronic device, or an apparatus.
[0244] Although the present application has been described in detail with reference to the foregoing embodiments, those skilled in the art should understand that the technical solutions recorded in the foregoing embodiments can be modified, or some of the technical features can be replaced by equivalents, and these modifications or replacements do not cause the essence of the corresponding technical solutions to deviate from the spirit and scope of the technical solutions of the embodiments of the present application.
Claims
1. A method for emergency dispatching of a coastal refinery, characterized in that, The method comprises the following steps: Based on the inspection of the crude oil scheduling information of the coastal refinery emergency scheduling request, determine the crude oil scheduling exception information of the scheduling event, including: Collect all scheduling event information within the scheduling period corresponding to the crude oil scheduling information; Based on the simulation deduction result of each scheduling event, determine the crude oil scheduling exception information of the scheduling event; Based on the crude oil scheduling exception information of the scheduling event, adjust the crude oil scheduling plan, including: Based on the crude oil scheduling exception information of the scheduling event, modify the long-distance pipeline transmission event; Perform first verification on the modified long-distance pipeline transmission event as the adjusted scheduling plan; Based on the first verification result, determine whether to judge whether the long-distance pipeline is shut down; Based on the judgment result, determine whether to perform time translation on the long-distance pipeline transmission event; Perform second verification on the translated transmission event as the adjusted scheduling plan; Based on the second verification result, determine whether to perform the same tank area oil borrowing; Perform third verification on the same tank area storage oil event after the same tank area oil borrowing as the adjusted scheduling plan; Based on the third verification result, determine whether to perform commercial storage tank oil borrowing; Perform fourth verification on the commercial storage tank storage oil event after the commercial storage tank oil borrowing as the adjusted scheduling plan; Based on the fourth verification result, determine whether to adjust the oil unloading speed; Perform fifth verification on the unloading speed event after the unloading speed adjustment as the adjusted scheduling plan; Based on the fifth verification result, end the adjustment of the crude oil scheduling plan; Among them, the first verification, the second verification, the third verification, the fourth verification and the fifth verification all include first verification, second verification and third verification; First verification: Verify whether the tank storage upper and lower limits are broken through; Second verification: Verify whether the tank receiving and delivery does not meet the static desalination time; whether the tank receiving and delivery does not meet the receiving and delivery conditions, wherein the unsatisfied conditions include multiple in, multiple out, and simultaneous in and out; Third verification: Verify whether the wharf oil unloading occupies conflict; Based on the adjustment of the crude oil scheduling plan, obtain a new crude oil scheduling plan.
2. The coastal refinery emergency dispatching method according to claim 1, wherein, The method comprises the following steps: In the scheduling period, simulate and deduce each scheduling event one by one until the simulation and deduction of all scheduling events are completed, wherein the simulation and deduction verification includes: First verification: Verify whether the tank storage upper and lower limits are broken through; Second verification: Verify whether the tank receiving and delivery does not meet the static desalination time; whether the tank receiving and delivery does not meet the receiving and delivery conditions, wherein the unsatisfied conditions include multiple in, multiple out, and simultaneous in and out; Third verification: Verify whether the wharf oil unloading occupies conflict; Determine the simulation and deduction result as the crude oil scheduling exception information of the scheduling event, wherein the simulation and deduction result is the first verification result corresponding to the information, and / or the second verification result corresponding to the information, and / or the third verification result corresponding to the information.
3. The coastal refinery emergency dispatching method according to claim 2, wherein, In the simulation and deduction of each scheduling event in the scheduling period, simulate and deduce each scheduling event according to the time sequence of the scheduling event.
4. The coastal refinery emergency dispatching method according to claim 3, wherein, When adjusting the crude oil scheduling plan, there are multiple crude oil scheduling exception information of the scheduling event in the scheduling period, and the adjustment includes: According to the time sequence of the scheduling events in the scheduling period, the two steps of adjustment and simulation deduction are executed in a loop until there is no crude oil scheduling exception information in the crude oil scheduling plan; In the adjustment process, the adjusted crude oil scheduling plan of the current scheduling event is used as the crude oil scheduling plan of the next scheduling event, and the adjustment of the current scheduling event does not cause the crude oil scheduling exception.
5. The coastal refinery emergency dispatch method of claim 1, wherein, The modification of the long-distance pipeline transmission event includes: Identifying the to-be-adjusted time period and the minimum required adjusted transmission volume corresponding to the scheduling event; According to the first preset condition, a first alternative tank of the terminal tank is screened; The first alternative tank is used as the first long-distance pipeline alternative transmission adjustment result; The first long-distance pipeline alternative transmission adjustment result is used as the adjusted scheduling plan for the sixth verification; Based on the sixth verification result, it is selected whether to use the first long-distance pipeline alternative transmission adjustment result as the modified long-distance pipeline transmission event; The terminal tank is a tank connected to the crude oil distillation unit; The sixth verification includes the first verification, the first verification, and the third verification; The first preset condition includes: The first alternative tank is the same as or similar to the crude oil tank; The first alternative tank is in an available state during the borrowed period and does not violate the static desalting constraint and the receiving and paying condition; The tank storage of the first alternative tank meets the preset upper and lower limit requirements after the oil volume is borrowed.
6. The coastal refinery emergency dispatching method according to claim 5, wherein, Based on the sixth verification result, it is selected whether to use the first long-distance pipeline alternative transmission adjustment result as the modified long-distance pipeline transmission event, which includes: If the first verification result is false, and the first verification result is false and the third verification result is false, the first long-distance pipeline alternative transmission adjustment result is selected as the modified long-distance pipeline transmission event; If the first verification result is true, and / or the first verification result is true, and / or the third verification result is true, a second alternative tank of the starting tank and the terminal tank is screened according to a second preset condition; The second alternative tank is used as the second long-distance pipeline alternative transmission adjustment result; The second long-distance pipeline alternative transmission adjustment result is used as the adjusted scheduling plan for the seventh verification; Based on the seventh verification result, it is selected whether to use the second long-distance pipeline alternative transmission adjustment result as the modified long-distance pipeline transmission event; The seventh verification includes the first verification, the first verification, and the third verification; The starting tank is a tank connected to the terminal tank through a long-distance pipeline; The second preset condition includes: the second alternative tank is the same as or similar to the crude oil tank; the second alternative tank is in an available state during the borrowed period and does not violate the static desalting constraint and the receiving and paying condition; and the tank storage of the second alternative tank meets the preset upper and lower limit requirements after the oil volume is borrowed.
7. The coastal refinery emergency dispatch method of claim 6, wherein, Based on the seventh verification result, it is selected whether to use the second long-distance pipeline alternative transmission adjustment result as the modified long-distance pipeline transmission event, which includes: If the first verification result is false, and the first verification result is false and the third verification result is false, the first long-distance pipeline alternative transmission adjustment result is selected as the modified long-distance pipeline; If the first verification result is true, and / or the first verification result is true, and / or the third verification result is true, the same tank area borrowing is selected. The eighth verification is performed on the oil storage event in the same tank area after the oil borrowing in the same tank area as the adjusted scheduling plan; Based on the eighth verification result, it is selected whether to use the oil storage event in the same tank area after the oil borrowing in the same tank area as the modified long-distance pipeline; The eighth verification includes the first verification, the first verification and the third verification.
8. The coastal refinery emergency dispatch method of claim 1, wherein, The first verification result is the first verification result, the first verification result is the first verification result, and the third verification result is the first verification result. The first verification result is the first verification result, the first verification result is the first verification result, and the third verification result is the first verification result. The first verification result is the first verification result, the first verification result is the first verification result, and the third verification result is the first verification result.
9. The coastal refinery emergency dispatch method of claim 1, wherein, Based on the judgment result, it is selected whether to perform time shift on the long-distance pipeline transmission event, including: The judgment result is no, and it is selected whether to perform time shift on the long-distance pipeline transmission event; The judgment result is yes, and it is selected to perform time shift on the long-distance pipeline transmission event.
10. The coastal refinery emergency dispatch method of claim 1, wherein, The time shift on the long-distance pipeline transmission event includes: Collecting an abnormal in-plant tank set that needs to be adjusted by time shift, and setting a minimum shift time length; According to the tank storage upper and lower limit abnormal degree and the long-distance pipeline transmission rate, the minimum shift time length required to eliminate the current tank abnormality is calculated; According to the set minimum shift time length and the calculated minimum shift time length, the target minimum shift time length is determined; According to the target minimum shift time length, the long-distance pipeline transmission event is time shifted.
11. The coastal refinery emergency dispatch method of claim 1, wherein, The same tank area borrowing oil includes: Identifying the to-be-adjusted time period and the minimum required transmission volume corresponding to the scheduling event; According to the third preset condition, a third alternative oil tank of the crude oil tank is screened; The third alternative oil tank is used as the oil borrowing adjustment result; The third preset condition includes: the third alternative oil tank is the same or similar to the crude oil tank; the third alternative oil tank is in a usable state during the borrowed period and does not violate the static desalting constraint and the receiving and paying condition; and the oil volume of the third alternative oil tank is borrowed, and the tank storage thereof satisfies the preset upper and lower limit requirements.
12. The coastal refinery emergency dispatch method of claim 1, wherein, The commercial storage tank borrowing oil includes: Collecting an abnormal wharf tank set that needs to be adjusted by commercial storage tank borrowing; According to the fourth preset condition, a commercial storage tank set in a borrowable state is screened; Collecting a time period set in which the borrowed oil can be returned; Under the optimization target and the constraint condition, a commercial storage tank borrowing result is determined based on the setting of variables; The optimization target includes: the minimum number of abnormal wharf tank borrowing start point switching times; the minimum number of abnormal wharf tank borrowing and returning times; and the maximum balance of borrowed and returned oil; The constraint condition includes: there is at most one event in each time period for the to-be-adjusted tank; the tank storage at the end of each time period of each oil tank satisfies the upper and lower limits; the oil tank available time period event start and end time constraint; and the transmission event in the original scheduling plan; The variable includes: the delivery object of the oil tank in each time period; the delivery volume of the oil tank in each time period; the start time and end time of each oil tank in each time period; and the tank storage at the end of each time period of each oil tank; The time period set is the intersection of the available time periods of the commercial storage tank and the abnormal wharf tank; The oil tank includes the abnormal wharf tank and the screened commercial storage tank; The fourth preset condition comprises: the oil type of the commercial storage tank matches the oil type of the abnormal wharf tank; and the commercial storage tank and the abnormal wharf tank have intersection in the transmissible time period.
13. The coastal refinery emergency dispatch method according to any one of claims 1 to 12, characterized in that, The adjusting the oil tanker unloading speed comprises: collecting the tanker set caused by abnormal wharf occupation due to the change of the ship period; calculating the non-abnormal ship period to which the ship period of the tanker can be adjusted according to the occupation information; calculating the long-distance pipeline transmission rate according to the updated ship period and the oil quantity of the tanker; updating the ship period of the tanker until the adjustment of the ship period of all abnormal tankers is successful, in the case that the calculated long-distance pipeline transmission rate meets the wharf transmission rate limit.
14. A coastal refinery emergency dispatching device, characterized by, comprise: The determining module is used to determine the crude oil scheduling abnormal information of the scheduling event based on the inspection of the crude oil scheduling information of the coastal refinery emergency scheduling request, comprising: collecting all scheduling event information in the scheduling period corresponding to the crude oil scheduling information; determining the crude oil scheduling abnormal information of the scheduling event based on the simulation deduction result of each scheduling event; The adjusting module is used to adjust the crude oil scheduling plan based on the crude oil scheduling abnormal information of the scheduling event, comprising: modifying the long-distance pipeline transmission event based on the crude oil scheduling abnormal information of the scheduling event; performing a first check on the modified long-distance pipeline transmission event as the adjusted scheduling plan; based on the first check result, selecting whether to perform a judgment on whether the long-distance pipeline is shut down; based on the judgment result, selecting whether to perform a time shift on the long-distance pipeline transmission event; performing a second check on the shifted transmission event as the adjusted scheduling plan; based on the second check result, selecting whether to perform a same tank area oil borrowing; performing a third check on the same tank area storage oil event after the same tank area oil borrowing as the adjusted scheduling plan; based on the third check result, selecting whether to perform a commercial storage tank oil borrowing; performing a fourth check on the commercial storage tank storage oil event after the commercial storage tank oil borrowing as the adjusted scheduling plan; based on the fourth check result, selecting whether to perform an oil tanker unloading speed adjustment; performing a fifth check on the unloading speed event after the unloading speed adjustment as the adjusted scheduling plan; based on the fifth check result, ending the adjustment of the crude oil scheduling plan; wherein the first check, the second check, the third check, the fourth check and the fifth check all comprise a first check, a second check and a third check; the first check: checking whether the upper and lower limits of the tank storage are broken through; the second check: checking whether the tank receiving and delivering does not meet the static desalination time; whether the tank receiving and delivering does not meet the receiving and delivering conditions, wherein the cases that do not meet include multiple in, multiple out and simultaneous in and out; the third check: checking whether the wharf oil unloading occupies conflict; The obtaining module obtains a new crude oil scheduling plan based on the adjustment of the crude oil scheduling plan.
15. An electronic device, comprising: comprise: a processor coupled to the memory; the memory is used to store a computer program; the processor is used to execute the computer program stored in the memory, so that the electronic device executes the method of any one of claims 1 to 13.
16. A computer-readable storage medium, characterized in that, The computer readable storage medium stores programs or instructions, when the programs or instructions run on the computer, make the computer execute the method of any one of claims 1 to 13. The computer readable storage medium stores programs or instructions, when the programs or instructions run on the computer, make the computer execute the method of any one of claims 1 to 13.
Citation Information
Patent Citations
Anti-interference crude oil dispatching method based on petrochemical enterprise
CN106022563A
Variable-speed scheduling method and system for mixed transportation of crude oil in long-distance pipeline
CN111156419A