Coordinated Control Method and System for Power Supply System of Oil and Gas Plant with Consideration of Supply Guarantee Needs
By constructing a two-layer coordinated control framework for power management and combining Weibull distribution to fit fault recovery time, the energy storage charging and discharging decision is optimized, solving the problem of insufficient power supply capacity of energy storage in the photovoltaic-storage power supply system of oil and gas plants after a fault, and realizing effective supply demand management under different weather conditions.
Patent Information
- Application Number
- CN202611121357.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2026-07-27
- Publication Date
- 2026-11-17
AI Technical Summary
In existing technologies for photovoltaic-storage power supply systems in oil and gas plants, insufficient attention is paid to the value of the energy storage's state of charge (SOC) in ensuring continuous power supply after external grid failures. Furthermore, the volatility of photovoltaic output and load makes it difficult for dispatching to effectively reflect changes in supply capacity, and there is a lack of effective energy storage management strategies during the grid connection phase.
A two-layer coordinated control framework for power management is constructed. The power management layer generates an operation plan based on photovoltaic output and load forecast, and introduces the risk of power outage to build an optimization model. The power management layer makes real-time corrections and optimizes the energy storage charging and discharging decisions to meet load balance and SOC constraints. The fault recovery time is calculated by fitting the Weibull distribution to determine the supply guarantee demand boundary.
It improves the continuous power supply capability of the photovoltaic-storage power supply system in oil and gas plants after a fault, improves the energy storage capacity maintenance level during critical periods, and can adjust the energy storage operation status according to different weather conditions, thereby improving the system's supply guarantee capability during economic operation.
Smart Images

