Power regulation method, device and equipment considering wind-solar storage coordination and medium

CN118783499APending Publication Date: 2024-10-15ELECTRIC POWER RES INST STATE GRID SHANXI ELECTRIC POWER +1
View PDF 0 Cites 2 Cited by

Patent Information

Application Number
CN202410803615.1
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-06-20
Publication Date
2024-10-15

Smart Images

  • Figure CN118783499A_ABST
    Figure CN118783499A_ABST
Patent Text Reader

Abstract

The invention belongs to the technical field of comprehensive energy system optimization, and particularly relates to a power regulation method, device and equipment considering wind and light storage coordination and a medium. Through fusion of CEEMDAN and BiLSTM models, hyper-parameters of a BP neural network are optimized by adopting a POS algorithm, and more accurate and reliable wind power and photovoltaic power prediction models are respectively constructed. By analyzing the floating error between the ultra-short-term prediction power curve and the historical power curve of the wind-light cluster, the floating error with the highest occurrence probability in each time period is counted and determined, so that the power value required to be adjusted by the intraday charging and discharging of the energy storage system is obtained, and the stable adjustment of the power of the wind-light cluster is realized. According to the technical scheme, the wind power and photovoltaic output change can be accurately predicted, an effective energy storage system charging and discharging strategy is formulated based on the prediction result, the stable adjustment of the wind and light cluster power is realized, and the stability and economical efficiency of a power system are improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention belongs to the technical field of integrated energy system optimization, and specifically relates to a power regulation method, device, equipment and medium that considers the coordination of wind, solar and energy storage. Background Art

[0002] As the proportion of renewable energy in the global energy structure continues to increase, wind and solar energy, as two major clean energy sources, continue to increase their penetration in the power system. However, the intermittent and unpredictable nature of wind and solar energy poses challenges to the stable operation of the power grid. Especially in power grids with a high proportion of wind and solar power, how to effectively manage the fluctuations and uncertainties of wind and solar power output has become a key issue that needs to be solved urgently.

[0003] In existing technologies, traditional prediction models are usually used to predict wind and solar power generation, such as statistical methods, time series analysis, machine learning, etc. However, these models often have limitations such as low prediction accuracy, weak adaptability, and insufficient response to changes in complex meteorological conditions. In addition, the volatility and uncertainty of wind and solar power output also bring great difficulties to the real-time dispatch of the power grid and the regulation of energy storage systems. Summary of the invention

[0004] The purpose of the present invention is to provide a power regulation method, device, equipment and medium that take into account the coordination of wind, solar and storage, so as to solve the problem of insufficient wind and solar prediction accuracy of traditional prediction models in the prior art.

[0005] In order to achieve the above object, the present invention adopts the following technical solution:

[0006] In a first aspect, the present invention provides a power regulation method considering wind, solar and energy storage coordination, comprising the following steps:

[0007] Obtain real-time wind power related meteorological data and real-time wind power;

[0008] The real-time wind power related meteorological data and the real-time wind power are input into a pre-trained CEEMDAN-BiLSTM prediction model, and the CEEMDAN-BiLSTM prediction model outputs an ultra-short-term wind power prediction power; wherein the CEEMDAN-BiLSTM prediction model includes a CEEMDAN model and a BiLSTM model, and the CEEMDAN model is used to decompose the real-time wind power to obtain a target intrinsic mode function whose correlation with the wind power prediction meets a preset standard; the target intrinsic mode function and the real-time wind power related meteorological data constitute a multidimensional feature vector, which is used to input into the BiLSTM model to predict and obtain the ultra-short-term wind power prediction power;

[0009] Obtain real-time photovoltaic power-related meteorological data;

[0010] Inputting real-time photovoltaic power-related meteorological data into a pre-trained POS-BP prediction model, the POS-BP prediction model outputs ultra-short-term photovoltaic prediction power; wherein the neural network hyperparameters of the POS-BP prediction model are determined by optimizing the POS algorithm;

[0011] Determine the ultra-short-term predicted power of the wind-solar cluster based on the ultra-short-term predicted power of wind power and the ultra-short-term predicted power of photovoltaic power, and obtain the ultra-short-term predicted power curve of the wind-solar cluster; determine the floating error between the ultra-short-term predicted power curve of the wind-solar cluster and the historical power curve of the wind-solar cluster;

[0012] The floating errors at each moment are counted, and the floating errors with the highest probability of occurring in each period are determined based on the statistical results. The positive and negative values ​​of the floating errors with the highest probability of occurring are multiplied by the ultra-short-term predicted power of the wind and solar cluster at the corresponding moment to obtain the power value required for adjusting the charging and discharging of the energy storage system during the day.

[0013] Furthermore, the real-time wind power related meteorological data and the real-time wind power are input into a pre-trained CEEMDAN-BiLSTM prediction model, and the CEEMDAN-BiLSTM prediction model outputs an ultra-short-term wind power prediction; wherein the CEEMDAN-BiLSTM prediction model is trained in the following manner:

[0014] Acquire historical wind power related meteorological data, and historical wind power data corresponding to the historical wind power related meteorological data;

[0015] Decomposing historical wind power data using the CEEMDAN algorithm to obtain multiple intrinsic modal functions and a residual term; selecting a target intrinsic modal function whose correlation with wind power prediction meets a preset standard from the multiple intrinsic modal functions, and combining the target intrinsic modal function with historical wind power related meteorological data to obtain a multidimensional feature vector;

[0016] Dividing the multidimensional feature vector into a plurality of windows in time order; wherein each window contains feature data within a period of time;

[0017] The feature data of all windows are combined to form a feature matrix, which is used as the input of the BiLSTM model;

[0018] The feature matrix is ​​divided into training set data in chronological order, and the back propagation algorithm is used to train the BiLSTM model based on the training set data. After the training is completed, the CEEMDAN-BiLSTM prediction model is obtained.

