Method for stabilizing control and capacity configuration of wind and light storage nodes

Through the combination of adaptive sliding average algorithm, improved second-order low-pass filtering algorithm and random forest model, combined with improved particle swarm algorithm, the problem of high power fluctuation and capacity allocation in wind and solar storage nodes is solved, and the control of offshore wind farms is realized. The effective stabilization and optimization of the energy storage system improve the stability of the power grid and the service life of the energy storage system.

CN118539494APending Publication Date: 2024-08-23ZHEJIANG UNIV
View PDF 0 Cites 4 Cited by

Patent Information

Application Number
CN202410650323.9
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-05-24
Publication Date
2024-08-23

AI Technical Summary

Technical Problem

Existing technologies fail to effectively stabilize high power volatility and capacity allocation in wind and solar storage nodes, especially in the case of offshore wind farms, and do not fully consider the characteristics and costs of energy storage systems, resulting in grid stability and energy storage system service life issue.

Method used

The adaptive sliding average algorithm and the improved second-order low-pass filtering algorithm are used to calculate the stabilization and control strategies, combined with the random forest model for data prediction, and the improved particle swarm algorithm is used to optimize the capacity configuration, taking into account the component characteristics and characteristics of the energy storage system. cost.

Benefits of technology

It achieves effective smoothing of high power fluctuations, reduces the overall cost of the energy storage system, extends the service life, improves the stability and applicability of the system, and meets the optimal control strategy under grid-connected conditions.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118539494A
    Figure CN118539494A
Patent Text Reader

Abstract

The invention discloses a method for stabilizing control and capacity configuration of a wind and light storage node, which comprises the following steps of: collecting wind and light storage node power generation power data of a typical day, smoothly predicting intermediate data of a given interval, and obtaining a data set of the typical day into which the intermediate data is inserted; aiming at the data set, stabilizing based on an adaptive moving average algorithm to enable the data set to meet the grid-connected requirement, and outputting the to-be-absorbed quantity of the energy storage system; aiming at to-be-absorbed quantity data of the energy storage system, calculating a control strategy and a charge state of the energy storage system by adopting an improved second-order low-pass filtering algorithm; and inputting the charge state of the typical day into the improved particle swarm algorithm for iteration to obtain the energy storage capacity configuration of the optimal cost under the control strategy of the typical day. According to the method, high-power fluctuation original data taking offshore wind power as an example can be stabilized, the configuration cost and characteristics of the energy storage system are comprehensively considered, and the optimal energy storage control strategy and the capacity configuration scheme meeting the grid-connected condition are achieved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of energy storage control of wind, solar and energy storage nodes, and in particular to a method for leveling control and capacity configuration of wind, solar and energy storage nodes. Background Art

[0002] With the continuous maturity of new energy power generation technology, new energy power represented by wind power and photovoltaic power has a strong development prospect. However, while the new energy power generation technology is developing, it has also brought many problems to the power system. Taking the wind and solar nodes of the new energy power generation system as an example, due to the volatility of new energy power, its original output power does not meet the grid connection standard, which poses a great challenge to the stability of the grid; due to the uncertainty of new energy power, it is difficult to accurately predict its output power. After the wind and solar nodes are equipped with energy storage systems, the original power can be predicted and compensated, the node power fluctuations can be smoothed, and the grid stability can be improved. In addition, considering the component characteristics, investment costs and service life of the energy storage system, it is necessary to form a reasonable energy storage control and capacity configuration plan to better smooth the fluctuations of new energy grid connection while minimizing the comprehensive cost. It has reference value for the initial configuration and expansion of new energy electric fields and hybrid energy storage systems.

[0003] Among the existing technologies, on the one hand, the research focuses on power smoothing schemes, but fails to fully consider the characteristics of the internal components of the energy storage system and the coordinated control scheme, resulting in problems such as over-filtering. When it comes to the configuration of energy storage capacity, it often falls into local optimality and lacks a stable and reliable algorithm. On the other hand, the research object is still limited to the situation with small volatility, and it is impossible to reasonably predict and smooth the high-power fluctuation data such as offshore wind power. In addition, the applicability of the technology needs to be improved, and the inapplicability of the algorithm to different sampling data due to different data sampling frequencies has not been fully considered. Summary of the invention

[0004] In view of the defects of the prior art, the purpose of the present invention is to propose a method and system for input smoothing and capacity configuration of wind, solar and storage nodes, so as to smooth the original data of high-power fluctuations taking offshore wind power as an example, comprehensively consider the configuration cost and characteristics of the energy storage system, realize the optimal energy storage control strategy and capacity configuration plan that meets the grid-connected conditions, and improve the fluctuations of new energy grid-connected.