Figure CN123121684A_ABST
Abstract
Description
Technical Field
[0001] This invention relates to the field of power demand response technology, and in particular to a coordinated control method and system for a photovoltaic-storage power supply system for oil and gas plants that takes into account the demand for power supply security. Background Technology
[0002] The statements in this section are merely background information related to the present invention and do not necessarily constitute prior art.
[0003] To address the high reliability requirements of continuous production at oil and gas plants and the limitations of traditional power supply methods in terms of cost and support capacity, the integration of photovoltaic and energy storage resources provides a foundation for the transformation of power supply modes into power supply systems. Existing research has made progress in distributed photovoltaic applications, multi-energy synergy, energy storage configuration, and optimized operation of power supply systems. This research covers methods such as energy management objectives, control architecture, optimization algorithms, energy storage lifetime modeling, and source-load prediction, improving system economy, renewable energy absorption capacity, and dynamic regulation performance.
[0004] However, current optimization strategies primarily focus on cost and efficiency under normal operating conditions, neglecting the value of energy storage's State of Charge (SOC) in ensuring continuous power supply after external grid failures. The charging and discharging decisions of energy storage during grid connection directly impact subsequent SOC levels, which in turn determine the duration of autonomous power supply after a fault. Therefore, dispatch plans need to reasonably reserve a power margin during normal operation. Furthermore, photovoltaic output and load exhibit significant volatility; if dispatch cannot dynamically update based on forecast information and SOC changes, it will be difficult to effectively reflect changes in supply guarantee capabilities.
[0005] Although existing research has covered rolling scheduling and resilience assessment, there is still a lack of effective coordination on how to feed the demand for continuous power supply after a fault into the energy storage management during the grid connection phase. Summary of the Invention
[0006] To address the shortcomings of existing technologies, the purpose of this invention is to provide a coordinated control method and system for the power supply system of oil and gas plants that takes into account the needs of power supply security. By adjusting the risk of power outages and real-time power correction, the invention achieves a balance between grid connection economy and fault support capability.
[0007] To achieve the above objectives, the present invention is implemented through the following technical solution: The first aspect of this invention provides a coordinated control method for a photovoltaic-storage power supply system at an oil and gas plant, taking into account supply security requirements, comprising the following steps: Acquire power supply-related data of the photovoltaic-storage power supply system of oil and gas plants, determine the boundary of supply guarantee demand based on the power supply-related data and evaluate the continuous power supply capacity; A two-layer coordinated control framework for power and energy management is constructed, including a power management layer and a power management layer. The power management layer is used to generate an operation plan based on the results of photovoltaic output and load forecasting, while the power management layer is used to modify the plan instructions issued by the power management layer according to the operation plan during real-time operation. Coordinated control is carried out based on a two-layer coordinated control framework for power management. In this framework, the power management layer incorporates the risk of power outages into the external grid cost, constructs a power management optimization model, and performs rolling optimization. After solving each rolling cycle, only the planned control quantity for the current period is sent to the power management layer. The actual energy storage charge status and operating power status after execution are fed back to the next rolling cycle.
[0008] Furthermore, the Weibull distribution is used to fit the fault recovery time to calculate the expected power outage duration and further obtain the power supply demand boundary; the continuous power supply capability is evaluated by the maximum duration that the photovoltaic-storage power supply system can continuously operate under load under the conditions of satisfying load power balance and power balance.
[0009] Furthermore, the loss due to power outage risk consists of the cost of maintaining power supply and the probability of failure. The cost of maintaining power supply is used to describe the impact of energy storage charging and discharging decisions on the subsequent continuous power supply capacity.
[0010] Furthermore, the power management system constructs a power management optimization model with the goal of minimizing the sum of external grid power purchase costs, curtailment costs, energy storage charging and discharging loss costs, and power outage risk losses. Based on meeting load power balance requirements, photovoltaic output allocation, energy storage SOC constraints, and charging and discharging mutual exclusion constraints, the system performs rolling optimization of photovoltaic utilization, energy storage charging and discharging, and external grid power purchase plans.
[0011] Furthermore, based on the real-time external grid input power, load power, photovoltaic output, and energy storage status, the power management layer makes real-time corrections to the energy storage charging and discharging power, photovoltaic operating point, and planned external grid input power according to the power deviation between planned and actual quantities, and ensures that the system meets the constraints of load power balance, energy storage SOC, and external grid non-backfeeding.
[0012] Furthermore, the power management layer prioritizes utilizing energy storage regulation capabilities to smooth out source-load fluctuations; when energy storage regulation capabilities are insufficient, adjustments are made through external grid input power correction or photovoltaic operating point adjustments.
[0013] A second aspect of the present invention provides a coordinated control system for a photovoltaic-storage power supply system in an oil and gas plant, taking into account supply security requirements, comprising: The data acquisition and boundary determination module is configured to acquire power supply-related data of the photovoltaic-storage power supply system of the oil and gas plant, determine the supply demand boundary based on the power supply-related data, and evaluate the continuous power supply capability. The dual-layer management framework construction module is configured to build a dual-layer coordinated control framework for power management, including a power management layer and a power management layer. The power management layer is used to generate an operation plan based on the results of photovoltaic output and load forecasting, while the power management layer is used to correct the plan instructions issued by the power management layer according to the operation plan during real-time operation. The optimized coordination control module is configured to perform coordinated control based on a two-layer coordination control framework for power management. The power management layer introduces the risk of power outage loss into the external grid cost, constructs a power management optimization model and performs rolling optimization. After solving each rolling cycle, only the planned control quantity for the current period is sent to the power management layer. The actual energy storage charge state and operating power state after execution are fed back to the next rolling cycle.
[0014] A third aspect of the present invention provides a computer-readable storage medium storing a computer program adapted to be loaded by a processor and to execute the steps of the coordinated control method for a photovoltaic-storage power supply system of an oil and gas plant that takes into account supply requirements as described in the first aspect of the present invention.
[0015] A fourth aspect of the present invention provides a computer device comprising: A processor, adapted to execute computer programs; A computer-readable storage medium storing a computer program, which, when executed by the processor, implements the coordinated control method for the photovoltaic-storage power supply system of an oil and gas plant, taking into account supply requirements, as described in the first aspect of the present invention.
[0016] A fifth aspect of the present invention provides a computer program product or computer program comprising computer instructions stored in a computer-readable storage medium. A processor of a computer device reads the computer instructions from the computer-readable storage medium and executes the computer instructions, causing the computer device to perform the steps of the coordinated control method for a photovoltaic-storage power supply system of an oil and gas plant, taking into account supply requirements, as described in the first aspect of the present invention.
[0017] The above one or more technical solutions have the following beneficial effects: This invention discloses a coordinated control method and system for a photovoltaic-storage power supply system in an oil and gas plant, taking into account supply guarantee requirements. First, a supply guarantee demand boundary is proposed based on the Weibull distribution of fault recovery time, and the autonomous power supply capability of the photovoltaic-storage power supply system after a fault is represented by the duration of continuous power supply. Second, a two-layer coordinated control strategy for power and energy management is proposed. At the power management layer, the risk of power outages due to extreme weather conditions is considered, and a rolling optimization model is established that takes into account power purchase costs, curtailment costs, energy storage losses, and supply guarantee margins. At the power management layer, power deviations caused by source-load fluctuations are corrected to meet system power balance and external grid non-backfeed constraints. This invention can improve the maintenance level of energy storage capacity during critical periods while maintaining economical operation, improve the continuous power supply capability during periods of low supply guarantee, and adjust the energy storage operation status according to the differences in fault risk under different weather conditions.
[0018] Advantages of additional aspects of the invention will be set forth in part in the description which follows, and in part will be obvious from the description, or may be learned by practice of the invention. Attached Figure Description
[0019] To more clearly illustrate the technical solutions in the embodiments of this application or the prior art, the drawings used in the description of the embodiments or the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments of this application. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.
[0020] Figure 1 This is a schematic diagram of the photovoltaic-storage power supply system for an oil and gas plant in Embodiment 1 of the present invention; Figure 2 This is a schematic diagram of the Weibull probability density curve for the duration of a power outage in Embodiment 1 of the present invention; Figure 3 This is a diagram illustrating the overall framework of the two-layer coordinated control of power management that takes into account supply requirements in Embodiment 1 of the present invention. Figure 4 This is a flowchart illustrating the construction of power outage risk loss based on fault probability correction in Embodiment 1 of the present invention. Figure 5 This is a schematic diagram of the SOC and continuous power supply capability under typical operating conditions of pure economic dispatch in Embodiment 1 of the present invention; Figure 6 This is a schematic diagram of the SOC and continuous power supply capability under typical operating conditions and optimized scheduling based on supply demand in Embodiment 1 of the present invention. Figure 7 This is a comparison chart of SOC and supply capacity under different meteorological conditions in Embodiment 1 of the present invention; Figure 8 This is a schematic diagram of the power outage risk loss surface under normal conditions in Embodiment 1 of the present invention; Figure 9 This is a schematic diagram of the power outage risk loss surface under a blue warning in Embodiment 1 of the present invention; Figure 10 This is a schematic diagram of the power outage risk loss surface under an orange alert in Embodiment 1 of the present invention; Figure 11 This is a schematic diagram of the power outage risk loss surface under a red alert in Embodiment 1 of the present invention. Detailed Implementation
[0021] It should be noted that the following detailed descriptions are exemplary and intended to provide further illustration of the invention. Unless otherwise specified, all technical and scientific terms used in these embodiments have the same meaning as commonly understood by one of ordinary skill in the art to which this invention pertains.
[0022] It should be noted that the terminology used herein is for the purpose of describing particular embodiments only and is not intended to limit the scope of exemplary embodiments according to the invention. As used herein, unless the context clearly indicates otherwise, the singular form is also intended to include the plural form. Furthermore, it should be understood that when the terms "comprising" and / or "including" are used in this specification, they indicate the presence of features, steps, operations, devices, components, and / or combinations thereof. The technical solutions of the embodiments of this application will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of this application, and not all embodiments. Based on the embodiments of this application, all other embodiments obtained by those of ordinary skill in the art without creative effort are within the scope of protection of this application.
[0023] Example 1: Embodiment 1 of the present invention provides a coordinated control method for a photovoltaic-storage power supply system of an oil and gas plant that takes into account supply guarantee requirements, comprising the following steps: S1: Obtain power supply-related data of the photovoltaic-storage power supply system of the oil and gas plant, determine the boundary of supply guarantee demand based on the power supply-related data, and evaluate the continuous power supply capability.
[0024] In one specific implementation, the oil and gas plant photovoltaic-storage power supply system of this embodiment consists of an external power grid, photovoltaic power generation units, an energy storage system, and oil and gas production loads, and its structure is as follows: Figure 1As shown in the figure. The power supply-related data of the oil and gas plant photovoltaic-storage power supply system acquired in this embodiment include the actual photovoltaic output, load power, external grid input power, tie-line power, energy storage SOC and charging / discharging power directly collected by SCADA and energy storage BMS; time-of-use electricity prices, weather forecasts and warning levels obtained from the electricity price rule table and meteorological information platform; and photovoltaic output and load prediction sequences obtained based on historical operating data and prediction models. Further calculations are made based on the above data, including continuous power supply duration, supply margin, and power outage risk losses.
[0025] During normal grid-connected operation, photovoltaic (PV) power is prioritized for local consumption within the plant area, while energy storage participates in charge and discharge regulation according to the operation plan. The external grid is used to supplement the power deficit that PV and energy storage cannot meet. When the external grid fails and disconnects, the system transitions from grid-connected operation to unplanned islanded operation. In this state, the oil and gas load is mainly supported by local PV and energy storage. Therefore, energy storage plays a dual role in this scenario: firstly, during the grid-connected phase, it improves the system's operational economy by absorbing surplus PV power and participating in peak shaving and valley filling; secondly, after a fault, it extends the continuous power supply duration of the PV-energy storage system by releasing available electricity. Since charging and discharging decisions during grid connection directly alter the State of Charge (SOC) level at the time of a fault and further affect the available energy storage capacity during islanded operation, SOC should not be treated solely as a routine operational constraint. It should also be linked to the external grid fault recovery time and the system's continuous power supply capacity. Photovoltaic output forecasting and load forecasting are obtained by inputting historical operating data, real-time collected data, and weather forecast information into the corresponding forecasting models. Time-of-use pricing is obtained from the time-of-use pricing rules implemented by the local power grid. Energy storage SOC is measured in real time by the energy storage battery management system and uploaded to the energy management platform through the monitoring and data acquisition system.
[0026] Compared to a fixed lower limit of State of Charge (SOC), continuous power supply time more directly reflects the supply needs of oil and gas plants after the external power grid is disconnected. At the same SOC level, if the photovoltaic output is high and the load level is low after a fault, the system can sustain operation for a relatively longer period; conversely, even with a high SOC, insufficient photovoltaic output or a large load may rapidly deplete the energy storage capacity. Therefore, this embodiment uses the fault recovery time distribution to determine the boundary of supply demand and evaluates the current operating status based on the continuous power supply capability of the photovoltaic-storage power supply system, providing a basis for subsequent power management.
[0027] This embodiment uses the Weibull distribution to fit the fault recovery time to calculate the expected power outage duration and further obtain the power supply demand boundary; the continuous power supply capability is evaluated by the maximum duration that the photovoltaic-storage power supply system can continuously operate under load under the conditions of satisfying load power balance and power balance.
[0028] Specifically, based on publicly available statistical data, such as the data from the 2024 National Power Supply Reliability Report, power outage events of different durations exhibit certain distribution characteristics. To describe the randomness of outage duration, a two-parameter Weibull distribution is used to fit the statistical data. Let the cumulative distribution function of the outage duration be: (1).
[0029] In the formula: The probability that a one-time power outage will end and power will be restored within T hours; Let be a random variable representing the duration of the power outage; T is a given duration threshold in the cumulative distribution function. and These are the shape and scale parameters of the Weibull distribution, respectively.
[0030] Based on the statistical proportion of each power outage duration interval, calculate the empirical cumulative probability that the power outage duration does not exceed the upper boundary of each interval. Let the upper boundary of the i-th duration interval be... The proportion of power outage events in this section is The duration of the power outage shall not exceed The cumulative probability of experience is: (2).
[0031] In the formula: This represents the proportion of power outage events within the j-th duration interval; thus, data points are obtained for fitting the Weibull distribution. .
[0032] Substituting the empirical cumulative probability into the Weibull distribution function and linearizing equation (1), we get: (3).
[0033] make Then equation (3) can be expressed as: (4).
[0034] The slope and intercept of the fitted line satisfy the following conditions: (5).
[0035] Therefore, the Weibull distribution parameters can be identified based on the statistical data of the power outage duration. Furthermore, the probability density function of the fault occurrence can be obtained as follows: (6).
[0036] In the formula: This represents the probability density of the power outage duration around T.
[0037] Based on the above formula, the statistical data of the power outage duration are fitted to obtain the following results. , Coefficient of determination The fitting results of the Weibull distribution obtained from the statistical data of the annual power supply reliability report. Figure 2 As shown. By Figure 2 It can be seen that the probability density of the duration of a power outage generally decreases as the duration increases, indicating that the probability of short-term power outage events is relatively high, and the distribution has certain long-tail characteristics.
[0038] Based on the identified Weibull distribution parameters, the expected duration of the power outage is: (7).
[0039] This result is close to the average outage duration of 2.79 hours given in the "2024 National Power Reliability Annual Report". Considering the statistical distribution characteristics of outage durations and taking into account that actual engineering demand for power supply should be higher than the statistically average outage duration, the boundary of power supply demand is defined as: (8).
[0040] However This only specifies the basic level that the system's power supply capacity should reach. If the power supply capacity of the wind, solar, and energy storage system exceeds this boundary, it indicates that the system has a certain power supply margin. At the same time, the probability of external power grid failures varies under different weather conditions, which will also affect wind and solar power output, reduce the system's power supply capacity, and thus affect the power supply margin.
[0041] S2: Construct a two-layer coordinated control framework for power management, including a power management layer and a power management layer. The power management layer is used to generate an operation plan based on the results of photovoltaic output and load forecasting, while the power management layer is used to correct the plan instructions issued by the power management layer according to the operation plan during real-time operation.
[0042] In one specific implementation, to address the coordination issue between the economic efficiency of grid-connected operation of the photovoltaic-storage power supply system, fault-tolerant supply requirements, and real-time power deviation correction, this embodiment constructs a two-layer coordinated control framework for power management that takes into account fault tolerance requirements. Figure 3 As shown.
[0043] This framework comprises a power management layer and a load management layer. The power management layer, targeting longer timescales, continuously optimizes photovoltaic utilization, energy storage charging / discharging, and external grid power purchase plans for future dispatch cycles based on photovoltaic output forecasts, load forecasts, time-of-use pricing, and energy storage SOC status. Each control moment is re-solved using the latest operating state as initial conditions, and only the control quantities for the current time period are executed. Compared to conventional economic dispatch, this layer further introduces the continuous power supply capability corresponding to the energy storage SOC, guiding the coordinated operation of energy storage across economic regulation, photovoltaic absorption, and power supply maintenance.
[0044] Among them, photovoltaic output forecast and load forecast are obtained by corresponding forecast models and are considered as known quantities in this paper; time-of-use tariffs are obtained from the time-of-use tariff rule table implemented by the local power grid; energy storage SOC is measured in real time by the energy storage battery management system and uploaded to the energy management platform through the monitoring and data acquisition system.
[0045] The power management layer, designed for real-time operation control on short timescales, primarily corrects for the impact of deviations in photovoltaic (PV) output, load power, and energy storage on system power balance. PV output and oil and gas production loads fluctuate, and the baseline plan generated by the power management layer may encounter situations during actual execution, such as deviations from the planned external grid input power, localized PV surplus, or insufficient energy storage regulation capacity. Based on data collected by the Supervisory Control and Data Acquisition (SCADA) system, including external grid input power, load power, PV output, and energy storage status, the power management layer performs real-time corrections to energy storage charging and discharging power, PV operating point, and external grid input power. This ensures the system meets load power balance, energy storage SOC constraints, and external grid non-backfeed constraints.
[0046] In this two-tiered framework, the energy management layer is primarily responsible for determining the energy storage capacity allocation, charging and discharging sequence, and SOC (State of Charge) trajectory within future scheduling cycles. The power management layer, on the other hand, focuses on maintaining instantaneous power balance during actual operation and mitigating the impact of prediction deviations on tie-line power. The two layers form a closed loop through SOC status and tie-line power. The energy management layer generates a baseline operating plan, while the power management layer adjusts execution instructions based on real-time measurement results. The adjusted SOC status and tie-line power then serve as initial information for the next cycle's rolling optimization. Thus, the photovoltaic-storage power supply system balances operational economics, photovoltaic absorption, and stable energy supply during grid-connected operation, providing support for continuous power supply after external grid failures.
[0047] S3: Coordinated control is carried out based on a two-layer coordinated control framework for power management. The power management layer introduces the risk of power outage loss into the external grid cost, constructs a power management optimization model and performs rolling optimization. After solving each rolling cycle, only the planned control quantity for the current period is sent to the power management layer. The actual energy storage charge state and operating power state after execution continue to be fed back to the next rolling cycle.
[0048] S3.1: Power management optimization model that takes into account the power supply margin in the power management layer.
[0049] In one specific implementation, the power management layer is responsible for determining the photovoltaic utilization, energy storage charging and discharging schedules, and external grid power purchase plans of the photovoltaic-storage power supply system during future scheduling cycles. The results of its scheduling directly affect the energy storage SOC trajectory and the continuous power supply capability after a fault occurs. This embodiment incorporates power outage risk losses into the conventional economic scheduling objectives, making them, along with external grid power purchase costs, curtailment costs, and energy storage charging and discharging loss costs, constitute the power management optimization objective.
[0050] External power grid purchase cost The cost incurred by a photovoltaic-storage power supply system in obtaining electricity from an external power grid can be expressed as: (9).
[0051] In the formula: This represents the number of time periods within the scheduling cycle. For the first Time-of-use electricity pricing for each time period; For the first The input power of the external power grid during each time period; For time step.
[0052] Cost of abandonment The operating losses corresponding to the failure to absorb photovoltaic power can be expressed as: (10).
[0053] In the formula: Cost per unit of curtailment; For the first The curtailment power during a given time period. This item is used to constrain photovoltaic (PV) curtailment behavior, enabling the system to improve PV consumption levels while meeting operational constraints.
[0054] The energy storage charging and discharging loss cost reflects the lifespan reduction caused by energy storage during cyclic use. This embodiment adopts an equivalent conversion method based on the throughput of energy over the entire life cycle, that is, the depreciable cost of energy storage is allocated to the unit charging and discharging throughput, thus obtaining the energy storage unit throughput loss cost: (11).
[0055] In the formula: The investment cost per unit capacity of energy storage; Energy storage residual value rate; Rated cycle life; The depth of cycle discharge is given, and the throughput of energy storage in one complete cycle is 2. Double the rated capacity. Further, the cost of energy storage charging and discharging losses can be obtained. : (12).
[0056] In the formula: and Energy storage in the first Charging power and discharging power at different time periods.
[0057] The loss due to power outage risk consists of the cost of maintaining power supply and the probability of failure. The cost of maintaining power supply describes the impact of energy storage charging and discharging decisions on subsequent continuous power supply capacity. Its construction process is as follows: Figure 4 As shown. In the first During this period, energy storage will change from its current state. After being updated by charging and discharging, it is For different By combining the photovoltaic output and load demand after this period, the corresponding duration of continuous power supply can be obtained. When the duration of continuous power supply is lower than the supply demand boundary, it indicates that the energy storage state formed by the charging and discharging decision has insufficient supply guarantee; when it is higher than the supply demand boundary, it is considered that the state can meet the supply guarantee requirements.
[0058] Assume the time required to restore the external power grid after a fault is . Its probability density function is In this situation, the first The corresponding power outage risk loss function of SOC after each time step is expressed as follows: (13).
[0059] In the formula: For the first The power outage risk loss corresponding to the energy storage status after making charging and discharging decisions in each time period; The power loss coefficient per unit of power outage; The formula, derived from the statistical results of the nationwide power outage duration distribution and fitted with a Weibull distribution, describes the uncertainty of fault recovery time. This formula indicates that, given an external power grid fault, if the duration of continuous power supply is less than the supply guarantee demand boundary, then... to The power supply gap between them will create the expected duration of power outage; if the continuous power supply duration reaches or exceeds If so, it is considered that there is no cost in the state of supply guarantee.
[0060] To further consider the differences in the probability of external power grid faults under different meteorological conditions, time-varying fault probability is introduced. This parameter is determined based on the weather warning level and can be expressed as: (14).
[0061] Therefore, the power outage risk loss weighted by the fault probability can be expressed as: (15).
[0062] In the formula: To account for power outage risk losses based on the probability of time-varying faults, the differences in fault probability under different weather conditions can be incorporated into the power management optimization process.
[0063] Therefore, under normal weather conditions, the probability of power outage risk loss is extremely low, and energy storage can participate more in photovoltaic consumption and economic regulation. However, under blue, orange, or red alert conditions, the probability of external grid failures increases accordingly, and the power outage risk loss corresponding to the same SOC decline will also increase. At this time, the model will tend to increase the maintenance level of energy storage capacity in order to enhance the continuous power supply capability under potential fault scenarios.
[0064] The power management system aims to minimize the sum of external grid power purchase costs, solar curtailment costs, energy storage charging and discharging losses, and outage risk losses. The optimization model can be expressed as: (16).
[0065] in, The objective function of the optimized model is described above. This objective function integrates grid-connected operation costs and fault-tolerant supply requirements into a single optimization framework, providing a target basis for coordinating energy storage between economic regulation and power supply maintenance. To ensure the feasibility of the scheduling plan, the model also needs to meet constraints such as load power balance, photovoltaic output allocation, energy storage SOC state, and charging / discharging power.
[0066] First, the power output of photovoltaics, the power grid, and energy storage should collectively meet the load demand; their power balance relationship is as follows: (17).
[0067] In the formula: Provide load power for photovoltaic systems; To supply load power to the external power grid; This refers to the energy storage discharge power; This represents the load power.
[0068] The power output distribution of photovoltaics, the sources of energy storage charging, and the composition of power input from the external power grid can be expressed as follows: (18).
[0069] In the formula: For the first Forecast available photovoltaic power for each time period; The power used for charging photovoltaic energy storage; This refers to the power of discarded light. Total power for charging energy storage; The power used to charge energy storage for the external power grid; It is stipulated that power must be purchased from an external power grid and that power cannot be fed back into the grid.
[0070] Energy storage energy recursion and SOC constraint are as follows: (19).
[0071] In the formula: For the first Initial energy storage capacity for each time period; and These are the energy storage charging efficiency and the discharging efficiency, respectively. For the first The initial state of charge (SOC) of the energy storage during a given period; this constraint describes the impact of energy storage charging and discharging on the subsequent state of charge and limits the energy storage to operate within the allowable SOC range.
[0072] The energy storage charging and discharging power and mutual exclusion constraints are as follows: (20).
[0073] In the formula: Rated power of energy storage; and These are the state variables for energy storage charging and discharging, respectively. This constraint is used to avoid simultaneous charging and discharging of energy storage within the same time period, ensuring that the optimal solution meets practical engineering requirements.
[0074] In summary, the power management layer constructs a power management optimization model with the objective of minimizing the sum of external grid power purchase costs, solar curtailment costs, energy storage charging and discharging losses, and power outage risk losses. Based on meeting load power balance requirements, photovoltaic power output allocation, energy storage SOC constraints, and charging / discharging mutual exclusion constraints, it performs rolling optimization of photovoltaic utilization, energy storage charging and discharging, and external grid power purchase plans. After solving each rolling cycle, only the planned control quantity for the current time period is issued to the power management layer; the actual SOC and operating power status after execution are fed back to the next rolling cycle, thus forming a rolling management process for energy storage power oriented towards supply guarantee needs. In this embodiment, a 5-minute rolling control cycle is used. Each time, the operating plan for the next 24 hours is solved, and only the planned control quantity for the current 5-minute period is executed; the actual energy storage SOC and power status after execution are fed back to the next rolling cycle. The above process continues until the end of the preset 24-hour control cycle, ultimately forming the actual photovoltaic utilization power, energy storage charging and discharging power, external grid input power, and energy storage SOC change trajectory for each time period.
[0075] S3.2: Power management strategy that takes into account source-load fluctuation correction at the power management level.
[0076] In one specific implementation, the power management layer generates an operation plan based on photovoltaic (PV) output and load forecasts. However, in actual operation, short-term fluctuations in PV output and oil and gas production loads can cause the actual power balance to deviate from the planned value, and in severe cases, power may even be fed back to the external grid. Therefore, the power management layer must correct the plan instructions issued by the power management layer during real-time operation. Based on the PV utilization, energy storage charging and discharging, and external grid power purchase plans issued by the power management layer, and according to the real-time external grid input power, load power, PV output, and energy storage status collected by the SCADA system, the power management layer corrects the energy storage charging and discharging power, PV operating point, and planned external grid input power in real time according to the power deviation between the planned and actual values. This ensures that the system meets the load power balance, energy storage SOC constraints, and external grid non-feedback constraints, and finally outputs the corrected real-time control instructions. The power management layer prioritizes using energy storage regulation capabilities to smooth source-load fluctuations; when energy storage regulation capabilities are insufficient, adjustments are made through external grid input power correction or PV operating point adjustments to ensure system power balance and meet the external grid non-feedback constraint.
[0077] Specifically, if the power input from the external power grid to the photovoltaic-storage power supply system is defined as positive, then the actual tie-line power can be expressed as: (twenty one).
[0078] In the formula: For the first Actual tie-line power during each time period; This represents the actual load power. and These are the actual charging power and discharging power of the energy storage, respectively. This represents the actual photovoltaic power utilization. In actual operation, it should meet the following requirements. This is to ensure that the system does not send power back to the external power grid.
[0079] Therefore, it can be seen that short-term fluctuations in photovoltaic output and load power will directly affect the input power of the external power grid. The power management system makes real-time corrections based on the principles of energy storage priority, grid supplementation, and photovoltaic reduction: when the system experiences a power deficit, the charging and discharging power of energy storage is adjusted first, and if it is still insufficient, the external power grid will supplement it; when the system has a power surplus, it is absorbed first by energy storage, and if there is still surplus power, the photovoltaic operating point is lowered to meet the requirement of no power backflow from the grid.
[0080] When the energy storage's adjustability is insufficient, In this case, to satisfy the non-reverse power constraint, it is necessary to reduce the remaining surplus power, that is: (twenty two).
[0081] In the formula: For the first The excess power that needs to be reduced during each period.
[0082] for The power management layer reduces excess power by lowering the photovoltaic operating point, ensuring that the adjusted external grid input power meets the requirements. Therefore, the power management layer can reduce the impact of short-term source-load fluctuations on power balance while maintaining the baseline plan of the power management layer as much as possible, thereby avoiding the situation of reverse power transmission from the external power grid.
[0083] Thus, the power management layer plays a role in allocating energy storage power and maintaining supply margin over a longer time scale, while the power management layer is responsible for smoothing power fluctuations over a short time scale. Together, they form a coordinated control strategy for photovoltaic-storage power supply systems that takes into account supply requirements.
[0084] To verify the effectiveness of the proposed coordinated control strategy for the photovoltaic-storage power supply system that takes into account supply guarantee requirements, this embodiment selects a typical oil and gas plant photovoltaic-storage power supply system as the case study. Rolling optimization simulations are conducted using 24-hour photovoltaic output forecasts, load forecasts, and time-of-use electricity price data. During the simulation, the State of Charge (SOC) and source-load forecast information are updated every 5 minutes, the scheduling plan for the next 24 hours is solved again, and the optimization results for the current time step are executed. The main parameters of the case study are shown in Table 1.
[0085] Table 1. Calculation parameters of photovoltaic-storage power supply system for oil and gas plants
[0086] The example sets up two strategies for comparison: pure economic dispatch and optimized dispatch that takes into account supply guarantee needs. By comparing the SOC trajectory and continuous power supply duration under the two strategies, the impact of the proposed method on energy storage power allocation and supply guarantee margin is analyzed.
[0087] To more clearly illustrate the role of power outage risk losses, this embodiment selects two typical test days to conduct a 24-hour dispatch comparison and constructs a power outage risk loss surface to demonstrate the differences in supply guarantee risks under different time periods and different SOC conditions. Based on this, sensitivity analysis is performed on the same test day, considering different meteorological warning levels, comparing changes in SOC trajectories and continuous power supply duration under different fault risk levels, thereby verifying the responsiveness of the proposed strategy to changes in external fault risk.
[0088] To compare the differences in energy storage power allocation and supply guarantee capabilities under different scheduling objectives, two typical operating conditions with different source-load characteristics and start times were selected for 24-hour simulation. The simulation was conducted from three aspects: SOC trajectory, continuous power supply duration and its improvement, comparing pure economic scheduling and optimized scheduling that takes into account supply guarantee needs.
[0089] Figure 5 and Figure 6 The results show a comparison between pure economic dispatch and optimized dispatch considering supply guarantee demand under two typical operating conditions. It can be seen that pure economic dispatch is mainly affected by time-of-use pricing; energy storage releases more electricity during periods of high electricity prices, and the State of Charge (SOC) drops rapidly to near its lower limit during certain periods. Below the supply guarantee demand boundary. Taking supply guarantee demand into account, the timing of energy storage charging and discharging is adjusted, maintaining a higher SOC during periods of insufficient photovoltaic output or low supply guarantee margin, thereby improving the continuous power supply capacity during those periods. The results of the two operating conditions show that the proposed strategy is not simply to increase the SOC throughout the entire period, but rather to maintain and supplement power during periods of weak supply guarantee, allowing energy storage to participate in economic operation while also addressing supply guarantee needs after a fault.
[0090] To more specifically quantify the improvement effect of optimized scheduling for supply guarantee on continuous power supply capacity, the improvement in continuous power supply capacity by optimized scheduling for supply guarantee compared to pure economic scheduling is defined as follows: (twenty three).
[0091] In the formula: To optimize the duration of continuous power supply under the optimized scheduling to meet supply needs; This refers to the duration of continuous power supply under purely economic dispatch.
[0092] This indicates that optimized supply scheduling is superior to purely economic scheduling. The overall effect is positive, with the improvement mainly concentrated during periods of weaker photovoltaic support, such as nighttime, early morning, and evening. In this embodiment, the operating condition with relatively good solar resources and ample power supply is defined as Operating Condition 1, while the operating condition with relatively poor power supply and lower photovoltaic output is defined as Operating Condition 2 (the specific parameters for Operating Condition 1 and Operating Condition 2 can be customized according to actual conditions). Operating Condition 1 shows a maximum improvement of approximately 3.5 hours, while Operating Condition 2 exhibits significant improvements in the early morning and evening.
[0093] To analyze the impact of different meteorological conditions on energy storage power management and continuous power supply capability, four operating scenarios were set up: normal conditions, blue alert, orange alert, and red alert. Changes in meteorological conditions mainly affect the operation of the photovoltaic-storage power supply system in two ways: first, as the meteorological alert level increases, the probability of external grid failures increases, thus compensating for power outage risk losses; second, deteriorating meteorological conditions lead to a decrease in available photovoltaic output, thereby weakening the system's continuous power supply capability. To simulate the impact of deteriorating meteorological conditions on photovoltaic output, under normal conditions, photovoltaic output was based on the predicted value, while under blue, orange, and red alerts, photovoltaic output was reduced by 75%, 50%, and 25% of the predicted value, respectively. The SOC and [other parameters] under different meteorological conditions were [discussed / reduced]. For example Figure 7 As shown.
[0094] Depend on Figure 7 It can be seen that the SOC trajectory under different meteorological conditions and The curves show significant differences. Under normal circumstances, energy storage participates more in economic regulation, resulting in large fluctuations in State of Charge (SOC) during certain periods. Below the supply guarantee demand boundary. As the warning level increases, the energy storage capacity gradually improves, especially under blue, orange, and red warnings. The curves also show varying degrees of improvement. This result indicates that different weather conditions alter energy storage power management outcomes, leading to differentiated continuous power supply capabilities.
[0095] In order to explain more clearly Figure 8 The differences in power supply effectiveness under different meteorological levels were analyzed, and power outage risk loss surfaces were constructed under normal conditions, blue alert, orange alert, and red alert conditions, respectively. Figure 8 — Figure 11 As shown. The upper part of each figure presents the results under different times and SOC conditions. The lower half of each diagram represents the corresponding power outage risk and loss, indicated by the red dashed line. =3h supply guarantee demand boundary.
[0096] Depend on Figure 8 — Figure 11It can be seen that as the weather warning level increases, the available power of photovoltaic power decreases, and The area with a duration of ≥3 hours gradually shrinks, indicating that deteriorating weather conditions weaken the continuous power supply capability of the photovoltaic-storage power supply system after a fault. Simultaneously, the increased probability of fault occurrence significantly increases the outage risk loss corresponding to low SOC areas, demonstrating that the same energy storage state carries different risk costs under different weather conditions. Therefore, the outage risk loss surface can simultaneously reflect the impact of source-load conditions and fault risk levels on continuous power supply capability, providing a basis for energy storage capacity reservation and rolling optimization.
[0097] Simulation results show that, after considering the demand for power supply, energy storage can maintain a high power level during periods of low power supply, and its continuous power supply capability is significantly improved under typical operating conditions. When the meteorological warning level is raised, the probability of failure increases, and the available output of photovoltaic power decreases. The guiding effect of power outage risk loss on the power storage capacity is enhanced, thereby improving the power supply guarantee capability under potential failure scenarios.
[0098] This embodiment, based on the Weibull distribution model of fault recovery time, clarifies the supply demand boundary of the photovoltaic-storage power supply system and uses the continuous power supply duration as a factor. It characterizes the system's ability to supply power autonomously after a failure, which reflects the combined impact of energy storage SOC, photovoltaic output, and load demand on the ability to ensure power supply.
[0099] This embodiment proposes a two-layer control strategy for power management. The power management layer introduces outage risk losses to suppress excessive discharge of energy storage during critical periods, thereby guiding energy storage to coordinate between economic operation and maintaining supply margin. The power management layer is used to correct power deviations caused by short-term fluctuations in source and load, thereby ensuring that the system power is in a balanced state and ensuring that there is no backfeeding from the external power grid.
[0100] Example 2: Embodiment 2 of the present invention provides a coordinated control system for the photovoltaic-storage power supply system of an oil and gas plant that takes into account the supply guarantee requirements, including: The data acquisition and boundary determination module is configured to acquire power supply-related data of the photovoltaic-storage power supply system of the oil and gas plant, determine the supply demand boundary based on the power supply-related data, and evaluate the continuous power supply capability. The dual-layer management framework construction module is configured to build a dual-layer coordinated control framework for power management, including a power management layer and a power management layer. The power management layer is used to generate an operation plan based on the results of photovoltaic output and load forecasting, while the power management layer is used to correct the plan instructions issued by the power management layer according to the operation plan during real-time operation. The optimized coordination control module is configured to perform coordinated control based on a two-layer coordination control framework for power management. The power management layer introduces the risk of power outage loss into the external grid cost, constructs a power management optimization model and performs rolling optimization. After solving each rolling cycle, only the planned control quantity for the current period is sent to the power management layer. The actual energy storage charge state and operating power state after execution are fed back to the next rolling cycle.
[0101] Example 3: Embodiment 3 of the present invention provides a computer-readable storage medium storing a computer program adapted for loading by a processor and executing the steps in the coordinated control method for the photovoltaic-storage power supply system of an oil and gas plant, taking into account supply requirements, as described in Embodiment 1 of the present invention.
[0102] Example 4: Embodiment 4 of the present invention provides a computer device, the device comprising: A processor, adapted to execute computer programs; A computer-readable storage medium storing a computer program, which, when executed by the processor, implements the steps in the coordinated control method for the photovoltaic-storage power supply system of an oil and gas plant, taking into account supply requirements, as described in Embodiment 1 of the present invention.
[0103] Example 5: Embodiment 5 of the present invention provides a computer program product or computer program, which includes computer instructions stored in a computer-readable storage medium. A processor of a computer device reads the computer instructions from the computer-readable storage medium and executes the computer instructions, causing the computer device to perform the steps in the coordinated control method for the photovoltaic-storage power supply system of an oil and gas plant, taking into account supply requirements, as described in Embodiment 1 of the present invention.
[0104] The steps and methods involved in Examples 2, 3, 4 and 5 above correspond to those in Example 1. For specific implementation methods, please refer to the relevant description section of Example 1.
[0105] Those skilled in the art will recognize that the units and algorithm steps of the various examples described in conjunction with the embodiments disclosed in this application can be implemented in electronic hardware or a combination of computer software and electronic hardware. Whether these functions are implemented in hardware or software depends on the specific application and design constraints of the technical solution. Those skilled in the art can use different methods to implement the described functions for each specific application, but such implementation should not be considered beyond the scope of this application.
[0106] In the above embodiments, implementation can be achieved, in whole or in part, through software, hardware, firmware, or any combination thereof. When implemented in software, it can be implemented, in whole or in part, as a computer program product. A computer program product includes one or more computer instructions. When the computer program instructions are loaded and executed on a computer, all or part of the flow or function according to the embodiments of this application is generated. The computer can be a general-purpose computer, a special-purpose computer, a computer network, or other programmable device. The computer instructions can be stored in or transmitted through a computer-readable storage medium. The computer instructions can be transmitted from one website, computer, server, or data center to another website, computer, server, or data center via wired or wireless means. The computer-readable storage medium can be any available medium that a computer can access or a data processing device such as a server or data center that integrates one or more available media. The available medium can be a magnetic medium, an optical medium, or a semiconductor medium, etc.
[0107] The above description is merely a specific embodiment of this application, but the scope of protection of this application is not limited thereto. Any variations or substitutions that can be easily conceived by those skilled in the art within the scope of the technology disclosed in this application should be included within the scope of protection of this application. Therefore, the scope of protection of this application should be determined by the scope of the claims.
Claims
1. A method for coordinated control of an oil and gas plant power system with storage considering the demand for power supply, characterized in that, Includes the following steps: Acquire power supply-related data of the photovoltaic-storage power supply system of oil and gas plants, determine the boundary of supply guarantee demand based on the power supply-related data and evaluate the continuous power supply capacity; A two-layer coordinated control framework for power and energy management is constructed, including a power management layer and a power management layer. The power management layer is used to generate an operation plan based on the results of photovoltaic output and load forecasting, while the power management layer is used to modify the plan instructions issued by the power management layer according to the operation plan during real-time operation. Coordinated control is carried out based on a two-layer coordinated control framework for power management. In this framework, the power management layer incorporates the risk of power outages into the external grid cost, constructs a power management optimization model, and performs rolling optimization. After solving each rolling cycle, only the planned control quantity for the current period is sent to the power management layer. The actual energy storage charge status and operating power status after execution are fed back to the next rolling cycle.
2. The coordinated control method for the photovoltaic-storage power supply system of an oil and gas plant, taking into account supply guarantee requirements, as described in claim 1, is characterized in that... The expected outage duration is calculated by fitting the fault recovery time using the Weibull distribution, and the boundary of the power supply demand is further obtained. The continuous power supply capability is evaluated by the maximum duration that the photovoltaic-storage power supply system can continuously operate under load under the conditions of satisfying load power balance and power balance.
3. The coordinated control method for the photovoltaic-storage power supply system of an oil and gas plant, taking into account supply guarantee requirements, as described in claim 1, is characterized in that... The loss due to power outage risk consists of the cost of maintaining power supply and the probability of failure. The cost of maintaining power supply describes the impact of energy storage charging and discharging decisions on the subsequent continuous power supply capacity.
4. The coordinated control method for the photovoltaic-storage power supply system of an oil and gas plant, taking into account supply guarantee requirements, as described in claim 1, is characterized in that... The power management layer constructs a power management optimization model with the goal of minimizing the sum of external grid power purchase costs, curtailment costs, energy storage charging and discharging loss costs, and power outage risk losses. Based on meeting load power balance requirements, photovoltaic output allocation, energy storage SOC constraints, and charging and discharging mutual exclusion constraints, the model performs rolling optimization of photovoltaic utilization, energy storage charging and discharging, and external grid power purchase plans.
5. The coordinated control method for the photovoltaic-storage power supply system of an oil and gas plant, taking into account supply guarantee requirements, as described in claim 1, is characterized in that... The power management system adjusts the energy storage charging and discharging power, photovoltaic operating point, and planned external grid input power in real time based on the real-time external grid input power, load power, photovoltaic output, and energy storage status, according to the power deviation between planned and actual quantities. This ensures that the system meets the constraints of load power balance, energy storage SOC, and external grid non-backfeeding.
6. The coordinated control method for the photovoltaic-storage power supply system of an oil and gas plant, taking into account supply guarantee requirements, as described in claim 1, is characterized in that... The power management system prioritizes using energy storage regulation capabilities to smooth out source-load fluctuations; when energy storage regulation capabilities are insufficient, adjustments are made through external grid input power correction or photovoltaic operating point.
7. A coordinated control system for the photovoltaic-storage power supply system of an oil and gas plant, taking into account supply guarantee requirements, characterized in that: include: The data acquisition and boundary determination module is configured to acquire power supply-related data of the photovoltaic-storage power supply system of the oil and gas plant, determine the supply demand boundary based on the power supply-related data, and evaluate the continuous power supply capability. The dual-layer management framework construction module is configured to build a dual-layer coordinated control framework for power management, including a power management layer and a power management layer. The power management layer is used to generate an operation plan based on the results of photovoltaic output and load forecasting, while the power management layer is used to correct the plan instructions issued by the power management layer according to the operation plan during real-time operation. The optimized coordination control module is configured to perform coordinated control based on a two-layer coordination control framework for power management. The power management layer introduces the risk of power outage loss into the external grid cost, constructs a power management optimization model and performs rolling optimization. After solving each rolling cycle, only the planned control quantity for the current period is sent to the power management layer. The actual energy storage charge state and operating power state after execution are fed back to the next rolling cycle.
8. A computer program product, characterized in that, The computer program product includes a computer program that, when executed by a processor, implements the coordinated control method for the power supply system of an oil and gas plant that takes into account the supply guarantee requirements, as described in any one of claims 1-6.
9. A computer-readable storage medium, characterized in that, The computer-readable storage medium stores a computer program adapted to be loaded by a processor and executed as described in any one of claims 1-6, which is a coordinated control method for the photovoltaic-storage power supply system of an oil and gas plant that takes into account the supply guarantee requirements.
10. A computer device, characterized in that, include: A processor, adapted to execute computer programs; A computer-readable storage medium storing a computer program, which, when executed by the processor, implements the coordinated control method for the photovoltaic-storage power supply system of an oil and gas plant, taking into account the supply guarantee requirements, as described in any one of claims 1-6.
