Energy storage control method and device based on energy storage and offshore wind power combined power generation, terminal equipment and storage medium
By constructing a power generation revenue model, a penalty model, and an energy storage output cost model, and optimizing the energy storage control strategy, the problem of traditional technologies not comprehensively considering the full life cycle cost is solved, and the stable operation and life extension of the energy storage system are achieved.
Patent Information
- Application Number
- CN202510996448.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-07-18
- Publication Date
- 2025-09-19
AI Technical Summary
Traditional energy storage optimization and control technologies fail to integrate power generation revenue, penalty items, and the full life cycle costs of energy storage into a unified model for comprehensive consideration, resulting in frequent charging and discharging of energy storage systems, increased operational risks, and shortened lifespans.
Construct a power generation revenue model, a penalty model, and an energy storage output cost model to form an objective function with the goal of maximizing power generation revenue. Generate the target charging and discharging state and charge state of energy storage through an optimization algorithm to ensure that energy storage operates within a reasonable power range and reduce unnecessary charging and discharging behavior.
It achieves a balance between short-term benefits and long-term life costs, reduces unnecessary charging and discharging, extends the service life of the energy storage system, and ensures operational stability.
Smart Images

Figure CN120675147A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of energy storage control technology, and in particular to an energy storage control method, device, terminal equipment and storage medium based on combined energy storage and offshore wind power generation. Background Art
[0002] The combined generation and application of energy storage and offshore wind power is a key innovation in modern power systems. It aims to overcome the inherent intermittency and volatility of offshore wind power through integrated energy storage technology, thereby improving the stability and efficiency of the power system. By adjusting the energy storage system's charge and discharge states (e.g., charging, discharging, standby) and state of charge (SOC), it is possible to dynamically match offshore wind farm output with grid demand.
[0003] However, traditional energy storage optimization and control technologies typically use a single dimension for optimization, focusing only on a single goal, such as prioritizing grid-connected power in pursuit of profitability. They fail to incorporate power generation revenue, penalties, and the full lifecycle cost of energy storage into a unified model for comprehensive consideration. This can lead to frequent charging and discharging of energy storage systems to fill valleys, such as forced discharge during periods of high electricity prices and heavy charging during periods of low electricity prices. This accelerates battery aging, increases operational risks, and shortens the lifespan of energy storage systems. Summary of the Invention
[0004] The embodiments of the present invention provide an energy storage control method, apparatus, terminal equipment, and storage medium based on the combined power generation of energy storage and offshore wind power. Based on the power generation benefit model, penalty model, and energy storage output cost model, an objective function with the goal of maximizing power generation benefit is constructed, so that the optimization process can find a balance between short-term benefits and long-term life costs, reduce unnecessary charging and discharging behaviors, ensure that energy storage regulation meets the needs of the power grid without exceeding its own safety threshold, extend the service life, and ensure the operational stability of the energy storage system. It can effectively solve the problem in the prior art of not incorporating power generation benefits, penalty items, and the full life cycle costs of energy storage into a unified model for comprehensive consideration, resulting in aging of energy storage system batteries and increased operational risks.
[0005] An embodiment of the present invention provides an energy storage control method based on combined energy storage and offshore wind power generation, comprising:
[0006] Constructing a power generation revenue model based on offshore wind farm grid connection price data, offshore wind farm output data, a preset power output plan curve, energy storage charge and discharge power data, and a preset output deviation ratio; wherein the power generation revenue model is used to characterize the combined power generation revenue between the offshore wind farm and energy storage;
[0007] A penalty model is constructed based on deviation penalty price data, offshore wind farm wind curtailment penalty price data, offshore wind farm output data, a preset power output plan curve, energy storage charge and discharge power data, and a preset output deviation ratio; an energy storage output cost model is constructed based on energy storage charge and discharge power data, energy storage capacity, energy storage capacity unit price data, energy storage operation and maintenance cost data, energy storage life, energy storage charge and discharge times, and energy storage state of charge data; wherein the penalty model is used to quantify the economic losses generated by the offshore wind farm and energy storage;
[0008] Based on the power generation revenue model, penalty model, and energy storage output cost model, an objective function is constructed with the goal of maximizing power generation revenue; wherein the constraints of the objective function include: energy storage charging and discharging power constraints, energy storage state of charge constraints, and power deviation constraints;
[0009] Under the energy storage charge and discharge power constraint, energy storage state of charge constraint, and power deviation constraint, the objective function is solved to generate a target charge and discharge state and a target state of charge of the energy storage;
[0010] Energy storage is controlled according to the target charge-discharge state and the target state of charge.
[0011] Preferably, the power generation revenue model includes: a first type of power generation revenue model and a second type of power generation revenue model;
[0012] The power generation revenue model is constructed based on the offshore wind farm grid connection price data, the offshore wind farm output data, the preset power output plan curve, the energy storage charging and discharging power data, and the preset output deviation ratio, including:
[0013] Based on offshore wind farm grid connection price data, offshore wind farm output data, and energy storage charging and discharging power data, a first type of power generation revenue model is constructed; wherein the first type of power generation revenue model is used to quantify the power generation revenue when the output of the offshore wind farm is no greater than a preset output deviation;
[0014] A second type of power generation revenue model is constructed based on the offshore wind farm grid connection price data, a preset power output plan curve, and a preset output deviation ratio; wherein the second type of power generation revenue model is used to quantify the power generation revenue when the output of the offshore wind farm is greater than the preset output deviation.
[0015] Preferably, the penalty model includes: an output penalty model and a wind curtailment penalty model;
[0016] The penalty model is constructed based on the deviation penalty price data, the offshore wind farm wind curtailment penalty price data, the offshore wind farm output data, the preset power output plan curve, the energy storage charging and discharging power data, and the preset output deviation ratio, including:
[0017] An output penalty model is constructed based on deviation penalty price data, offshore wind farm output data, a preset power output plan curve, energy storage charge and discharge power data, and a preset output deviation ratio. The output penalty model is used to quantify the economic cost incurred when the combined output of the offshore wind farm and energy storage deviates from the preset planned power.
[0018] A wind curtailment penalty model is constructed based on wind curtailment penalty price data, offshore wind farm output data, a preset power output plan curve, energy storage charging and discharging power data, and a preset output deviation ratio. The wind curtailment penalty model is used to quantify the wind curtailment cost incurred when the combined output of the offshore wind farm and energy storage deviates from the preset planned power.
[0019] Preferably, the objective function includes:
[0020] maxC=C1-C2-C3-C4;
[0021]
[0022] Among them, maxC is the objective function, C1 is the power generation revenue model, C2 is the output penalty model, C3 is the wind curtailment penalty model, C4 is the energy storage output cost model, T is the total number of preset time periods, Δt is the time period length corresponding to time t, λ n is the unit price of grid-connected electricity of offshore wind farms, N is the total number of offshore wind farms, is the output of the i-th offshore wind farm at time t, P t b is the charge and discharge state of the energy storage at time t, P t b Greater than 0 means discharge, P t b Less than 0 means charging, α is the preset output deviation ratio, is the planned power corresponding to the power output planning curve of the i-th offshore wind farm at time t, λ p is the deviation penalty unit price, λ g Penalty price for wind curtailment, is the capacity of energy storage at time t, is the unit price of energy storage capacity, is the unit price of energy storage operation and maintenance, y b is the energy storage life, l b is the number of energy storage charge and discharge times, k is the penalty coefficient for state of charge deviation, SOC t is the state of charge of the energy storage at time t, SOC opt It is the middle value of the energy storage reference charge range.
[0023] Preferably, the energy storage charging and discharging power constraint includes:
[0024]
[0025] in, is the maximum discharge power, P t b is the charge and discharge state at the energy storage moment, The maximum charging power of energy storage.
[0026] Preferably, the energy storage state of charge constraint includes:
[0027] SOC min ≤SOC t ≤SOC max ;
[0028] Among them, SOC t is the state of charge of the energy storage at time t, SOC min SOC is the minimum state of charge of the energy storage max It is the maximum value of the energy storage state of charge.
[0029] Preferably, the power deviation constraint includes:
[0030]
[0031] Among them, σ max is the maximum power deviation ratio.
[0032] Based on the above method embodiments, the present invention provides corresponding device embodiments.
[0033] An embodiment of the present invention provides an energy storage control device based on energy storage and offshore wind power combined power generation, comprising: a first model construction module, a second model construction module, an objective function construction module, a function solving module, and an energy storage control module;
[0034] The first model building module is used to build a power generation revenue model based on the offshore wind farm grid connection price data, the offshore wind farm output data, the preset power output plan curve, the energy storage charging and discharging power data, and the preset output deviation ratio; wherein the power generation revenue model is used to represent the combined power generation revenue between the offshore wind farm and the energy storage;
[0035] The second model construction module is used to construct a penalty model based on deviation penalty price data, offshore wind farm wind curtailment penalty price data, offshore wind farm output data, preset power output plan curve, energy storage charge and discharge power data, and preset output deviation ratio; and to construct an energy storage output cost model based on energy storage charge and discharge power data, energy storage capacity, energy storage capacity unit price data, energy storage operation and maintenance cost data, energy storage life, energy storage charge and discharge times, and energy storage state of charge data; wherein the penalty model is used to quantify the economic losses generated by the offshore wind farm and energy storage;
[0036] The objective function construction module is used to construct an objective function with the goal of maximizing power generation revenue based on the power generation revenue model, the penalty model, and the energy storage output cost model; wherein the constraints of the objective function include: energy storage charging and discharging power constraints, energy storage state of charge constraints, and power deviation constraints;
[0037] The function solving module is used to solve the objective function under the energy storage charge and discharge power constraint, energy storage state of charge constraint and power deviation constraint to generate a target charge and discharge state and a target state of charge of the energy storage;
[0038] The energy storage control module is used to control energy storage according to the target charge and discharge state and the target state of charge.
[0039] Based on the above method embodiments, the present invention provides corresponding terminal device embodiments.
[0040] Another embodiment of the present invention provides a terminal device, including a processor, a memory, and a computer program stored in the memory and configured to be executed by the processor. When the processor executes the computer program, it implements the energy storage control method based on combined energy storage and offshore wind power generation described in the above-mentioned embodiment of the invention.
[0041] Based on the above method embodiment, the present invention provides a corresponding storage medium embodiment.
[0042] Another embodiment of the present invention provides a storage medium, wherein the computer-readable storage medium includes a stored computer program, wherein when the computer program is running, the device where the computer-readable storage medium is located is controlled to execute the energy storage control method based on combined energy storage and offshore wind power generation described in the above-mentioned embodiment of the invention.
[0043] The following beneficial effects are achieved by implementing the present invention:
[0044] The embodiment of the present invention provides an energy storage control method, device, terminal equipment and storage medium based on the combined power generation of energy storage and offshore wind power. When constructing the power generation revenue model, the present invention not only incorporates the grid-connected price data, but also combines the preset power output plan curve and the output deviation ratio to avoid blind charging and discharging simply for the pursuit of high electricity price benefits. When constructing the penalty model, the deviation penalty price and the wind abandonment penalty price are directly associated with the energy storage charging and discharging power and the output deviation ratio. It is clarified that the deviation caused by excessive regulation of energy storage will generate additional economic losses, which can be included in the penalty cost, thereby constraining the energy storage to operate within a reasonable power range and reducing operational risks. At the same time, an energy storage output cost model is constructed to quantify the loss cost of frequent charging and discharging. Based on the power generation revenue model, the penalty model and the energy storage output cost model, an objective function with the goal of maximizing power generation revenue is constructed, so that the optimization process can find a balance between short-term benefits and long-term life costs, reduce unnecessary charging and discharging behaviors, ensure that energy storage regulation meets the needs of the power grid, and does not exceed its own safety threshold, extend the service life, and ensure the operational stability of the energy storage system. BRIEF DESCRIPTION OF THE DRAWINGS
[0045] Figure 1 It is a flow chart of an energy storage control method based on combined energy storage and offshore wind power generation provided by one embodiment of the present invention.
[0046] Figure 2 It is a structural schematic diagram of an energy storage control device based on combined energy storage and offshore wind power generation provided by one embodiment of the present invention. DETAILED DESCRIPTION
[0047] The following will clearly and completely describe the technical solutions in the embodiments of the present invention in conjunction with the accompanying drawings. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. All other embodiments obtained by ordinary technicians in this field based on the embodiments of the present invention without making any creative efforts shall fall within the scope of protection of the present invention.
[0048] like Figure 1 As shown, in order to solve the problem in the prior art that the power generation revenue, penalty items, and the full life cycle cost of energy storage are not included in a unified model for comprehensive consideration, which may cause the energy storage system to frequently charge and discharge for valley filling, thereby accelerating battery aging, resulting in increased operational risks and shortened life of the energy storage system, an embodiment of the present invention provides an energy storage control method based on combined power generation of energy storage and offshore wind power, including:
[0049] Step S1: Constructing a power generation revenue model based on offshore wind farm grid connection price data, offshore wind farm output data, a preset power output plan curve, energy storage charge and discharge power data, and a preset output deviation ratio; wherein the power generation revenue model is used to characterize the combined power generation revenue between the offshore wind farm and energy storage;
[0050] Illustratively, an embodiment of the present invention can construct a mathematical model to quantify the benefits of joint power generation based on the real-time / historical grid-connected price of the offshore wind farm, actual output data, the power output plan curve pre-established by the power grid, the charging and discharging power of the energy storage system (such as charging 50MW and discharging 30MW), and the maximum output deviation ratio allowed by the power grid.
[0051] The model is usually divided into two categories of scenarios:
[0052] When the deviation between the actual wind power output and the planned curve is no greater than a preset ratio, the revenue is directly related to the actual output and the net power after energy storage charging and discharging adjustment, combined with the grid connection price.
[0053] When the deviation is greater than the preset ratio, the profit is calculated based on the planned curve and the deviation ratio to avoid profit distortion due to excessive deviation from the plan.
[0054] Therefore, by constructing the joint power generation revenue, the joint power generation revenue under different output deviation scenarios can be accurately quantified, which not only conforms to the actual settlement rules of the power grid, but also reflects the positive impact of energy storage regulation (reducing deviation) on revenue, providing the core input for the objective function.
[0055] Step S2: Constructing a penalty model based on the deviation penalty price data, the offshore wind farm wind curtailment penalty price data, the offshore wind farm output data, the preset power output plan curve, the energy storage charge and discharge power data, and the preset output deviation ratio; constructing an energy storage output cost model based on the energy storage charge and discharge power data, the energy storage capacity, the energy storage capacity unit price data, the energy storage operation and maintenance cost data, the energy storage lifespan, the number of energy storage charge and discharge times, and the energy storage state of charge data; wherein the penalty model is used to quantify the economic losses generated by the offshore wind farm and the energy storage;
[0056] In principle, by constructing a penalty model, the implicit losses of exceeding the deviation standard and wind curtailment can be made explicit, so that such losses can be reduced through energy storage regulation, avoiding the reduction in benefits caused by ignoring penalty costs in traditional technologies.
[0057] The energy storage output cost model can incorporate the costs of hardware depreciation, operation and maintenance, and life decay of energy storage into the accounting, thereby providing cost constraints for the control strategy and avoiding excessive charging and discharging for short-term benefits.
[0058] Step S3: constructing an objective function with the goal of maximizing power generation revenue based on the power generation revenue model, penalty model, and energy storage output cost model; wherein the constraints of the objective function include: energy storage charge and discharge power constraints, energy storage state of charge constraints, and power deviation constraints;
[0059] Schematically, the energy storage charge and discharge power constraint is used to limit the maximum charge / discharge power of the energy storage to avoid overload damage;
[0060] Energy storage state of charge constraint, used to limit the state of charge (SOC) to a safe range (e.g., 20%-80%) to prevent permanent damage to the battery due to overcharging or over-discharging;
[0061] The power deviation constraint is used to ensure that the deviation between the actual output of the combined system and the planned curve is no greater than a preset ratio, so as to meet the grid dispatch requirements.
[0062] Step S4: solving the objective function under the energy storage charge and discharge power constraint, energy storage state of charge constraint, and power deviation constraint to generate a target charge and discharge state and a target state of charge of the energy storage;
[0063] Indicatively, under the constraints established in step S3, an optimization algorithm (such as dynamic programming or particle swarm optimization) is used to solve the objective function and calculate the optimal state of energy storage for each period (such as every 15 minutes):
[0064] Target charge and discharge state: whether it is charging, discharging, or standby, and the specific power, such as charging 20MW, discharging 15MW);
[0065] Target state of charge: The SOC that the energy storage should reach at the end of the period, such as charging from the current 30% to 50%.
[0066] Illustratively, the solution presented in this paper weighs the total benefits of different solutions. For example, discharging during high-price periods can increase revenue, but it's important to consider whether discharging causes the SOC to fall below a safe level. Charging during low-price periods can offset wind curtailment, but the cost of the lifetime loss from the number of charging cycles must be calculated to determine whether it exceeds the penalty for curtailment. The resulting strategy ensures that it meets both safety (constraints) and economic (optimal total benefits), ultimately producing the optimal charging and discharging solution.
[0067] Step S5: controlling energy storage according to the target charge-discharge state and the target state of charge.
[0068] Illustratively, based on the target charge and discharge state generated in step S4, such as discharging 20MW between 10:00 and 10:15, and the target state of charge, such as reaching 60% SOC at 10:15, the energy storage control system (e.g., the BMS) adjusts the charge and discharge switches and power level of the energy storage in real time to ensure that the actual operating state is consistent with the optimization result. For example, if the target is to charge to 60%, the system will automatically adjust the charging power to prevent the SOC from exceeding the upper limit.
[0069] The present invention ensures the stable operation of the joint system through closed-loop regulation (real-time comparison of actual status and target status, and dynamic correction), ultimately achieving the control goal of maximizing benefits, and solving problems such as battery aging and reduced benefits caused by extensive strategies in traditional technologies.
[0070] Regarding step S1, in a preferred embodiment, the power generation revenue model includes: a first type of power generation revenue model and a second type of power generation revenue model;
[0071] Then, the power generation revenue model is constructed based on the offshore wind farm grid connection price data, the offshore wind farm output data, the preset power output plan curve, the energy storage charging and discharging power data, and the preset output deviation ratio, including:
[0072] Based on offshore wind farm grid connection price data, offshore wind farm output data, and energy storage charging and discharging power data, a first type of power generation revenue model is constructed; wherein the first type of power generation revenue model is used to quantify the power generation revenue when the output of the offshore wind farm is no greater than a preset output deviation;
[0073] A second type of power generation revenue model is constructed based on the offshore wind farm grid connection price data, a preset power output plan curve, and a preset output deviation ratio; wherein the second type of power generation revenue model is used to quantify the power generation revenue when the output of the offshore wind farm is greater than the preset output deviation.
[0074] Illustratively, the embodiment of the present invention subdivides the power generation revenue model into the first category and the second category, and can perform differentiated quantification for different relationships between the output of the offshore wind farm and the preset output deviation (not greater than the deviation, greater than the deviation), thereby achieving accurate revenue calculation.
[0075] For the first type of power generation revenue model (when output is no greater than a preset deviation), if the deviation between the actual offshore wind farm output and the preset power output plan curve is within the allowable range, revenue can be calculated by combining the actual offshore wind farm output data with the energy storage charge and discharge power data. In this case, the combined output of the wind farm and energy storage meets the grid deviation requirements, and the revenue is directly linked to the actual grid-connected power (wind farm output ± energy storage charge and discharge power), reflecting the principle of settlement based on actual effective power generation.
[0076] For the second type of power generation profit model (when the output is greater than the preset deviation), if the actual output of the offshore wind farm exceeds the preset deviation range, the profit will no longer be calculated based on the actual output, but will be calculated based on the preset power output plan curve and the deviation ratio.
[0077] For example, when a wind farm's output far exceeds the plan (exceeds the upper limit of the deviation), the output violates the grid deviation constraint, and the revenue is limited to the maximum range allowed by the deviation. This reflects the rule that the excess deviation does not generate revenue, avoiding invalid revenue calculations caused by over-reliance on energy storage for forced adjustments.
[0078] Therefore, the two models described above correspond to standard and out-of-specification output scenarios, respectively, ensuring that revenue calculations meet grid dispatch requirements. When output is within tolerance, energy storage can be flexibly charged and discharged to maximize actual power generation revenue. When output exceeds tolerance, the model caps revenue to prevent blind charging and discharging of energy storage (e.g., forced discharge to achieve excess revenue), indirectly reducing unnecessary charging and discharging times and extending lifespan.
[0079] Regarding step S2, in a preferred embodiment, the penalty model includes: an output penalty model and a wind curtailment penalty model;
[0080] Among them, the output penalty model is used to quantify the economic cost generated when the combined output between the offshore wind farm and the energy storage deviates from the preset planned power; the wind abandonment penalty model is used to quantify the wind abandonment cost generated when the combined output between the offshore wind farm and the energy storage deviates from the preset planned power.
[0081] Then, the penalty model is constructed based on the deviation penalty price data, the offshore wind farm wind curtailment penalty price data, the offshore wind farm output data, the preset power output plan curve, the energy storage charging and discharging power data, and the preset output deviation ratio, including:
[0082] An output penalty model is constructed based on deviation penalty price data, offshore wind farm output data, preset power output plan curves, energy storage charging and discharging power data, and preset output deviation ratios.
[0083] A wind curtailment penalty model is constructed based on wind curtailment penalty price data, offshore wind farm output data, preset power output plan curve, energy storage charging and discharging power data, and preset output deviation ratio.
[0084] Illustratively, the embodiment of the present invention can more accurately quantify the economic losses of the combined power generation system under different deviation scenarios by subdividing the penalty model into an output penalty model and a wind curtailment penalty model, and specifically incorporating different parameters into the model.
[0085] The output of a combined offshore wind power and energy storage system may deviate from the preset planned power, but the nature and consequences of the deviation are different:
[0086] The first is output deviation, that is, the deviation between the actual combined output and the planned curve is within a reasonable range (or exceeds the range), but does not lead to waste of wind energy. The loss in this case is mainly the economic penalty of the grid for the deviation (such as fines for not meeting dispatch requirements);
[0087] The second is the loss of wind curtailment, that is, because the output exceeds the grid's acceptance capacity or the plan deviation is too large, some wind energy is forced to be abandoned (not used). The loss at this time is the loss of economic value corresponding to the abandoned wind power (or additional penalty).
[0088] By splitting the model, the present invention constructs an output penalty model and a wind curtailment penalty model respectively, which can quantify these two types of losses respectively, avoiding the fuzzy treatment of problems of different nature and inaccurate quantitative calculations by a single penalty model.
[0089] Furthermore, traditional technologies focus only on power generation revenue, ignoring the hidden costs of energy storage systems during the charging and discharging process, such as battery aging, maintenance costs, and lifespan degradation. However, the present invention integrates the following parameters through the energy storage output cost model:
[0090] Energy storage capacity and unit price, which are directly related to the allocation of initial investment costs;
[0091] Operation and maintenance costs, covering the ongoing expenses of daily operations and maintenance;
[0092] The life span and the number of charge and discharge cycles can convert the battery cycle life loss into a calculable cost (such as the depreciation cost corresponding to each charge and discharge);
[0093] State of charge (SOC) can avoid additional losses caused by too high / too low SOC (such as accelerated aging due to overcharging and over-discharging).
[0094] Through these parameters, the energy storage output cost model can make the implicit costs of the energy storage system explicit, ensuring that not only short-term power generation benefits but also long-term equipment loss costs are considered in optimization decisions, avoiding excessive charging and discharging in pursuit of short-term benefits, and reducing the risk of battery aging from the root.
[0095] For step S3, in a preferred embodiment, the objective function includes:
[0096] maxC=C1-C2-C3-C4;
[0097]
[0098]
[0099] Among them, maxC is the objective function, C1 is the power generation revenue model, C2 is the output penalty model, C3 is the wind curtailment penalty model, C4 is the energy storage output cost model, T is the total number of preset time periods, Δt is the time period length corresponding to time t, λ n is the unit price of grid-connected electricity of offshore wind farms, N is the total number of offshore wind farms, is the output of the i-th offshore wind farm at time t, P t b is the charge and discharge state of the energy storage at time t, P t b Greater than 0 means discharge, P t b Less than 0 means charging, α is the preset output deviation ratio, is the planned power corresponding to the power output planning curve of the i-th offshore wind farm at time t, λ p is the deviation penalty unit price, λ g Penalty price for wind curtailment, is the capacity of energy storage at time t, is the unit price of energy storage capacity, is the unit price of energy storage operation and maintenance, y b is the energy storage life, i.e. the number of years in service, l b is the number of energy storage charge and discharge times, k is the penalty coefficient for state of charge deviation, SOC t is the state of charge of the energy storage at time t, SOC opt is the middle value of the reference charge range of the energy storage, that is, the middle value of the optimal charge range of the energy storage. Indicatively, the control period can be set to Δt = 15 minutes, so there are a total of T = 96 control periods in a day.
[0100] Indicatively, when When the wind power forecast output is less than the planned deviation power curve (output is insufficient and energy storage is needed to compensate), then the energy storage discharge (P t b Greater than 0) to supplement power, so that the combined output (wind power + energy storage discharge) is as close to the planned curve as possible, avoiding deviation penalties due to insufficient wind power output.
[0101] when When the wind power forecast output is greater than the planned deviation power curve (excess output, need to limit / abandon wind power), at this time, due to the grid absorption and planning constraints, wind power cannot be fully connected to the grid and can only be connected according to the upper limit of the planned deviation power curve. The excess power will either be abandoned (considered as wind abandonment penalty) or, if there is spare capacity in the energy storage, it can be charged and stored (P t b Less than 0), but the charging power is limited by the energy storage constraint.
[0102] The relationship between wind power output and the planned curve affects the various costs / benefits in the objective function:
[0103] Power generation income (C1): When the output is insufficient, energy storage can be used to supplement the electricity, and the income is calculated based on wind power + energy storage discharge; when there is excess, it is calculated based on the planned upper limit, and the excess is not included in the income.
[0104] Output penalty (C2): If the output is not sufficient (or exceeds it by too much), deviation from the planned curve will incur penalty costs.
[0105] Wind curtailment penalty (C3): When there is excess output and the storage capacity cannot accommodate it, the more wind is curtailed, the higher the penalty cost.
[0106] Energy storage output cost (C4): When replenishing output (discharging) or storing excess electricity (charging), energy storage charging and discharging costs, life loss, etc. are incurred.
[0107] Simply put, if the wind power output is insufficient, energy storage will be used to make up for it; if it is too much, the generation / storage of energy will be limited, so that the combined output can fit the planned curve as much as possible, balance the benefits, penalties and costs, maximize economic benefits, and output the optimal energy storage control strategy, such as target charge and discharge status and target state of charge.
[0108] In a preferred embodiment, the energy storage charging and discharging power constraint includes:
[0109]
[0110] in, is the maximum discharge power, P t b is the charge and discharge state at the energy storage moment, The maximum charging power of energy storage.
[0111] Schematically, P t b When >0, it belongs to the discharge scenario, and the energy storage charging and discharging power constraint is equivalent to:
[0112] It is understandable that in actual discharge, the lower limit is determined by Automatic satisfaction.
[0113] P t b When <0, it belongs to the charging scenario, and the energy storage charging and discharging power constraint is equivalent to:
[0114]
[0115] In principle, by constraining the energy storage charging and discharging power, the energy storage charging and discharging power can be set within a certain range to prevent excessive or insufficient power from damaging the service life of the energy storage.
[0116] In a preferred embodiment, the energy storage state of charge constraint includes:
[0117] SOC min ≤SOC t ≤SOC max ;
[0118] Among them, SOC t is the state of charge of the energy storage at time t, SOC min SOC is the minimum state of charge of the energy storage max It is the maximum value of the energy storage state of charge.
[0119] In principle, by constraining the energy storage state of charge (SOC), the energy storage state of charge (SOC) can be maintained within a certain range, thus preventing overcharging / overdischarging from damaging the energy storage device.
[0120] In a preferred embodiment, the power deviation constraint includes:
[0121]
[0122] Among them, σ max is the maximum power deviation ratio.
[0123] In schematic form, power deviation constraints can be used to ensure that the combined output of the offshore wind farm and energy storage system is within the planned output deviation during the combined output process, thereby alleviating the pressure on the system.
[0124] For steps S4 and S5, in a preferred embodiment, it is assumed that the operating scenario parameters of a certain offshore wind farm between 9:00 and 10:00 on a certain day are as follows:
[0125] Preset power output plan curve: 100MW stable output is required from 9:00 to 10:00 (grid requirement);
[0126] Preset output deviation ratio: ±5% is allowed (i.e. 95-105MW is the compliance range);
[0127] Grid connection price: 0.6 yuan / kWh;
[0128] Deviation penalty price: 0.3 yuan / kWh for the part exceeding the range (i.e., a fine of 0.3 yuan per kWh for the part below 95MW or above 105MW);
[0129] Energy storage parameters: rated power ±30MW, state of charge (SOC) safety range 20%-80%, current SOC is 50% (can discharge 20MW·h or charge 20MW·h).
[0130] The actual wind power output obtained is: 80MW from 9:00 to 10:00 (lower than planned), and energy storage discharge is required to make up for the deviation.
[0131] Furthermore, the constraints of the present invention are limited to:
[0132] Energy storage charging and discharging power constraints: Maximum discharge power is 30MW (but limited by SOC, the maximum discharge within 1 hour is 20MW·h);
[0133] SOC constraint: After discharge, the SOC must not be lower than 20% (currently 50%, with a maximum discharge capacity of 30%, corresponding to 20MW·h);
[0134] Power deviation constraint: The combined output must be within 95-105MW (otherwise a penalty will be triggered).
[0135] Based on the above parameters and conditions, the objective function of the present invention, which aims to maximize the power generation revenue, is solved:
[0136] If the energy storage discharges 15MW, the combined output = 80 + 15 = 95MW (just meeting the deviation constraint), there is no penalty cost, and the discharge loss cost is low;
[0137] If the discharge is 20MW, the combined output = 100MW (slightly higher profit), but the SOC drops to 20% (critical value), the loss cost increases slightly, and there is no penalty;
[0138] If the discharge is 25 MW, the combined output = 105 MW (higher profit), but this exceeds the maximum discharge capacity of the energy storage for one hour (20 MW·h), violates the power constraint, and is not feasible.
[0139] The final solution is: the target charge and discharge state is "discharge 18MW", and the target state of charge is 32% (which satisfies the constraints and balances the benefits and losses).
[0140] According to the above solution, perform the following operations between 9:00 and 10:00:
[0141] Start the discharge process and stabilize the energy storage discharge power at 18MW;
[0142] Monitor SOC changes in real time to ensure that SOC drops to 32% (not below the 20% safety line) after 1 hour;
[0143] The final combined output = 80 + 18 = 98 MW (within the range of 95-105 MW, no penalty), maximizing revenue without compromising energy storage.
[0144] Therefore, the present invention can find the optimal solution (target state) within the constraints through the optimization algorithm, and convert the optimal solution into actual operation, ultimately achieving the dual goals of safe operation + optimal benefits, and realizing the transformation of energy storage control from a single dimension to global optimization, which not only ensures economy, but also extends the energy storage life and improves system stability.
[0145] like Figure 2 As shown, based on the above-mentioned various embodiments of the energy storage control method based on the combined power generation of energy storage and offshore wind power, the present invention provides corresponding device embodiments;
[0146] An embodiment of the present invention provides an energy storage control device based on energy storage and offshore wind power combined power generation, comprising: a first model construction module, a second model construction module, an objective function construction module, a function solving module, and an energy storage control module;
[0147] The first model building module is used to build a power generation revenue model based on the offshore wind farm grid connection price data, the offshore wind farm output data, the preset power output plan curve, the energy storage charging and discharging power data, and the preset output deviation ratio; wherein the power generation revenue model is used to represent the combined power generation revenue between the offshore wind farm and the energy storage;
[0148] The second model construction module is used to construct a penalty model based on deviation penalty price data, offshore wind farm wind curtailment penalty price data, offshore wind farm output data, preset power output plan curve, energy storage charge and discharge power data, and preset output deviation ratio; and to construct an energy storage output cost model based on energy storage charge and discharge power data, energy storage capacity, energy storage capacity unit price data, energy storage operation and maintenance cost data, energy storage life, energy storage charge and discharge times, and energy storage state of charge data; wherein the penalty model is used to quantify the economic losses generated by the offshore wind farm and energy storage;
[0149] The objective function construction module is used to construct an objective function with the goal of maximizing power generation revenue based on the power generation revenue model, the penalty model, and the energy storage output cost model; wherein the constraints of the objective function include: energy storage charging and discharging power constraints, energy storage state of charge constraints, and power deviation constraints;
[0150] The function solving module is used to solve the objective function under the energy storage charge and discharge power constraint, energy storage state of charge constraint and power deviation constraint to generate a target charge and discharge state and a target state of charge of the energy storage;
[0151] The energy storage control module is used to control energy storage according to the target charge and discharge state and the target state of charge.
[0152] It should be noted that the device embodiments described above are merely illustrative, wherein the modules described as separate components may or may not be physically separated, and the components displayed as modules may or may not be physical modules, and may be located in one place or distributed across multiple network modules. Some or all of the modules may be selected according to actual needs to achieve the purpose of the present embodiment. In addition, in the drawings of the device embodiments provided by the present invention, the connection relationship between the modules indicates that there is a communication connection between them, which may be specifically implemented as one or more communication buses or signal lines. A person of ordinary skill in the art can understand and implement the present invention without paying any creative effort.
[0153] Those skilled in the art can clearly understand that, for the sake of convenience and brevity, the specific working process of the device described above can refer to the corresponding process in the aforementioned method embodiment, and will not be repeated here.
[0154] Based on the above-mentioned various embodiments of the energy storage control method based on the combined power generation of energy storage and offshore wind power, the present invention provides corresponding embodiments of terminal equipment.
[0155] An embodiment of the present invention provides a terminal device, comprising a processor, a memory, and a computer program stored in the memory and configured to be executed by the processor. When the processor executes the computer program, it implements an energy storage control method based on combined energy storage and offshore wind power generation as described in any method embodiment of the present invention.
[0156] The terminal device may be a computing terminal device such as a desktop computer, a notebook computer, a palmtop computer, a cloud server, etc. The terminal device may include, but is not limited to, a processor and a memory.
[0157] The processor may be a central processing unit (CPU), other general-purpose processors, digital signal processors (DSP), application-specific integrated circuits (ASIC), field-programmable gate arrays (FPGA) or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc. The general-purpose processor may be a microprocessor or any conventional processor, etc. The processor is the control center of the terminal device, connecting various parts of the entire terminal device using various interfaces and lines.
[0158] The memory can be used to store the computer program, and the processor implements various functions of the terminal device by running or executing the computer program stored in the memory and calling the data stored in the memory. The memory can mainly include a program storage area and a data storage area, wherein the program storage area can store an operating system, at least one application required for a function, etc.; the data storage area can store data created based on the use of the mobile phone, etc. In addition, the memory can include a high-speed random access memory and can also include a non-volatile memory, such as a hard disk, internal memory, a plug-in hard disk, a smart memory card (Smart Media Card, SMC), a secure digital (Secure Digital, SD) card, a flash card (Flash Card), at least one disk storage device, a flash memory device or other volatile solid-state storage device.
[0159] Based on the above-mentioned various embodiments of the energy storage control method based on the combined power generation of energy storage and offshore wind power, the present invention provides corresponding embodiments of the storage medium item.
[0160] An embodiment of the present invention provides a storage medium, which includes a stored computer program, wherein when the computer program is running, the device where the computer-readable storage medium is located is controlled to execute an energy storage control method based on combined energy storage and offshore wind power generation as described in any method embodiment of the present invention.
[0161] The storage medium is a computer-readable storage medium, and the computer program is stored in the computer-readable storage medium. When the computer program is executed by the processor, it can implement the steps of the above-mentioned various method embodiments. The computer program includes computer program code, and the computer program code can be in source code form, object code form, executable file or some intermediate form. The computer-readable medium may include: any entity or device that can carry the computer program code, recording medium, USB flash drive, mobile hard disk, magnetic disk, optical disk, computer memory, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), electric carrier signal, telecommunication signal and software distribution medium. It should be noted that the content contained in the computer-readable medium can be appropriately increased or decreased according to the requirements of legislation and patent practice in the jurisdiction. For example, in some jurisdictions, according to legislation and patent practice, computer-readable media do not include electric carrier signals and telecommunication signals.
[0162] The above is a preferred embodiment of the present invention. It should be pointed out that for ordinary technicians in this technical field, several improvements and modifications can be made without departing from the principles of the present invention. These improvements and modifications are also considered to be within the scope of protection of the present invention.
Claims
1. A method for controlling energy storage based on combined energy storage and offshore wind power generation, characterized in that: include: Constructing a power generation revenue model based on offshore wind farm grid connection price data, offshore wind farm output data, a preset power output plan curve, energy storage charge and discharge power data, and a preset output deviation ratio; wherein the power generation revenue model is used to characterize the combined power generation revenue between the offshore wind farm and energy storage; A penalty model is constructed based on deviation penalty price data, offshore wind farm wind curtailment penalty price data, offshore wind farm output data, a preset power output plan curve, energy storage charge and discharge power data, and a preset output deviation ratio; an energy storage output cost model is constructed based on energy storage charge and discharge power data, energy storage capacity, energy storage capacity unit price data, energy storage operation and maintenance cost data, energy storage life, energy storage charge and discharge times, and energy storage state of charge data; wherein the penalty model is used to quantify the economic losses generated by the offshore wind farm and energy storage; Based on the power generation revenue model, penalty model, and energy storage output cost model, an objective function is constructed with the goal of maximizing power generation revenue; wherein the constraints of the objective function include: energy storage charging and discharging power constraints, energy storage state of charge constraints, and power deviation constraints; Under the energy storage charge and discharge power constraint, energy storage state of charge constraint, and power deviation constraint, the objective function is solved to generate a target charge and discharge state and a target state of charge of the energy storage; Energy storage is controlled according to the target charge-discharge state and the target state of charge.
2. The energy storage control method based on energy storage and offshore wind power combined power generation according to claim 1, characterized in that: The power generation revenue model includes: a first type of power generation revenue model and a second type of power generation revenue model; The power generation revenue model is constructed based on the offshore wind farm grid connection price data, the offshore wind farm output data, the preset power output plan curve, the energy storage charging and discharging power data, and the preset output deviation ratio, including: Based on offshore wind farm grid connection price data, offshore wind farm output data, and energy storage charging and discharging power data, a first type of power generation revenue model is constructed; wherein the first type of power generation revenue model is used to quantify the power generation revenue when the output of the offshore wind farm is no greater than a preset output deviation; A second type of power generation revenue model is constructed based on the offshore wind farm grid connection price data, a preset power output plan curve, and a preset output deviation ratio; wherein the second type of power generation revenue model is used to quantify the power generation revenue when the output of the offshore wind farm is greater than the preset output deviation.
3. The energy storage control method based on energy storage and offshore wind power combined power generation according to claim 2, characterized in that: The penalty model includes: an output penalty model and a wind curtailment penalty model; The penalty model is constructed based on the deviation penalty price data, the offshore wind farm wind curtailment penalty price data, the offshore wind farm output data, the preset power output plan curve, the energy storage charging and discharging power data, and the preset output deviation ratio, including: An output penalty model is constructed based on deviation penalty price data, offshore wind farm output data, a preset power output plan curve, energy storage charge and discharge power data, and a preset output deviation ratio. The output penalty model is used to quantify the economic cost incurred when the combined output of the offshore wind farm and energy storage deviates from the preset planned power. A wind curtailment penalty model is constructed based on wind curtailment penalty price data, offshore wind farm output data, a preset power output plan curve, energy storage charging and discharging power data, and a preset output deviation ratio. The wind curtailment penalty model is used to quantify the wind curtailment cost incurred when the combined output of the offshore wind farm and energy storage deviates from the preset planned power.
4. The energy storage control method based on energy storage and offshore wind power combined power generation according to claim 3, characterized in that: The objective function includes: maxC=C1-C2-C3-C4; Among them, maxC is the objective function, C1 is the power generation revenue model, C2 is the output penalty model, C3 is the wind curtailment penalty model, C4 is the energy storage output cost model, T is the total number of preset time periods, Δt is the time period length corresponding to time t, λ n is the unit price of grid-connected electricity of offshore wind farms, N is the total number of offshore wind farms, is the output of the i-th offshore wind farm at time t, P t b is the charge and discharge state of the energy storage at time t, P t b Greater than 0 means discharge, P t b Less than 0 means charging, α is the preset output deviation ratio, is the planned power corresponding to the power output planning curve of the i-th offshore wind farm at time t, λ p is the deviation penalty unit price, λ g Penalty price for wind curtailment, is the capacity of energy storage at time t, is the unit price of energy storage capacity, is the unit price of energy storage operation and maintenance, y b is the energy storage life, l b is the number of energy storage charge and discharge times, k is the penalty coefficient for state of charge deviation, SOC t is the state of charge of the energy storage at time t, SOC opt It is the middle value of the energy storage reference charge range.
5. The energy storage control method based on combined energy storage and offshore wind power generation according to claim 4, characterized in that: The energy storage charging and discharging power constraints include: in, is the maximum discharge power, P t b is the charge and discharge state at the energy storage moment, The maximum charging power of energy storage.
6. The energy storage control method based on combined energy storage and offshore wind power generation according to claim 5, characterized in that: The energy storage state of charge constraint includes: SOC min ≤SOC t ≤SOC max ; Among them, SOC t is the state of charge of the energy storage at time t, SOC min SOC is the minimum state of charge of the energy storage max It is the maximum value of the energy storage state of charge.
7. The energy storage control method based on energy storage and offshore wind power combined power generation according to claim 6, characterized in that: The power deviation constraint includes: Among them, σ max is the maximum power deviation ratio.
8. An energy storage control device based on combined energy storage and offshore wind power generation, characterized in that: include: A first model building module, a second model building module, an objective function building module, a function solving module and an energy storage control module; The first model building module is used to build a power generation revenue model based on the offshore wind farm grid connection price data, the offshore wind farm output data, the preset power output plan curve, the energy storage charging and discharging power data, and the preset output deviation ratio; wherein the power generation revenue model is used to represent the combined power generation revenue between the offshore wind farm and the energy storage; The second model construction module is used to construct a penalty model based on deviation penalty price data, offshore wind farm wind curtailment penalty price data, offshore wind farm output data, preset power output plan curve, energy storage charge and discharge power data, and preset output deviation ratio; and to construct an energy storage output cost model based on energy storage charge and discharge power data, energy storage capacity, energy storage capacity unit price data, energy storage operation and maintenance cost data, energy storage life, energy storage charge and discharge times, and energy storage state of charge data; wherein the penalty model is used to quantify the economic losses generated by the offshore wind farm and energy storage; The objective function construction module is used to construct an objective function with the goal of maximizing power generation revenue based on the power generation revenue model, the penalty model, and the energy storage output cost model; wherein the constraints of the objective function include: energy storage charging and discharging power constraints, energy storage state of charge constraints, and power deviation constraints; The function solving module is used to solve the objective function under the energy storage charge and discharge power constraint, energy storage state of charge constraint and power deviation constraint to generate a target charge and discharge state and a target state of charge of the energy storage; The energy storage control module is used to control energy storage according to the target charge and discharge state and the target state of charge.
9. A terminal device, characterized in that: The method comprises a processor, a memory, and a computer program stored in the memory and configured to be executed by the processor, wherein when the processor executes the computer program, the method implements an energy storage control method based on combined energy storage and offshore wind power generation as described in any one of claims 1 to 7.
10. A storage medium, characterized in that: The storage medium includes a stored computer program, wherein when the computer program is running, the device where the storage medium is located is controlled to execute the energy storage control method based on combined energy storage and offshore wind power generation according to any one of claims 1 to 7.