[0019] Furthermore, the real-time wind power related meteorological data at least includes: temperature, humidity, air temperature and wind speed type.

[0020] Furthermore, the real-time photovoltaic power-related meteorological data is input into a pre-trained POS-BP prediction model, and the POS-BP prediction model outputs an ultra-short-term photovoltaic prediction power; wherein the POS-BP prediction model is trained in the following manner:

[0021] Acquire historical photovoltaic power-related meteorological data, and historical photovoltaic power data corresponding to the historical photovoltaic power-related meteorological data;

[0022] Determine the pre-built BP neural network;

[0023] Initialize all particles of the PSO algorithm, each particle represents a set of parameters of the BP neural network;

[0024] Calculate the fitness of each particle, update the velocity and position of the particle, repeat the iteration, and find the global optimum based on the fitness of the example;

[0025] When the iteration termination condition is reached, the parameters represented by the global optimal particle are used as the optimal neural network hyperparameters;

[0026] Initialize the BP neural network using the optimal neural network hyperparameters;

[0027] The historical photovoltaic power related meteorological data and the historical photovoltaic power data are divided into training sets, and based on the training sets, the BP neural network is trained using a back propagation algorithm, and a POS-BP prediction model is obtained after the training is completed.

[0028] Furthermore, the real-time photovoltaic power-related meteorological data at least includes: sunshine time, daily minimum temperature, maximum temperature, solar radiation intensity, temperature and humidity.

[0029] Furthermore, the floating error between the ultra-short-term predicted power curve of the wind and solar cluster and the historical power curve of the wind and solar cluster is determined, including:

[0030] Determine the floating error as follows:

[0031]

[0032] Among them, γ 上界 , γ 下界 They represent the upper and lower bounds of the relative error percentage between the ultra-short-term predicted power curve of the wind-solar cluster and the historical power curve of the wind-solar cluster respectively; P c (t) represents the power forecast value of the wind-solar cluster power station at time t; P s (t) represents the actual power generation data of the wind-solar cluster power station at time t.

[0033] Furthermore, the floating errors at each moment are counted using Bernoulli's law of large numbers to determine the floating errors with the highest probability of occurring in each period of time.

[0034] In a second aspect, the present invention provides a new energy power regulation device considering wind, solar and energy storage coordination, including:

[0035] A first data acquisition module is used to acquire real-time wind power related meteorological data and real-time wind power;

[0036] A wind power prediction module, used for inputting the real-time wind power related meteorological data and the real-time wind power into a pre-trained CEEMDAN-BiLSTM prediction model, and the CEEMDAN-BiLSTM prediction model outputs an ultra-short-term wind power prediction power; wherein the CEEMDAN-BiLSTM prediction model includes a CEEMDAN model and a BiLSTM model, and the CEEMDAN model is used for decomposing the real-time wind power to obtain a target intrinsic mode function whose correlation with the wind power prediction meets a preset standard; the target intrinsic mode function and the real-time wind power related meteorological data constitute a multidimensional feature vector, which is used for inputting the BiLSTM model to predict and obtain the ultra-short-term wind power prediction power;

[0037] The second data acquisition module is used to acquire real-time photovoltaic power related meteorological data;

[0038] A photovoltaic prediction module is used to input real-time photovoltaic power-related meteorological data into a pre-trained POS-BP prediction model, and the POS-BP prediction model outputs ultra-short-term photovoltaic prediction power; wherein the neural network hyperparameters of the POS-BP prediction model are determined by optimizing the POS algorithm;

[0039] The error calculation module is used to determine the ultra-short-term predicted power of the wind-solar cluster based on the ultra-short-term wind power prediction power and the ultra-short-term photovoltaic prediction power, and obtain the ultra-short-term predicted power curve of the wind-solar cluster; determine the floating error between the ultra-short-term predicted power curve of the wind-solar cluster and the historical power curve of the wind-solar cluster;

[0040] The data statistics module is used to count the floating errors at each moment, determine the floating errors with the highest probability of occurrence in each period based on the statistical results, multiply the positive and negative values ​​of the floating errors with the highest probability of occurrence by the ultra-short-term predicted power of the wind and solar cluster at the corresponding moment, and obtain the power value required for adjustment of the energy storage system's daily charging and discharging.

[0041] According to a third aspect of the present invention, an electronic device is provided, including a processor and a memory, wherein the processor is used to execute a computer program stored in the memory to implement the power regulation method considering the coordination of wind, solar and energy storage as described above.

[0042] According to a fourth aspect of the present invention, a computer-readable storage medium is provided, wherein the computer-readable storage medium stores at least one instruction, and when the at least one instruction is executed by a processor, the power regulation method considering the coordination of wind, solar and energy storage as described above is implemented.

[0043] Compared with the prior art, the beneficial effects of the present invention are as follows:

[0044] This solution proposes a power regulation method that takes into account the coordination of wind, photovoltaic and storage. By integrating the CEEMDAN (improved complete ensemble empirical mode decomposition) and BiLSTM (bidirectional long short-term memory network) models, the POS (particle swarm optimization) algorithm is used to optimize the hyperparameters of the BP (back propagation) neural network, and respectively construct more accurate and reliable wind power and photovoltaic power prediction models. By analyzing the floating error between the ultra-short-term predicted power curve of the wind and photovoltaic cluster and the historical power curve, the floating error with the highest probability of occurring in each time period is statistically determined, and then the power value required for adjusting the charging and discharging of the energy storage system during the day is obtained, so as to achieve smooth regulation of the power of the wind and photovoltaic cluster. The technology of this solution can accurately predict the output changes of wind power and photovoltaic, and formulate an effective charging and discharging strategy for the energy storage system based on the prediction results, so as to achieve smooth regulation of the power of the wind and photovoltaic cluster and improve the stability and economy of the power system. The power regulation device, electronic device and computer-readable storage medium that take into account the coordination of wind, photovoltaic and storage provided by the present invention also solve the problems raised in the background technology section. BRIEF DESCRIPTION OF THE DRAWINGS