[0005] In order to achieve the above expected effect, the technical solution of the present invention is as follows:

[0006] A method for leveling control and capacity configuration of a wind, solar and storage node comprises the following steps:

[0007] 1) Collect the power generation data of wind, solar and storage nodes on a typical day, and smooth the intermediate data of a given interval to obtain a data set of a typical day with the intermediate data inserted;

[0008] 2) Based on the adaptive sliding average algorithm, the data set of the typical day obtained in step 1) is smoothed to obtain a smoothed data set, and the smoothed data set is subtracted from the data set of the typical day obtained in step 1) to output the amount of energy storage system to be absorbed;

[0009] 3) Based on the amount of energy storage system to be absorbed, the control strategy and state of charge of the energy storage system on a typical day are calculated using an improved second-order low-pass filtering algorithm, taking into account the loss of batteries and supercapacitors and the charging and discharging restrictions;

[0010] 4) The state of charge of a typical day is input into the improved particle swarm algorithm for iteration until the set number of iterations is reached to obtain the energy storage capacity configuration with the optimal cost under the control strategy of the typical day.

[0011] As a preferred solution of the present invention, it can also be used to adjust the energy storage capacity configuration in real time: collect real-time power generation data of new energy nodes and perform operations of steps 1)-3), obtain real-time control strategy and charge state, and adjust the energy storage capacity configuration according to the real-time control strategy.

[0012] As a preferred solution of the present invention, when collecting the power generation data of the wind, solar and storage nodes on a typical day in step 1), by comprehensively considering the solution of smoothing power fluctuations and the average power output of the nodes on that day, the k days with the highest evaluation value y within the time period specified by the historical power generation data of the wind, solar and storage nodes are selected as typical days:

[0013]

[0014] max y=c1*σ+c1*P mean

[0015] Where k is an integer greater than 1, σ is the standard deviation of the fluctuation of the smoothed power, P mean is the average power output of the node on that day, P i is the smoothed output power at the i-th time point, N is the total number of sampling points on that day, c1 and c2 are the set evaluation parameters,

[0016] As a preferred solution of the present invention, the smooth prediction of the intermediate data of a given interval in the step 1) is specifically: the features and labels of the wind, solar and storage node power generation data on a typical day are generated once at a 1-minute interval and once at a 10-second interval, and based on the obtained features and labels, a random forest model is used to smoothly predict the intermediate data of the given interval; the intermediate data of the given interval is a power prediction sequence at an interval of 1 minute and a power prediction sequence at an interval of 10 seconds.

[0017] Compared with the prior art, the present invention has the following beneficial effects:

[0018] The present invention combines all aspects of the wind-solar-storage node, namely the original power input, hybrid energy storage system control, and filtered output, and based on the control and output quantities of these links, realizes the capacity configuration link of the hybrid energy storage system, which serves as a reference for actual configuration. Specifically, the present invention combines the links of wind-solar output leveling, hybrid energy storage system control strategy, and capacity configuration strategy formulation. The entire system is logically self-consistent, and the output of each link can be used as an actual reference separately. Compared with the existing technology, it has stronger comprehensiveness and functionality.

[0019] The present invention uses adaptive sliding average filtering to smooth the original input, adaptively changes the sliding window, and limits the filter output power. Compared with traditional low-pass filtering, Kalman filtering and other methods, this algorithm has better smoothness while achieving smoothing power to match the original power, and avoids the hysteresis effect to a certain extent.

[0020] The present invention adopts the random forest model to realize the prediction of the intermediate value of the input data. Compared with the traditional scheme that directly smoothes the original data, the present scheme adds a prediction process, which enhances the applicability of different data and has a better filtering effect. The training method is simple and the time is short. After training, it can achieve smooth prediction of the intermediate data.

[0021] The present invention adopts an improved second-order low-pass filtering algorithm in the energy storage system control strategy. Compared with the traditional energy storage control algorithm, the key steps of this algorithm are adaptive filtering coefficient adjustment, energy storage power correction, battery charging and discharging time control, etc., which reduces the overall cost and prolongs the battery life.

[0022] In terms of energy storage system capacity configuration, the present invention proposes to use an improved PSO algorithm to solve the optimal configuration, and uses the idea of ​​simulated annealing to perturb and improve the movement of particles, so that particles can jump out of the local optimal solution within a certain range, basically overcoming the shortcomings of traditional particle swarm optimization and whale algorithm that are prone to fall into local optimal solutions too early.

