Movatterモバイル変換


[0]ホーム

URL:


CN119628021A - A method for optimizing the power generation of energy storage power stations based on graph computing - Google Patents

A method for optimizing the power generation of energy storage power stations based on graph computing
Download PDF

Info

Publication number
CN119628021A
CN119628021ACN202411671794.4ACN202411671794ACN119628021ACN 119628021 ACN119628021 ACN 119628021ACN 202411671794 ACN202411671794 ACN 202411671794ACN 119628021 ACN119628021 ACN 119628021A
Authority
CN
China
Prior art keywords
power
energy storage
data
graph
load
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202411671794.4A
Other languages
Chinese (zh)
Inventor
余雁
李旭
林伟涛
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Guangzhou Hantele Communication Co ltd
Original Assignee
Guangzhou Hantele Communication Co ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Guangzhou Hantele Communication Co ltdfiledCriticalGuangzhou Hantele Communication Co ltd
Priority to CN202411671794.4ApriorityCriticalpatent/CN119628021A/en
Publication of CN119628021ApublicationCriticalpatent/CN119628021A/en
Pendinglegal-statusCriticalCurrent

Links

Classifications

Landscapes

Abstract

Translated fromChinese

本发明属于储能电站技术领域,具体涉及一种基于图计算的储能电站电量优化方法,包括步骤S1、基于图计算预测储能电站未来的发电能力和负荷需求:获取储能电站并网区域的分布式发电站历史发电数据和负荷数据,以及外部影响数据,构建时空图神经网络模型,构建时空图神经网络模型,获得未来24小时每个小时段的发电数据和负荷数据的预测结果;步骤S2、通过潮流分析,计算电网中各节点的功率和负荷值;并根据预测的未来发电能力和负荷需求,计算得到储能电站需要提供或消纳的电量。本发明实现了储电站能源的最优化,降低了储电站的成本。

The present invention belongs to the technical field of energy storage power stations, and specifically relates to a method for optimizing the power of energy storage power stations based on graph calculation, including step S1, predicting the future power generation capacity and load demand of the energy storage power station based on graph calculation: obtaining the historical power generation data and load data of the distributed power stations in the grid-connected area of the energy storage power station, as well as the external impact data, constructing a spatiotemporal graph neural network model, constructing a spatiotemporal graph neural network model, and obtaining the prediction results of the power generation data and load data for each hour in the next 24 hours; step S2, calculating the power and load values of each node in the power grid through flow analysis; and calculating the power that the energy storage power station needs to provide or consume according to the predicted future power generation capacity and load demand. The present invention realizes the optimization of the energy of the storage power station and reduces the cost of the storage power station.

Description