[0045] The drawings constituting a part of the present application are used to provide a further understanding of the present invention. The exemplary embodiments of the present invention and their descriptions are used to explain the present invention and do not constitute an improper limitation of the present invention. In the drawings:

[0046] Figure 1 A schematic diagram of a flow chart of a power regulation method considering wind, solar and energy storage coordination according to an embodiment of the present invention;

[0047] Figure 2 A schematic diagram of charging and discharging regulation of an energy storage system in an embodiment of the present invention;

[0048] Figure 3 This is a structural block diagram of a power regulation device considering wind, solar and energy storage coordination according to an embodiment of the present invention;

[0049] Figure 4 The present invention is a structural block diagram of an electronic device according to an embodiment of the present invention. DETAILED DESCRIPTION

[0050] The present invention will be described in detail below with reference to the accompanying drawings and in combination with embodiments. It should be noted that the embodiments and features in the embodiments of the present application can be combined with each other without conflict.

[0051] The following detailed description is an exemplary description, which is intended to provide further detailed description of the present invention. Unless otherwise specified, all technical terms used in the present invention have the same meaning as those generally understood by those skilled in the art to which the present application belongs. The terms used in the present invention are only for describing specific embodiments, and are not intended to limit exemplary embodiments according to the present invention.

[0052] Example 1

[0053] like Figure 1 As shown, a power regulation method considering wind, solar and energy storage coordination includes the following steps:

[0054] S1. Obtaining real-time wind power related meteorological data and real-time wind power;

[0055] S2. Input the real-time wind power related meteorological data and real-time wind power into a pre-trained CEEMDAN-BiLSTM prediction model, and the CEEMDAN-BiLSTM prediction model outputs an ultra-short-term wind power prediction power; wherein the CEEMDAN-BiLSTM prediction model includes a CEEMDAN model and a BiLSTM model, and the CEEMDAN model is used to decompose the real-time wind power to obtain a target intrinsic mode function whose correlation with the wind power prediction meets a preset standard; the target intrinsic mode function and the real-time wind power related meteorological data constitute a multidimensional feature vector, which is used to input the BiLSTM model to predict the ultra-short-term wind power prediction power;

[0056] S3, obtaining real-time photovoltaic power-related meteorological data;

[0057] S4, inputting the real-time photovoltaic power related meteorological data into a pre-trained POS-BP prediction model, the POS-BP prediction model outputting the ultra-short-term photovoltaic prediction power; wherein the neural network hyperparameters of the POS-BP prediction model are determined by optimizing the POS algorithm;

[0058] S5. Determine the ultra-short-term predicted power of the wind-solar cluster based on the ultra-short-term predicted power of wind power and the ultra-short-term predicted power of photovoltaic power, and obtain the ultra-short-term predicted power curve of the wind-solar cluster; determine the floating error between the ultra-short-term predicted power curve of the wind-solar cluster and the historical power curve of the wind-solar cluster;

[0059] S6. Count the floating errors at each moment, and determine the floating error with the highest probability in each period based on the statistical results. Multiply the positive and negative values ​​of the floating error with the highest probability by the ultra-short-term predicted power of the wind and solar cluster at the corresponding moment to obtain the power value required for adjusting the energy storage system's charging and discharging during the day.

[0060] The above scheme discloses a power regulation method considering the coordination of wind, solar and storage, which also involves the power prediction of photovoltaic and wind power generation. The combined model of BiLSTM network and CEEMDAN algorithm is used to predict the wind power generation power, and the combined model of BP neural network and POS algorithm is used to predict the photovoltaic power generation power. The curve data of photovoltaic and wind power are added to obtain the predicted value of the total power generation of the wind and solar cluster power station. The predicted value curve of the total power generation of the wind cluster power station is compared with the historical true value curve, and the error range between the predicted value and the true value is calculated; the prediction error is adjusted by the energy storage system, and the day-ahead control strategy of the energy storage system is formulated to improve the accuracy of the predicted value of the total power generation of the wind and solar cluster power stations.

[0061] In a specific embodiment, a power regulation method considering wind, solar and energy storage coordination includes the following steps:

[0062] S10. Acquire real-time wind power related meteorological data and real-time wind power.

[0063] Specifically, the real-time wind power related meteorological data at least includes: temperature, humidity, air temperature and wind speed type.

[0064] S20. Input the real-time wind power related meteorological data and the real-time wind power into a pre-trained CEEMDAN-BiLSTM prediction model, and the CEEMDAN-BiLSTM prediction model outputs an ultra-short-term wind power prediction power; wherein the CEEMDAN-BiLSTM prediction model includes a CEEMDAN model and a BiLSTM model, and the CEEMDAN model is used to decompose the real-time wind power to obtain a target intrinsic mode function whose correlation with the wind power prediction meets a preset standard; the target intrinsic mode function and the real-time wind power related meteorological data constitute a multidimensional feature vector, which is used to input the BiLSTM model to predict the ultra-short-term wind power prediction power.

[0065] In step S20, the CEEMDAN-BiLSTM prediction model is trained as follows:

[0066] S201, obtaining historical wind power related meteorological data, and historical wind power data corresponding to the historical wind power related meteorological data;

[0067] S202, using the CEEMDAN algorithm to decompose the historical wind power data to obtain a plurality of intrinsic mode functions and a residual term; selecting a target intrinsic mode function whose correlation with wind power prediction meets a preset standard from the plurality of intrinsic mode functions, and combining the target intrinsic mode function with the historical wind power related meteorological data to obtain a multidimensional feature vector;