[0023] Compared with the prior art, the present invention proposes to predict the sampling defects of the original data and obtain two series of data, namely, 10s fluctuation predicted power and 1min fluctuation predicted power, which meet the requirements of the algorithm on data structure and grid connection conditions. BRIEF DESCRIPTION OF THE DRAWINGS

[0024] Figure 1 A schematic flow chart of a method for smoothing control and capacity configuration of wind, solar and storage nodes;

[0025] Figure 2 This is a schematic diagram of the system structure of the wind, solar and storage nodes;

[0026] Figure 3It is a schematic diagram of the adaptive sliding average filtering algorithm flow;

[0027] Figure 4 To improve the flow chart of the second-order low-pass filtering algorithm;

[0028] Figure 5 It is a schematic diagram of the energy storage control strategy implementation process;

[0029] Figure 6 This is a schematic diagram of the energy storage system capacity configuration process based on simulated annealing and improved particle swarm algorithm;

[0030] Figure 7 A schematic diagram of the real-time original power, grid-connected power and smoothing power of a node in an exemplary embodiment;

[0031] Figure 8 A schematic diagram of node grid-connected power fluctuation in an exemplary embodiment;

[0032] Fig. 9 A schematic diagram of the change of the state of charge of the energy storage system in an exemplary embodiment;

[0033] Fig.10 Schematic diagram of power distribution of an energy storage system in an exemplary embodiment. DETAILED DESCRIPTION

[0034] The present invention is further described and illustrated below in conjunction with specific embodiments. The embodiments are merely exemplary of the present disclosure and do not define the scope of limitation. The technical features of each embodiment of the present invention may be combined accordingly without conflicting with each other.

[0035] like Figure 1 As shown, the method for smoothing control and capacity configuration of wind and solar nodes in the present invention includes the following steps:

[0036] 1) Collect the power generation data of new energy nodes on a typical day, and smooth the intermediate data of a given interval to obtain a data set of a typical day with the intermediate data inserted;

[0037] In a specific embodiment of the present invention, a trained random forest model is used to smoothly predict intermediate data of a given interval;

[0038] S2, based on the adaptive sliding average algorithm, the data set of the typical day obtained in step S1 is smoothed to obtain a smoothed data set, and the smoothed data set is subtracted from the data set of the typical day obtained in step S1 to output the amount of energy storage system to be absorbed; S3, for the data of the amount of energy storage system to be absorbed, under the condition of considering the loss of batteries and super capacitors and the charge and discharge restrictions, an improved second-order low-pass filtering algorithm is used to calculate the control strategy and charge state of the energy storage system on a typical day;

[0039] S4, input the charge state of the typical day into the improved particle swarm algorithm for iteration until the set iteration rounds are reached to obtain the energy storage capacity configuration with the optimal cost under the control strategy of the typical day; Figure 5 As shown, the method of the present invention can also be used to adjust the energy storage capacity configuration in real time: collect real-time new energy node power generation data and perform steps 1)-3) to obtain real-time control strategy and charge state, and adjust the energy storage capacity configuration according to the real-time control strategy.

[0040] Furthermore, the method for input smoothing and capacity configuration of wind and solar nodes is obtained by optimization, and the objective function adopted by the optimization is:

[0041] minC=ω1ΔSOC B +ω2ΔSOC SC +ω3E BN +ω4E SCN

[0042] The constraints include:

[0043] Node wind and solar grid-connected power fluctuation constraints:

[0044] ΔP o,1min (t)≤γ 1min

[0045] ΔP o,10min (t)≤γ 10min

[0046] Energy storage system smooths power constraints:

[0047] P w (t)-P o (t) = P B (t)+P SC (t)

[0048] Where C is the total cost of the energy storage system, ΔSOC B ΔSOC is the change in the battery’s state of charge in a typical day. SC is the change in the state of charge of the supercapacitor in a typical day, ω1 and ω2 are the evaluation function weights of the change in the state of charge of the battery and supercapacitor in a typical day, respectively, E BN is the rated capacity of the battery, E SCN is the rated capacity of the supercapacitor, ω3 and ω4 are the evaluation function weights of the rated capacity of the battery and supercapacitor, respectively, ΔP o,1min (t) and ΔP o,10min (t) are the power fluctuations of wind and solar grid-connected power at 1 minute and 10 minutes time scales, γ 1min and γ 10minThe maximum power fluctuation of wind and solar grid-connected power in 1 minute and 10 minutes time scales as stipulated by the state, P w (t) is the wind power or photovoltaic power generation output power at time t, P o (t) is the wind or photovoltaic power generation grid-connected power at time t, P B (t) is the power absorbed by the battery at time t, P SC (t) is the power absorbed by the supercapacitor at time t.

