Coastal refinery emergency scheduling method and device, equipment and storage medium
Through a series of adjustments to the crude oil scheduling plan of coastal refineries, the abnormal crude oil scheduling problem caused by fluctuations in the load of the normal pressure reduction device was solved, and the rapid generation and implementation of feasibility new scheduling plan was achieved, reducing costs and risks.
Patent Information
- Application Number
- CN202311639258.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2023-12-01
- Publication Date
- 2025-06-03
- Estimated Expiration
- 2043-12-01
AI Technical Summary
The load fluctuations in the normal pressure reduction equipment of coastal refineries lead to abnormal crude oil dispatch, which may lead to tank explosion or oil shortage. The existing technology is difficult to effectively solve such emergency dispatch problems.
By adjusting the crude oil dispatch plan, including modifying the transmission events of long-distance pipelines, time shifting, borrowing oil in the same tank area, borrowing oil in the commercial storage tank and adjusting the oil unloading speed of the tanker, the abnormal crude oil dispatch is gradually eliminated and the feasibility of the dispatch plan is ensured.
A new crude oil scheduling plan has been achieved quickly, ensuring that there is no abnormal information about crude oil scheduling during the scheduling process, reducing the costs caused by changes in the scheduling plan, and improving the feasibility of scheduling.
Smart Images