Graph calculation-based energy storage power station electric quantity optimization method
Technical Field
The invention belongs to the technical field of energy storage power stations, and particularly relates to an energy storage power station electric quantity optimization method based on graph calculation.
Background
At present, wind power generation and photovoltaic power generation are widely connected into a power system, however, wind power generation and photovoltaic power generation have intermittence and volatility, peak regulation pressure of the power system is increased, and the conditions of wind abandoning and light abandoning have to be generated. The problems of wind abandoning and light abandoning can be effectively solved by the existence of energy storage, the consumption of wind power and photovoltaic power generation is realized, the production cost of a power system is reduced, and the carbon emission is reduced. However, energy storage power stations suffer from the following problems:
The safety and reliability requirements are high, and the power balance of the power generation and the load is an important basis for the safe operation of the power system. The access of energy storage systems, especially large-scale battery energy storage systems, must ensure their safety and reliability.
The prediction accuracy is low, the power grid environment is complicated, the traditional time sequence prediction method is often based on statistical models such as ARIMA, VAR and the like, but the prediction accuracy is often not high for complex time sequence data.
The electric quantity of the energy storage power station is wasted, and the investment of the energy storage power station is large, and the return period is long.
Disclosure of Invention
In order to solve the technical problems that the electric quantity of the energy storage power station is wasted and the operation cost is high, the invention provides the following technical scheme:
An energy storage power station electric quantity optimization method based on graph calculation comprises the following steps:
Step S1, calculating and predicting future power generation capacity and load demand of an energy storage power station based on a graph, namely acquiring historical power generation data and load data of a distributed power station in a grid-connected area of the energy storage power station and external influence data, constructing a power grid topological graph structure, constructing a space-time diagram neural network model based on the power grid topological graph structure, and predicting the prediction result of the power generation capacity and the load demand of each hour of 24 hours in the future through the space-time diagram neural network model;
And S2, acquiring technical parameters and real-time operation data of the power distribution network in the power grid topological graph structure, calculating power and load values of all nodes in the power grid through power flow analysis, outputting the power and voltage of all the nodes in the power grid as power flow analysis results, and calculating to obtain the electric quantity required to be provided or consumed by the energy storage power station according to the predicted future power generation capacity and load requirements.
Further, step S1 specifically includes the following steps:
s11, data collection and preprocessing, namely acquiring historical power generation data of the energy storage power station grid-connected area, power grid load data, holiday data, weather data and equipment running state data of the energy storage power station grid-connected area, wherein the distributed power station comprises solar power and wind power stations;
Step S12, a power grid topological graph structure is built, namely the time sequence data processed in the step S11 are converted into a graph structure, time stamps and attribute information in the time sequence data are mapped to nodes and edges in the graph structure, the nodes, the edges and the attributes thereof are defined, the nodes represent power stations, substations and load points, and the edges represent paths of electric power flow, including power transmission lines or distribution lines and distribution line roadsides, and the power grid topological graph structure is obtained;
step S13, inputting the power grid topological graph structure in the step S12 as a graph neural network model, and constructing a space-time graph neural network model;
Step S14, training and verifying the space-time diagram neural network model by using the historical data of the step S11, and evaluating the performance of the space-time diagram neural network model and adjusting and optimizing by comparing the difference between the prediction result of the space-time diagram neural network model and the actual power grid state;
s15, predicting and verifying, namely predicting future power generation capacity and load demand by using a trained space-time diagram neural network model, and evaluating the accuracy and generalization capacity of the dynamic relation diagram model by cross verification or a leave-out method
Further, constructing a space-time diagram neural network model in step S13 includes:
Calculating the change trend and the spatial distribution characteristics of the power grid topological graph structure on a time sequence to obtain embedded representation of the graph, inputting the embedded representation to an encoder, extracting the characteristics by the encoder, outputting a dynamic graph of the power grid state at a preset time in the future at the decoder by combining an attention mechanism, and finally obtaining a space-time graph neural network model.
Further, step S13 is more specific and includes:
Firstly, capturing the change trend of each node and the attribute thereof along with time in a power grid topological graph structure by utilizing a time sequence analysis technology, and converting the power grid topological structure and time sequence data into an embedded representation of the graph to obtain the embedded representation of the graph;
Inputting the embedded representation of the graph to an encoder;
And (3) feature extraction is carried out by combining an attention mechanism, namely the attention mechanism is introduced into the encoder, key changes in the power grid are captured, the extracted features are input into the decoder after being processed by the encoder, and a dynamic map of the power grid state within a preset time period in the future is output by the decoder, so that a space-time map neural network model is obtained.
Further, step S2 includes obtaining technical parameters and real-time operation data of the power distribution network in the power grid topological graph structure, wherein the technical parameters and the real-time operation data comprise loads and voltages of all nodes, inputting the power grid topological graph structure and the real-time operation data into a power flow calculation tool, obtaining a power flow analysis result of the power distribution network by using a power flow calculation method, and outputting the power and the voltages of all nodes in the power grid as the power flow analysis result.
Further, specifically, step S2 includes:
step S21, obtaining the power generation capacity and the load demand of each hour period in the future day predicted by the space-time diagram neural network model, and obtaining the power value of each intermediate node in the circuit through load flow calculation:
Predicting the power generation capacity and the load demand of each small period of a future day by utilizing a space-time diagram neural network model, inputting the predicted power generation capacity and load demand as a power flow calculation tool, carrying out power flow calculation again, and outputting the power and voltage of each node in a power grid as a power flow analysis result so as to calculate the power value of each intermediate node in the circuit;
step S22, obtaining a load predicted value of the intermediate node and a load value calculated based on a load flow analysis result, and calculating to obtain the electric quantity required to be provided or consumed by the energy storage power station:
Based on the power flow analysis result, calculating to obtain an actual load value of the intermediate node, and comparing the load predicted value of the intermediate node with the power flow analysis load value to obtain the electric quantity required to be provided or consumed by the energy storage power station.
Further, the method further comprises the following steps:
Step S3, a profit maximization model is established according to a tide analysis result, and an optimal profit mode is output, wherein the optimal profit mode comprises a mode that a power storage station participates in an electric power market activity, charging power and discharging power in each small period, and charging duration and discharging duration;
The step S3 specifically comprises the following steps:
calculating the full life cycle cost of energy storage, namely leveling energy storage cost LCOS;
Determining an objective function and constraint conditions of energy storage power station economic benefit maximization by utilizing full life cycle cost LCOS of energy storage;
and the optimal combination of the energy storage participating in battery leasing, electric power market buying and selling and electric power auxiliary service, and the optimal charge and discharge power, the charge and discharge small period and the charge and discharge duration are solved by using an optimization method, so that the economic income of the energy storage power station is maximized.
Further, the full life cycle cost of the energy storage is calculated, namely the normalized energy storage cost LCOS is calculated according to the following specific calculation formula,
Wherein, the discharge time length under d rated power, the circulation efficiency of the eta energy storage station, the service life of the T system, the circulation times of n (T) years, the r discount rate, the operation and maintenance cost of Q & M (T) th year, the installation cost of CE along with the change of the capacity and the installation cost of CP along with the change of the power.
Further, the objective function of maximizing the economic benefit of the energy storage power station is expressed as:
P is the price of the price per unit time,Representing the price of the sold power in the w-th power market activity mode in the d1 th hour period,Representing the price of purchased power in the w-th power market activity mode in the d1 th hour period;
S is the power of the power source,The discharge power of the mode participating in the w-th electric market activity in the d1 th hour is represented, and the negative sign represents discharge; the charging power of the mode participating in the w-th electric power market activity in the d1 th hour is represented, and the positive sign represents charging;
The discharge duration of the mode participating in the w-th electric market activity in the d1 hour period is represented, and the negative sign represents discharge; The charging duration of the mode participating in the w-th power market activity in the d1 th hour period is represented, and the positive sign represents charging;
Incomerent is rental revenue for τ cycles.
Further, constraint conditions of the objective function include energy storage capacity constraint, charging power and discharging power constraint, energy storage energy balance constraint and initial and final energy level constraint of the energy storage system, and the specific formula of the energy storage capacity constraint is as follows:
Emin-Erent<Ed1<Emax-Erent
Wherein Emin represents the stored energy minimum energy level, Emax represents the stored energy maximum energy level, Erent represents the rented-out energy storage battery capacity, Ed1 represents the energy at time d1 of the stored energy, and d1=1, 2, 3.
Compared with the prior art, the invention has the following beneficial effects:
1. According to the method, the power grid topological graph structure is constructed by acquiring historical power generation data and load data of the distributed power station in the grid-connected area of the energy storage power station and external influence data such as holidays and weather data, the prediction result of the power generation data and the load data of each small period of time in the future 24 hours is obtained, the power flow analysis result of the power distribution network is obtained, the power and the voltage of each node in the power grid are output as the power flow analysis result, the electric quantity of the energy storage power station is distributed according to the requirement, the electric quantity of the energy storage power station is saved, and the electric quantity operation cost of the energy storage power station is reduced.
2. And establishing a profit maximization model according to the tide analysis result, and outputting an optimal profit mode which comprises a participation mode, the power of charging and discharging in each small period and the sufficient duration. The invention realizes the optimization of energy sources and reduces the cost of the power storage station.
Drawings
FIG. 1 is a flow chart of the method for optimizing the power of an energy storage power station of the present invention.
Detailed Description
The technical solutions of the present invention will be clearly described below with reference to the accompanying drawings, and it is obvious that the described embodiments are not all embodiments of the present invention, and all other embodiments obtained by a person skilled in the art without making any inventive effort are within the scope of protection of the present invention.
The peak-to-valley electricity price difference refers to the difference in electricity price between the peak and the valley of electricity consumption. The energy storage power station can store energy when the electricity price is low and release energy when the electricity price is high, so that the difference income is obtained.
The auxiliary service refers to paid value-increasing service provided by the electric company to the user, such as peak regulation (peak-to-valley electricity price difference), frequency modulation, reactive power regulation and the like. The energy storage power station may receive revenue by providing these ancillary services.
Tidal current calculation is an electro-mechanical noun, which refers to calculating the distribution of active power, reactive power and voltage in a power grid under the conditions of given power system network topology, element parameters and power generation and load parameters. The tide calculation is to determine the steady state operation state parameters of each part of the power system according to the given power grid structure, parameters, the operation conditions of the generator, the load and other elements. Typically given operating conditions include power at various power and load points in the system, pivot point voltage, balance point voltage and phase angle. The operation state parameters to be solved comprise the voltage amplitude and phase angle of each bus node of the power grid, the power distribution of each branch, the power loss of the network and the like.
As shown in fig. 1, the invention provides a method for optimizing the electric quantity of an energy storage power station based on graph calculation, which comprises the following steps:
step S1, calculating and predicting future power generation capacity and load demand of the energy storage power station based on the graph:
And acquiring historical power generation data and load data of the distributed power station in the grid-connected area of the energy storage power station, and external influence data, constructing a power grid topological graph structure, constructing a space-time diagram neural network model based on the power grid topological graph structure, and predicting the power generation requirement and the prediction result of the load requirement of each hour of 24 hours in the future through the space-time diagram neural network model.
And the power generation capacity prediction is to consider the influence of weather forecast (especially for solar energy and wind energy), seasonal variation and other factors on renewable energy power generation. And load demand prediction, namely analyzing historical data, and considering the influence of factors such as workdays, holidays, air temperature changes and the like on the load demand.
Step S1, specifically comprising the following steps:
step S11, data collection and pretreatment:
The distributed power station for acquiring the grid-connected area of the energy storage power station comprises historical power generation data of solar power stations and wind power stations, power grid load data, holiday data, weather data and equipment running state data of the grid-connected area of the energy storage power station. Preprocessing the collected data, including cleaning the data, processing the missing values and the abnormal values, and normalizing the data.
Step S12, constructing a power grid topological graph structure:
and (3) converting the time series data processed in the step (S11) into a graph structure, and mapping the time stamp and the attribute information in the time series data to nodes and edges in the graph structure.
Nodes are defined, wherein in the figure, the nodes represent power stations, substations and load points. The definition edge represents the path of electric power flow, which can be a transmission line or a distribution line, wherein the transmission line edge is an electric power transmission path connecting a power station and a transformer substation or between the transformer substations, and the distribution line edge is an electric power distribution path from the transformer substation to a load point. Attribute node and edge assignment, node attributes such as power generation capacity, load level, holiday data, weather data and weather. Edge attributes such as line capacity, etc.
The graph neural network (GraphNeuralNetworks, GNNs) can be used as a new neural network model to process data of non-Euclidean structures, such as graphs, networks and the like. By converting the time series data into a graph structure and using a graph neural network to perform feature extraction and prediction, nonlinear relations and complex time series data can be processed, so that the accuracy of time series prediction is improved.
Step S13, inputting the power grid topological graph structure in the step S12 as a graph neural network model, and constructing a space-time graph neural network model:
Calculating the change trend and the spatial distribution characteristics of the power grid topological graph structure on a time sequence to obtain embedded representation of the graph, inputting the embedded representation to an encoder, extracting the characteristics by the encoder, outputting a dynamic graph of the power grid state at a preset time in the future at the decoder by combining an attention mechanism, and finally obtaining a space-time graph neural network model. Specific:
Firstly, capturing the change trend of each node (such as a power station, a transformer substation and a load point) and the attribute (such as power generation capacity, load level, weather condition and the like) of a power grid topological graph structure along with time by using a time sequence analysis technology (such as difference, moving average, autoregressive model and the like). Meanwhile, spatial relations among nodes, such as similarity of adjacent nodes, power flow conditions among nodes and the like, are analyzed to capture spatial distribution characteristics of a power grid, and power grid topological structure and time sequence data are converted into embedded representations of the graphs to obtain the embedded representations of the graphs.
The embedded representation of the graph is input to the encoder, and the resulting embedded representation of the graph is taken as the input to the encoder. The encoder is typically a graph neural network model for extracting characteristic information of the graph. In the encoder, graph structure data can be processed using graph neural network models such as graph roll-up network (GCN), graph annotation force network (GAT), etc., and high-level features thereof can be extracted.
Feature extraction is performed in conjunction with an attention mechanism that is introduced in the encoder to dynamically focus on important nodes and edges in the graph during feature extraction. The attention mechanism can assign different weights according to the attribute information of the nodes and edges and the relationships between them, thereby capturing key changes in the grid. And outputting a dynamic graph of the power grid state within a preset small time period in the future by the decoder, namely inputting the extracted characteristics into the decoder after the dynamic graph is processed by the encoder. The decoder is also typically a neural network model for predicting future grid conditions based on the extracted features.
The decoder may generate dynamic maps over a period of time in the future that reflect the changes in the properties of nodes and edges in the grid over time. Finally, a space-time diagram neural network model is obtained.
And step S14, model training, namely dividing the history data preprocessed in the step S11 into a training set, a verification set and a test set. The time space diagram neural network model is trained and validated using the historical data. By comparing the difference between the prediction result of the space-time diagram neural network model and the actual power grid state, the performance of the space-time diagram neural network model can be estimated, and necessary adjustment and optimization can be performed.
The loss function and optimizer are selected, defining a loss function (e.g., mean square error) and an optimizer (e.g., adam).
In the power prediction task, a commonly used loss function is Mean Square Error (MSE). The MSE calculates the average of the squares of the differences between the predicted and actual values, reflecting the accuracy of the model predictions. For each time step or period, the MSE between the predicted load or power generation and the actual load or power generation is calculated. During training, the goal is to minimize MSE to improve the prediction accuracy of the model.
Common optimizers are random gradient descent (SGD), adam, etc.
And continuously updating the parameters of the model in an iterative training mode. In each iteration, the predicted values of the model are calculated by first propagating forward, then the values of the loss function are calculated, then the gradient is calculated by propagating backward, and the parameters are updated using an optimizer.
During the training process, the values of the loss function and the performance variation of the model over the validation set are monitored.
When performance on the validation set is no longer improved, training may be stopped to avoid overfitting.
And S15, predicting and verifying, namely predicting the future power generation capacity and the load demand by using the trained space-time diagram neural network model, and evaluating the accuracy and the generalization capacity of the model by cross verification or a leave-out method.
And predicting the power generation capacity and the load demand for a period of time in the future by using a trained space-time diagram neural network model.
The accuracy and generalization ability of the model were evaluated by cross-validation or leave-on methods. Commonly used evaluation indexes include accuracy, recall, F1 score, MSE, MAE, etc.
And S2, acquiring technical parameters and real-time operation data of the power distribution network in the power grid topological graph structure, calculating power and load values of all nodes in the power grid through power flow analysis, outputting power and voltage of all nodes in the power grid as power flow analysis results, and calculating to obtain the electric quantity required to be provided or consumed by the energy storage power station according to future power generation capacity and load requirements predicted by the space-time diagram neural network model. Specific:
the method comprises the steps of obtaining technical parameters and real-time operation data of a power distribution network in a power grid topological graph, inputting the power grid topological graph structure and the real-time operation data into a power flow calculation tool, obtaining a power flow analysis result of the power distribution network by using a power flow calculation method, and outputting power and voltage of each node in the power grid as the power flow analysis result. The real-time operational data includes power injection (or load), voltage, etc. of each node.
Trend analysis is an important task in electrical power systems, which aims at calculating the power and voltage distribution of nodes in the electrical network. By acquiring the power grid topological graph, the technical parameters of the power distribution network and the real-time operation data, the power flow calculation tool can be utilized to obtain the power flow analysis result of the power grid. The results have important significance in the aspects of stable operation, optimal scheduling, fault analysis and the like of the power system.
More specifically, step S2 includes:
1) And obtaining the power generation capacity and the load demand of each small period of the future day predicted by graph calculation, and obtaining the power value of each intermediate node in the circuit through tide calculation.
Specifically, graph calculation technology (such as a space-time graph neural network model and the like) is utilized to predict the power generation capacity and the load demand of each hour of the future day. And inputting the predicted power generation capacity and load demand as a power flow calculation tool, carrying out power flow calculation again, and outputting the power and voltage of each node in the power grid as a power flow analysis result to obtain the power value of each intermediate node in the circuit.
2) And obtaining a load predicted value of the intermediate node and a load value calculated based on a tide analysis result, and calculating to obtain the electric quantity required to be provided or consumed by the energy storage power station.
And calculating an actual load value of the intermediate node based on the tide analysis result. And comparing the load predicted value of the intermediate node with the load value of the tide analysis, and calculating to obtain the electric quantity required to be provided or consumed by the energy storage power station. This may be achieved by calculating the difference between the two, a positive value indicating that the energy storage station needs to provide power and a negative value indicating that the energy storage station needs to consume power.
Through the steps, the power and the voltage of each node in the power grid can be calculated by using a tide analysis technology, and the electric quantity required to be provided or consumed by the energy storage power station is calculated according to the predicted future power generation capacity and the load demand. This will provide a powerful support for stable operation and optimal scheduling of the power system.
And S3, establishing a profit maximization model, and outputting an optimal profit mode, wherein the profit maximization model is established according to a tide analysis result, and the optimal profit mode is output, and comprises a mode of participation of a power storage station in an electric power market activity, charging power and discharging power in each small period, charging duration and discharging duration. The step S3 specifically comprises the following steps:
1) Calculating the full life cycle cost of energy storage, namely leveling energy storage cost:
The full life cycle cost of the stored energy is the normalized energy storage cost (LevelizedCostofStorage, LCOS). LCOS can be summarized as the full life cycle cost of an energy storage technology divided by its cumulative transmitted electrical energy or power, reflecting the internal average power price when the net present value is zero, i.e., the profitability point of the investment. The flattening energy storage cost (LCOS) quantifies the discount cost of unit discharge capacity under specific energy storage technology and application scenes, and considers all technical and economic parameters affecting the discharge life cost. The specific calculation formula and related indexes are as follows:
The definition of each parameter is shown in table 1:
TABLE 1
Parameters (parameters)Unit (B)Definition of the definition
dHours ofDischarge duration at rated power
η%Cycle efficiency of energy storage station
TYear of lifeSystem life
n(t)Times/yearNumber of annual cycles
r%Rate of discount
Q&M(t)%Operation and maintenance expense (installation ratio) of the t th year
CEYuan/kWhCost of installation as a function of capacity
CPYuan/kWCost of installation as a function of power
Leveling energy storage costs (LCOS) are key indicators for assessing energy storage technology economics. The calculation formula considers the total life cycle cost of the energy storage system, including the factors of installation cost, operation and maintenance cost, system life and the like.
The total cost includes the installed cost with capacity, the installed cost with power, and the operation and maintenance cost (installed ratio) of each year, and the discount rate is considered. The accumulated transmitted electrical energy is the total electrical energy transmitted by the energy storage system over its lifetime. Specific definitions and calculation methods for the parameters have been given in the description of the problem.
2) The full life cycle cost LCOS of energy storage is utilized to determine an objective function and constraint conditions of energy storage power station economic benefit maximization, and the energy storage power station economic benefit maximization is realized under the condition that the operation of a power grid and the safety of the energy storage power station are not influenced. Thus, the objective function to achieve maximization of the economic benefit of an energy storage power station is expressed as:
Incomerent in the formula represents rental benefits,
Representing revenue gained from participation in the electricity market (e.g., wind power, solar, frequency modulation, peak shaving, etc.).
Where τ is the total duration of the cycle, d1 is a small period, e.g., the period of τ is 24 hours, d1 is each hour of the cycle, n is the total number of energy storage plant participation power market activity patterns, w represents energy storage plant participation power market activity patterns, e.g., w=1 represents energy storage plant participation power market activity is wind power pattern, w=2 represents energy storage plant participation power market activity is solar power pattern, w=3 represents energy storage plant participation power market activity is frequency modulation pattern, w=4 represents energy storage plant participation power market activity is peak shaving.
P is the price of the price per unit time,Representing the price of the sold power in the w-th power market activity mode in the d1 th hour period,Representing the price of purchased power in the w-th power market activity mode in the d1 th hour period;
S is the power of the power source,The discharge power of the mode participating in the w-th electric market activity in the d1 th hour is represented, and the negative sign represents discharge; the charging power of the mode participating in the w-th electric power market activity in the d1 th hour is represented, and the positive sign represents charging;
The discharge duration of the mode participating in the w-th electric market activity in the d1 hour period is represented, and the negative sign represents discharge; the charging duration in the mode of participating in the w-th power market activity in the d1 th hour is represented, and the positive sign represents charging.
Incomerent in the objective function maxProfi reflects a capacity lease, which refers to leasing the capacity of the energy storage power station to other users for use, so as to obtain lease benefits.
Incomerent is rental income of τ period, and the formula is:
Wherein the method comprises the steps ofIndicating the rental price of the energy storage battery during the τ period, and Erent indicates the rented-out capacity of the energy storage battery.
Constraints of the objective function include energy storage capacity constraints, charge power and discharge power constraints, energy storage energy balance constraints, initial and final energy level constraints of the energy storage system.
(1) And the energy storage capacity constraint is that the energy storage has a maximum energy storage capacity, so that the electric energy cannot be stored without limitation, and the rented capacity cannot exceed the maximum energy storage capacity, so that the energy storage capacity is realized.
The specific formula of the constraint is as follows:
Emin-Erent<Ed1<Emax-Erent
Where Emin represents the stored energy minimum energy level, Emax represents the stored energy maximum energy level, Erent represents the rented-out storage battery capacity, Ed1 represents the energy at time d1 of the storage, and d1=1, 2, 3.
The minimum energy level of the stored energy means that the continuous discharge is stopped when the residual capacity of the stored energy is reduced to 5% of the rated capacity after the discharge of the stored energy, and the maximum energy level of the stored energy means that the continuous charge is stopped when the capacity of the stored energy is increased to 95% of the rated capacity after the charge of the stored energy.
(2) Charging power and discharging power constraint the charging and discharging efficiency constraint requires that the charging power and discharging power of the stored energy must be within the allowable range, the specific formulas are as follows:
Representing the maximum discharge power of the energy storage power station,Representing the maximum charging power of the energy storage power station.
(3) Stored energy balance constraint:
And Ed1,power represents a load value obtained by d 1-hour tide calculation.
Ed1,predict denotes a load predicted value of the node of the d1 hour period.
(4) Initial and final energy level constraints of the energy storage system:
meaning that the energy state of the energy storage battery should remain balanced over a period of time, i.e. the total charge and discharge of the energy storage battery should be equal over a period of time.
3) And (3) solving an optimal profit mode, namely inputting known parameters of an objective function, such as installed capacity, participation modes, electricity prices, actual loads obtained by calculation of electricity loads and power flows predicted by each node, and the like, and solving optimal combinations of modes of energy storage participation in battery leasing, power market buying and selling, power auxiliary service and the like, and optimal charging and discharging power, charging and discharging time periods and charging and discharging time periods by using an optimization method to realize the maximization of the economic income of the energy storage power station.
And solving by using an optimization method, namely adopting linear programming, nonlinear programming or heuristic algorithms (such as genetic algorithm, particle swarm algorithm and the like) to solve the objective function and the optimal solution under constraint conditions. The solving result comprises the optimal combination of the energy storage power station in various profit modes, the optimal charge and discharge power, the charge and discharge small time period and the charge and discharge time length.
And outputting the optimal profit mode, namely outputting the optimal profit mode of the energy storage power station according to the solving result, wherein the optimal profit mode comprises information such as a mode of participating in the electric power market activity, the charge and discharge power and the charge and discharge time length of each small period. This will provide an unequivocal operational strategy and economic benefit maximization scheme for the operators of energy storage power stations.
Through the steps, a profit maximization model of the energy storage power station can be established, and an optimal profit mode is output, so that economic profit maximization of the energy storage power station is realized. The technical characteristics form the optimal embodiment of the invention, have stronger adaptability and optimal implementation effect, and can increase or decrease unnecessary technical characteristics according to actual needs so as to meet the needs of different situations.
Finally, it should be noted that the above description is only for illustrating the technical solution of the present invention, and not for limiting the scope of the present invention, and that the simple modification and equivalent substitution of the technical solution of the present invention can be made by those skilled in the art without departing from the spirit and scope of the technical solution of the present invention.