[0049] In an exemplary embodiment, the weight coefficients of the four evaluation functions are ω1=5000, ω2=10000, ω3=1, and ω4=30 respectively.

[0050] The random forest model trained based on the typical day sampling data of wind and solar nodes will perform two feature and label generation, random forest model training, power smoothing prediction and power output optimization modules under dual time scales, including:

[0051] The generation process of the features and labels is as follows:

[0052] features=[P w (i),P w (i+1),j]

[0053]

[0054] label=P w (i)+Δ

[0055] Among them, for a given power sequence P w and step size step, iterate each power point i (from 0 to len(P w )-2) and each sub-step j (from 1 to step-1), construct a feature array, which includes the current power P w (i), the next power P w (i+1), and sub-step ratio j. In this way, the feature set reflects the trend and timing information of power changes. The calculation of the label takes into account the difference between two consecutive power points, adjusts the distribution according to the ratio j / step, and adds random factors to simulate the uncertainty of the prediction. The generated label label is designed to capture the possible fluctuations of actual power and provide richer data details for model training.

[0056] In an exemplary embodiment, the random factor is (0.5+rand())

[0057] The random forest model is trained as follows:

[0058] model = RandomForestRegressor

[0059] model.fit(features,labels)

[0060] In an exemplary embodiment, the generated features and labels are used to train a random forest regression model with n_estimators=100, random_state=42, that is, the model is configured with 100 decision trees and the random state is fixed to 42 to ensure the repeatability of the training process. Through this training method, the model learns how to predict future power changes from features, which improves the model's prediction accuracy and stability for wind power fluctuations.

[0061] The model is applied to the prediction and smoothing of power series, specifically including two stages of power prediction:

[0062]

[0063]

[0064] Among them, T1 is the actual sampling time (min), P w1 , P w2 They are 1-minute volatility prediction sequence and 10-second volatility prediction sequence respectively.

[0065] In an exemplary embodiment, the prediction method uses the first trained model model_1min to predict the original power sequence P in the first stage. w Make a prediction and generate a sequence P with an extended length T1 times w1 In the second stage, using P w1 The second trained model model_10sec performs more fine-grained predictions and generates a sequence P with a length six times longer. w2 . Each stage includes using the model prediction for non-integer multiple time points, and directly using the corresponding values ​​of the previous sequence for integer multiple time points to achieve continuous smoothing of power output. The prediction scheme can predict the original data at different sampling time intervals by adjusting the size of T1. The model prediction and smoothing processing in these two stages significantly improve the time resolution and smoothness of power output, effectively supporting the power management and scheduling needs of wind farms.

[0066] Furthermore, the input data is smoothed based on the adaptive sliding average algorithm, and the power fluctuation amount of the random forest predicted power output under the dual time scale and the window value smoothed based on the adaptive sliding average algorithm are calculated respectively, including:

[0067] At time t0, for the power output predicted by the random forest, the power fluctuation under dual time scales is calculated:

[0068]

[0069]

[0070] The smoothing control method is a smoothing control based on an adaptive sliding average algorithm. The principle is to use the arithmetic mean of all data in a time window as the value at the next moment. The scheme adopted is:

[0071]

[0072] Where P grid is the power after smoothing, P w is the original power data predicted at fixed time intervals, N is the time window size of the adaptive sliding average algorithm, and k is the current real time. Iterate to find the optimal time window, and the optimization function used by the adaptive sliding average algorithm is:

[0073]

[0074] The constraints include:

[0075] Active power fluctuation constraint in dual time scales:

[0076] ΔP o,1min (t0)-γ 1min +d1 - -d1 + =0

[0077] ΔP o,10min (t0)-γ 10min +d2 - -d2 + =0

[0078] Energy storage system load constraints:

[0079] P B (t0)+P SC (t0)+d3 - -d3 + =0

[0080] Among them, P i P is the priority factor for multi-objective planning. i >>P i+1 , d i + ,d i - are positive and negative deviation variables of the relevant decision variables.