[0068] S203, dividing the multidimensional feature vector into a plurality of windows in time sequence; wherein each window contains feature data within a period of time;

[0069] S204, combining the feature data of all windows to form a feature matrix, and the feature matrix is ​​used as the input of the BiLSTM model;

[0070] S205, dividing the feature matrix into training set data in chronological order, using a back propagation algorithm, training the BiLSTM model based on the training set data, and obtaining a CEEMDAN-BiLSTM prediction model after the training is completed.

[0071] It should be noted that the BiLSTM network used in this solution is a special bidirectional long short-term memory network, which is constructed by two LSTM structures, forward and reverse. It allows the hidden layer to obtain historical and future information at the same time, so as to understand the characteristics of the input data more comprehensively. Since it can capture the bidirectional dependency of the input data, the BiLSTM of this solution significantly enhances the ability of the prediction model to express the characteristics of the input data, providing strong support for solving complex prediction problems.

[0072] The calculation formula is as follows:

[0073]

[0074] Where: x t Represented as input data at time t; Represented as the output state of the forward LSTM hidden layer; It is represented as the output state of the reverse LSTM hidden layer; p and q are constant coefficients, representing and The weight of .

[0075] It should be noted that the CEEMDAN algorithm used in this scheme is a further optimization of EMD and EEMD. Unlike CEEMD in adding positive and negative white noise, the CEEMDAN used in this scheme uses adaptive white noise, that is, the IMF obtained in each stage will be averaged to obtain the final IMF sequence. Compared with EMD and EEMD, the CEEMDAN used in this scheme not only better solves the problem of modal mixing, but also significantly reduces the problem of residual white noise processing. In addition, CEEMDAN avoids the problem that the final set average cannot be aligned due to the differences in the decomposition results of each group of IMFs in CEEMD. Therefore, the effect is more significant in wind power forecasting.

[0076] As an example of this solution, the process of decomposing historical wind power data using CEEMDAN is as follows:

[0077] Assume E i is the i-th modal component obtained by EMD decomposition, ω j (t) is the Gaussian white noise added for the jth time, ε 0 is the standard deviation of white noise, and x(t) is the original signal.

[0078] (1) On the basis of the original signal x(t), Gaussian white noise that obeys the standard normal distribution is added to form a new signal x′(t).

[0079] x′(t)=x(t)+ε 0 ω j (t)

[0080] (2) Decompose x′(t) by EMD to obtain the first-order eigenmode component and the residual signal U 1 (t), yes Taking the average value can get the first eigenmode component L of CEEMDAN decomposition 1 (t).

[0081]

[0082] U 1 (t) = x(t) - L 1 (t)

[0083] Where: N is the number of times white noise is added.

[0084] (3) In the first-order residual signal U 1 (t) is added with a white noise component that has undergone an EMD decomposition, and the EMD decomposition is continued for this new signal, thereby obtaining the second-order intrinsic mode component and residual U 2 (t), and obtain the second-order eigenmode component L 2 (t).

[0085]

[0086] U 2 (t) = U 1 (t)-L 2 (t)

[0087] (4) Perform the above steps again to obtain the nth-order eigenmode component and residual U n (t), find the nth order component L n (t).

[0088]

[0089] Un (t) = U n-1 (t)-L n (t)

[0090] Where: n-1 is the weight coefficient of the n-1th order white noise.

[0091] (5) Repeat the above steps until the residual becomes monotonic and cannot be decomposed any further, and then stop iterating. At this point, the k-th order intrinsic mode component is obtained, and the original signal x(t) is finally decomposed into

[0092]

[0093] Wherein, k = 1, 2, ..., k is the number of intrinsic mode components obtained by CEEMDAN decomposition, and U(t) is the final remaining residual signal.

[0094] S30. Acquire real-time photovoltaic power-related meteorological data.

[0095] Specifically, the real-time photovoltaic power-related meteorological data at least includes: sunshine time, daily minimum temperature, maximum temperature, solar radiation intensity, temperature and humidity.

[0096] In an optional embodiment, the real-time photovoltaic power-related meteorological data may also include weather type.

[0097] S40, inputting the real-time photovoltaic power related meteorological data into a pre-trained POS-BP prediction model, the POS-BP prediction model outputting the ultra-short-term photovoltaic prediction power; wherein the neural network hyperparameters of the POS-BP prediction model are determined by optimizing the POS algorithm.

[0098] In step S40, the POS-BP prediction model is trained as follows:

[0099] Step S401, acquiring historical photovoltaic power-related meteorological data, and historical photovoltaic power data corresponding to the historical photovoltaic power-related meteorological data;

[0100] Step S402, determining a pre-built BP neural network;

[0101] Step S403, initializing all particles of the PSO algorithm, each particle represents a set of parameters of the BP neural network;

[0102] Step S404, calculate the fitness of each particle, and update the speed and position of the particle, repeat the iteration, and find the global optimum based on the fitness of the example;

[0103] Step S405: When the iteration termination condition is reached, the parameters represented by the global optimal particle are used as the optimal neural network hyperparameters;

[0104] Step S406, initializing the BP neural network using the optimal neural network hyperparameters;

[0105] Step S407: divide the historical photovoltaic power related meteorological data and historical photovoltaic power data into training sets, and train the BP neural network based on the training sets using a back propagation algorithm, and obtain a POS-BP prediction model after the training is completed.

[0106] As an example, the neural network hyperparameters that are optimized may be the initial weights and thresholds.

[0107] In an optional embodiment, the present invention uses BP neural network to fit nonlinear problems, takes the influencing factors of photovoltaic power generation as the input layer, uses PSO to optimize the initial weights and thresholds of the BP neural network, and passes the data to the hidden layer to complete the forward propagation. During the forward propagation process, the input layer passes the data of the influencing factors of photovoltaic power generation to the hidden layer. After weighted processing, the data is passed from the hidden layer to the output layer to complete the forward propagation of the data. If there is an error between the predicted photovoltaic power generation and the actual measured value of the sample, the model will start the error back propagation mechanism.