Claims (10)

Translated fromChinese
1.一种基于图计算的储能电站电量优化方法,其特征在于,包括如下步骤:1. A method for optimizing the power consumption of an energy storage power station based on graph computing, characterized in that it comprises the following steps:步骤S1、基于图计算预测储能电站未来的发电能力和负荷需求:获取储能电站并网区域的分布式发电站历史发电数据和负荷数据,以及外部影响数据,构建电网拓扑图结构,基于电网拓扑图结构,构建时空图神经网络模型,通过时空图神经网络模型预测未来24小时每个小时段的发电能力和负荷需求的预测结果;Step S1, predicting the future power generation capacity and load demand of the energy storage power station based on graph calculation: obtaining the historical power generation data and load data of the distributed power stations in the grid-connected area of the energy storage power station, as well as the external impact data, constructing a power grid topology structure, and based on the power grid topology structure, constructing a spatiotemporal graph neural network model, and predicting the power generation capacity and load demand of each hour in the next 24 hours through the spatiotemporal graph neural network model;步骤S2、获取电网拓扑图结构中配电网的技术参数和实时运行数据,通过潮流分析,计算电网中各节点的功率和负荷值,输出电网中各节点的功率和电压作为潮流分析结果;并根据预测的未来发电能力和负荷需求,计算得到储能电站需要提供或消纳的电量。Step S2: Obtain the technical parameters and real-time operation data of the distribution network in the power grid topology structure, calculate the power and load values of each node in the power grid through power flow analysis, and output the power and voltage of each node in the power grid as the power flow analysis result; and calculate the amount of electricity that the energy storage power station needs to provide or consume based on the predicted future power generation capacity and load demand.2.根据权利要求1所述的储能电站电量优化方法,其特征在于,步骤S1,具体包括如下步骤:2. The method for optimizing the power generation of an energy storage power station according to claim 1, characterized in that step S1 specifically comprises the following steps:步骤S11、数据收集和预处理:获取储能电站并网区域的分布式发电站包括太阳能和风能电站的历史发电数据、储能电站并网区域的电网负荷数据、节假日数据、天气数据、设备运行状态数据;对收集的数据预处理,包括清洗数据,处理缺失值和异常值,数据归一化,获得预处理后的储能电站并网区域的相关的时间序列数据;Step S11, data collection and preprocessing: obtaining historical power generation data of distributed power stations including solar and wind power stations in the energy storage power station grid-connected area, grid load data, holiday data, weather data, and equipment operation status data in the energy storage power station grid-connected area; preprocessing the collected data, including cleaning data, processing missing values and outliers, and normalizing data, to obtain relevant time series data of the energy storage power station grid-connected area after preprocessing;步骤S12、构建电网拓扑图结构:将步骤S11处理后的时间序列数据转化为图结构,将时间序列数据中的时间戳和属性信息映射到图结构中的节点和边上,定义节点、边及其属性,节点代表发电站、变电站、负荷点,边代表电力流动的路径,包括输电线路或配电线路、配电线路边,获得电网拓扑图结构;Step S12, constructing a power grid topology graph structure: converting the time series data processed in step S11 into a graph structure, mapping the timestamp and attribute information in the time series data to the nodes and edges in the graph structure, defining nodes, edges and their attributes, where nodes represent power stations, substations, and load points, and edges represent paths for power flow, including transmission lines or distribution lines, and distribution line edges, to obtain a power grid topology graph structure;步骤S13、将步骤S12的电网拓扑图结构作为图神经网络模型输入,构建时空图神经网络模型;Step S13, using the power grid topology structure of step S12 as the input of the graph neural network model to construct a spatiotemporal graph neural network model;步骤S14、使用步骤S11历史数据对时空图神经网络模型进行训练和验证,通过比较时空图神经网络模型预测结果与实际电网状态之间的差异,评估时空图神经网络模型的性能,并进行调整和优化;Step S14: Use the historical data of step S11 to train and verify the spatiotemporal graph neural network model, evaluate the performance of the spatiotemporal graph neural network model by comparing the difference between the prediction results of the spatiotemporal graph neural network model and the actual power grid state, and make adjustments and optimizations;步骤S15、预测与验证:使用训练好的时空图神经网络模型进行未来发电能力和负荷需求的预测,以及通过交叉验证或留出法来评估动态关系图模型的准确性和泛化能力。Step S15, prediction and verification: Use the trained spatiotemporal graph neural network model to predict future power generation capacity and load demand, and evaluate the accuracy and generalization ability of the dynamic relationship graph model through cross-validation or holdout method.3.根据权利要求2所述的储能电站电量优化方法,其特征在于,步骤S13中构建时空图神经网络模型,包括:3. The energy storage power station power optimization method according to claim 2 is characterized in that the spatiotemporal graph neural network model is constructed in step S13, comprising:计算电网拓扑图结构在时间序列上的变化趋势和空间分布特征,得到图的嵌入表示,输入到编码器;再由编码器进行特征提取,结合注意力机制,在解码器输出未来的预设时间的电网状态的动态图,最终获得时空图神经网络模型。The changing trend and spatial distribution characteristics of the power grid topology structure in the time series are calculated to obtain the embedded representation of the graph and input it into the encoder. The encoder then performs feature extraction and combines the attention mechanism to output a dynamic graph of the power grid status at a preset time in the future in the decoder, finally obtaining a spatiotemporal graph neural network model.4.根据权利要求3所述的储能电站电量优化方法,其特征在于,步骤S13更具体的,包括:4. The method for optimizing the power generation of an energy storage power station according to claim 3, wherein step S13 more specifically comprises:首先,利用时间序列分析技术捕捉电网拓扑图结构中每个节点及其属性随时间的变化趋势,将电网拓扑结构和时间序列数据转换为图的嵌入表示,得到图的嵌入表示;Firstly, the time series analysis technology is used to capture the changing trend of each node and its attributes in the power grid topology graph over time, and the power grid topology structure and time series data are converted into the embedded representation of the graph to obtain the embedded representation of the graph;将图的嵌入表示,输入到编码器;Input the graph embedding representation into the encoder;结合注意力机制进行特征提取:在编码器中引入注意力机制,捕捉电网中的关键变化,经过编码器处理后,将提取的特征输入到解码器中,在解码器输出未来预设小时段内的电网状态的动态图,获得时空图神经网络模型。Feature extraction combined with attention mechanism: The attention mechanism is introduced into the encoder to capture the key changes in the power grid. After being processed by the encoder, the extracted features are input into the decoder. The decoder outputs a dynamic graph of the power grid status within a preset hour period in the future to obtain a spatiotemporal graph neural network model.5.根据权利要求1所述的储能电站电量优化方法,其特征在于,具体的,步骤S2包括:获取电网拓扑图结构中配电网的技术参数和实时运行数据,包括各节点的负荷、电压,将电网拓扑图结构和实时运行数据输入到潮流计算工具中,利用潮流计算方法,得到配电网的潮流分析结果,输出电网中各节点的功率和电压作为潮流分析结果。5. The method for optimizing the power of an energy storage power station according to claim 1 is characterized in that, specifically, step S2 comprises: obtaining technical parameters and real-time operation data of the distribution network in the power grid topology structure, including the load and voltage of each node, inputting the power grid topology structure and the real-time operation data into a power flow calculation tool, using a power flow calculation method to obtain a power flow analysis result of the distribution network, and outputting the power and voltage of each node in the power grid as the power flow analysis result.6.根据权利要求5所述的储能电站电量优化方法,其特征在于,具体的,步骤S2包括:6. The method for optimizing the power generation of an energy storage power station according to claim 5, characterized in that, specifically, step S2 comprises:步骤S21、获取时空图神经网络模型预测的未来一天每个小时段的发电能力和负荷需求,通过潮流计算得到电路中各个中间节点的功率值:Step S21, obtain the power generation capacity and load demand for each hour of the next day predicted by the spatiotemporal graph neural network model, and obtain the power value of each intermediate node in the circuit through power flow calculation:利用时空图神经网络模型对未来一天的每个小时段的发电能力和负荷需求进行预测,将预测得到的发电能力和负荷需求作为潮流计算工具输入,再次进行潮流计算,输出电网中各节点的功率和电压作为潮流分析结果,从而计算得到电路中各个中间节点的功率值;The spatiotemporal graph neural network model is used to predict the power generation capacity and load demand for each hour of the next day. The predicted power generation capacity and load demand are used as inputs to the power flow calculation tool. The power flow calculation is performed again, and the power and voltage of each node in the power grid are output as the power flow analysis results, thereby calculating the power value of each intermediate node in the circuit.步骤S22、获取中间节点的负荷预测值和基于潮流分析结果计算的负荷值,计算得到储能电站需要提供或消纳的电量:Step S22: Obtain the load forecast value of the intermediate node and the load value calculated based on the power flow analysis result, and calculate the amount of electricity that the energy storage power station needs to provide or consume:基于潮流分析结果,计算得到中间节点的实际负荷值,通过比较中间节点的负荷预测值和潮流分析负荷值,计算得到储能电站需要提供或消纳的电量。Based on the results of the power flow analysis, the actual load value of the intermediate node is calculated. By comparing the load prediction value of the intermediate node with the power flow analysis load value, the amount of electricity that the energy storage power station needs to provide or consume is calculated.7.根据权利要求1所述的储能电站电量优化方法,其特征在于,还包括:7. The method for optimizing the power generation of an energy storage power station according to claim 1, further comprising:步骤S3、根据潮流分析结果,建立收益最大化模型,输出最佳盈利模式,包括储电站参与电力市场活动方式、各小时段充电功率和放电功率、充电时长和放电时长;Step S3: Based on the results of the power flow analysis, a profit maximization model is established to output the best profit model, including the way in which the power storage station participates in the power market, the charging power and discharging power in each hour period, and the charging time and discharging time;步骤S3具体包括:Step S3 specifically includes:计算储能的全生命周期成本即平准化储能成本LCOS;Calculate the life cycle cost of energy storage, i.e. the levelized cost of storage (LCOS);利用储能的全生命周期成本LCOS,确定储能电站经济收益最大化的目标函数及其约束条件;Using the life cycle cost LCOS of energy storage, determine the objective function and constraints for maximizing the economic benefits of energy storage power stations;通过使用最优化方法求解储能参与电池租赁、电力市场买卖、电力辅助服务的最优组合,以及最优充放功率、充放小时段、充放时长,实现储能电站经济收入最大化。By using optimization methods to solve the optimal combination of energy storage participating in battery leasing, electricity market trading, and power auxiliary services, as well as the optimal charging and discharging power, charging and discharging time period, and charging and discharging duration, the economic income of the energy storage power station can be maximized.8.根据权利要求7所述的储能电站电量优化方法,其特征在于,计算储能的全生命周期成本即平准化储能成本LCOS,具体计算公式如下:8. The method for optimizing the power of an energy storage power station according to claim 7 is characterized in that the full life cycle cost of energy storage, i.e., the levelized cost of energy storage (LCOS), is calculated by the following specific calculation formula:其中,d额定功率下放电时长,η储能站循环效率,T系统寿命,n(t)年循环次数,r折现率,Q&M(t)第t年的运维费用,CE随容量变化的装机成本,CP随功率变化的装机成本。Among them, d is the discharge time at rated power, η is the cycle efficiency of the energy storage station, T is the system life, n(t) is the number of cycles per year, r is the discount rate, Q&M(t) is the operation and maintenance cost in the tth year,CE is the installed cost that changes with capacity, andCP is the installed cost that changes with power.9.根据权利要求8所述的储能电站电量优化方法,其特征在于,储能电站的经济收益最大化的目标函数表示为:9. The method for optimizing the power generation of an energy storage power station according to claim 8, wherein the objective function for maximizing the economic benefits of the energy storage power station is expressed as:P为价格,代表第d1个小时段内参与第w种电力市场活动方式下的出售电力的价格,代表第d1个小时段内参与第w种电力市场活动方式下的购买电力的价格;P is the price, represents the price of electricity sold in the wth electricity market activity mode during the d1th hour period, Represents the price of electricity purchased in the wth electricity market activity mode during the d1th hour period;S为功率,表示第d1个小时段内参与第w种电力市场活动方式下的放电功率,负号表示放电;表示第d1个小时段内参与第w种电力市场活动方式下的充电功率,正号表示充电;S is power, It represents the discharge power under the w-th electricity market activity mode during the d1-th hour period, and the negative sign represents discharge; It represents the charging power under the w-th electricity market activity mode during the d1-th hour period, and the positive sign represents charging;表示第d1个小时段内参与第w种电力市场活动方式下的放电时长,负号表示放电;表示第d1个小时段内参与第w种电力市场活动方式下的充电时长,正号表示充电; It represents the discharge duration of participating in the wth electricity market activity mode in the d1th hour period, and the negative sign represents discharge; It represents the charging time of participating in the wth electricity market activity mode in the d1th hour period, and the positive sign represents charging;Incomerent为τ周期的租赁收入。Incomerent is the rental income for τ periods.10.根据权利要求9所述的储能电站电量优化方法,其特征在于,所述目标函数的约束条件包括储能容量约束、充电功率和放电功率约束、储能能量平衡约束、储能系统的初始和最终能量水平约束,储能容量约束具体公式如下:10. The energy storage power station electricity optimization method according to claim 9 is characterized in that the constraint conditions of the objective function include energy storage capacity constraint, charging power and discharging power constraint, energy storage energy balance constraint, and initial and final energy level constraints of the energy storage system. The specific formula of energy storage capacity constraint is as follows:Emin-Erent<Ed1<Emax-ErentEmin -Erent <Ed1 <Emax -Erent其中,Emin表示储能最小能量水平,Emax表示储能最大能量水平,Erent表示租赁出去的储能电池容量,Ed1表示储能d1时刻的电能,且d1=1,2,3,...,τ。Wherein, Emin represents the minimum energy level of energy storage, Emax represents the maximum energy level of energy storage, Erent represents the capacity of the rented energy storage battery, Ed1 represents the electric energy at the energy storage time d1, and d1 = 1, 2, 3, ..., τ.
CN202411671794.4A2024-11-212024-11-21 A method for optimizing the power generation of energy storage power stations based on graph computingPendingCN119628021A (en)