[0081] In an exemplary embodiment, the adaptive sliding average algorithm time window iterative optimization process example diagram is as follows Figure 3As shown, where N (i) (k) is the time window size at the kth moment and the i-th iteration, and the minimum time window value N min =25, maximum window value N max =120, the initial window value N0=30; after stabilization, the fluctuations of wind and solar grid-connected power in dual time scales are 7.96MW and 14.26MW respectively.

[0082] Furthermore, the real-time control strategy for calculating the energy storage system based on the improved second-order low-pass filtering algorithm includes:

[0083] like Figure 4 As shown, the traditional second-order filtering scheme is improved in terms of filtering conditions and filtering coefficients, and the discretized expression is calculated for the traditional second-order filtering algorithm:

[0084] U2(n)=2a*U2(n-1)-a 2 *U2(n-2)+(1-a) 2 *U0(n)

[0085] Among them, U0(n) is the input of the second-order filter model at time n, U2(n) is the output of the second-order filter model at time n, and a is the filter coefficient. In the improvement of adaptively changing the filter coefficient according to the energy storage situation, the loss coefficient C(t) is set as:

[0086]

[0087] Among them, SOC max is the maximum charge constraint, SOC start The initial state of charge during a charge or discharge, SOC end It is the final state of charge during one charge and discharge, and k1 and k2 are proportional coefficients.

[0088] Calculate the filter coefficient that affects the power absorbed by the energy storage battery:

[0089]

[0090] Among them, C(t) is the loss coefficient, RC is the resistance and capacitance coefficient of the filter, T s is the sampling time interval of the input data. In an exemplary embodiment, T s =1s, the RC filtering coefficient is 0.3.

[0091] In the improvement of the battery charge and discharge frequency limit, the minimum battery charge and discharge cycle time T is set min , when the single charge and discharge time is less than T minWhen the battery is not allowed to change the state of absorbing or emitting power, it is allowed to change the size of absorbing or emitting power at a smooth speed. At this time, the real-time power of the battery is:

[0092] P B (n) = 2a*P B (n-1)-a 2 *P B (n-2)

[0093] Among them, P B (n) is the power of the battery at time n, and a is the filter coefficient. In the improvement for avoiding overcharging and overdischarging of batteries and supercapacitors, when the energy storage system is close to the maximum and minimum state of charge, the power calculation formula is modified:

[0094]

[0095]

[0096] In an exemplary embodiment, the SOC Bmax =90%, SOC Bmin =10%, SOC SCmax =95%, SOC SCmin =5%.

[0097] Furthermore, the method for smoothing control and capacity configuration of the wind-solar-storage node selects a typical day within a given time period, including a solution that comprehensively considers the smoothing of power fluctuations and the average power output of the node on that day, and the solution is:

[0098]

[0099] Where σ is the standard deviation of the fluctuation of the smoothing power, P mean is the average power output of the node on that day, P i is the smoothed output power at the i-th time point, and N is the total number of sampling points on that day.

[0100] The evaluation scheme for the solution that comprehensively considers the power fluctuation suppression and the average power output of the node on the day is:

[0101] max(y)=c1*σ+c1*P mean

[0102] Among them, c1 and c2 are the set evaluation parameters. By selecting the k days with the highest evaluation value y in the time period corresponding to the original input data as the typical daily data set, the k days of data are respectively brought into the subsequent calculation to form a more reasonable configuration plan and verify the stability and accuracy.

[0103] In an exemplary embodiment, c1=2.0, c2=1.0.

[0104] Furthermore, the optimal cost energy storage capacity configuration is obtained by optimizing the improved particle swarm algorithm, and the optimization objective function is:

[0105]

[0106] Where C is the total cost of the energy storage system, ΔSOC B ΔSOC is the change in the battery’s state of charge in a typical day. sC is the change in the state of charge of the supercapacitor in a typical day, ω1 and ω2 are the evaluation function weights of the change in the state of charge of the battery and supercapacitor in a typical day, respectively, E BN is the rated capacity of the battery, E SCN is the rated capacity of the supercapacitor, ω3 and ω5 are the evaluation function weights of the rated capacity of the battery and supercapacitor respectively.

[0107] In an exemplary embodiment, the inertia weight ω=0.7, the acceleration factors c1=2.0, c2=2.0.

[0108] like Figure 6 As shown, the optimal cost energy storage capacity configuration based on the improved particle swarm algorithm includes initializing the particle swarm, evaluating fitness, and iterative optimization:

[0109] The initialization of the particle swarm includes initialization of particle position, velocity and initialization algorithm parameters:

[0110] The steps for initializing particle position and velocity are as follows:

[0111] First, a set of particles is randomly initialized, each particle represents a candidate solution in the problem solution space, and a two-dimensional vector specific to this method, namely, the battery capacity E BN And the supercapacitor capacity E SCN Define their positions. The velocity vector of each particle represents the current moving direction and step size. The velocity vector is consistent with the position dimension, ensuring that the particle can move freely to any area in the solution space. The initial value of the velocity is also randomly generated.

[0112] Among them, the inertia weight ω is a parameter used to control the particle speed in the improved PSO algorithm to balance the global and local search capabilities. The initialization uses a higher inertia weight ω value to keep the particles at a higher speed, making it easier to perform global search. The acceleration factor c1 is called the "cognitive factor", which makes the particles move to their own historical optimal position (pbest); the acceleration factor c2 is called the "social factor", which makes the particles move closer to the group's global optimal position (gbest).

[0113] Furthermore, in the fitness evaluation, each particle calculates the fitness at the current position based on the optimized objective function. In each iteration, the particle updates its historical best position according to the fitness of the current position, and the global best position is updated by the position of the particle with the best fitness among all particles.

[0114] In the iterative optimization, the particle's velocity v and position x are updated in each round of iteration as follows:

[0115] v i,j (t+1)=ω·v i,j (t)+c1·r1·(pbest i,j -x i,j (t))+c2·r2·(gbest j -x i,j (t))

[0116] x i,j (t+1)=x i,j (t)+v i,j (t+1)

[0117] Among them, v i,j represents the velocity of the ith particle in the jth dimension, x i,j is the corresponding position, t is the current iteration number, r1 and r2 are random numbers between 0 and 1, pbest and gbest are the personal best and global best positions respectively. In order to prevent the particle from moving too fast in the solution space, the speed is limited to the maximum value vmax to prevent the algorithm from failing to converge or missing the optimal solution.

[0118] In the iterative optimization, the simulated annealing method is introduced to provide perturbations for particles near the global optimal position, thereby improving the ability of particles to jump out of the local optimal solution. The new solution with poor fitness of each particle still has the possibility of being accepted at a certain temperature, which is expressed as:

[0119]

[0120] Among them, P is the probability of a new solution with poor fitness being accepted, and ΔE is the fitness difference between the new solution and the current solution. As the iteration proceeds, the temperature T gradually decreases, making the algorithm more stable and convergent.

[0121] Furthermore, the principle of the introduced simulated annealing method is as follows:

[0122] T=T initial α it

[0123] Among them, T initial is the set initial temperature, α is the temperature drop rate, and it is the current iteration number.

[0124] Furthermore, the optimization of the particle search space by the simulated annealing method provides perturbations for particles near the global optimal position, generates new candidate solutions, and uses an acceptance criterion to determine whether to retain the new position:

[0125] If the cost of the new position is lower than the historical optimal value of the particle, the current position and the historical optimal position of the particle are directly updated.

[0126] Otherwise, according to the acceptance probability e ((pbest_value-new_cost) / T)) Decide whether to accept a new position. The simulated annealing process can accept poor solutions and avoid falling into local optimality.

[0127] The simulation results include: the original power of the wind-solar-storage node, the grid-connected power smoothing power curve; the power curve of the hybrid energy storage system in a given time period; the charge state change curve of the energy storage system; and the optimal solution for the energy storage system configuration.

[0128] In an exemplary embodiment, the system structure of the wind-solar-storage node is as follows: Figure 2 As shown in the figure, the original power of the wind-solar-storage node and the power curve of the grid-connected power are shown in the figure. Figure 7 As shown in the figure, the schematic diagram of power fluctuation after smoothing is as follows Figure 8 As shown in Figure 2, all of them meet the constraints of new energy grid connection; the charge state change curve of the energy storage system is shown in Figure 2. Fig. 9 As shown in Figure 2, the power curve of the hybrid energy storage system in a given time period is as follows: Fig.10 As shown, it meets the basic requirements of energy storage distribution; the optimal solution for the energy storage system configuration is shown in the following table. Taking into account the system configuration margin, the configuration results of the energy storage battery and supercapacitor are taken to the maximum value, and the final configuration result is: the energy storage battery capacity is 10.8908MWh, and the supercapacitor capacity is 1.3956MWh, which is in line with the actual grid configuration.