[0108] In an optional embodiment, the weights are adjusted by a gradient descent method to reduce the error. This process is repeated until the error meets the preset requirements and the model iteration ends. As an example, the specific implementation steps are as follows:

[0109] (1) Initialize the model. Set the number of nodes in the input layer and hidden layer, initialize the weight matrix and threshold between each layer, set the learning rate and select the activation function.

[0110] (2) Calculate the hidden layer output. Using the weight matrix and input data, the hidden layer output is calculated through the activation function.

[0111]

[0112] Among them, I j Represents the hidden layer output of the sample; ω ij Represents the weights of the input layer and the hidden layer; a j represents the threshold of the hidden layer.

[0113] (3) Calculate the output layer output. According to the hidden layer output and the weight matrix, the output layer output is calculated through the activation function.

[0114]

[0115] Among them, O k The output layer output value of the sample; I j Represents the hidden layer output of the sample; ω ikrepresents the weights of the input layer and the hidden layer, b j Represents the threshold of the input layer.

[0116] (4) Calculate the error. Compare the model output with the actual value and calculate the error.

[0117] E k =Y k -O k ,k=1,2,…,m

[0118] Among them, E k Represents the sample error; Y k is the actual output value of the sample; O k Output value for the output layer of the sample.

[0119] (5) Back propagation weights: Adjust the weight matrix according to the error so that the model output gradually approaches the actual value.

[0120]

[0121] ω' jk =ω jk +ηI j E k

[0122] Among them, ω′ ij and ω′ jk Represents the weights of the input layer and hidden layer after update; ω ij and ω jk represents the weights of the input layer and the hidden layer; η represents the model learning rate; I j Represents the hidden layer output of the sample; E k represents the error of the sample;

[0123] (6) Iteration stop condition determination: Determine whether the error meets the preset requirements. If so, the iteration ends; otherwise, return to step 2 to continue the iteration.

[0124] It should be noted that in order to improve the convergence speed of photovoltaic power prediction and effectively avoid falling into the problem of local optimal value, the PSO algorithm is applied to the optimization of the initial weights and thresholds of the BP neural network.

[0125] In an optional embodiment, in the initial stage, the particle swarm is randomly initialized, and each particle corresponds to a solution in the solution space. During the iteration process, the particles will continuously track and update two "extreme values": individual extreme values ​​and global extreme values. The individual extreme value refers to the optimal solution found by the particle during the search process, and the global extreme value is the optimal solution obtained in the entire population before the current iteration. In the solution space of the initial weights and thresholds, the particle swarm is initialized to generate the initial population:

[0126] Ω={(x1 ,v 1 ),(x 2 ,v 2 ),……,(x a ,v a )}

[0127] Among them, x i is the real-time position of the particle, v i is the real-time speed of the particle. In each iteration, each particle will move at different positions according to its individual extreme value Q id and the global extreme value Q gd Optimize and update its speed.

[0128] The iterative process of particle velocity is expressed as:

[0129]

[0130] In the formula, ω represents the weight, represents the characteristic velocity of the dth dimension of the ith particle at the kth iteration, represents the characteristic position of the d-th dimension of the ith particle at the k-th iteration, s 1 and 2 Expressed as the acceleration constant, y 1 and 2 A random number between 0 and 1.

[0131] The process of particle position iteration can be expressed as:

[0132]

[0133] In the particle optimization process, the weight ω has a crucial impact on performance. Since the traditional linear weight update strategy easily causes PSO to fall into the local optimal solution, a nonlinear weight update method is introduced. It aims to improve the optimization performance and effectively avoid falling into the dilemma of local optimal solution. It is expressed as:

[0134]

[0135] In the formula, ω min Represents the minimum value of the weight; ω max Indicates the maximum value of the weight; k max Indicates the maximum number of iterations.

[0136] S50. Determine the ultra-short-term predicted power of the wind-solar cluster based on the ultra-short-term wind power predicted power and the ultra-short-term photovoltaic predicted power, and obtain the ultra-short-term predicted power curve of the wind-solar cluster; determine the floating error between the ultra-short-term predicted power curve of the wind-solar cluster and the historical power curve of the wind-solar cluster.

[0137] Specifically, the ultra-short-term wind power forecast power of multiple wind farms is added together to obtain the predicted total power generation power of multiple wind farms. Similarly, the total power generation power of multiple photovoltaic power stations is predicted. The curve data of the predicted total power generation power of multiple photovoltaic power stations and the predicted total power generation power of multiple wind farms are added together to obtain the ultra-short-term forecast power curve of the wind and solar cluster.

[0138] P w =P w1 +P w2 +...+P wi

[0139] P pv =P pv1 +P pv2 +...+P pva

[0140] P c =P w +P pv

[0141] Where P w represents the ultra-short-term wind power forecast; i represents the number of wind turbines; P pv represents the ultra-short-term photovoltaic power generation forecast power; a represents the number of units in the photovoltaic power station; P c Indicates the total predicted power of the wind and solar cluster power station.

[0142] Specifically, the actual data of the historical power generation of the wind and solar cluster power station is collected to calculate the highest and lowest values ​​of the power generation, and the floating error between the ultra-short-term predicted power curve of the wind and solar cluster and the historical power curve of the wind and solar cluster is determined according to the following formula:

[0143]

[0144] Among them, γ 上界 , γ 下界 They represent the upper and lower bounds of the relative error percentage between the ultra-short-term predicted power curve of the wind-solar cluster and the historical power curve of the wind-solar cluster respectively; P c (t) represents the power forecast value of the wind-solar cluster power station at time t; P s (t) represents the actual power generation data of the wind-solar cluster power station at time t.

