Optimization method, control method and control system of oil moving path
By optimizing the automated control method of oil product movement paths, screening oil tanks and oil inlet paths that meet the conditions, solving the problems of complex operations, safety hazards and inefficiency in oil product movement path management in the oil depot, and achieving efficient and safe oil product movement management.
Patent Information
- Application Number
- CN202510391536.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-03-31
- Publication Date
- 2025-07-18
AI Technical Summary
The management of mobile paths of existing oil depots relies on manual operations, resulting in complex operations, high risks, many safety hazards and low efficiency, making it difficult to optimize the multi-can combined path and realize automatic switching of multiple tanks.
The oil product moving path optimization method is adopted to screen the oil tanks and oil inlet paths that meet the conditions, combine iterative algorithms to optimize the combined paths of single tanks or multiple tanks, and monitor the valve and pump status in real time to achieve automated control and interlocking protection.
It improves the optimization efficiency of oil moving paths, reduces manual planning time, ensures safety, reduces the erroneous operation rate, supports batch processing of multiple varieties and types of operation plans, and achieves the improvement of oil tank utilization and cost reduction.
Smart Images

Figure CN120328010A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of oil depot oil inlet and outlet operations, and particularly to the automation of oil product movement. Background Art
[0002] Currently, in the management of the oil product movement path, the oil depot oil inlet and outlet process depends on manual operation. The control room personnel manually open and close valves and start and stop pumps; the process path is manually selected and executed, and each valve is individually operated to open and close and the pump is started and stopped; there is a lack of automatic interlock control with parameters such as pressure and liquid level.
[0003] The management of the oil product movement path by traditional manual operation has problems of complex operation, high risk, large potential safety hazards, and low efficiency. Specifically:
[0004] (1) Complex operation and high risk:
[0005] All existing oil inlet and outlet operations in the oil depot rely on manual operation. The control room operators manually operate each valve to open and close and start and stop the pump one by one through the valve buttons on the computer, and the operation is complex.
[0006] When the operators manually open and close valves and pumps, there are risks such as opening the wrong valve and starting the wrong pump.
[0007] (2) Large potential safety hazards:
[0008] When manually setting the path, it is not easy to judge whether the equipment on the process path is in good operating condition, and pipeline pressure buildup and tank overflow accidents are likely to occur, seriously affecting the safety of process production.
[0009] At the same time, manual operation cannot perform interlock control with pressure, liquid level, and process parameters throughout the process. When a safety risk occurs, interlock operation cannot be carried out immediately and requires personnel to control, and the timeliness and accuracy of personnel operation cannot be guaranteed.
[0010] (3) Low efficiency:
[0011] Path planning depends on experience, and it is difficult to optimize the multi-tank combination path; multi-tank automatic switching cannot be achieved, and manual monitoring of the liquid level and adjustment are required. Summary of the Invention
[0012] The present invention proposes an optimization method, a control method, and a control system for the oil product movement path, which solve the problems of complex operation, high risk, large potential safety hazards, and low efficiency existing in the management of the oil product movement path relying on traditional manual operation.
[0013] The optimization method for the oil product movement path according to the present invention includes the following steps:
[0014] Step S1: Obtain the oil inlet information, including the oil product type, oil product number, and planned oil inlet volume;
[0015] Step S2: Based on the oil product type, oil product number, and oil tank type, preliminarily screen the oil tanks that meet the conditions;
[0016] Step S3: Screen the fault-free oil tanks from the preliminarily screened oil tanks that meet the conditions;
[0017] Step S4: Screen the oil tanks without operation plans from the fault-free oil tanks;
[0018] Step S5: Judge whether the sum of the empty tank capacities of the oil tanks without operation plans is greater than the planned oil intake volume:
[0019] If it is greater than the planned oil intake volume, execute Step S6;
[0020] Otherwise, output a prompt message indicating that there is no oil product movement path that meets the conditions, and the method ends;
[0021] Step S6: From the oil tanks without operation plans, judge whether there is a single oil tank with an empty tank capacity greater than the planned oil intake volume:
[0022] If there is a single oil tank with an empty tank capacity greater than the planned oil intake volume, execute Step S7;
[0023] Otherwise, execute Step S8;
[0024] Step S7: From the single oil tanks with an empty tank capacity greater than the planned oil intake volume, iteratively screen the single oil tank that meets the oil intake conditions and its oil intake path. Each iteration includes the following steps:
[0025] Step S7.1: Remove the candidate oil tanks from the previous iteration, and select the oil tank with the longest current oil storage time as the candidate oil tank for this iteration;
[0026] Step S7.2: Judge whether the valve and pump status of the oil intake path of the candidate oil tank meet the oil intake conditions:
[0027] If it meets the oil intake conditions, the candidate oil tank is the single oil tank that meets the conditions, and determine the oil intake path of the single oil tank that meets the conditions;
[0028] Otherwise, the candidate oil tank is the single oil tank that does not meet the conditions;
[0029] Step S7.3: Judge whether the current candidate oil tank is the last single oil tank:
[0030] If not, perform the next iteration;
[0031] Otherwise, the iteration ends, and execute Step S8;
[0032] Step S8: Sort the oil tanks without operation plans in descending order of empty tank capacity to determine multiple combinations of oil tanks; each combination of oil tanks consists of multiple oil tanks without operation plans, and the sum of the empty tank capacities of the multiple oil tanks without operation plans is greater than the planned oil intake; iteratively screen the combinations of oil tanks and their oil intake paths that meet the oil intake conditions. Each iteration includes the following steps:
[0033] Step S8.1: Remove the candidate combinations of oil tanks from the previous iteration, and select the combination of oil tanks with the longest current oil storage time as the candidate combination of oil tanks for this iteration;
[0034] Step S8.2: Determine whether the valve and pump status of the oil intake path of the candidate combination of oil tanks meet the oil intake conditions:
[0035] If it meets the oil intake conditions, the candidate combination of oil tanks is the combination of oil tanks that meet the conditions, and determine the oil intake path of the combination of oil tanks that meet the conditions;
[0036] Otherwise, the candidate combination of oil tanks is the combination of oil tanks that do not meet the conditions;
[0037] Step S8.3: Determine whether the current candidate combination of oil tanks is the last combination of oil tanks:
[0038] If not, proceed to the next iteration;
[0039] Otherwise, the iteration ends;
[0040] Step S9: The individual oil tanks that meet the conditions, their oil intake paths, the combinations of oil tanks that meet the conditions, and their oil intake paths are the optimized oil product movement paths.
[0041] Furthermore, a preferred implementation is provided. The method further includes a spare oil tank step;
[0042] Spare oil tank step: For the optimized oil product movement path, after optimizing the oil path, select a spare oil tank from the oil tanks that meet the conditions among the remaining oil tank types according to the type and number of the oil product for this oil intake, which is used to switch to the spare oil tank for oil product movement when problems occur in the oil product movement, so as to prevent pipeline pressure buildup accidents.
[0043] The present invention also proposes a control method for the oil product movement path. The method includes the following steps:
[0044] Operation plan formulation step: According to the actual incoming and outgoing situation of the oil products, input or extract the operation plan information to generate an operation plan;
[0045] Operating path optimization steps: According to the operation plan, obtain the oil product storage notice in the oil product storage plan, including the oil product type, oil product number, planned incoming oil volume, and storage time; According to the oil product storage plan, adopt the optimization method of the oil product movement path described in any of the above to automatically optimize the process path according to the principle of first-in, first-out for low inventory, and obtain the optimized oil product movement path;
[0046] Movement path verification steps: Verify the status of the valves and oil tanks on the optimized oil product movement path one by one, and screen out the oil product movement path that is not interconnected and does not mix with other oil product movement paths as the verified oil product movement path;
[0047] Movement path sorting steps: Sort the verified oil product movement paths in descending order of the oil product storage time of a single oil tank or a combination of oil tanks. The oil product movement path corresponding to the longest oil product storage time is the optimal oil product movement path;
[0048] Movement path review steps: Display the optimal oil product movement path for the reviewer to check the optimal oil product movement path according to the process flow to obtain the reviewed oil product movement path;
[0049] Movement path execution steps: Execute the oil product movement according to the reviewed oil product movement path.
[0050] Furthermore, a preferred implementation is provided. The movement path execution steps include:
[0051] Step ST1: Continuously monitor the status of the oil tank, valve, and pump:
[0052] If the status is abnormal and the oil inlet operation cannot be completed, an alarm message is output to prompt the operator to notify the pipeline transportation party or the ship party to stop the pump, and the process jumps to execute step ST7;
[0053] Step ST2: Determine whether it is a single oil tank for oil inlet or a combination of oil tanks (i.e., multiple oil tanks) for oil inlet;
[0054] If it is a single oil tank for oil inlet, the process jumps to execute step ST3;
[0055] If it is a combination of oil tanks for oil inlet, the process jumps to execute step ST4;
[0056] Step ST3: Open the valves and pumps leading from the oil inlet to the single oil tank in sequence, and the oil product moves to the single oil tank to execute the oil inlet of the single oil tank. The process jumps to execute step ST5;
[0057] Step ST4: According to the sequence of the oil tanks in the combination of oil tanks, oil is fed into each oil tank in the combination of oil tanks in turn until the last oil tank in the combination of oil tanks completes the oil inlet; During each oil inlet process:
[0058] Open the valve and pump in sequence from the oil inlet to any one of the oil tanks in the oil tank combination, and the oil product moves to any one of the oil tanks in the oil tank combination to perform the oil inlet of any one of the oil tanks in the oil tank combination;
[0059] Real-time detect whether the liquid level of any one of the oil tanks in the oil tank combination reaches the tank switching value; if it reaches the tank switching value, perform the tank switching operation and inlet the oil to the next oil tank in the oil tank combination;
[0060] During the tank switching operation, first open the valve of the next oil tank in the oil tank combination, and then real-time detect whether the flow path of the next oil tank in the oil tank combination is unblocked:
[0061] If the flow path is unblocked, then close the valve of the oil tank to be switched to complete the tank switching operation;
[0062] If the flow path is not unblocked, then output an alarm message to prompt the operator to notify the pipeline transportation party or the ship party to stop the pump, and the process jumps to execute step ST7;
[0063] Step ST5: Real-time detect whether the remaining oil inlet volume is less than the given remaining oil threshold; if it is less than the given remaining oil threshold, then output a warning prompt to externally prompt that the oil inlet is about to be completed;
[0064] Step ST6: Real-time detect whether the total oil inlet volume has reached the planned oil inlet volume; if it has reached the planned oil inlet volume, then output an oil inlet completion prompt;
[0065] Step ST7: Detect whether the pipeline transportation pump or the ship pump has stopped by means of pressure detection;
[0066] If it has stopped, then close the valve and stop the train unloading oil pump;
[0067] Otherwise, the process continues to wait until the pipeline transportation pump or the ship pump has stopped;
[0068] Step ST8: Continuously monitor whether the valve and the train unloading oil pump are in the shutdown state; if both have been shut down, then output a prompt that the process execution is completed, and the process execution ends.
[0069] Furthermore, a preferred implementation manner is provided. In the operation path optimization step, when the optimization method of the oil product movement path further includes a spare oil tank step;
[0070] The movement path execution step further includes a switching to spare tank step:
[0071] Switching to spare tank step: During the execution of the oil product movement, real-time monitor the states of the oil tanks and valves in the oil product movement path. When the liquid level of the oil tank reaches the given value, perform the tank switching operation and switch to the spare oil tank or the spare oil tank combination for the oil product movement; during the tank switching operation, first open the valve of the oil tank to be switched, and when the flow path is unblocked, then close the valve of the oil tank to be switched.
[0072] The present invention also provides a control device for the oil product movement path. The device includes the following modules:
[0073] Operation plan formulation module: According to the actual inbound and outbound situation of the oil products, input or extract operation plan information and generate an operation plan.
[0074] Operation path optimization module: According to the operation plan, obtain the oil product inbound plan in the oil product inbound notice, including the oil product type, oil product number, planned incoming oil volume, and inbound time; according to the oil product inbound plan, adopt the optimization method for the oil product movement path described in any one of the above to automatically optimize the process path according to the principle of first in first out for low inventory, and obtain the optimized oil product movement path.
[0075] Movement path verification module: Verify the status of the valves and oil tanks on the optimized oil product movement path one by one, and screen out the oil product movement path that is not interconnected and does not mix with other oil product movement paths as the verified oil product movement path.
[0076] Movement path sorting module: Sort the verified oil product movement paths in descending order according to the oil product storage time of a single oil tank or a combination of oil tanks. The oil product movement path corresponding to the longest oil product storage time is the optimal oil product movement path.
[0077] Movement path review module: Display the optimal oil product movement path for the reviewer to check the optimal oil product movement path according to the process flow, and obtain the reviewed oil product movement path.
[0078] Movement path execution module: Execute the oil product movement according to the reviewed oil product movement path.
[0079] The present invention also provides a control system for the oil product movement path. The system includes an interaction layer, a data management layer, a transmission layer, and a collection and execution layer; the collection and execution layer includes multiple sensors and multiple actuators;
[0080] The data management layer includes an oil depot SCADA system; the oil depot SCADA system incorporates the control device for the oil product movement path described above.
[0081] The interaction layer includes a display screen and a PC terminal; the PC terminal is used to input interaction commands to the control device for the oil product movement path; the display screen displays information according to the instructions of the control device for the oil product movement path.
[0082] The transmission layer includes a PLC control system, which is used to send execution commands to the multiple actuators according to the instructions of the control device for the oil product movement path.
[0083] The multiple sensors are used to collect the status information of oil tanks, valves and pumps according to the instructions of the control device for the oil product movement path;
[0084] The multiple actuators are used to adjust the working states of valves and pumps according to the execution commands of the PLC control system.
[0085] The present invention also provides a computer device, including: a processor and a memory, where the memory is used to store executable instructions of the processor, and the processor is configured to execute the control method for the oil product movement path according to any one of the above by executing the executable instructions.
[0086] The present invention also provides a computer storage medium, in which a computer program is stored, and when the computer program runs, it executes the control method for the oil product movement path according to any one of the above.
[0087] The present invention also provides a computer program product, including a computer program / instructions, and when the computer program / instructions are executed by a processor, the steps of the control method for the oil product movement path according to any one of the above are implemented.
[0088] The present invention has the following beneficial effects:
[0089] 1. The optimization method for the oil product movement path according to the present invention dynamically screens available oil tanks based on the oil product type, planned volume, and oil tank status (empty tank volume, failure status), and uses an iterative algorithm to preferentially select the oil tank / combination with the longest storage time (first-in, first-out principle for low inventory); automatically generates single-tank or multi-tank combination paths, reducing manual planning time; supports batch processing of multi-variety and multi-type operation plans, and improves the path optimization efficiency.
[0090] 2. The control method for the oil product movement path according to the present invention real-time monitors the status of valves, pumps and liquid levels, triggers an alarm and automatically switches to a standby tank in case of an abnormality; realizes safety control and interlock protection through high and low liquid level interlocks, anti-mixing interlocks, and equipment failure interlocks, prevents pipeline pressure buildup and overflow accidents, and ensures process safety; automatically switches to a standby path in an emergency, reducing manual intervention delay.
[0091] 3. The control method for the oil product movement path according to the present invention optimizes the oil tank capacity allocation based on model calculation, preferentially uses oil tanks with low inventory; dynamically adjusts the oil tank combination to meet the planned incoming oil volume; improves the utilization rate of oil tanks, reduces idle resources; supports the low-inventory operation mode of the oil depot, and reduces the warehousing cost.
[0092] 4. The control method for the oil product movement path according to the present invention realizes data management and traceability capabilities through the automatic storage and query functions of operation logs and alarm logs: the traceability management of information such as approval records, operation paths, execution times, etc.; supports the full-process traceability of operations, meets the quality management requirements; and provides data support for process optimization.
[0093] 5. The control system for the oil product movement path according to the present invention starts and stops the operation process with one key, automatically executes the opening and closing actions of valves / pumps; automatically switches tank operations when multiple tanks are combined for oil inlet (triggered by a liquid level threshold); reduces manual operation steps and the misoperation rate; realizes the first-in, first-out of oil products and avoids the quality decline caused by long-term storage.
[0094] The optimization method, control method and control system for the oil product movement path according to the present invention are applicable to the optimization of the oil product movement path in an oil depot and the management of oil product movement operations. BRIEF DESCRIPTION OF THE DRAWINGS
[0095] In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the following will briefly introduce the drawings required to be used in the embodiments. Obviously, the drawings in the following description are only some embodiments of the present invention. For those of ordinary skill in the art, other drawings can be obtained according to these drawings without creative efforts.
[0096] Figure 1 It is a schematic flow chart of the optimization method for the oil product movement path in an embodiment of the present invention;
[0097] Figure 2 It is a schematic flow chart of the oil product movement step in the movement path execution step in an embodiment of the present invention;
[0098] Figure 3 It is a schematic structural diagram of the control system for the oil product movement path in an embodiment of the present invention;
[0099] Figure 4 It is a schematic diagram of the underlying data communication of the control system for the oil product movement path in an embodiment of the present invention. DETAILED DESCRIPTION OF THE EMBODIMENTS
[0100] To make the technical solutions and advantages of the present invention more clearly described, the following will further describe in detail and completely the specific embodiments of the present invention in conjunction with the accompanying drawings. The following described embodiments are only some preferred embodiments of the present invention, rather than all implementation schemes; the following described embodiments are intended to explain the present invention and should not be construed as a limitation to the present invention; the reasonable combination of the technical features defined in each embodiment of the present invention, as well as all other embodiments obtained by those of ordinary skill in the art without creative efforts based on the embodiments of the present invention, fall within the scope of protection of the present invention.
[0101] In one embodiment, an optimization method for the oil product movement path is provided, and the method includes the following steps:
[0102] Step S1: Obtain the incoming oil information, including the oil product type, oil product number, and planned incoming oil volume;
[0103] Step S2: Based on the oil product type, oil product number, and oil tank type, preliminarily screen the oil tanks that meet the conditions;
[0104] Step S3: Screen the oil tanks without faults from the preliminarily screened oil tanks that meet the conditions;
[0105] Step S4: Screen the oil tanks without operation plans from the oil tanks without faults;
[0106] Step S5: Judge whether the sum of the empty tank volumes of the oil tanks without operation plans is greater than the planned incoming oil volume:
[0107] If it is greater than the planned incoming oil volume, execute Step S6;
[0108] Otherwise, output a prompt message indicating that there is no qualified oil product movement path, and the method ends;
[0109] Step S6: From the oil tanks without operation plans, judge whether there is a single oil tank with an empty tank volume greater than the planned incoming oil volume:
[0110] If there is a single oil tank with an empty tank volume greater than the planned incoming oil volume, execute Step S7;
[0111] Otherwise, execute Step S8;
[0112] Step S7: From multiple single oil tanks with empty tank volumes greater than the planned incoming oil volume, iteratively screen the single oil tank that meets the incoming oil conditions and its incoming oil path. Each iteration includes the following steps:
[0113] Step S7.1: Remove the candidate oil tanks from the previous iteration, and select the oil tank with the longest current oil storage time as the candidate oil tank for this iteration;
[0114] Step S7.2: Judge whether the valve and pump states of the incoming oil path of the candidate oil tank meet the incoming oil conditions:
[0115] If the fuel inlet condition is met, the selected oil tank is the single qualified oil tank, and the fuel inlet path of the single qualified oil tank is determined.
[0116] Otherwise, the selected oil tank is the single unqualified oil tank.
[0117] Step S7.3: Determine whether the currently selected oil tank is the last single oil tank:
[0118] If not, perform the next iteration.
[0119] Otherwise, the iteration ends and step S8 is executed.
[0120] Step S8: Sort the oil tanks without operation plans in descending order of empty tank volume to determine multiple oil tank combinations; each oil tank combination consists of multiple oil tanks without operation plans, and the sum of the empty tank volumes of the multiple oil tanks without operation plans is greater than the planned fuel inlet volume; iteratively screen the oil tank combinations that meet the fuel inlet conditions and their fuel inlet paths. Each iteration includes the following steps:
[0121] Step S8.1: Remove the previously iterated selected oil tank combinations, and select the oil tank combination with the longest current oil storage time as the selected oil tank combination for this iteration.
[0122] Step S8.2: Determine whether the valve and pump status of the fuel inlet path of the selected oil tank combination meet the fuel inlet conditions:
[0123] If the fuel inlet condition is met, the selected oil tank combination is the qualified oil tank combination, and the fuel inlet path of the qualified oil tank combination is determined.
[0124] Otherwise, the selected oil tank combination is the unqualified oil tank combination.
[0125] Step S8.3: Determine whether the currently selected oil tank combination is the last oil tank combination:
[0126] If not, perform the next iteration.
[0127] Otherwise, the iteration ends.
[0128] Step S9: The qualified single oil tank and its fuel inlet path, and the qualified oil tank combination and its fuel inlet path are the optimized oil product movement paths.
[0129] In this embodiment, the oil tanks that meet the conditions are preliminarily screened, that is, the oil tanks whose types are applicable to the oil product type and oil product number of the fuel inlet are selected.
[0130] In this embodiment, whether the valve and pump status of the fuel inlet path meet the fuel inlet conditions:
[0131] Whether the valve and pump are remotely controlled and in a normal state;
[0132] If it is under remote control and in the normal state, it meets the conditions for oil inlet;
[0133] Otherwise, it does not meet the conditions for oil inlet.
[0134] The remote control means that the valve and the pump can be controlled to open and close by a remote control system such as a PLC.
[0135] If a valve or a pump is not under remote control, that is, it needs to be operated closely by on-site personnel, it does not belong to the valves or pumps that can be controlled by the method, that is, it does not meet the conditions for oil inlet.
[0136] If the valve and the pump are not in the normal state but have faults, they also do not meet the conditions for oil inlet.
[0137] In this embodiment, in step S9, if no single oil tank that meets the conditions, its oil inlet path, the combination of oil tanks that meet the conditions, and its oil inlet path are obtained, a prompt message indicating that there is no oil product movement path that meets the conditions is output, and the method ends.
[0138] In this embodiment, a specific example is given:
[0139] Oil inlet information: 92# gasoline, planned oil inlet volume 5000 tons.
[0140] Preliminarily screen the oil tanks that meet the conditions: Tanks No. 1 to 6 are optional.
[0141] Screen the oil tanks without faults: Assume that the liquid level gauge of Tank No. 4 fails, then Tanks No. 1, 2, 3, 5, and 6 are optional.
[0142] Screen the oil tanks without operation plans: Assume that there are incoming and outgoing (operation) plans for Tanks No. 1 and 2 that are not completed, not cancelled, or not terminated, then Tanks No. 3, 5, and 6 are optional.
[0143] Judge whether the sum of the empty tank capacities of the oil tanks without operation plans is greater than the planned oil inlet volume: If the sum of the empty tank capacities is not greater than the planned oil inlet volume, it means that there are no oil tanks that meet the conditions, and an error message is output.
[0144] Judge whether there is a single oil tank with an empty tank capacity greater than the planned oil inlet volume: If there is a single oil tank that meets the conditions (the empty tank capacity is greater than the planned oil inlet volume), the oil inlet path is determined by the single oil tank, otherwise the combination of multiple oil tanks is selected to determine the oil inlet path.
[0145] Iteratively screen individual oil tanks meeting the oil inlet conditions and their oil inlet paths: In an iterative manner, determine whether the valves and pumps of each individual oil tank with an empty tank capacity greater than the planned oil inlet volume meet the oil inlet conditions; in each iteration, select the oil tank with the longest oil storage time as the candidate oil tank for this iteration, that is, automatically optimize the process path according to the principle of "first in, first out for low inventory"; if the valves and pumps of all individual oil tanks with an empty tank capacity greater than the planned oil inlet volume do not meet the oil inlet conditions, then a combination of multiple oil tanks can be selected to determine the oil inlet path.
[0146] Iteratively screen combinations of oil tanks meeting the oil inlet conditions and their oil inlet paths: In an iterative manner, determine whether the valves and pumps of combinations of oil tanks with the sum of empty tank capacities greater than the planned oil inlet volume meet the oil inlet conditions; in each iteration, select the combination of oil tanks with the longest oil storage time as the candidate combination of oil tanks for this iteration, that is, automatically optimize the process path according to the principle of "first in, first out for low inventory"; if the valves and pumps of all combinations of oil tanks with the sum of empty tank capacities greater than the planned oil inlet volume do not meet the oil inlet conditions, then an error message is output.
[0147] In this embodiment, the method can automatically optimize and generate an oil product movement path according to conditions such as the planned oil inlet or outlet volume, oil (storage) tank type, oil product name (i.e., oil product type and oil product number), empty tank capacity, and valve and pump status.
[0148] In this embodiment, the method can be implemented based on the oil depot SCADA system.
[0149] SCADA (Supervisory Control and Data Acquisition) is a centralized data acquisition and monitoring system, mainly used for real-time acquisition, monitoring, and management of data of industrial equipment or production processes. Its core functions include:
[0150] Data acquisition: Obtain real-time data (such as temperature, pressure, flow rate, etc.) from sensors, PLCs and other devices.
[0151] Remote monitoring: Display the device status and production process through a human-machine interface (HMI).
[0152] Issuing control instructions: Send control commands (such as starting / stopping devices, adjusting parameters) to PLCs and other devices.
[0153] Data storage and analysis: Record historical data, generate reports, and assist in decision-making.
[0154] Alarm and event management: Detect abnormalities and trigger alarms.
[0155] Typical application scenarios: Fields requiring large-scale monitoring such as power systems, petrochemical industries, water treatment, traffic control, and intelligent manufacturing.
[0156] In this embodiment, the method automatically optimizes the oil product inlet and outlet paths according to the status of the oil product name, quality, date, and storage tank volume during the oil storage and transportation process, including pipeline valve numbers, pump numbers, and tank position numbers; automatically generates single-tank or multi-tank combined paths, reducing manual planning time; supports batch processing of multi-variety and multi-type operation plans, improving the efficiency of path optimization.
[0157] In addition, in one embodiment, the method further includes a step of standby oil tanks;
[0158] Standby oil tank step: For the optimized oil product movement path, after the oil path is optimized, according to the type and number of the oil product for this oil inlet, select a standby oil tank from the oil tanks that meet the conditions among the remaining oil tank types, which is used to switch to the standby oil tank for oil product movement when problems occur during oil product movement, so as to prevent pipeline pressure buildup accidents.
[0159] It should be noted that for the case of single oil tank oil inlet, when problems occur in a single oil tank (such as accidental valve closure, liquid level alarm), it will automatically switch to the standby oil tank;
[0160] For the case of combined oil tank oil inlet, when problems occur in a certain oil tank in the oil tank combination, first switch to other oil tanks in the oil tank combination for oil inlet. When problems occur in the last oil tank in the oil tank combination (such as the capacity not being able to meet the oil inlet demand, resulting in liquid level alarm), it will automatically switch to the standby oil tank.
[0161] It should be noted that if the capacity of a standby oil tank cannot meet the oil inlet demand, a liquid level alarm will be triggered. At this time, another standby oil tank will be enabled to continue the oil inlet, that is, multiple standby oil tanks can be available.
[0162] In addition, in one embodiment, it is judged whether problems occur in oil product movement according to the status of the oil tank valve and the high and low liquid level switch status.
[0163] In this embodiment, problems occur in oil product movement, such as accidental closure of the inlet oil tank valve or reaching the high liquid level alarm.
[0164] In this embodiment, when alarms (high and low liquid level alarms) occur during the movement of the oil product, in order to prevent pipeline pressure buildup, it will automatically switch to the standby oil tank or the standby oil tank combination for oil inlet to ensure the safe operation of the system.
[0165] In this embodiment, the status of the high and low liquid level switches includes the status of the oil tank high-high and low-low liquid level alarm switches.
[0166] The high and low liquid level switches (including the high-high liquid level alarm switch and the low-low liquid level alarm switch of the oil tank) are a kind of tuning fork or externally attached device used to test the position of the oil product in the oil tank. When the oil product reaches the position where the switch is installed, the switch issues an alarm, indicating that the liquid level in the oil tank is already too high or too low at this time, and the system performs the operation of switching tanks.
[0167] In one embodiment, a control method for the oil product movement path is provided. The method includes the following steps:
[0168] Job plan formulation step: According to the actual inbound and outbound situation of the oil product, input or extract job plan information to generate a job plan;
[0169] Job path optimization step: According to the job plan, obtain the oil product inbound plan in the oil product inbound notice, including the oil product type, oil product number, planned inbound volume, and inbound time; According to the oil product inbound plan, use the above-mentioned optimization method for the oil product movement path to automatically optimize the process path according to the principle of first in, first out for low inventory, and obtain the optimized oil product movement path;
[0170] Movement path verification step: Verify the status of the valves and oil tanks on the optimized oil product movement path one by one, and screen out the oil product movement path that is not interconnected and does not mix with other oil product movement paths as the verified oil product movement path;
[0171] Movement path sorting step: Sort the verified oil product movement paths in descending order according to the oil product storage time of a single oil tank or a combination of oil tanks. The oil product movement path corresponding to the longest oil product storage time is the optimal oil product movement path;
[0172] Movement path review step: Display the optimal oil product movement path for the reviewer to check the optimal oil product movement path according to the process flow to obtain the reviewed oil product movement path;
[0173] Movement path execution step: Execute the oil product movement according to the reviewed oil product movement path.
[0174] In this embodiment, the control method of the oil product movement path is built into the oil depot SCADA system in the form of a computer program. The oil depot SCADA system includes an interaction device and a display device, and is signal-connected to the PLC control system.
[0175] The optimal oil product movement path is displayed by the display device of the oil depot SCADA system.
[0176] The reviewed oil product movement path is sent to the oil depot SCADA system, and then the PLC control system executes the oil product movement.
[0177] In this embodiment, in the mobile path approval step, the reviewers include the central control dispatcher and the management personnel.
[0178] Based on the process flow, the central control dispatcher can modify the path valves through high-authority personnel to ensure the smoothness of the path if there are faults in the valves or pumps in the verified and calibrated oil product mobile path.
[0179] After the path is confirmed correct, the management personnel conduct path review. The reviewed (approved) path is saved and automatically sent to the oil depot SCADA system (and then control the PLC control system); by clicking on the approved oil product mobile path, operation processes such as "start", "end", or "terminate" can be selected.
[0180] In addition, in one embodiment, the method further includes a simulation process step:
[0181] Simulation process step: Using an oil product flow animation, according to the optimized oil product mobile path, simulate the state of the incoming oil tank, valves, and pumps and the dynamic process during the actual oil inlet operation.
[0182] In this embodiment, the oil product flow animation can be used to assist in mobile path verification and mobile path review.
[0183] In addition, in one embodiment, the method further includes an alarm step;
[0184] Alarm step: Use high and low liquid level switches, valves, and oil tank state detection sensors to monitor the state of valves, oil tanks, and liquid levels in the oil product mobile path, and trigger an alarm when the state is abnormal.
[0185] The method further includes an alarm log step: Store alarm information for query; the alarm information includes system alarm information, high and low liquid level switch alarm information, liquid level switching value information, oil tank alarm information, valve alarm information, etc.
[0186] In addition, in one embodiment, the method further includes an operation log step;
[0187] Operation log step: Record the operations performed on the oil product mobile path, including the oil product mobile path, reviewers, review time, the time when the oil product mobile path is sent down, and the start time, end time, and termination time of the execution of the oil product movement.
[0188] In addition, in one embodiment, the mobile path execution step includes:
[0189] Step ST1: Continuously monitor the state of oil tanks, valves, and pumps:
[0190] If the status is abnormal and the oil inlet operation cannot be completed, an alarm message is output to prompt the operator to notify the pipeline transportation party or the ship party to stop the pump, and the process jumps to step ST7;
[0191] Step ST2: Determine whether it is single-tank oil inlet or combined-tank (i.e., multiple tanks) oil inlet;
[0192] If it is single-tank oil inlet, the process jumps to step ST3;
[0193] If it is combined-tank oil inlet, the process jumps to step ST4;
[0194] Step ST3: Open the valves and pumps leading from the oil inlet to the single tank in sequence, and the oil moves towards the single tank to perform the oil inlet of the single tank. The process jumps to step ST5;
[0195] Step ST4: According to the sequence of the tanks in the combined tanks, oil is fed into each tank in the combined tanks in turn until the last tank in the combined tanks completes the oil inlet; during each oil inlet process:
[0196] Open the valves and pumps leading from the oil inlet to any one of the tanks in the combined tanks in sequence, and the oil moves towards any one of the tanks in the combined tanks to perform the oil inlet of any one of the tanks in the combined tanks;
[0197] Real-time detect whether the liquid level of any one of the tanks in the combined tanks reaches the tank switching value; if it reaches the tank switching value, perform the tank switching operation and feed oil into the next tank in the combined tanks;
[0198] During the tank switching operation, first open the valve of the next tank in the combined tanks, and then real-time detect whether the flow path of the next tank in the combined tanks is unblocked:
[0199] If the flow path is unblocked, then close the valve of the tank to be switched to complete the tank switching operation;
[0200] If the flow path is not unblocked, an alarm message is output to prompt the operator to notify the pipeline transportation party or the ship party to stop the pump, and the process jumps to step ST7;
[0201] Step ST5: Real-time detect whether the remaining oil inlet volume is less than the given remaining oil threshold; if it is less than the given remaining oil threshold, an early warning prompt is output to externally prompt that the oil inlet is about to be completed;
[0202] Step ST6: Real-time detect whether the total oil inlet volume has reached the planned oil inlet volume; if it has reached the planned oil inlet volume, an oil inlet completion prompt is output;
[0203] Step ST7: Detect whether the pipeline transportation pump or the ship pump has stopped through pressure detection;
[0204] If it has stopped, close the valve and stop the train unloading oil pump;
[0205] Otherwise, the process continues to wait until the pipeline pump or the ship pump has stopped;
[0206] Step ST8: Continuously monitor whether the valve and the train unloading oil pump are in the shutdown state; if both have been shut down, output a prompt indicating that the process execution is completed, and the process execution ends.
[0207] In this embodiment, as Figure 2 shown, it is a schematic flow diagram of the steps for executing the movement path.
[0208] In this embodiment, the state is abnormal and the oil inlet operation cannot be completed, such as the valve or the pump not starting.
[0209] In this embodiment, the planned oil intake is, for example, 5000 tons. The given remaining oil threshold is, for example, 5 to 10 tons.
[0210] In addition, in one embodiment, when the optimization method of the oil product movement path further includes a spare oil tank step;
[0211] Spare oil tank step: For the optimized oil product movement path, after optimizing the oil path, select a spare oil tank from the oil tanks that meet the conditions according to the type and number of the oil products for this oil intake, and use it to switch to the spare oil tank for oil product movement when problems occur in the oil product movement, so as to prevent pipeline pressure buildup accidents;
[0212] The movement path execution step further includes a switching to spare tank step:
[0213] Switching to spare tank step: During the execution of the oil product movement, continuously monitor the states of the oil tanks and valves in the oil product movement path. When the liquid level of the oil tank reaches the given value, perform a tank switching operation and switch to the spare oil tank or a combination of spare oil tanks for oil product movement; during the tank switching operation, first open the valve of the oil tank to be switched, and then close the valve of the oil tank to be switched after the flow path is opened.
[0214] In this embodiment, an emergency spare tank is optimized. When an emergency occurs during system operation, the system will automatically switch to the spare storage tank to ensure the safe operation of the system;
[0215] In this embodiment, the control method of the oil product movement path has the following advantages:
[0216] 1) Automatic optimization of the operation path: Support the formulation and issuance of multi-variety and multi-type operation plans, including the automatic extraction and manual formulation of operation plans, and the automatic optimization of the automatic optimization of the oil inlet / outlet paths of the oil tanks according to the oil products and planned quantities.
[0217] 2) Process animation simulation and auxiliary approval: According to the optimized oil product movement path, through the oil product flow animation, simulate the states of the incoming oil tanks, valves, pumps and the dynamic process of the actual oil inlet operation. At the same time, it can assist in the inspection and review of the movement path.
[0218] 3) One-key start and stop of operations: The execution steps of the movement path are automatically completed by the software program, without relying on manual operations, realizing the one-key start and stop functions of the oil inlet / outlet operations, and ensuring the emergency handling in case of emergencies.
[0219] 4) Fault alarm and standby tank: During the oil inlet process operation, implement interlock protections such as high and low liquid level interlock, anti-mixed oil interlock (not interconnected and not mixed), and equipment fault interlock; at the same time, provide a standby path for the optimal operation path. When the high liquid level alarm is reached or the equipment fails, it will automatically switch to the standby path (tank) to avoid accidents.
[0220] 5) Automatic storage and query of operation information: Provide automatic storage and query of the trace records of the operation process and operation information. Contents such as the approver, operation path, start time, end time, alarm information, etc. can be viewed, providing data support for information traceability.
[0221] In one embodiment, a control device for the oil product movement path is provided, and the device includes the following modules:
[0222] Operation plan formulation module: According to the actual incoming and outgoing warehouse situation of the oil products, input or extract the operation plan information to generate an operation plan;
[0223] Operation path optimization module: According to the operation plan, obtain the oil product storage plan in the oil product warehousing notice, including the oil product type, oil product number, planned incoming oil volume and warehousing time; according to the oil product storage plan, adopt the above-mentioned optimization method of the oil product movement path to automatically optimize the process path according to the principle of first in first out for low inventory, and obtain the optimized oil product movement path;
[0224] Movement path verification module: Verify the states of the valves and oil tanks on the optimized oil product movement path one by one, and screen out the oil product movement paths that are not interconnected and not mixed with other oil product movement paths as the verified oil product movement paths;
[0225] Movement path sorting module: Sort the verified oil product movement paths in descending order of the oil product storage time of a single oil tank or a combination of oil tanks. The oil product movement path corresponding to the longest oil product storage time is the optimal oil product movement path;
[0226] Movement path review module: Display the optimal oil product movement path for the reviewers to check the optimal oil product movement path according to the process flow, and obtain the reviewed oil product movement path;
[0227] Moving path execution module: Execute the oil product movement according to the audited oil product movement path.
[0228] In one embodiment, a control system for the oil product movement path is provided. The system includes an interaction layer, a data management layer, a transmission layer, and a collection and execution layer; the collection and execution layer includes a plurality of sensors and a plurality of actuators;
[0229] The data management layer includes an oil depot SCADA system; the oil depot SCADA system is built-in with the control device for the above-mentioned oil product movement path;
[0230] The interaction layer includes a display screen and a PC terminal; the PC terminal is used to input interaction commands to the control device for the oil product movement path; the display screen performs information display according to the instructions of the control device for the oil product movement path;
[0231] The transmission layer includes a PLC control system, which is used to send execution commands to the plurality of actuators according to the instructions of the control device for the oil product movement path;
[0232] The plurality of sensors are used to collect the status information of oil tanks, valves, and pumps according to the instructions of the control device for the oil product movement path;
[0233] The plurality of actuators are used to adjust the working states of valves and pumps according to the execution commands of the PLC control system.
[0234] In this embodiment, the plurality of sensors included in the collection layer are: flow meters, pump status collection sensors, pressure transmitters, and liquid level gauges.
[0235] In this embodiment, the plurality of actuators included in the collection layer are: electric valves, pumps (start, stop), and liquid level switches.
[0236] In this embodiment, as Figure 3 shown, in the data management layer:
[0237] Operation plan: Corresponding to the operation plan formulation module.
[0238] Process optimization: Corresponding to the operation path optimization module.
[0239] Process simulation: Corresponding to the movement path verification module and the movement path sorting module.
[0240] Operation audit: Corresponding to the movement path audit module and the movement path execution module.
[0241] In addition, functions such as process monitoring, data query, automatic metering of storage tanks, and system configuration can also be configured.
[0242] In this embodiment, the interaction layer may further include a mobile interaction terminal, such as a mobile phone APP.
[0243] In this embodiment, as Figure 4 shown, it is a schematic diagram of the underlying data communication of the control system for the oil product movement path. The system uses a PC and a mobile APP as the external interaction command input terminals, uses the oil depot SCADA system and its built-in programs to perform the logical judgment of the optimization method and the control method for the oil product movement path, and uses a PLC control system to execute the specific oil product movement process.
[0244] In this embodiment, the system calls the control device for the oil product movement path through the interaction layer, and executes the control method for the oil product movement path, realizing a one-key start / stop operation process, automatically executing the opening and closing actions of valves / pumps; automatically switching tank operations during combined oil intake into multiple tanks (triggered by a liquid level threshold); reducing manual operation steps and reducing the misoperation rate; realizing the first-in, first-out of oil products and avoiding quality degradation caused by long-term storage.
[0245] In this embodiment, the system realizes the automation of the oil product movement in the oil depot, and can perform one-key controlled oil product operations for different complex process flows. Through the online connection between office and production operations, as well as the application of intelligent algorithms and the stable safety interlock between the PLC and the equipment, the oil products can move flexibly, efficiently and safely on the complex process pipelines, improving the operation safety and operation efficiency of the oil product movement.
[0246] In one embodiment, a computer device is provided, including: a processor and a memory, the memory is used to store the executable instructions of the processor, and the processor is configured to execute the control method for the oil product movement path described in any one of the above through executing the executable instructions.
[0247] In one embodiment, a computer storage medium is provided, in which a computer program is stored, and when the computer program runs, it executes the control method for the oil product movement path described in any one of the above.
[0248] In one embodiment, a computer program product is provided, including a computer program / instructions, and when the computer program / instructions are executed by a processor, the steps of the control method for the oil product movement path described in any one of the above are realized.
[0249] A computer device or system provided by this embodiment. The hardware device in this part is of a general model and is not shown in the form of a diagram. The system includes a processor and a memory. The processor and the memory can be connected through a bus or other means. The memory, as a non-transitory computer-readable storage medium, can be used to store non-transitory software programs, non-transitory computer-executable programs, and modules, as well as corresponding program instructions / modules. The processor executes various functional applications and data processing of the processor by running the non-transitory software programs, instructions, and modules stored in the memory, so as to implement the data space entity parsing data quality enhancement method in the above method embodiments.
[0250] The memory may include a program storage area and a data storage area. Among them, the program storage area can store an operating system and application programs required for at least one function; the data storage area can store data created by the processor and the like. In addition, the memory may include a high-speed random access memory, and may also include a non-transitory memory, such as at least one disk storage device, a flash memory device, or other non-transitory solid-state storage devices. In some embodiments, the memory may optionally include a memory remotely set relative to the processor, and these remote memories can be connected to the processor through a network. Examples of the above networks include but are not limited to the Internet, an enterprise intranet, an enterprise internal network, a mobile communication network, and combinations thereof.
[0251] One or more modules are stored in the memory. When the processor executes, the method steps in the embodiment are executed. In this way, through the method, device, and process of the present invention, the invention purpose of the present invention can be achieved. The specific details of the above computer device can be understood by referring to the corresponding relevant descriptions and effects in the embodiments, and will not be elaborated here.
[0252] Those skilled in the art can understand that to implement all or part of the processes in the above method embodiments, it can be completed by instructing relevant hardware through a computer program. The program can be stored in a computer-readable storage medium. When the program is executed, it can include the processes of the above method embodiments. Among them, the storage medium can be a magnetic disk, an optical disk, a read-only memory (ROM), a random access memory (RAM), a flash memory, a hard disk drive (HDD), or a solid-state drive (SSD), etc.; the storage medium can also include a combination of the above types of memories.
[0253] The above further describes the technical solutions provided by the present invention through several specific embodiments to highlight the advantages and beneficial effects of the technical solutions provided by the present invention. However, the several specific embodiments described above are not used as limitations on the present invention. Any reasonable modifications and improvements to the present invention, reasonable combinations of implementation manners, equivalent replacements, etc. within the spirit and principle of the present invention shall be included within the protection scope of the present invention.
Claims
1. Optimization method for the moving path of oil products, characterized in that, The method includes the following steps: Step S1: Obtain the oil inlet information, including the oil product type, oil product number, and planned oil inlet volume; Step S2: Based on the oil product type, oil product number, and oil tank type, preliminarily screen the oil tanks that meet the conditions; Step S3: Screen the oil tanks without faults from the oil tanks that meet the conditions in the preliminary screening; Step S4: Screen the oil tanks without operation plans from the oil tanks without faults; Step S5: Determine whether the sum of the empty tank volumes of the oil tanks without operation plans is greater than the planned oil inlet volume: If it is greater than the planned oil inlet volume, execute Step S6; Otherwise, output a prompt message indicating that there is no qualified oil product movement path, and the method ends; Step S6: From the oil tanks without operation plans, determine whether there is a single oil tank with an empty tank volume greater than the planned oil inlet volume: If there is a single oil tank with an empty tank volume greater than the planned oil inlet volume, execute Step S7; Otherwise, execute Step S8; Step S7: From multiple single oil tanks with an empty tank volume greater than the planned oil inlet volume, iteratively screen the single oil tank that meets the oil inlet conditions and its oil inlet path. Each iteration includes the following steps: Step S7.1: Remove the candidate oil tanks in the previous iteration, and select the oil tank with the longest current oil storage time as the candidate oil tank for this iteration; Step S7.2: Determine whether the valve and pump status of the oil inlet path of the candidate oil tank meet the oil inlet conditions: If they meet the oil inlet conditions, the candidate oil tank is a single oil tank that meets the conditions, and determine the oil inlet path of the single oil tank that meets the conditions; Otherwise, the candidate oil tank is a single oil tank that does not meet the conditions; Step S7.3: Determine whether the current candidate oil tank is the last single oil tank: If not, proceed to the next iteration; Otherwise, the iteration ends, and execute Step S8; Step S8: Sort the oil tanks without operation plans in descending order of empty tank volume to determine multiple oil tank combinations; each oil tank combination consists of multiple oil tanks without operation plans, and the sum of the empty tank volumes of the multiple oil tanks without operation plans is greater than the planned oil inlet volume; iteratively screen the oil tank combination that meets the oil inlet conditions and its oil inlet path. Each iteration includes the following steps: Step S8.1: Remove the candidate oil tank combinations in the previous iteration, and select the oil tank combination with the longest current oil storage time as the candidate oil tank combination for this iteration; Step S8.2: Determine whether the valve and pump status of the oil inlet path of the candidate oil tank combination meet the oil inlet conditions: If they meet the oil inlet conditions, the candidate oil tank combination is an oil tank combination that meets the conditions, and determine the oil inlet path of the oil tank combination that meets the conditions; Otherwise, the candidate oil tank combination is an oil tank combination that does not meet the conditions; Step S8.3: Determine whether the current candidate oil tank combination is the last oil tank combination: If not, proceed to the next iteration; Otherwise, the iteration ends; Step S9: The single oil tank that meets the conditions and its oil inlet path, and the oil tank combination that meets the conditions and its oil inlet path are the optimized oil product movement paths.
2. The optimization method of the oil product movement path according to claim 1, wherein The method also includes a spare oil tank step; Spare oil tank step: For the optimized oil product movement path, after optimizing the oil path, select a spare oil tank from the oil tanks that meet the conditions among the remaining oil tank types according to the oil product type and oil product number of this oil inlet, which is used to switch to the spare oil tank for oil product movement when problems occur in the oil product movement, so as to prevent pipeline pressure build-up accidents.
3. Control method for the movement path of oil products, characterized in that, The method includes the following steps: Job plan formulation step: According to the actual incoming and outgoing situation of oil products, input or extract job plan information to generate a job plan; Job path optimization step: According to the job plan, obtain the oil product inbound plan in the oil product inbound notice, including oil product type, oil product number, planned incoming oil volume, and inbound time; According to the oil product inbound plan, use the optimization method of the oil product movement path described in claim 1 or 2 to automatically optimize the process path according to the principle of first in first out for low inventory, and obtain the optimized oil product movement path; Movement path verification step: Verify the status of valves and oil tanks on the optimized oil product movement path one by one, and screen out the oil product movement path that is not interconnected or mixed with other oil product movement paths as the verified oil product movement path; Movement path sorting step: Sort the verified oil product movement paths from the longest to the shortest according to the oil product storage time of a single oil tank or oil tank combination, and the oil product movement path corresponding to the longest oil product storage time is the optimal oil product movement path; Movement path review step: Display the optimal oil product movement path for the reviewer to check the optimal oil product movement path according to the process flow, and obtain the reviewed oil product movement path; Movement path execution step: Execute the oil product movement according to the reviewed oil product movement path.
4. The control method for the oil product movement path according to claim 3, wherein The movement path execution step includes: Step ST1: Continuously monitor the status of oil tanks, valves, and pumps: If the status is abnormal and the oil inlet operation cannot be completed, output an alarm message to prompt the operator to notify the pipeline transportation party or the ship party to stop the pump, and the process jumps to execute step ST7; Step ST2: Determine whether it is a single oil tank for oil inlet or an oil tank combination (i.e., multiple oil tanks) for oil inlet; If it is a single oil tank for oil inlet, the process jumps to execute step ST3; If it is an oil tank combination for oil inlet, the process jumps to execute step ST4; Step ST3: Open the valves and pumps leading from the oil inlet to the single oil tank in sequence, and the oil product moves to the single oil tank to execute the oil inlet of the single oil tank, and the process jumps to execute step ST5; Step ST4: According to the sequence of oil tanks in the oil tank combination, feed oil into each oil tank in the oil tank combination in turn until the last oil tank in the oil tank combination completes the oil inlet; During each oil inlet process: Open the valves and pumps leading from the oil inlet to any one of the oil tanks in the oil tank combination in sequence, and the oil product moves to any one of the oil tanks in the oil tank combination to execute the oil inlet of any one of the oil tanks in the oil tank combination; Real-time detect whether the liquid level of any one of the oil tanks in the oil tank combination reaches the tank switching value; If it reaches the tank switching value, execute the tank switching operation and feed oil into the next oil tank in the oil tank combination; During the tank switching operation, first open the valve of the next oil tank in the oil tank combination, and then real-time detect whether the flow path of the next oil tank in the oil tank combination is unblocked: If the flow path is unblocked, then close the valve of the oil tank to be switched to complete the tank switching operation; If the flow path is not unblocked, output an alarm message to prompt the operator to notify the pipeline transportation party or the ship party to stop the pump, and the process jumps to execute step ST7; Step ST5: Real-time detect whether the remaining incoming oil volume is less than the given remaining oil threshold; If it is less than the given remaining oil threshold, output a warning prompt to externally prompt that the oil inlet is about to be completed; Step ST6: Real-time detect whether the total amount of oil input has reached the planned oil input amount; if it has reached the planned oil input amount, output a prompt indicating that the oil input is completed; Step ST7: Detect whether the pipeline pump or the ship pump has stopped through pressure detection; If it has stopped, close the valve and stop the train unloading oil pump; Otherwise, the process continues to wait until the pipeline pump or the ship pump has stopped; Step ST8: Continuously monitor whether the valve and the train unloading oil pump are in the shutdown state; if both have been shut down, output a prompt indicating that the process execution is completed, and the process execution ends.
5. The control method for the oil product movement path according to claim 4, wherein In the operation path optimization step, when using the optimization method of the oil product movement path described in claim 2 to automatically optimize the process path according to the principle of first in, first out for low inventory and obtain the optimized oil product movement path; The movement path execution step further includes a spare tank switching step: Spare tank switching step: During the execution of the oil product movement, continuously monitor the states of the oil tanks and valves in the oil product movement path. When the liquid level of the oil tank reaches a given value, perform a tank switching operation and switch to a spare oil tank or a combination of spare oil tanks for oil product movement; during the tank switching operation, first open the valve of the oil tank to be switched. After the flow path is opened, then close the valve of the oil tank to be switched.
6. Control device for the oil product movement path, characterized in that, The device includes the following modules: Operation plan formulation module: According to the actual oil product inbound and outbound situation, input or extract operation plan information and generate an operation plan; Operation path optimization module: According to the operation plan, obtain the oil product inbound plan in the oil product inbound notice, including the oil product type, oil product number, planned oil input amount, and inbound time; According to the oil product inbound plan, use the optimization method of the oil product movement path described in claim 1 or 2 to automatically optimize the process path according to the principle of first in, first out for low inventory and obtain the optimized oil product movement path; Movement path verification module: Verify the states of the valves and oil tanks on the optimized oil product movement path one by one, and screen out the oil product movement path that is not interconnected and does not mix oil with other oil product movement paths as the verified oil product movement path; Movement path sorting module: Sort the verified oil product movement paths in descending order of the oil storage time of a single oil tank or a combination of oil tanks. The oil product movement path corresponding to the longest oil storage time is the optimal oil product movement path; Movement path review module: Display the optimal oil product movement path for the reviewer to check the optimal oil product movement path according to the process flow and obtain the reviewed oil product movement path; Movement path execution module: Execute the oil product movement according to the reviewed oil product movement path.
7. Control system for the oil product movement path, characterized in that, The system includes an interaction layer, a data management layer, a transmission layer, and a collection and execution layer; the collection and execution layer includes multiple sensors and multiple actuators; The data management layer includes an oil depot SCADA system; the oil depot SCADA system internally installs the control device of the oil product movement path described in claim 7; The interaction layer includes a display screen and a PC terminal; the PC terminal is used to input interaction commands to the control device of the oil product movement path; the display screen performs information display according to the instructions of the control device of the oil product movement path; The transmission layer includes a PLC control system for sending execution commands to the multiple actuators according to the instructions of the control device for the oil product movement path; The multiple sensors are used to collect the status information of the oil tanks, valves and pumps according to the instructions of the control device for the oil product movement path; The multiple actuators are used to adjust the working states of the valves and pumps according to the execution commands of the PLC control system.
8. A computer device, comprising: A processor and a memory, wherein the memory is used to store executable instructions of the processor, and the processor is configured to execute the control method of the oil product movement path according to any one of claims 3-5 by executing the executable instructions.
9. A computer storage medium, characterized in that, A computer program is stored in the storage medium, and when the computer program runs, it executes the control method of the oil product movement path according to any one of claims 3-5.
10. A computer program product comprising computer programs / instructions, characterized in that, When the computer program / instructions are executed by the processor, the steps of the control method of the oil product movement path according to any one of claims 3-5 are implemented.