Priority Applications (1)

Application NumberPriority DateFiling DateTitle
CN202411671794.4ACN119628021A (en)2024-11-212024-11-21 A method for optimizing the power generation of energy storage power stations based on graph computing

Applications Claiming Priority (1)

Application NumberPriority DateFiling DateTitle
CN202411671794.4ACN119628021A (en)2024-11-212024-11-21 A method for optimizing the power generation of energy storage power stations based on graph computing

Publications (1)

Publication NumberPublication Date
CN119628021Atrue CN119628021A (en)2025-03-14

Family

ID=94891607

Family Applications (1)

Application NumberTitlePriority DateFiling Date
CN202411671794.4APendingCN119628021A (en)2024-11-212024-11-21 A method for optimizing the power generation of energy storage power stations based on graph computing

Country Status (1)

CountryLink
CN (1)CN119628021A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CN120601423A (en)*2025-08-072025-09-05国网江苏省电力有限公司南通供电分公司Smart grid load prediction method and system for graph calculation
CN120598595A (en)*2025-08-072025-09-05西安广林汇智能源科技有限公司 An auxiliary quotation method for electricity spot day-ahead market
CN120598595B (en)*2025-08-072025-10-17西安广林汇智能源科技有限公司Auxiliary quotation method for electric power spot market