[0145] S60. Count the floating errors at each moment, determine the floating error with the highest probability in each period based on the statistical results, multiply the positive and negative values ​​of the floating error with the highest probability by the ultra-short-term predicted power of the wind and solar cluster at the corresponding moment, and obtain the power value required for adjusting the energy storage system's charging and discharging during the day.

[0146] Specifically, the floating errors at each moment are counted using Bernoulli's law of large numbers to determine the floating error with the highest probability of occurring in each period of time.

[0147] Example 2

[0148] like Figure 3 As shown, based on the same inventive concept as the above embodiment, the present invention also provides a new energy power regulation device considering wind, solar and energy storage coordination, including:

[0149] A first data acquisition module is used to acquire real-time wind power related meteorological data and real-time wind power;

[0150] A wind power prediction module, used for inputting the real-time wind power related meteorological data and the real-time wind power into a pre-trained CEEMDAN-BiLSTM prediction model, and the CEEMDAN-BiLSTM prediction model outputs an ultra-short-term wind power prediction power; wherein the CEEMDAN-BiLSTM prediction model includes a CEEMDAN model and a BiLSTM model, and the CEEMDAN model is used for decomposing the real-time wind power to obtain a target intrinsic mode function whose correlation with the wind power prediction meets a preset standard; the target intrinsic mode function and the real-time wind power related meteorological data constitute a multidimensional feature vector, which is used for inputting the BiLSTM model to predict and obtain the ultra-short-term wind power prediction power;

[0151] The second data acquisition module is used to acquire real-time photovoltaic power related meteorological data;

[0152] A photovoltaic prediction module is used to input real-time photovoltaic power-related meteorological data into a pre-trained POS-BP prediction model, and the POS-BP prediction model outputs ultra-short-term photovoltaic prediction power; wherein the neural network hyperparameters of the POS-BP prediction model are determined by optimizing the POS algorithm;

[0153] The error calculation module is used to determine the ultra-short-term predicted power of the wind-solar cluster based on the ultra-short-term wind power prediction power and the ultra-short-term photovoltaic prediction power, and obtain the ultra-short-term predicted power curve of the wind-solar cluster; determine the floating error between the ultra-short-term predicted power curve of the wind-solar cluster and the historical power curve of the wind-solar cluster;

[0154] The data statistics module is used to count the floating errors at each moment, determine the floating errors with the highest probability of occurrence in each period based on the statistical results, multiply the positive and negative values ​​of the floating errors with the highest probability of occurrence by the ultra-short-term predicted power of the wind and solar cluster at the corresponding moment, and obtain the power value required for adjustment of the energy storage system's daily charging and discharging.

[0155] Optionally, it may also include:

[0156] The monitoring and user decision module is responsible for monitoring the operation status of the power grid, such as current and voltage fluctuations, to ensure the stable operation of the power grid, and provides an intuitive user interface to display real-time energy supply and demand and system operation status. Through the decision module, it provides users with customized energy management suggestions and optimization solutions;

[0157] The privacy protection and expansion module has a powerful network security mechanism to ensure the reliability and integrity of system data. At the same time, the module strictly abides by data privacy regulations and provides comprehensive protection for user privacy and sensitive information. In order to adapt to the growth of energy demand and technological development of wind and solar cluster power stations in the future, open standards and interfaces are adopted to facilitate integration with other systems and devices.

[0158] Example 3

[0159] like Figure 4 As shown, the present invention also provides an electronic device 100 for implementing a power regulation method considering wind, solar and storage coordination in the above-mentioned embodiment; the electronic device 100 includes a memory 101, at least one processor 102, a computer program 103 stored in the memory 101 and executable on at least one processor 102, and at least one communication bus 104.

[0160] The memory 101 can be used to store a computer program 103. The processor 102 implements the steps of a power regulation method considering wind, solar and energy storage coordination in Example 1 by running or executing the computer program stored in the memory 101 and calling the data stored in the memory 101.

[0161] The memory 101 may mainly include a program storage area and a data storage area, wherein the program storage area may store an operating system, an application required for at least one function (such as a sound playback function, an image playback function, etc.), etc.; the data storage area may store data (such as audio data) created according to the use of the electronic device 100, etc. In addition, the memory 101 may include a non-volatile memory, such as a hard disk, a 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 non-volatile solid-state storage devices.

[0162] At least one processor 102 may be a central processing unit (CPU), or 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 processor 102 may be a microprocessor or any conventional processor, etc. The processor 102 is the control center of the electronic device 100, and uses various interfaces and lines to connect various parts of the entire electronic device 100.

[0163] The memory 101 in the electronic device 100 stores a plurality of instructions to implement a power regulation method considering wind, solar and energy storage coordination, and the processor 102 can execute the plurality of instructions to implement:

[0164] Obtain real-time wind power related meteorological data and real-time wind power;

[0165] The real-time wind power related meteorological data and the real-time wind power are input into a pre-trained CEEMDAN-BiLSTM prediction model, and the CEEMDAN-BiLSTM prediction model outputs an ultra-short-term wind power prediction power; wherein the CEEMDAN-BiLSTM prediction model includes a CEEMDAN model and a BiLSTM model, and the CEEMDAN model is used to decompose the real-time wind power to obtain a target intrinsic mode function whose correlation with the wind power prediction meets a preset standard; the target intrinsic mode function and the real-time wind power related meteorological data constitute a multidimensional feature vector, which is used to input into the BiLSTM model to predict and obtain the ultra-short-term wind power prediction power;

[0166] Obtain real-time photovoltaic power-related meteorological data;

[0167] Inputting real-time photovoltaic power-related meteorological data into a pre-trained POS-BP prediction model, the POS-BP prediction model outputs ultra-short-term photovoltaic prediction power; wherein the neural network hyperparameters of the POS-BP prediction model are determined by optimizing the POS algorithm;