[0129] typical day Energy storage battery capacity / MWh Supercapacitor capacity / MWh 2019.1.04 10.6071 1.1564 2019.1.05 10.6136 1.0235 2019.1.09 10.6136 1.0235 2019.1.10 9.8654 1.3956 2019.1.18 10.8908 1.0391

[0130] After given parameters such as hybrid energy storage capacity, unit capacity cost, efficiency, etc., the present invention can achieve better power smoothing and meet grid connection conditions according to the original data input; the energy storage system control strategy can comprehensively consider the cost and service life of energy storage components; the energy storage system capacity configuration has good stability and accuracy; various noises in signal transmission are better smoothed, so that the output effect is further stabilized.

[0131] The above-mentioned embodiments only express several implementation methods of the present invention, and the description is relatively specific and detailed, but it cannot be understood as limiting the scope of the present invention. For ordinary technicians in this field, several modifications and improvements can be made without departing from the concept of the present invention, which all belong to the protection scope of the present invention.

Claims

1. A method for smoothing control and capacity configuration of wind, solar and storage nodes, characterized in that: The following steps are involved: 1) Collect the power generation data of wind, solar and storage nodes on a typical day, and smooth the intermediate data of a given interval to obtain a data set of a typical day with the intermediate data inserted; 2) Based on the adaptive sliding average algorithm, the data set of the typical day obtained in step 1) is smoothed to obtain a smoothed data set, and the smoothed data set is subtracted from the data set of the typical day obtained in step 1) to output the amount of energy storage system to be absorbed; 3) Based on the amount of energy storage system to be absorbed, the control strategy and state of charge of the energy storage system on a typical day are calculated using an improved second-order low-pass filtering algorithm, taking into account the loss of batteries and supercapacitors and the charging and discharging restrictions; 4) The state of charge of a typical day is input into the improved particle swarm algorithm for iteration until the set number of iterations is reached to obtain the energy storage capacity configuration with the optimal cost under the control strategy of the typical day.

2. The method of leveling control and capacity configuration according to claim 1, characterized in that: When collecting the power generation data of the wind, solar and storage nodes on a typical day in step 1), by comprehensively considering the solution of smoothing power fluctuations and the average power output of the nodes on that day, the k days with the highest evaluation value y within the specified time period of the historical power generation data of the wind, solar and storage nodes are selected as typical days: max y=c1*σ+c1*P mean Where k is an integer greater than 1, σ is the standard deviation of the fluctuation of the smoothed power, P mean is the average power output of the node on that day, P i is the smoothed output power at the i-th time point, N is the total number of sampling points on that day, and c1 and c2 are the set evaluation parameters.

3. The method of leveling control and capacity configuration according to claim 1, characterized in that: The smooth prediction of the intermediate data of a given interval in the step 1) is specifically as follows: features and labels are generated once at 1 minute intervals and once at 10 seconds intervals for the power generation data of the wind, solar and storage nodes on a typical day, and based on the obtained features and labels, a random forest model is used to smoothly predict the intermediate data of the given interval; the intermediate data of the given interval is a power prediction sequence at 1 minute intervals and a power prediction sequence at 10 seconds intervals.

4. The method of leveling control and capacity configuration according to claim 3, characterized in that: The features and labels are: features=[P w [i],P w [i+1],j] label=P w [i]+Δ Among them, P w is the power generation data of the wind, solar and storage nodes, features is the feature array, which reflects the trend and timing information of power change, step is the step size of the power generation data of the wind, solar and storage nodes, i is the power point of the power generation data of the wind, solar and storage nodes, Δ is the uncertainty value of the prediction, which takes into account the difference between two consecutive power points and adjusts it according to the proportion j / step. A random factor 0.5+rand() is added to simulate the uncertainty of the prediction; label is the label array.

5. The method of leveling control and capacity configuration according to claim 3, characterized in that: When the random forest model is used to smoothly predict the intermediate data of a given interval, the power prediction sequence with an interval of 1 minute is predicted first, and then the power prediction sequence with an interval of 1 minute is used as the input data band for prediction to obtain a more fine-grained power prediction sequence with an interval of 10 seconds: model_1min=train_random_forest(features_1min,labels_1min) model_10sec=train_random_forest(features_10sec,labels_10sec) Among them, P w is a typical intraday sampling data set, model_1min is the 1-minute power prediction model in the random forest model, model_10sec is the 10-second power prediction model in the random forest model, train_random_forest is a function that generates a random forest model based on features and labels, features_1min is a 1-minute fluctuation feature array, labels_1min is a 1-minute fluctuation label array, features_10s is a 10-second fluctuation feature array, labels_10s is a 10-second fluctuation label array, T1 is the actual sampling time interval, P w1 , P w2 They are the power prediction sequence with an interval of 1 minute and the power prediction sequence with an interval of 10 seconds, model_1min.predict is the prediction function of the 1-minute power prediction model in the random forest model, and model_10sec.predict is the prediction function of the 10-second power prediction model in the random forest model.