Figure CN120087732A_ABST
Abstract
Description
Technical Field
[0001] The present invention belongs to the technical field of crude oil scheduling, and particularly relates to an emergency scheduling method, device, equipment and storage medium for coastal refineries. Background Art
[0002] For refineries, the atmospheric and vacuum distillation unit is the leading unit. Due to fluctuations in downstream units, the load of the atmospheric and vacuum distillation unit changes. Most of these changes are load reductions, and in extreme cases, shutdowns may occur. If the load decreases, it may lead to overflow in the storage tanks, and if the load increases, it may lead to a shortage of oil. Summary of the Invention
[0003] In view of the above problems, the present invention provides an emergency scheduling method, device, equipment and storage medium for coastal refineries.
[0004] The first object of the present invention is to provide an emergency scheduling method for coastal refineries, the method including:
[0005] Based on the inspection of the crude oil scheduling information in response to the emergency scheduling request of the coastal refinery, determining the abnormal information of the crude oil scheduling for the scheduling event;
[0006] Based on the abnormal information of the crude oil scheduling for the scheduling event, adjusting the crude oil scheduling plan;
[0007] Based on the adjustment of the crude oil scheduling plan, obtaining a new crude oil scheduling plan.
[0008] In an embodiment of the present invention, the step of based on the inspection of the crude oil scheduling information in response to the emergency scheduling request of the coastal refinery, determining the abnormal information of the crude oil scheduling for the scheduling event includes:
[0009] Collecting all scheduling event information within the scheduling cycle corresponding to the crude oil scheduling information;
[0010] Based on the simulation and deduction results of each scheduling event one by one, determining the abnormal information of the crude oil scheduling for the scheduling event.
[0011] In an embodiment of the present invention, the step of based on the simulation and deduction results of each scheduling event one by one, determining the abnormal information of the crude oil scheduling for the scheduling event includes:
[0012] During the scheduling cycle, performing simulation and deduction on each scheduling event one by one until the simulation and deduction of all scheduling events are completed. The inspection during the simulation and deduction includes:
[0013] First inspection: Checking whether the upper and lower limits of the tank inventory are breached;
[0014] Second inspection: Checking whether the tank receipts and disbursements do not meet the static desalting time; whether the tank receipts and disbursements do not meet the receipt and disbursement conditions, where the non - meeting situations include over - inlet, over - outlet, simultaneous inlet and outlet;
[0015] Third inspection: Check whether the unloading of oil at the terminal conflicts;
[0016] Determine the abnormal information of crude oil scheduling of the scheduling event based on the result of the simulation deduction, where the result of the simulation deduction is the information corresponding to the first inspection result being yes, and / or the information corresponding to the second inspection result being yes, and / or the information corresponding to the third inspection result being yes.
[0017] In the embodiment of the present invention, in the step-by-step simulation deduction of all scheduling events within the scheduling cycle, the simulation deduction is carried out one by one in the order of the time sequence of the scheduling events within the scheduling cycle, where the time sequence of the scheduling events is the scheduling event information.
[0018] In the embodiment of the present invention, when adjusting the crude oil scheduling plan, if there is abnormal information of crude oil scheduling of multiple scheduling events within the scheduling cycle, the adjustment includes:
[0019] Sort according to the time sequence of the scheduling events within the scheduling cycle, and loop through the two steps of adjustment and simulation deduction until there is no abnormal information of crude oil scheduling in the crude oil scheduling plan;
[0020] Wherein, during 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 abnormal crude oil scheduling.
[0021] In the embodiment of the present invention, adjusting the crude oil scheduling plan based on the abnormal information of crude oil scheduling of the scheduling event includes:
[0022] Modify the long-distance pipeline transmission event based on the abnormal information of crude oil scheduling of the scheduling event;
[0023] Perform the first check on the modified long-distance pipeline transmission event as the adjusted scheduling plan;
[0024] Based on the first check result, select whether to judge whether the long-distance pipeline is shut down;
[0025] Based on the judgment result, select whether to perform time translation on the long-distance pipeline transmission event;
[0026] Perform the second check on the translated transmission event as the adjusted scheduling plan;
[0027] Based on the second check result, select whether to borrow oil from the same tank farm;
[0028] Perform the third check on the same tank farm storage oil event after borrowing oil from the same tank farm as the adjusted scheduling plan;
[0029] Based on the third check result, select whether to borrow oil from commercial storage tanks;
[0030] The fourth check is performed on the commercial storage tank storing oil event after the commercial storage tank borrows oil as the adjusted dispatch plan;
[0031] Based on the fourth verification result, selecting whether to adjust the oil unloading speed of the tanker;
[0032] Performing a fifth check on the unloading speed event after the unloading speed adjustment as the adjusted scheduling plan;
[0033] Based on the fifth verification result, the adjustment of the crude oil scheduling plan is completed;
[0034] Wherein, the first check, the second check, the third check, the fourth check and the fifth check all include the first check, the second check and the third check;
[0035] First inspection: check whether the upper and lower limits of tank storage have been exceeded;
[0036] Second inspection: Check whether the tank collection and payment does not meet the static desalination time; whether the tank collection and payment does not meet the collection and payment conditions, among which the unsatisfactory conditions include multiple in, multiple out, and simultaneous in and out;
[0037] The third inspection: Check whether there is any occupation conflict during oil unloading at the terminal.
[0038] In the embodiment of the present invention, the modification of the long-distance pipeline transmission event includes:
[0039] Identify the time period to be adjusted and the minimum transmission amount to be adjusted corresponding to the scheduling event;
[0040] Selecting a first alternative oil tank for the destination oil tank according to a first preset condition;
[0041] The first alternative oil tank is used as the first long-distance pipeline alternative transmission adjustment result;
[0042] Conduct a sixth verification using the adjustment result of the first long-distance pipeline alternative transmission as the adjusted dispatch plan;
[0043] Based on the sixth verification result, selecting whether to use the first long-distance pipeline alternative transmission adjustment result as a modified long-distance pipeline transmission event;
[0044] Wherein, the terminal oil tank is an oil tank connected to the atmospheric and vacuum pressure device;
[0045] The sixth check includes the first check, the second check and the third check;
[0046] The first preset condition includes:
[0047] The first replacement oil tank has the same or similar oil type as the crude oil tank;
[0048] The first replacement oil tank is available during the borrowed period and does not violate the static desalination constraints and payment conditions;
[0049] After the oil volume of the first alternative oil tank is borrowed, its tank storage meets the requirements of the preset upper and lower limits.
[0050] In the embodiment of the present invention, based on the sixth verification result, selecting whether to use the first long-distance pipeline alternative transmission adjustment result as the modified long-distance pipeline transmission event includes:
[0051] When 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, select the first long-distance pipeline alternative transmission adjustment result as the modified long-distance pipeline transmission event;
[0052] When 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, screen the second alternative oil tanks of the starting oil tank and the ending oil tank according to the second preset condition;
[0053] Use the second alternative oil tank as the second long-distance pipeline alternative transmission adjustment result;
[0054] Use the second long-distance pipeline alternative transmission adjustment result as the adjusted scheduling plan and perform the seventh verification;
[0055] Based on the seventh verification result, select whether to use the second long-distance pipeline alternative transmission adjustment result as the modified long-distance pipeline transmission event;
[0056] Wherein, the seventh verification includes the first verification, the first verification and the third verification;
[0057] The starting oil tank is an oil tank connected to the ending oil tank through a long-distance pipeline;
[0058] The second preset condition includes: the oil types of the second alternative oil tank and the crude oil tank are the same or similar; the second alternative oil tank is in an available state during the borrowed period and does not violate the static desalination constraint and the receipt and payment conditions; and after the oil volume of the second alternative oil tank is borrowed, its tank storage meets the requirements of the preset upper and lower limits.
[0059] In the embodiment of the present invention, based on the seventh verification result, selecting whether to use the second long-distance pipeline alternative transmission adjustment result as the modified long-distance pipeline transmission event includes:
[0060] When 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, select the second long-distance pipeline alternative transmission adjustment result as the modified long-distance pipeline;
[0061] When 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, select to borrow oil from the same tank area;
[0062] Perform the eighth verification on the event of storing oil in the same tank area after borrowing oil from the same tank area as the adjusted scheduling plan;
[0063] Based on the result of the eighth verification, select whether to use the event of storing oil in the same tank area after borrowing oil from the same tank area as the modified long-distance pipeline;
[0064] Among them, the eighth verification includes the first inspection, the first inspection and the third inspection.
[0065] In the embodiment of the present invention, the selection of whether to perform time translation on the long-distance pipeline transmission event based on the result of the first verification includes:
[0066] If the result of the first verification is that the result of the first inspection is no, the result of the first inspection is no, and the result of the third inspection is no, select no to judge whether the long-distance pipeline is out of service;
[0067] If the result of the first verification is that the result of the first inspection is no, and / or the result of the first inspection is no, and / or the result of the third inspection is no, select to judge whether the long-distance pipeline is out of service.
[0068] In the embodiment of the present invention, based on the judgment result, the selection of whether to perform time translation on the long-distance pipeline transmission event includes:
[0069] If the judgment result is no, select no to perform time translation on the long-distance pipeline transmission event;
[0070] If the judgment result is yes, select to perform time translation on the long-distance pipeline transmission event.
[0071] In the embodiment of the present invention, the time translation of the long-distance pipeline transmission event includes:
[0072] Collect the set of abnormal in-plant tanks that need to be adjusted by time translation, and set the minimum translation time length;
[0073] According to the abnormal degree of the upper and lower limits of the tank inventory and the transmission rate of the long-distance pipeline, calculate the minimum translation time length of the long-distance pipeline required to eliminate the current tank abnormality;
[0074] Determine the target minimum translation time length according to the set minimum translation time length and the calculated minimum translation time length;
[0075] Perform time translation on the long-distance pipeline transmission event according to the target minimum translation time length.
[0076] In the embodiment of the present invention, the borrowing of oil in the same tank area includes:
[0077] Identify the time period to be adjusted and the minimum required adjusted transmission volume corresponding to the scheduling event;
[0078] Screen the third alternative oil tank of the crude oil tank according to the third preset condition;
[0079] Use the third alternative oil tank as the result of borrowing oil adjustment;
[0080] Among them, the third preset condition includes: the third alternative oil tank has the same or similar oil type as the crude oil tank; the third alternative oil tank is in an available state during the borrowed period and does not violate the static desalination constraint and the receipt and payment conditions; and the tank inventory of the third alternative oil tank meets the preset upper and lower limit requirements after the oil volume is borrowed.
[0081] In the embodiment of the present invention, the borrowing of commercial storage tanks includes:
[0082] Collect the set of abnormal terminal tanks that need to be adjusted by borrowing oil from commercial storage tanks;
[0083] Screen the set of commercial storage tanks in a state available for borrowing oil according to the fourth preset condition;
[0084] Collect the set of time periods for borrowing and returning oil that can be borrowed;
[0085] Under the optimization objective and constraint conditions, based on the setting of variables, determine the result of borrowing oil from commercial storage tanks;
[0086] Among them, the optimization objective includes: minimizing the number of switching times of the borrowing starting point of abnormal terminal tanks; minimizing the number of borrowing and returning times of abnormal terminal tanks; and maximizing the balance of borrowing and returning oil;
[0087] The constraint conditions include: there is at most one event for the tank to be adjusted in each time period; the tank inventory at the end of each time period of each oil tank meets the upper and lower limits; the start and end time constraints of the available time period of the oil tank; and the transmission events in the original scheduling plan;
[0088] The variables include: the conveying object of the oil tank in each time period; the conveying oil 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 inventory at the end of each time period of each oil tank;
[0089] The set of time periods is the intersection of the available time periods of commercial storage tanks and abnormal terminal tanks;
[0090] The oil tanks include abnormal terminal tanks and the screened commercial storage tanks;
[0091] The fourth preset condition includes: the oil type of the commercial storage tank matches the oil type of the abnormal terminal tank; and there is an intersection between the commercial storage tank and the abnormal terminal tank in the transmissible time period.
[0092] In the embodiment of the present invention, the adjustment of the oil unloading speed of the oil tanker includes:
[0093] Collect the set of oil tankers with abnormal terminal occupancy caused by changes in ship schedules;
[0094] Calculate the non-abnormal ship schedule to which the oil tanker schedule can be adjusted according to the occupancy information;
[0095] Calculate the long-distance pipeline transmission rate based on the updated ship schedule and tanker oil volume;
[0096] When the calculated long-distance pipeline transmission rate meets the terminal transmission rate limit, the tanker schedule is updated until all abnormal tanker schedules are successfully adjusted.
[0097] The second object of the present invention is to provide an emergency dispatch device for a coastal refinery, the device comprising:
[0098] The determination module is used to check the crude oil scheduling information based on the emergency scheduling request of the coastal refinery and determine the abnormal crude oil scheduling information of the scheduling event;
[0099] The adjustment module is used to adjust the crude oil scheduling plan based on the abnormal information of crude oil scheduling of scheduling events;
[0100] The 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 invention is to provide an electronic device, the electronic device comprising: a processor, the processor being coupled to a memory;
[0102] The memory is used to store computer programs;
[0103] The processor is used 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 invention is to provide a computer-readable storage medium, wherein the computer-readable storage medium stores a program or instruction, and when the program or instruction is executed on a computer, the computer executes the method as described above.
[0105] Beneficial effects of the present invention:
[0106] The coastal refinery emergency dispatch method and device, equipment and storage medium provided by the present invention are suitable for adjusting the crude oil dispatch plan caused by the change of the load of the atmospheric and vacuum device when the abnormal type of crude oil dispatch is used. The present invention adopts modification of the long-distance pipeline transmission event, time shifting of the long-distance pipeline transmission event, borrowing oil from the same tank area, borrowing oil from the commercial storage tank area and adjusting the oil unloading speed of the oil tanker as specific measures for adjusting the crude oil dispatch plan, and can quickly obtain a feasible new crude oil dispatch plan, and the obtained new crude oil dispatch plan meets the requirement of no crude oil dispatch abnormality information;
[0107] Moreover, the present invention sets various optimization objectives, preset or constraint conditions by means of measures such as modifying through long-distance pipeline transmission events, time-shifting long-distance pipeline transmission events, borrowing oil from the same tank farm, borrowing oil from commercial storage tank farms, and adjusting the oil unloading speed of oil tankers, further reducing the gap between the obtained new crude oil scheduling and the original scheduling plan, reducing the costs generated by changes in the crude oil scheduling plan, and further improving the feasibility of the obtained new crude oil scheduling.
[0108] Other features and advantages of the present invention will be described in the following specification, and, in part, will be obvious from the specification, or will be understood by implementing the present invention. The objectives and other advantages of the present invention can be achieved and obtained by the structures pointed out in the specification, claims, and drawings. BRIEF DESCRIPTION OF THE DRAWINGS
[0109] In order to more clearly illustrate the technical solutions in the embodiments of the present invention or the prior art, the following will briefly introduce the drawings required for the description of the embodiments or the prior art. Obviously, the following drawings are some embodiments of the present invention. For those of ordinary skill in the art, other drawings can be obtained based on these drawings without creative efforts.
[0110] Figure 1 Shows a flowchart of an emergency scheduling method for a coastal refinery according to an embodiment of the present invention;
[0111] Figure 2 Shows a schematic structural diagram of a coastal refinery according to an embodiment of the present invention;
[0112] Figure 3 Shows a framework diagram of an emergency scheduling device for a coastal refinery according to an embodiment of the present invention;
[0113] Figure 4 Shows a framework diagram of an electronic device according to an embodiment of the present invention;
[0114] In the figure:
[0115] Determination module 1; adjustment module 2; acquisition module 3; electronic device 300; processor 301; memory 302. DETAILED DESCRIPTION OF THE EMBODIMENTS
[0116] To make the objectives, technical solutions, and advantages of the embodiments of the present invention clearer, the following will clearly and completely describe the technical solutions in the embodiments of the present invention in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments are some, but not all, of the embodiments of the present invention. All other embodiments obtained by those of ordinary skill in the art based on the embodiments of the present invention without creative efforts fall within the scope of protection of the present invention.
[0117] As Figure 1 shown, a coastal refinery emergency scheduling method according to an embodiment of the present invention includes:
[0118] Step S1: Based on the inspection of the crude oil scheduling information of the coastal refinery emergency scheduling request, determine the abnormal information of the crude oil scheduling of the scheduling event;
[0119] Step S2: Based on the abnormal information of the crude oil scheduling of the scheduling event, adjust the crude oil scheduling plan;
[0120] Step S3: Based on the adjustment of the crude oil scheduling plan, obtain a new crude oil scheduling plan.
[0121] In step S1, the inspection of the crude oil scheduling information based on the coastal refinery emergency scheduling request to determine the abnormal information of the crude oil scheduling of the scheduling event includes:
[0122] Step A1: Collect all scheduling event information within the scheduling cycle corresponding to the crude oil scheduling information;
[0123] Step A2: Based on the simulation deduction results of each scheduling event one by one, determine the abnormal information of the crude oil scheduling of the scheduling event.
[0124] In step A1, the information content included in the crude oil scheduling information of the coastal refinery emergency scheduling request is shown in Table 1;
[0125] Table 1
[0126]
[0127] As Figure 2 shown, the crude oil scheduling route of the coastal refinery includes cruise ships (referring to several cruise ships), docks (referring to several docks), dock tank farms, in-plant tank farms (referring to in-plant tank farms), and atmospheric and vacuum distillation units. The crude oil scheduling route: Sea-transported crude oil is transported from cruise ships to docks, then to dock tank farms, and then from the dock tank farms to in-plant tank farms. The sea-transported crude oil forms mixed crude oil after mixing in the in-plant tank farms, and the mixed crude oil is transported to the atmospheric and vacuum distillation units. On this crude oil scheduling route, in the scenario where the load of the atmospheric and vacuum distillation unit changes, it may cause the tank inventory in the tank farm information to exceed the preset upper and lower limits, resulting in abnormal crude oil scheduling of the scheduling event. Based on this, it is necessary to adjust the scheduling plan of the scheduling event with abnormal crude oil scheduling. First, it is necessary to determine the specific information of the abnormal crude oil scheduling of the scheduling event, which is the purpose of step A1.
[0128] In step A2, the determination of the abnormal information of the crude oil scheduling of the scheduling event based on the simulation deduction results of each scheduling event one by one includes:
[0129] Step B1: During the scheduling period, simulate and deduce each scheduling event one by one until the simulation and deduction of all scheduling events are completed. The inspection of the simulation and deduction includes:
[0130] The first inspection: Check whether the upper and lower limits of the tank inventory are breached;
[0131] The second inspection: Check whether the tank receipts and deliveries do not meet the static desalting time; whether the tank receipts and deliveries do not meet the receipt and delivery conditions. The non - meeting situations include over - intake, over - outtake, and simultaneous intake and outtake;
[0132] The third inspection: Check whether there is a conflict in the oil unloading at the terminal;
[0133] Step B2: Determine the crude oil scheduling exception information of the scheduling event based on the result of the simulation and deduction. The result of the simulation and deduction is the information corresponding to the case where the first inspection result is "yes", and / or the information corresponding to the case where the second inspection result is "yes", and / or the information corresponding to the case where the third inspection result is "yes".
[0134] In Step B1, during the one - by - one simulation and deduction of all scheduling events within the scheduling period, conduct the one - by - one simulation and deduction in the order of the time sequence of the scheduling events within the scheduling period. The time of the scheduling event comes from the scheduling event information. This method of sequential one - by - one simulation and deduction is only an exemplary scheme with the optimal simulation and deduction efficiency (in terms of speed) in the present invention. In other embodiments of the present invention, other schemes can also be used for simulation and deduction, as long as all scheduling events within the scheduling period are completed for simulation and deduction.
[0135] In Step B2, the result of the simulation and deduction is the information corresponding to the case where the first inspection result is "yes", and / or the information corresponding to the case where the second inspection result is "yes", and / or the information corresponding to the case where the third inspection result is "yes". That is, after the simulation and deduction, there are crude oil scheduling exceptions in the scheduling event. Then, determine that "checking the breach of the upper and lower limits of the tank inventory", and / or "checking that the tank receipts and deliveries do not meet the static desalting time; and / or the tank receipts and deliveries do not meet the receipt and delivery conditions", and / or "checking the conflict in the oil unloading at the terminal" as the crude oil scheduling exception information of the scheduling event;
[0136] When the result of the simulation and deduction is that the first inspection result is "no", the second inspection result is "no", and the third inspection result is "no", that is, there are no crude oil scheduling exceptions in the scheduling event.
[0137] In Step S2, when adjusting the crude oil scheduling plan, if there is crude oil scheduling exception information for multiple scheduling events within the scheduling period, the adjustment includes:
[0138] Sort according to the time sequence of the scheduling events within the scheduling period, and repeatedly execute the two steps of adjustment and simulation and deduction until there is no crude oil scheduling exception information in the crude oil scheduling plan;
[0139] Wherein, during 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 abnormal crude oil scheduling;
[0140] This method of adjusting in a sequential cycle within a scheduling period is only exemplified by the present invention. It is a solution with the best adjustment efficiency (in terms of speed and error rate) when there are multiple scheduling events and abnormal crude oil scheduling information. Other solutions can also be used for adjustment in other embodiments of the present invention, as long as it is ensured that the new crude oil scheduling plan obtained after the adjustment does not contain abnormal crude oil scheduling information.
[0141] In step S2, the crude oil scheduling plan is adjusted based on the abnormal crude oil scheduling information of the scheduling event, including:
[0142] Step C1: modifying the long-distance pipeline transmission event based on the abnormal crude oil scheduling information of the scheduling event;
[0143] Step C2, performing a first check on the modified long-distance pipeline transmission event as the adjusted scheduling plan;
[0144] Step C3: based on the first verification result, whether to judge whether to shut down the long transmission pipeline;
[0145] Step C4: based on the judgment result, selecting whether to time-shift the transmission event of the long-distance pipeline;
[0146] Step C5, performing a second check on the post-shift transmission event as the adjusted scheduling plan;
[0147] Step C6: based on the second verification result, select whether to borrow oil from the same tank farm;
[0148] Step C7, performing a third check on the oil storage event in the same tank area after borrowing oil from the same tank area as the adjusted scheduling plan;
[0149] Step C8: based on the third verification result, select whether to borrow oil from the commercial storage tank;
[0150] Step C9, performing a fourth check on the event of the commercial storage tank storing oil after the commercial storage tank borrows oil as the adjusted scheduling plan;
[0151] Step C10: based on the fourth verification result, selecting whether to adjust the oil unloading speed of the tanker;
[0152] Step C11, performing a fifth check on the oil unloading speed event after the oil unloading speed adjustment as the adjusted scheduling plan;
[0153] Step C12: Based on the fifth verification result, the adjustment of the crude oil scheduling plan is finished.
[0154] Wherein, the first check, the second check, the third check, the fourth check and the fifth check all include the first check, the second check and the third check;
[0155] And in the above steps:
[0156] The modification of the long-distance pipeline transmission event refers to the violation of the upper and lower limits of the in-plant tank storage caused by the abnormal atmospheric and vacuum pressure. The abnormality of the in-plant tank storage exceeding the upper and lower limits caused by the original transmission event can be eliminated by changing the starting point or end point of the long-distance pipeline transmission event; the atmospheric and vacuum pressure formula modification eliminates the abnormality of the processing time properties or related in-plant tank storage by modifying the source tank and oil transmission rate / ratio in the atmospheric and vacuum pressure processing event;
[0157] The time shift refers to the abnormality of the tank storage in the plant exceeding the upper and lower limits caused by abnormal atmospheric and vacuum pressure. The abnormality of the tank storage in the plant can be eliminated by time shifting the overall transmission event, and then other abnormalities caused by time shift (such as abnormal tank storage or payment conditions in the terminal tank area) can be adjusted. The time shift strategy will cause the interruption of long-distance pipeline transmission, so it is only applicable to scenarios where long-distance pipeline transmission can be interrupted;
[0158] Borrowing oil from the same tank farm refers to changing the starting point or end point of a transmission event to affect the storage and transmission conditions of related tanks and eliminate abnormal storage or transmission;
[0159] The commercial tank area oil borrowing refers to the replenishment of tank storage in the terminal tank area through the transfer of newly added commercial tank areas to eliminate tank storage abnormalities;
[0160] The adjustment of the oil tanker unloading speed refers to changing the oil tanker unloading speed to eliminate abnormal tank storage in the terminal tank area, which may cause delays for the tanker.
[0161] In step C1, the modification of the long-distance pipeline transmission event includes:
[0162] Step D1, identifying the time period to be adjusted and the minimum transmission amount to be adjusted corresponding to the scheduling event;
[0163] Step D2, selecting a first alternative oil tank for the destination oil tank according to a first preset condition;
[0164] Step D3, using the first alternative oil tank as the first long-distance pipeline alternative transmission adjustment result;
[0165] Step D4, taking the adjustment result of the first long-distance pipeline alternative transmission as the adjusted scheduling plan for the sixth verification;
[0166] Step D5: based on the sixth verification result, selecting whether to use the first long-distance pipeline replacement transmission adjustment result as a modified long-distance pipeline transmission event;
[0167] Among them, the terminal oil tank is an oil tank connected to the atmospheric and vacuum distillation unit;
[0168] The sixth verification includes the first inspection, the first inspection, and the third inspection;
[0169] The first preset condition includes:
[0170] The first alternative oil tank has the same or similar oil type as the crude oil tank;
[0171] The first alternative oil tank is in an available state during the borrowed period and does not violate the static desalination constraints and receipt and payment conditions;
[0172] After the oil volume of the first alternative oil tank is borrowed, its tank inventory meets the preset upper and lower limit requirements.
[0173] In step D5, based on the sixth verification result, selecting whether to use the first long-distance pipeline alternative transmission adjustment result as the modified long-distance pipeline transmission event includes:
[0174] Step D51: When the sixth verification result shows that the first inspection result is no, the first inspection result is no, and the third inspection result is no, that is, when there is no abnormal crude oil scheduling situation, select the first long-distance pipeline alternative transmission adjustment result as the modified long-distance pipeline transmission event (that is, obtain a new crude oil scheduling plan);
[0175] Step D52: When the sixth verification result shows that the first inspection result is yes, and / or the first inspection result is yes, and / or the third inspection result is yes, that is, when there is an abnormal crude oil scheduling situation, screen the second alternative oil tank for the starting oil tank and the terminal oil tank according to the second preset condition;
[0176] Step D52': Use the second alternative oil tank as the second long-distance pipeline alternative transmission adjustment result;
[0177] Step D52": Use the second long-distance pipeline alternative transmission adjustment result as the adjusted scheduling plan and conduct the seventh verification;
[0178] Step D52''': Based on the seventh verification result, select whether to use the second long-distance pipeline alternative transmission adjustment result as the modified long-distance pipeline transmission event;
[0179] Among them, the seventh verification includes the first inspection, the first inspection, and the third inspection;
[0180] The starting oil tank is an oil tank connected to the terminal oil tank through a long-distance pipeline;
[0181] The second preset condition includes: The second alternative oil tank has the same or similar oil type as the crude oil tank; The second alternative oil tank is in an available state during the borrowed period and does not violate the static desalination constraints and receipt and payment conditions; and after the oil volume of the second alternative oil tank is borrowed, its tank inventory meets the preset upper and lower limit requirements.
[0182] In step D52”', the selection of whether to use the transmission adjustment result of the second long-distance pipeline as the modified long-distance pipeline transmission event based on the seventh verification result includes:
[0183] Step D52”'1. When 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, that is, when there is no abnormal crude oil scheduling situation, select to use the transmission adjustment result of the second long-distance pipeline as the modified long-distance pipeline (that is, obtain a new crude oil scheduling plan);
[0184] Step D52”'2. When 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, that is, when there is an abnormal crude oil scheduling situation, select to borrow oil from the same tank farm;
[0185] Step D52”'2'. Conduct the eighth verification on the storage oil event in the same tank farm after borrowing oil from the same tank farm as the adjusted scheduling plan;
[0186] Step D52”'2”. Based on the eighth verification result, select whether to use the storage oil event in the same tank farm after borrowing oil from the same tank farm as the modified long-distance pipeline;
[0187] Among them, the eighth verification includes the first verification, the first verification and the third verification.
[0188] In step D52”', the selection of whether to use the storage oil event in the same tank farm after borrowing oil from the same tank farm as the modified long-distance pipeline based on the eighth verification result includes:
[0189] Step D52”'2”1. When the eighth 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, when there is no abnormal crude oil scheduling situation, select to use the storage oil event in the same tank farm after borrowing oil from the same tank farm as the modified long-distance pipeline (that is, obtain a new crude oil scheduling plan);
[0190] Step D52”'2”2. When the eighth 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, when there is an abnormal crude oil scheduling situation, terminate "modifying the long-distance pipeline transmission event", that is, terminate step C1, indicating that step C1 cannot achieve a new crude oil scheduling plan without abnormalities, and directly enter the "time translation operation for the long-distance pipeline transmission event".
[0191] In step C3, the selection of whether to determine whether the long-distance pipeline is out of service based on the first verification result includes:
[0192] Step C31: When the first verification result is that the first inspection result is no, the first inspection result is no and the third inspection result is no, that is, when there is no abnormal crude oil scheduling situation, select no to judge 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 for the modified long-distance pipeline transmission event in step C2 (that is, the scheduling plan for the modified long-distance pipeline transmission event);
[0193] Step C32: When the first verification result is that the first inspection result is no, and / or the first inspection result is no, and / or the third inspection result is no, that is, when there is an abnormal crude oil scheduling situation, select to judge whether the long-distance pipeline is shut down. Among them, whether the long-distance pipeline is shut down is input information, which is determined by the production plan of each specific coastal refinery.
[0194] In step C4, based on the judgment result, selecting whether to perform time translation on the long-distance pipeline transmission event includes:
[0195] Step C41: When the judgment result is no, select no to perform time translation on the long-distance pipeline transmission event, then select to directly enter the "adjust the oil tanker unloading speed" step, and then enter step C11 and step C12;
[0196] Step C42: When the judgment result is yes, select to perform time translation on the long-distance pipeline transmission event.
[0197] In step C5, performing time translation on the long-distance pipeline transmission event includes:
[0198] Step E1: Collect the set of abnormal in-plant tanks that need to be adjusted by time translation, and set the minimum translation time length;
[0199] Step E2: Calculate the minimum translation time length of the long-distance pipeline required to eliminate the current tank abnormality according to the abnormal degree of the upper and lower limits of the tank inventory and the transmission rate of the long-distance pipeline;
[0200] Step E3: Determine the target minimum translation time length according to the set minimum translation time length and the calculated minimum translation time length;
[0201] Step E4: Perform time translation on the long-distance pipeline transmission event according to the target minimum translation time length.
[0202] In step C6, based on the second verification result, selecting whether to borrow oil from the same tank area includes:
[0203] Step C61: When the second verification result is that the first verification result is negative, the first verification result is negative and the third verification result is negative, that is, when there is no abnormal crude oil scheduling situation, select "No" for borrowing oil within the same tank farm, that is, select to end the adjustment of the crude oil scheduling plan, and obtain the new crude oil scheduling plan after translation adjustment in Step C5 (that is, the translated transmission event is used as the adjusted scheduling plan);
[0204] Step C62: When the second verification result is that the first verification result is negative, and / or the first verification result is negative, and / or the third verification result is negative, that is, when there is an abnormal crude oil scheduling situation, select to borrow oil within the same tank farm.
[0205] In Step C7, the borrowing of oil within the same tank farm includes:
[0206] Step F1: Identify the time period to be adjusted corresponding to the scheduling event and the minimum transmission volume to be adjusted;
[0207] Screen the third alternative oil tanks of the crude oil tanks according to the third preset condition;
[0208] Step F2: Use the third alternative oil tank as the result of the borrowing oil adjustment;
[0209] Among them, the third preset condition includes: the oil types of the third alternative oil tank and the crude oil tank are the same or similar; the third alternative oil tank is in an available state during the borrowing period and does not violate the static desalination constraint and the receipt and payment conditions; and the tank inventory of the third alternative oil tank meets the preset upper and lower limit requirements after the oil is borrowed.
[0210] In Step C8, the selection of whether to borrow oil from commercial storage tanks based on the third verification result includes:
[0211] Step C81: When the third verification result is that the first verification result is negative, the first verification result is negative and the third verification result is negative, that is, when there is no abnormal crude oil scheduling situation, select "No" for borrowing oil from commercial storage tanks, that is, select to end the adjustment of the crude oil scheduling plan, and obtain the new crude oil scheduling plan after the borrowing of oil within the same tank farm in Step C7 (that is, the scheduling plan of the oil storage event within the same tank farm after the borrowing of oil within the same tank farm);
[0212] Step C82: When the third verification result is that the first verification result is negative, and / or the first verification result is negative, and / or the third verification result is negative, that is, when there is an abnormal crude oil scheduling situation, select to borrow oil from commercial storage tanks.
[0213] In Step C9, the borrowing of oil from commercial storage tanks includes:
[0214] Step G1: Collect the set of abnormal terminal tanks that need to be adjusted by borrowing oil from commercial storage tanks;
[0215] Step G2: Screen the set of commercial storage tanks in a state available for borrowing according to the fourth preset condition;
[0216] Step G3, collecting a set of time periods during which oil can be borrowed and returned;
[0217] Step G4: Under the optimization objective and constraint conditions, based on the setting of variables, determine the result of borrowing oil from the commercial storage tank;
[0218] The optimization objectives include: the minimum number of switching times of the oil borrowing starting point of the abnormal terminal tank; the minimum number of oil borrowing and oil returning times of the abnormal terminal tank; and the maximum balance of oil borrowing and returning;
[0219] The constraints include: there is at most one event in each time period for the tank to be adjusted; the tank inventory at the end of each time period of each tank meets the upper and lower limits; the start and end time constraints of the event in the available time period of the tank; and the transmission events in the original scheduling plan;
[0220] The variables include: the transport object of the oil tank in each time period; the oil transport volume 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 inventory of each oil tank at the end of each time period;
[0221] The time period set is the intersection of the commercial storage tank and the abnormal terminal tank available time period;
[0222] The oil tanks include abnormal terminal tanks and screened commercial storage tanks;
[0223] The fourth preset condition includes: the oil type of the commercial storage tank matches the oil type of the abnormal terminal tank; and the commercial storage tank and the abnormal terminal tank have an intersection in the transferable time period.
[0224] In step C10, the step of selecting whether to adjust the oil unloading speed of the tanker based on the fourth verification result includes:
[0225] Step C101, the fourth check result is that the first check result is no, the first check result is no and the third check result is no, that is, when there is no abnormal situation in crude oil scheduling, select no to adjust the oil tanker unloading speed, that is, select to end the adjustment of the crude oil scheduling plan, and obtain the new crude oil scheduling plan after the commercial storage tank borrowing oil adjustment in step C9 (that is, the scheduling plan of the commercial storage tank storage oil event after the commercial storage tank borrowing oil);
[0226] Step C102, the fourth check result is that the first check result is no, and / or the first check result is no, and / or the third check result is no, that is, when there is an abnormal situation in crude oil scheduling, it is selected to adjust the tanker unloading speed.
[0227] In step C11, adjusting the oil unloading speed of the oil tanker includes:
[0228] Step H1, collecting a set of tankers with abnormal terminal occupancy due to changes in ship schedules;
[0229] Step H2, calculating the non-abnormal schedule to which the tanker schedule can be adjusted based on the occupancy information;
[0230] Step H3, calculating the long-distance pipeline transmission rate according to the updated ship schedule and tanker oil volume;
[0231] Step H4: When the calculated long-distance pipeline transmission rate meets the terminal transmission rate limit, the tanker schedule is updated until all abnormal tanker schedules are successfully adjusted.
[0232] In step C12, the adjustment of the crude oil scheduling plan is ended based on the fifth verification result, including:
[0233] Step C121, the fifth check result is that the first check result is no, the first check result is no and the third check result is no, that is, when there is no abnormal situation in crude oil scheduling, the adjustment of the crude oil scheduling plan is ended, and the new crude oil scheduling plan after the oil unloading speed is adjusted in step C11 (that is, the scheduling plan of the oil unloading speed event after the oil unloading speed is adjusted);
[0234] Step C122, when the fifth 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, that is, when there is an abnormal situation in crude oil scheduling, the adjustment of the crude oil scheduling plan is terminated and the adjustment information is fed back.
[0235] like Figure 3 As shown, a coastal refinery emergency dispatching device according to an embodiment of the present invention includes:
[0236] The determination module 1 is used to check the crude oil scheduling information based on the emergency scheduling request of the coastal refinery, and determine the abnormal crude oil scheduling information of the scheduling event;
[0237] The adjustment module 2 is used to adjust the crude oil scheduling plan based on the abnormal crude oil scheduling information of the scheduling event;
[0238] The acquisition module 3 obtains a new crude oil scheduling plan based on the adjustment of the crude oil scheduling plan.
[0239] like Figure 4 As shown, some embodiments of the present invention provide an electronic device, the electronic device 300, comprising: a processor 301, the processor 301 is coupled to a memory 302;
[0240] The memory 302 is used to store computer programs;
[0241] The processor 301 is configured to execute the computer program stored in the memory 302 so that the electronic device executes the method described in the above embodiment.
[0242] In some embodiments of the present invention, a computer-readable storage medium is provided. The computer-readable storage medium stores a program or instructions. When the program or instructions are run on a computer, the computer is caused to execute the method as described in the above embodiments.
[0243] According to an embodiment of the present invention, the computer-readable storage medium may be a non-volatile computer-readable storage medium, and may include, for example, but not limited to: a portable computer disk, 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 disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the above. In the present invention, a computer-readable storage medium may be any tangible medium that contains or stores a program, and the program may be used by or combined with an instruction execution system, an electronic device, or a device.
[0244] Although the present invention has been described in detail with reference to the foregoing embodiments, those of ordinary skill in the art should understand that: they may still modify the technical solutions described in the foregoing embodiments, or perform equivalent replacements for some of the technical features; 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 invention.
Claims
1. A coastal refinery emergency scheduling method, characterized in that, it includes: Checking the crude oil scheduling information based on the emergency scheduling request of the coastal refinery to determine the abnormal information of the crude oil scheduling for the scheduling event; Adjusting the crude oil scheduling plan based on the abnormal information of the crude oil scheduling for the scheduling event; Obtaining a new crude oil scheduling plan based on the adjustment of the crude oil scheduling plan.
2. The coastal refinery emergency scheduling method according to claim 1, characterized in that, The checking of the crude oil scheduling information based on the emergency scheduling request of the coastal refinery to determine the abnormal information of the crude oil scheduling for the scheduling event includes: Collecting all scheduling event information within the scheduling period corresponding to the crude oil scheduling information; Determining the abnormal information of the crude oil scheduling for the scheduling event based on the simulation deduction results of each scheduling event one by one.
3. The coastal refinery emergency scheduling method according to claim 2, characterized in that, The determining the abnormal information of the crude oil scheduling for the scheduling event based on the simulation deduction results of each scheduling event one by one includes: During the scheduling period, performing simulation deductions on each scheduling event one by one until the simulation deductions of all scheduling events are completed. Among them, the inspection of the simulation deduction includes: The first inspection: Checking whether the upper and lower limits of the tank inventory are breached; The second inspection: Checking whether the tank receipts and disbursements do not meet the static desalting time; whether the tank receipts and disbursements do not meet the receipt and disbursement conditions, where the non - meeting situations include over - inflow, over - outflow, simultaneous inflow and outflow; The third inspection: Checking whether there is a conflict in the occupancy of the terminal oil unloading; Determining the simulation deduction result as the abnormal information of the crude oil scheduling for the scheduling event, where the simulation deduction result is the information corresponding to the first inspection result being "yes", and / or the information corresponding to the second inspection result being "yes", and / or the information corresponding to the third inspection result being "yes".
4. The coastal refinery emergency scheduling method according to claim 3, characterized in that, During the one - by - one simulation deduction of all scheduling events within the scheduling period, the simulation deductions are performed one by one in the chronological order of the scheduling events.
5. The coastal refinery emergency scheduling method according to claim 4, characterized in that, When adjusting the crude oil scheduling plan, in the case of there being abnormal information of the crude oil scheduling for multiple scheduling events within the scheduling period, the adjustment includes: In the chronological order of the scheduling events within the scheduling period, repeatedly executing the two steps of adjustment and simulation deduction until there is no abnormal information of the crude oil scheduling in the crude oil scheduling plan; Among them, during 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 result in abnormal crude oil scheduling.
6. The coastal refinery emergency scheduling method according to claim 1, characterized in that, The adjusting the crude oil scheduling plan based on the abnormal information of the crude oil scheduling for the scheduling event includes: Modifying the long - distance pipeline transmission event based on the abnormal information of the crude oil scheduling for the scheduling event; Performing the first verification on the modified long - distance pipeline transmission event as the adjusted scheduling plan; Based on the first verification result, selecting whether to judge whether the long - distance pipeline is shut down; Based on the judgment result, selecting whether to perform time translation on the long - distance pipeline transmission event; Performing a second check on the post-shift transmission event as an adjusted scheduling plan; Based on the second verification result, choose whether to borrow oil from the same tank farm; Conduct a third check on the oil storage event in the same tank area after borrowing oil from the same tank area as the adjusted dispatch plan; Based on the third verification result, choose whether to borrow oil from the commercial storage tank; The fourth check is performed on the commercial storage tank storing oil event after the commercial storage tank borrows oil as the adjusted dispatch plan; Based on the fourth verification result, selecting whether to adjust the oil unloading speed of the tanker; Performing a fifth check on the unloading speed event after the unloading speed adjustment as the adjusted scheduling plan; Based on the fifth verification result, the adjustment of the crude oil scheduling plan is completed; Wherein, the first check, the second check, the third check, the fourth check and the fifth check all include the first check, the second check and the third check; First inspection: check whether the upper and lower limits of tank storage have been exceeded; Second inspection: Check whether the tank collection and payment does not meet the static desalination time; whether the tank collection and payment does not meet the collection and payment conditions, among which the unsatisfactory conditions include multiple in, multiple out, and simultaneous in and out; The third inspection: Check whether there is any occupation conflict during oil unloading at the terminal.
7. The coastal refinery emergency dispatch method according to claim 6, It is characterized in that The modification of the long-distance pipeline transmission event includes: Identify the time period to be adjusted and the minimum transmission amount to be adjusted corresponding to the scheduling event; Selecting a first alternative oil tank for the destination oil tank according to a first preset condition; The first alternative oil tank is used as the first long-distance pipeline alternative transmission adjustment result; Conduct a sixth verification using the adjustment result of the first long-distance pipeline alternative transmission as the adjusted dispatch plan; Based on the sixth verification result, selecting whether to use the first long-distance pipeline alternative transmission adjustment result as a modified long-distance pipeline transmission event; Wherein, the terminal oil tank is an oil tank connected to the atmospheric and vacuum pressure device; The sixth check includes the first check, the second check and the third check; The first preset condition includes: The first replacement oil tank has the same or similar oil type as the crude oil tank; The first replacement oil tank is available during the borrowed period and does not violate the static desalination constraints and payment conditions; After the oil volume of the first replacement tank is borrowed, its tank capacity meets the preset upper and lower limit requirements.
8. The coastal refinery emergency dispatch method according to claim 7, It is characterized in that The step of selecting whether to use the first long-distance pipeline alternative transmission adjustment result as a modified long-distance pipeline transmission event based on the sixth verification result includes: 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 alternative transmission adjustment result is selected as the modified long-distance pipeline transmission event; 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 the second alternative oil tank of the starting oil tank and the end oil tank is selected according to the second preset condition; The second alternative oil tank is used as the second long-distance pipeline to replace the transmission adjustment result; The adjustment result of the alternative transmission of the second long-distance pipeline is used as the adjusted dispatch plan to conduct the seventh verification; Based on the seventh verification result, selecting whether to use the second long-distance pipeline alternative transmission adjustment result as a modified long-distance pipeline transmission event; Among them, the seventh verification includes the first inspection, the first inspection, and the third inspection; The starting oil tank is an oil tank connected to the ending oil tank through a long-distance pipeline; The second preset condition includes: the second alternative oil tank has the same or similar oil type as the crude oil tank; the second alternative oil tank is available during the borrowed period and does not violate the static desalination constraint and the receipt and payment conditions; and the tank inventory of the second alternative oil tank meets the preset upper and lower limit requirements after the oil volume is borrowed.
9. The coastal refinery emergency scheduling method according to claim 8, characterized in that Based on the seventh verification result, selecting whether to use the second long-distance pipeline alternative transmission adjustment result as the modified long-distance pipeline transmission event includes: When the seventh verification result is that the first inspection result is no, the first inspection result is no, and the third inspection result is no, select to use the second long-distance pipeline alternative transmission adjustment result as the modified long-distance pipeline; When the seventh verification result is that the first inspection result is yes, and / or the first inspection result is yes, and / or the third inspection result is yes, select to borrow oil from the same tank area; Perform an eighth verification on the same tank area storage oil event after borrowing oil from the same tank area as the adjusted scheduling plan; Based on the eighth verification result, select whether to use the same tank area storage oil event after borrowing oil from the same tank area as the modified long-distance pipeline; Among them, the eighth verification includes the first inspection, the first inspection, and the third inspection.
10. The coastal refinery emergency scheduling method according to claim 6, characterized in that Based on the first verification result, selecting whether to perform time translation on the long-distance pipeline transmission event includes: When the first verification result is that the first inspection result is no, the first inspection result is no, and the third inspection result is no, select not to judge whether the long-distance pipeline is out of service; When the first verification result is that the first inspection result is no, and / or the first inspection result is no, and / or the third inspection result is no, select to judge whether the long-distance pipeline is out of service.
11. The coastal refinery emergency scheduling method according to claim 6, characterized in that Based on the judgment result, selecting whether to perform time translation on the long-distance pipeline transmission event includes: When the judgment result is no, select not to perform time translation on the long-distance pipeline transmission event; When the judgment result is yes, select to perform time translation on the long-distance pipeline transmission event.
12. The coastal refinery emergency scheduling method according to claim 6, characterized in that Performing time translation on the long-distance pipeline transmission event includes: Collect the abnormal in-plant tank set that needs to be adjusted by time translation, and set the minimum translation time length; According to the abnormal degree of the tank inventory upper and lower limits and the long-distance pipeline transmission rate, calculate the minimum long-distance pipeline translation time length required to eliminate the current tank abnormality; Determine the target minimum translation time length according to the set minimum translation time length and the calculated minimum translation time length; Perform time translation on the long-distance pipeline transmission event according to the target minimum translation time length.
13. The coastal refinery emergency scheduling method according to claim 6, characterized in that The borrowing oil from the same tank area includes: Identifying the to-be-adjusted time period and the minimum required adjusted transmission volume corresponding to the scheduling event; Screening the third alternative oil tank of the crude oil tank according to the third preset condition; Use the third alternative oil tank as the result of borrowing oil adjustment; Among them, the third preset conditions include: the third alternative oil tank has the same or similar oil type as the crude oil tank; the third alternative oil tank is available during the borrowing period and does not violate the static desalination constraints and receipt and payment conditions; and the tank inventory of the third alternative oil tank meets the preset upper and lower limit requirements after the oil is borrowed.
14. The coastal refinery emergency scheduling method according to claim 6, characterized in that, the borrowing of commercial storage tanks includes: Collect the set of abnormal terminal tanks that need to be adjusted by borrowing oil from commercial storage tanks; Screen the set of commercial storage tanks in a state of being available for borrowing oil according to the fourth preset condition; Collect the set of time periods for borrowing and returning oil that can be borrowed; Under the optimization objective and constraint conditions, based on the setting of variables, determine the result of borrowing oil from commercial storage tanks; Among them, the optimization objectives include: the minimum number of switching times of the borrowing starting point of the abnormal terminal tank; the minimum number of borrowing and returning times of the abnormal terminal tank; and the maximum balance of borrowing and returning oil; The constraint conditions include: there is at most one event for the tank to be adjusted in each time period; the tank inventory at the end of each time period of each oil tank meets the upper and lower limits; the start and end time constraints of the available time period of the oil tank; and the transmission events in the original scheduling plan; The variables include: the conveying object of the oil tank in each time period; the conveying oil 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 inventory at the end of each time period of each oil tank; The set of time periods is the intersection of the available time periods of the commercial storage tank and the abnormal terminal tank; The oil tanks include abnormal terminal tanks and selected commercial storage tanks; The fourth preset condition includes: the oil type of the commercial storage tank matches the oil type of the abnormal terminal tank; and there is an intersection between the commercial storage tank and the abnormal terminal tank in the transmissible time period.
15. The coastal refinery emergency scheduling method according to any one of claims 6-14, characterized in that, the adjustment of the oil unloading speed of the tanker includes: Collect the set of tankers with abnormal terminal occupancy caused by changes in ship schedules; Calculate the non-abnormal ship schedule that the tanker schedule can be adjusted to according to the occupancy information; Calculate the long-distance pipeline transmission rate according to the updated ship schedule and the tanker oil volume; When the calculated long-distance pipeline transmission rate meets the terminal transmission rate limit, update the tanker schedule until all abnormal tanker schedules are successfully adjusted.
16. A coastal refinery emergency scheduling device, characterized in that, including: The determination module is used to determine the abnormal information of the crude oil scheduling of the scheduling event based on the inspection of the crude oil scheduling information of the coastal refinery emergency scheduling request; The adjustment module is used to adjust the crude oil scheduling plan based on the abnormal information of the crude oil scheduling of the scheduling event; The obtaining module obtains a new crude oil scheduling plan based on the adjustment of the crude oil scheduling plan.
17. An electronic device, characterized in that, including: A processor, the processor is coupled with a 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 according to any one of claims 1 to 15.
18. A computer-readable storage medium, characterized in that, The computer-readable storage medium stores a program or instructions, and when the program or instructions are run on a computer, the computer is caused to execute the method according to any one of claims 1 to 15.
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
Multi-cycle plan scheduling collaborative production scheduling and optimization method and system for refinery plant
CN112183811A
Graph control compilation method and device for pipe transportation plan of oil transportation pipe network
CN113626112A
Oil blending scheduling optimization method suitable for refinery plant
CN114399122A