[0168] Determine the ultra-short-term predicted power of the wind-solar cluster based on the ultra-short-term predicted power of wind power and the ultra-short-term predicted power of photovoltaic power, and obtain the ultra-short-term predicted power curve of the wind-solar cluster; determine the floating error between the ultra-short-term predicted power curve of the wind-solar cluster and the historical power curve of the wind-solar cluster;

[0169] The floating errors at each moment are counted, and the floating errors with the highest probability of occurring in each period are determined based on the statistical results. The positive and negative values ​​of the floating errors with the highest probability of occurring are multiplied by the ultra-short-term predicted power of the wind and solar cluster at the corresponding moment to obtain the power value required for adjusting the charging and discharging of the energy storage system during the day.

[0170] Example 4

[0171] If the module / unit integrated in the electronic device 100 is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the present invention implements all or part of the processes in the above-mentioned embodiment method, and can also be completed by instructing the relevant hardware through a computer program. The computer program can be stored in a computer-readable storage medium, and the computer program can implement the steps of the above-mentioned method embodiments when executed by the processor. Among them, 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. Computer-readable media may include: any entity or device capable of carrying computer program code, recording medium, U disk, mobile hard disk, disk, optical disk, computer memory and read-only memory (ROM, Read-Only Memory).

[0172] Those skilled in the art will appreciate that embodiments of the present invention may be provided as methods, systems, or computer program products. Therefore, the present invention may take the form of a complete hardware embodiment, a complete software embodiment, or an embodiment combining software and hardware. Moreover, the present invention may take the form of a computer program product implemented on one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) containing computer-usable program code.

[0173] The present invention is described with reference to flowcharts and / or block diagrams of methods, devices (systems), and computer program products according to embodiments of the present invention. It should be understood that each process and / or block in the flowchart and / or block diagram, as well as the combination of processes and / or blocks in the flowchart and / or block diagram, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, an embedded processor, or other programmable data processing device to produce a machine, so that the instructions executed by the processor of the computer or other programmable data processing device generate instructions for implementing the processes in the flowchart and / or block diagram. Figure 1 A process or multiple processes and / or boxes Figure 1 A device that provides the functions specified in a block or multiple blocks.

[0174] These computer program instructions may also be stored in a computer-readable memory capable of directing a computer or other programmable data processing device to operate in a specific manner, so that the instructions stored in the computer-readable memory produce an article of manufacture comprising an instruction device, which implements the process Figure 1 A process or multiple processes and / or boxes Figure 1 A function specified in one or more boxes.

[0175] These computer program instructions can also be loaded onto a computer or other programmable data processing device so that a series of operating steps are executed on the computer or other programmable device to produce a computer-implemented process, thereby providing instructions for implementing the process. Figure 1 A process or multiple processes and / or boxes Figure 1 The steps for the functions specified in one or more boxes.

[0176] In the description of this specification, the description with reference to the terms "one embodiment", "example", "specific example", etc. means that the specific features, structures, materials or characteristics described in conjunction with the embodiment or example are included in at least one embodiment or example of the present invention. In this specification, the schematic representation of the above terms does not necessarily refer to the same embodiment or example. Moreover, the specific features, structures, materials or characteristics described can be combined in any one or more embodiments or examples in a suitable manner.

[0177] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present invention rather than to limit it. Although the present invention has been described in detail with reference to the above embodiments, ordinary technicians in the relevant field should understand that the specific implementation methods of the present invention can still be modified or replaced by equivalents. Any modification or equivalent replacement that does not depart from the spirit and scope of the present invention should be covered within the scope of protection of the claims of the present invention.

Claims

1. A power regulation method considering the coordination of wind, solar and energy storage. It is characterized in that The steps include: Obtain real-time wind power related meteorological data and real-time wind power; The real-time wind power related meteorological data and the real-time wind power are input into a pre-trained CEEMDAN-BiLSTM prediction model, and the CEEMDAN-BiLSTM prediction model outputs an ultra-short-term wind power prediction power; wherein the CEEMDAN-BiLSTM prediction model includes a CEEMDAN model and a BiLSTM model, and the CEEMDAN model is used to decompose the real-time wind power to obtain a target intrinsic mode function whose correlation with the wind power prediction meets a preset standard; the target intrinsic mode function and the real-time wind power related meteorological data constitute a multidimensional feature vector, which is used to input into the BiLSTM model to predict and obtain the ultra-short-term wind power prediction power; Obtain real-time photovoltaic power-related meteorological data; Inputting real-time photovoltaic power-related meteorological data into a pre-trained POS-BP prediction model, the POS-BP prediction model outputs ultra-short-term photovoltaic prediction power; wherein the neural network hyperparameters of the POS-BP prediction model are determined by optimizing the POS algorithm; Determine the ultra-short-term predicted power of the wind-solar cluster based on the ultra-short-term predicted power of wind power and the ultra-short-term predicted power of photovoltaic power, and obtain the ultra-short-term predicted power curve of the wind-solar cluster; determine the floating error between the ultra-short-term predicted power curve of the wind-solar cluster and the historical power curve of the wind-solar cluster; The floating errors at each moment are counted, and the floating errors with the highest probability of occurring in each period are determined based on the statistical results. The positive and negative values ​​of the floating errors with the highest probability of occurring are multiplied by the ultra-short-term predicted power of the wind and solar cluster at the corresponding moment to obtain the power value required for adjusting the charging and discharging of the energy storage system during the day.