6. The method of leveling control and capacity configuration according to claim 1, characterized in that: The adaptive sliding average algorithm in step 2) is: Where P o is the power after smoothing, P w is a dataset of a typical day with intermediate data inserted, N is the window value, and k is the current time.

7. The method of leveling control and capacity configuration according to claim 1, characterized in that: The improved second-order low-pass filtering algorithm in step 3) is specifically: U out (t)=2a*U out (t-1)-a 2 *U out (t-2)+(1-a) 2 *U in (t) Among them, U in (t) is the input of the second-order filter model at time t, U out (t) is the output of the second-order filter model at time t, a is the filter coefficient, SOC max is the maximum charge constraint, SOC start The initial state of charge during a charge or discharge, SOC end is the final charge state of a charge and discharge, k1 and k2 are proportional coefficients, C(t) is the loss coefficient, RC is the filter resistance and capacitance coefficient, T s is the sampling frequency of the input data.

8. The method of leveling control and capacity configuration according to claim 1, characterized in that: In step 4), the state of charge of a typical day is input into the objective function of the improved particle swarm algorithm as follows: minC=ω1ΔSOC B +ω2ΔSOC SC +ω3E BN +ω4E SCN Where C is the total cost of the energy storage system, ΔSOC B ΔSOC is the change in the battery’s state of charge in a typical day. SC is the change in the state of charge of the supercapacitor in a typical day, ω1 and ω2 are the evaluation function weights of the change in the state of charge of the battery and supercapacitor in a typical day, respectively, E BN is the rated capacity of the battery, E SCN is the rated capacity of the supercapacitor, ω3 and ω4 are the evaluation function weights of the rated capacity of the battery and supercapacitor respectively.

9. The method of leveling control and capacity configuration according to claim 6, characterized in that: The improved particle swarm algorithm includes initializing the particle swarm, fitness evaluation and iterative optimization. In the initializing particle swarm, a group of particles are randomly initialized; each particle represents a candidate solution in the problem solution space, and is calculated by the battery capacity E BN And the supercapacitor capacity E SCN Define the position of the particles; the velocity vector of each particle represents the current moving direction and step length. The velocity vector is consistent with the position dimension to ensure that the particles can move freely to any area in the solution space. The initial value of the velocity is also randomly generated. In the fitness evaluation, each particle calculates the fitness at the current position based on the optimized objective function. In each iteration, the particle updates its historical best position according to the fitness of the current position, and updates the global best position by the position of the particle with the best fitness among all particles. In the iterative optimization, the particle's velocity v and position x are updated in each iteration according to the following formula: v i,j (t+1)=w·v i,j (t)+c1·r1·(pbest i,j -x i,j (t))+c2·r2·(gbest j -x i,j (t)) x i,j (t+1)=x i,j (t)+v i,j (t+1) Among them, v i,j represents the velocity of the ith particle in the jth dimension, x i,j is the corresponding position, t represents the current iteration number, r1 and r2 are random numbers between 0 and 1, and pbest i,j and gbest j They represent the personal best and global best positions respectively, and c1 and c2 are the set coefficients.

10. The method of leveling control and capacity configuration according to claim 7, characterized in that: The improved particle swarm algorithm also introduces a simulated annealing method to enhance the ability of particles to jump out of the local optimal solution. As the iteration proceeds, the temperature T gradually decreases, making the particle swarm algorithm more stable and convergent: T=T initial ·α it Among them, P is the probability of a new solution with poor fitness being accepted, ΔE is the fitness difference between the new solution and the current solution, and T initial is the set initial temperature, α is the temperature drop rate, and it is the current iteration number.

Citation Information

Cited By

  • Method and device for stabilizing power fluctuation of tie line by electrolytic aluminum load

    CN120127705A

  • Configuration method of power grid and energy storage battery collaborative energy supply equipment for oil and gas drilling

    CN120810748A

  • A method for configuring power supply equipment for coordinated power grid and energy storage battery in oil and gas drilling

    CN120810748B

  • Wind power energy storage output power control method

    CN121485117A