Citations (4)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CN102593853A (en)*2012-02-272012-07-18东北电力大学Energy storage system capacity configuration optimizing method capable of enhancing wind power receiving capacity
US20230111673A1 (en)*2016-05-092023-04-13Strong Force Iot Portfolio 2016, LlcMethods and systems for sensor fusion in a production line environment
CN118484666A (en)*2024-07-162024-08-13浙江兴创新能源有限公司Energy storage power station evaluation method and system for source network load multi-element application
CN118554493A (en)*2024-05-172024-08-27宁夏众合智源电力工程咨询有限公司 A distributed energy storage power station output optimization method, medium and system

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CN102593853A (en)*2012-02-272012-07-18东北电力大学Energy storage system capacity configuration optimizing method capable of enhancing wind power receiving capacity
US20230111673A1 (en)*2016-05-092023-04-13Strong Force Iot Portfolio 2016, LlcMethods and systems for sensor fusion in a production line environment
CN118554493A (en)*2024-05-172024-08-27宁夏众合智源电力工程咨询有限公司 A distributed energy storage power station output optimization method, medium and system
CN118484666A (en)*2024-07-162024-08-13浙江兴创新能源有限公司Energy storage power station evaluation method and system for source network load multi-element application

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
张晓雪等: "含微电网的配电网优化调度", 电工技术学报, vol. 32, no. 07, 10 April 2017 (2017-04-10), pages 165 - 173*