2. The power regulation method considering wind, solar and energy storage coordination according to claim 1, It is characterized in that The real-time wind power related meteorological data and the real-time wind power are input into a pre-trained CEEMDAN-BiLSTM prediction model, and the CEEMDAN-BiLSTM prediction model outputs an ultra-short-term wind power prediction; wherein the CEEMDAN-BiLSTM prediction model is trained in the following manner: Acquire historical wind power related meteorological data, and historical wind power data corresponding to the historical wind power related meteorological data; Decomposing historical wind power data using the CEEMDAN algorithm to obtain multiple intrinsic modal functions and a residual term; selecting a target intrinsic modal function whose correlation with wind power prediction meets a preset standard from the multiple intrinsic modal functions, and combining the target intrinsic modal function with historical wind power related meteorological data to obtain a multidimensional feature vector; Dividing the multidimensional feature vector into a plurality of windows in time order; wherein each window contains feature data within a period of time; The feature data of all windows are combined to form a feature matrix, which is used as the input of the BiLSTM model; The feature matrix is ​​divided into training set data in chronological order, and the back propagation algorithm is used to train the BiLSTM model based on the training set data. After the training is completed, the CEEMDAN-BiLSTM prediction model is obtained.

3. The power regulation method considering wind, solar and energy storage coordination according to claim 1, It is characterized in that The real-time wind power related meteorological data at least includes: temperature, humidity, air temperature and wind speed type.

4. The power regulation method considering wind, solar and energy storage coordination according to claim 1, It is characterized in that The real-time photovoltaic power-related meteorological data is input into a pre-trained POS-BP prediction model, and the POS-BP prediction model outputs an ultra-short-term photovoltaic prediction power; wherein the POS-BP prediction model is trained in the following manner: Acquire historical photovoltaic power-related meteorological data, and historical photovoltaic power data corresponding to the historical photovoltaic power-related meteorological data; Determine the pre-built BP neural network; Initialize all particles of the PSO algorithm, each particle represents a set of parameters of the BP neural network; Calculate the fitness of each particle, update the velocity and position of the particle, repeat the iteration, and find the global optimum based on the fitness of the example; When the iteration termination condition is reached, the parameters represented by the global optimal particle are used as the optimal neural network hyperparameters; Initialize the BP neural network using the optimal neural network hyperparameters; The historical photovoltaic power related meteorological data and the historical photovoltaic power data are divided into training sets, and based on the training sets, the BP neural network is trained using a back propagation algorithm, and a POS-BP prediction model is obtained after the training is completed.

5. The power regulation method considering wind, solar and energy storage coordination according to claim 1, It is characterized in that The real-time photovoltaic power-related meteorological data at least includes: sunshine time, daily minimum temperature, maximum temperature, solar radiation intensity, temperature and humidity.

6. The power regulation method considering wind, solar and energy storage coordination according to claim 1, It is characterized in that Determine the floating error between the ultra-short-term predicted power curve of the wind and solar cluster and the historical power curve of the wind and solar cluster, including: Determine the floating error as follows: Among them, γ 上界 , γ 下界 They represent the upper and lower bounds of the relative error percentage between the ultra-short-term predicted power curve of the wind-solar cluster and the historical power curve of the wind-solar cluster respectively; P c (t) represents the power forecast value of the wind-solar cluster power station at time t; P s (t) represents the actual power generation data of the wind-solar cluster power station at time t.

7. The power regulation method considering wind, solar and energy storage coordination according to claim 1, It is characterized in that The floating errors at each moment are counted by Bernoulli's law of large numbers to determine the floating error with the highest probability in each period.

8. A new energy power regulation device considering the coordination of wind, solar and energy storage. It is characterized in that include: A first data acquisition module is used to acquire real-time wind power related meteorological data and real-time wind power; A wind power prediction module, used for inputting the real-time wind power related meteorological data and the real-time wind power into a pre-trained CEEMDAN-BiLSTM prediction model, and the CEEMDAN-BiLSTM prediction model outputs an ultra-short-term wind power prediction power; wherein the CEEMDAN-BiLSTM prediction model includes a CEEMDAN model and a BiLSTM model, and the CEEMDAN model is used for decomposing the real-time wind power to obtain a target intrinsic mode function whose correlation with the wind power prediction meets a preset standard; the target intrinsic mode function and the real-time wind power related meteorological data constitute a multidimensional feature vector, which is used for inputting the BiLSTM model to predict and obtain the ultra-short-term wind power prediction power; The second data acquisition module is used to acquire real-time photovoltaic power related meteorological data; A photovoltaic prediction module is used to input real-time photovoltaic power-related meteorological data into a pre-trained POS-BP prediction model, and the POS-BP prediction model outputs ultra-short-term photovoltaic prediction power; wherein the neural network hyperparameters of the POS-BP prediction model are determined by optimizing the POS algorithm; The error calculation module is used to determine the ultra-short-term predicted power of the wind-solar cluster based on the ultra-short-term wind power prediction power and the ultra-short-term photovoltaic prediction power, and obtain the ultra-short-term predicted power curve of the wind-solar cluster; determine the floating error between the ultra-short-term predicted power curve of the wind-solar cluster and the historical power curve of the wind-solar cluster; The data statistics module is used to count the floating errors at each moment, determine the floating errors with the highest probability of occurrence in each period based on the statistical results, multiply the positive and negative values ​​of the floating errors with the highest probability of occurrence by the ultra-short-term predicted power of the wind and solar cluster at the corresponding moment, and obtain the power value required for adjustment of the energy storage system's daily charging and discharging.

9. An electronic device, It is characterized in that It comprises a processor and a memory, wherein the processor is used to execute a computer program stored in the memory to implement the power regulation method considering wind, solar and energy storage coordination as described in any one of claims 1 to 7.

10. A computer-readable storage medium, It is characterized in that The computer-readable storage medium stores at least one instruction, and when the at least one instruction is executed by the processor, the power regulation method considering the coordination of wind, solar and energy storage as described in any one of claims 1 to 7 is implemented.

Citation Information

Cited By

  • Offshore floating type wind-solar complementary power generation method, system and equipment

    CN120728745A

  • Energy storage scheduling method, system and equipment based on wind power prediction and medium

    CN121863398A