Oil and gas drilling operation energy storage battery charging and discharging scheduling strategy combined with median filtering
The median filtering algorithm optimizes the coordinated energy supply between gas generators and energy storage batteries, which solves the problems of low energy supply efficiency and easy load shutdown in oil and gas drilling operations, and realizes efficient gas generator management and energy storage battery scheduling.
Patent Information
- Application Number
- CN202510383477.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-03-28
- Publication Date
- 2025-07-01
- Estimated Expiration
- 2045-03-28
AI Technical Summary
The existing oil and gas drilling operations have low gas-electric conversion efficiency and easy shutdown in gas generator power supply mode. In the gas generator, the increase in the number of gas generators is responsible for low load rate.
The median filtering algorithm is used in combination with the energy management system to determine the number of gas generators, and adjust the charging and discharging strategy according to real-time electricity consumption requirements and energy storage battery status, and optimize the coordinated energy supply of gas generators and energy storage batteries.
It improves the gas-electric conversion efficiency of gas generators, reduces the number of gas generators turned on, reduces the configuration scale, and ensures the safety and stability of energy supply for oil and gas drilling operations.
Smart Images

Figure CN120237693A_ABST
Abstract
Description
Technical Field
[0001] The present invention belongs to the technical field of energy storage and charging, and specifically relates to a charge and discharge scheduling strategy for an energy storage battery in oil and gas drilling operations combined with median filtering. Background Art
[0002] The oil and gas drilling operation is gradually carrying out the transformation of the energy supply mode of "replacing oil with electricity (gas)", that is, using the power grid or gas generator to replace the diesel generator to promote energy conservation and emission reduction in oil and gas drilling operations. In areas where it is not easy to erect the power grid or affected by busy farming operations, the gas generator replacing the diesel generator has become the main energy supply mode of "replacing oil with electricity (gas)". However, the oil and gas drilling operation has characteristics such as a high total power consumption and a fast load change speed, and the "weak" characteristics of the gas generator undoubtedly make it difficult to effectively respond. Increasing the number of gas generators turned on has become the main means to improve the power response speed of the entire gas generator set at present, but it also brings problems such as a low load rate of the gas generator, resulting in a low gas-electric conversion efficiency.
[0003] In recent years, electrochemical energy storage batteries have been proposed to be used in combination with gas generators to supply energy for oil and gas drilling operations. Based on the "peak shaving and valley filling" mechanism of the energy storage battery, the scale configuration of the gas generator set is reduced, the gas-electric conversion efficiency of the gas generator is improved, and the operation safety is guaranteed. However, the oil and gas drilling operation has a long cycle, and the power shows large non-periodic fluctuations. Different operating conditions have different requirements for the number of gas generators turned on. How to effectively and reasonably turn on the number of different gas generators and efficiently schedule the charge and discharge of the energy storage battery is the key to the energy storage battery to carry out oil and gas drilling operations in the gas supply mode. Therefore, there is an urgent need for an effective charge and discharge strategy for the energy storage battery in oil and gas drilling operations, which can efficiently schedule the charge and discharge of the energy storage battery while reasonably turning on the gas generator, improve the gas-electric conversion efficiency of the gas generator, and ensure the safety of oil and gas drilling operations. Summary of the Invention
[0004] The purpose of the present invention is to provide a charge and discharge scheduling strategy for an energy storage battery in oil and gas drilling operations combined with median filtering to solve the above problems and technical requirements. The technical solution of the present invention is as follows:
[0005] A charge and discharge scheduling strategy for an energy storage battery in oil and gas drilling operations combined with median filtering;
[0006] The scheduling strategy relies on a set of existing on-site energy management system hardware to schedule the gas generator and the energy storage battery;
[0007] The scheduling strategy adjusts the charge and discharge state of the energy storage battery on the basis of determining the number of gas generators turned on by combining the median filtering algorithm;
[0008] The scheduling strategy includes the following steps:
[0009] Step 1: Obtain the total power consumption \(P(t)\) of the energy-consuming equipment, and process the total power consumption using the median filtering algorithm to obtain the filtered power \(P'(t)\); 总实 (t), and process the total power consumption using the median filtering algorithm to obtain the filtered power \(P\) 总滤 (t);
[0010] Step 2: Determine the number \(N(t)\) of gas generators to be started, specifically including: 燃发 (t), specifically including:
[0011] Step 2.1: If \(SOC(t)\leq20\%\), then \(N\) 燃发 (t) is determined by the total power consumption \(P\) 总实 (t), the total power change rate \(Cr\) 总实 (t) and the power response rate of the gas generator and
[0012] Step 2.2: If \(SOC(t)>20\%\), then
[0013] where \(SOC(t)\) is the remaining power of the energy storage battery; roundup|| means rounding up; round|| means rounding to the nearest integer; \(PG\) is the rated power of a single gas generator;
[0014] Step 3: Determine whether the energy storage battery needs to discharge, and calculate the corresponding discharge power \(P_d(t)\), including: 放 (t), including:
[0015] Step 3.1: When \(SOC(t)\leq20\%\) of the energy storage battery, the energy storage battery is prohibited from discharging;
[0016] Step 3.2: When \(SOC(t)>20\%\) of the energy storage battery, the energy storage battery is allowed to discharge, and the discharge power
[0017] where \(t0\) is the time interval for collecting power consumption data;
[0018] Step 4: Determine whether it is in the working condition where the energy storage battery can be charged, and calculate the power \(P_c(t)\) available for charging the energy storage battery; 充 (t);
[0019] The rechargeable working condition is \(P\) 放 (t)=0 and the oil and gas drilling is in the operation of connecting stands;
[0020] When the oil and gas drilling enters the operation of connecting stands, the number of started gas generators remains the same as the previous moment;
[0021] Step 4.1: If \(SOC(t)<80\%\), the charging power \(P\) 充 (t)=0.7*N 燃发 (t - t0)*PG - P总实 (t);
[0022] Step 4.2, if SOC(t) ≥ 80%, the charging power P 充 (t) = 0
[0023] The above solution of the present invention has at least the following advantages and beneficial effects:
[0024] (1) This scheduling strategy relies on the median filtering algorithm to give the calculation formula for the number of gas generators to be started under the dischargeable state of the energy storage battery, which not only avoids the influence of large fluctuations in the total power consumption of oil and gas drilling operations on the number of gas generators started, but also ensures that the load rate of the gas generators is always in a reasonable range, effectively improving the gas-electricity conversion efficiency of the gas generators;
[0025] (2) The discharge power of the energy storage battery in this scheduling strategy fully considers the influence of the load rate of the gas generator and the sudden change rate of the total power consumption. While ensuring that the load rate of the gas generator does not exceed and is close to 75% as much as possible, it also ensures that the entire gas generator set will not stall due to the too fast sudden change rate of the total power consumption;
[0026] (3) This scheduling strategy does not distinguish any drilling parameters such as well type and well depth, and has universal adaptability;
[0027] (4) This scheduling strategy only allows the energy storage battery to be charged during the operation of connecting the standpipe, which can effectively reduce the charge and discharge times of the energy storage battery and extend its service life. Description of the Drawings
[0028] Figure 1 is a flowchart of a charge and discharge scheduling strategy for an energy storage battery in oil and gas drilling operations combined with median filtering provided by an embodiment of the present invention.
[0029] Figure 2 is the total power consumption and the power curve after median filtering under typical oil and gas drilling operation conditions provided by an embodiment of the present invention.
[0030] Figure 3 is the output power distribution of the gas generator set and the energy storage battery provided by an embodiment of the present invention.
[0031] Figure 4 is the comparison of the number of gas generators started before and after using the energy storage battery provided by an embodiment of the present invention.
[0032] Figure 5 is the comparison of the load rate fluctuation curves of the gas generator set before and after using the energy storage battery provided by an embodiment of the present invention. Detailed Embodiments
[0033] The present invention will be further described below in conjunction with the accompanying drawings and specific embodiments. Those skilled in the art can easily understand other advantages and effects of the present invention from the content disclosed in this specification. Obviously, the implementation manners of the present invention include but are not limited to the following embodiments.
[0034] The corresponding drilling rig type in this embodiment is 50DB, and a gas generator is used for power supply. Each drilling rig is equipped with 8 gas generators, and the rated power PG of each gas generator is 300 kW, and the power response speed is 30 kW / s. The energy management system collects data every 3 s.
[0035] See Figure 1 , a charge and discharge scheduling strategy for the energy storage battery in oil and gas drilling operations combined with median filtering provided for the embodiment of the present invention. As Figure 1 shown, the scheduling strategy includes the following steps:
[0036] Step 1, obtain the total power consumption P 总实 (t) of the energy-consuming equipment, and process the total power consumption by using the median filtering algorithm to obtain the filtered power P 总滤 (t);
[0037] Step 2, determine the number N 燃发 (t) of gas generators to be started, specifically including:
[0038] Step 2.1, if SOC(t) ≤ 20%, then N 燃发 (t) is determined by the total power consumption P 总实 (t), the total power change rate Cr 总实 (t) and the power response rate of the gas generator , and
[0039] Step 2.2, if SOC(t) > 20%, then
[0040] Among them, SOC(t) is the remaining power of the energy storage battery; roundup|| means rounding up; round|| means rounding to the nearest integer;
[0041] It can be understood that if SOC = 20%, P 总实 (t) = 1305 kW, Cr 总实 (t) = 119 kW / s, P 总滤 (t) = 1208 kW, then N 燃发 (t) = 6; if SOC = 65%, P 总实 (t) = 1305 kW, Cr 总实 (t) = 119 kW / s, P 总滤If P(t) = 1208 kW, then N 燃发 (t) = 5;
[0042] Step 3: Determine whether the energy storage battery needs to discharge and calculate the corresponding discharge power P(t), including: 放 (t):
[0043] Step 3.1: If the SOC(t) of the energy storage battery ≤ 20%, the energy storage battery is prohibited from discharging;
[0044] Step 3.2: If the SOC(t) of the energy storage battery > 20%, the energy storage battery is allowed to discharge, and the discharge power P(t) = max{P(t) - 225 * N(t - 3), Cr(t) - 30 * N(t - 3), 0}; 放 (t) = max{P 总实 (t) - 225 * N 燃发 (t - 3), Cr 总实 (t) - 30 * N 燃发 (t - 3), 0};
[0045] It can be understood that if SOC(t) = 20%, the energy storage battery is prohibited from discharging, and all the electricity for the oil and gas drilling operation is provided by the gas generator; if SOC(t) = 75%, P 总实 (t) = 1240 kW, N 燃发 (t - 3) = 5, Cr 总实 (t) = 49 kW / s, then P 放 (t) = 115 kW; if SOC(t) = 75%, P 总实 (t) = 1120 kW, N 燃发 (t - 3) = 5, Cr 总实 (t) = 49 kW / s, then P 放 (t) = 0 kW, and the energy storage battery does not need to discharge;
[0046] Step 4: Determine whether it is in the operating condition where the energy storage battery can be charged and calculate the power P(t) available for charging the energy storage battery; 充 (t);
[0047] The rechargeable operating condition is P 放 (t) = 0 and the oil and gas drilling is in the operation of connecting drill collars;
[0048] When the oil and gas drilling enters the operation of connecting drill collars, the number of gas generators turned on remains the same as the previous moment;
[0049] It can be understood that if the oil and gas drilling was in the normal drilling operation at time t - 3 and enters the operation of connecting drill collars at time t, then N 燃发 (t) = N 燃发 (t - 3);
[0050] Step 4.1: If SOC(t) ≤ 80%, the charging power P充 N(t) = 210 * N 燃发 (t - 3) - P 总实 (t);
[0051] Step 4.2, if SOC(t) > 80%, the charging power P 充 (t) = 0
[0052] It is understandable that if SOC(t) = 62%, N 燃发 (t - 3) = 5, P 总实 (t) = 310 kW, then P 充 (t) = 740 kW; if SOC(t) = 85%, then the energy storage battery does not need to be charged.
[0053] See Figure 2 , which shows the total power consumption and the power after median filtering under the typical oil and gas drilling operation conditions provided by the embodiments of the present invention. The output power distribution of the gas generator set and the energy storage battery is obtained by using the scheduling strategy provided by the present invention, and the specific distribution results are as Figure 3 shown.
[0054] See Figure 4 , which shows the comparison of the starting numbers of gas generators before and after using the energy storage battery obtained by using the scheduling strategy provided by the present invention. After using the energy storage battery, the simultaneous starting time of 6 gas generators is shortened by 95%, which is very beneficial to reducing the maintenance frequency of gas generators and reducing the configuration scale of gas generators.
[0055] See Figure 5 , which shows the comparison of the load rate fluctuations of gas generators before and after using the energy storage battery obtained by using the scheduling strategy provided by the present invention. After using the energy storage battery, the fluctuation range of the load rate of gas generators is smaller, and the average load rate is increased from 63.9% to 72.2%.
[0056] The above embodiments are only one of the embodiments of the present invention in development, and do not limit the protection scope of the present invention. Any changes made by adopting the design principle of the present invention and non-creative labor on this basis shall fall within the protection scope of the present invention.
Claims
1. A charging and discharging scheduling strategy for energy storage batteries in oil and gas drilling operations combined with median filtering, which is implemented based on the existing energy management system hardware at the oil and gas drilling operation site, and is characterized by: The scheduling strategy adjusts the charging and discharging state of the energy storage battery based on the number of gas generators to be turned on in combination with the median filtering algorithm; The scheduling strategy includes the following steps: Step 1: Obtain the total power consumption P of energy-consuming equipment 总实 (t), and the median filter algorithm is used to process the total power consumption to obtain the filtered power P 总滤 (t); Step 2: Determine the number of gas generators N that need to be turned on 燃发 (t), including: Step 2.1, if SOC(t)≤20%, then N 燃发 (t) is calculated from the total power consumption P 总实 (t), total power change rate Cr 总实 (t) and gas generator power response rate Determine, and Step 2.2, if SOC(t)>20%, then Among them, SOC(t) is the remaining power of the energy storage battery; roundup| | means rounding up; round| | means rounding off; PG is the rated power of a single gas generator; Step 3: Determine whether the energy storage battery needs to be discharged and calculate the corresponding discharge power P 放 (t), including: Step 3.1, if the energy storage battery SOC(t)≤20%, the energy storage battery is prohibited from discharging; Step 3.2: If the energy storage battery SOC(t)>20%, the energy storage battery is allowed to discharge, and the discharge power Among them, t0 is the time interval for collecting power consumption data; Step 4: determine whether the energy storage battery is in a rechargeable operating condition, and calculate the power P that can be used to charge the energy storage battery. 充 (t); The charging condition is P 放 (t) = 0 and the oil and gas drilling is in the root connection operation; Oil and gas drilling enters the root connection operation, and the number of gas generators turned on remains the same as the previous moment; Step 4.1, if SOC(t)<80%, charging power P 充 (t)=0.7*N 燃发 (t-t0)*PG-P 总实 (t); Step 4.2: If SOC(t)≥80%, charging power P 充 (t)=0.
Citation Information
Patent Citations
Hybrid energy storage look-ahead charging and discharging control method and system
CN117613885A
High-power battery pack charging and discharging control method and system based on artificial intelligence
CN118868326A
Gas generator and energy storage battery hybrid energy supply scheduling strategy
CN119602379A
Automatic power generation control method and system
WO2022089304A1
Cited By
Generator group and hybrid energy storage cooperative control method and system for drilling platform
CN122052202A