Cited By (3)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CN120601423A (en)*2025-08-072025-09-05国网江苏省电力有限公司南通供电分公司Smart grid load prediction method and system for graph calculation
CN120598595A (en)*2025-08-072025-09-05西安广林汇智能源科技有限公司 An auxiliary quotation method for electricity spot day-ahead market
CN120598595B (en)*2025-08-072025-10-17西安广林汇智能源科技有限公司Auxiliary quotation method for electric power spot market

Similar Documents

PublicationPublication DateTitle
CN109325608B (en)Distributed power supply optimal configuration method considering energy storage and considering photovoltaic randomness
Li et al.Optimal sizing for a wind-photovoltaic-hydrogen hybrid system considering levelized cost of storage and source-load interaction
Yuan et al.Optimal operation strategy of energy storage unit in wind power integration based on stochastic programming
CN112084705B (en)Grid-connected coordination planning method and system for comprehensive energy system
CN112907129A (en)Energy storage comprehensive benefit evaluation index system
Liu et al.Energy-storage configuration for EV fast charging stations considering characteristics of charging load and wind-power fluctuation
CN118656668A (en) A new power system power and electricity balance analysis method based on multi-cascade multi-process panoramic timing operation simulation
Qi et al.Energyboost: Learning-based control of home batteries
CN114169236A (en) Control Method of Phase Change Regenerative Electric Heating Negative Control System Based on LSTM Algorithm
CN119628021A (en) A method for optimizing the power generation of energy storage power stations based on graph computing
Tian et al.Coordinated RES and ESS Planning Framework Considering Financial Incentives Within Centralized Electricity Market
CN117933445A (en)Double-layer optimization method and device for rural virtual power plant electric vendor system
CN118646064A (en) A method and system for optimizing and guiding the balance of new energy consumption in a park
Xiang et al.Coordinated DG-Tie planning in distribution networks based on temporal scenarios
Wang et al.Multi-time scale optimal configuration of user-side energy storage considering demand perception
CN119180665A (en)Customer carbon footprint prediction method based on electric energy supply and demand prediction and electric power transaction contract
CN117933453A (en) Prediction method, system, device and storage medium for regional power grid carbon emissions
CN115062811B (en)Optimizing method and system for new energy planning scheme integrating economic factors and energy factors
Aščerić et al.Improving Power Distribution System Reliability via Optimized Microgrid Integration and Storage Management
CN115907981A (en) An optimization method for low-carbon joint trading of virtual power plants
CN115374999A (en) An optimal configuration method for hydropower hydrogen production suitable for the start-stop characteristics of hydrogen production equipment
Li et al.A low-carbon joint planning method for distribution network considering carbon emission flow and the uncertainties from photovoltaic power generation
Gorea et al.Modeling and simulating solar and renewable energy systems using artificial intelligence
CN118246637B (en)Robust planning method for AC/DC hybrid power distribution network in multilayer absorption mode
CN116526447B (en) A robust allocation method of optical and storage based on multi-agent game

Legal Events

DateCodeTitleDescription
PB01Publication
PB01Publication
SE01Entry into force of request for substantive examination
SE01Entry into force of request for substantive examination

[8]ページ先頭

©2009-2025 Movatter.jp