Active power distribution network energy storage control method containing high-permeability new energy

By assisting new energy units in the frequency regulation and optimization control of virtual power plants, the problems of high proportion of new energy sources and large frequency change rate of the grid and insufficient frequency regulation capability are solved, and the grid frequency stability and the proportion of new energy consumption have been improved.

CN118971021AActive Publication Date: 2024-11-15HAIXI POWER SUPPLY +1

Patent Information

Application Number
CN202411017365.5
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-07-29
Publication Date
2024-11-15
Estimated Expiration
2044-07-29

AI Technical Summary

Technical Problem

The system frequency change rate of the power grid with a high proportion of new energy is too large after the failure, resulting in low-frequency load reduction protection lockout and new energy units being easily disconnected due to lightning strikes, resulting in major power outages. The existing technology has the problem of insufficient system frequency regulation capabilities.

Method used

Adopt the coordinated control strategy of energy storage assisting new energy units to participate in frequency regulation, and by establishing a comprehensive control model for energy storage to participate in peak regulating in the power grid, designing an optimization control method for virtual power plants to participate in AGC frequency regulation, and optimizing energy storage capacity in combination with optical storage systems and particle swarm algorithms Configuration to improve the frequency regulation capability of the power grid and the proportion of new energy consumption.

Benefits of technology

It effectively improves the frequency regulation capability of the power grid and the proportion of new energy consumption, reduces the occurrence of power outages, and improves the operating efficiency of the power grid and energy conservation and emission reduction benefits.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure FT_1
    Figure FT_1
  • Figure FT_2
    Figure FT_2
  • Figure FT_3
    Figure FT_3
Patent Text Reader

Abstract

The invention relates to an active power distribution network energy storage control method containing high-permeability new energy. The method comprises the steps of researching a coordination control strategy of an energy storage auxiliary new energy unit participating in primary frequency modulation; establishing a coordination control model in which the energy storage auxiliary new energy unit participates in primary frequency modulation; analyzing power response requirements of energy storage participating in power grid peak regulation and realizing capacity optimization configuration; an optimization control method for virtual power plant participation in AGC frequency modulation considering the new energy unit and the energy storage characteristics is provided; according to the invention, the new energy and the energy storage device are coordinated to improve the frequency modulation and peak regulation capabilities of the power distribution network, so that the new energy consumption proportion and economic benefits of the power distribution network are enhanced; for a power supply enterprise, improvement of the absorption capability of new energy is an embodiment of protecting the environment and fulfilling social responsibilities; the improvement of key technology research on energy storage frequency modulation and peak regulation of the high-permeability power distribution network can realize grid-connected consumption of new energy resources in the region to the maximum extent, improve energy conservation and emission reduction benefits in the region and improve the terminal electrification level.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of energy storage control of a new energy distribution network, and in particular to an active energy storage control method for a distribution network containing high-penetration new energy. Background Art

[0002] In recent years, power grids with a high proportion of renewable energy have frequently suffered major power outages after suffering faults. This is mainly due to the high proportion of renewable energy in the system, insufficient overall rotational inertia of the system, and inability to instantly provide sufficient energy support to the power grid. The excessive frequency change rate of the system leads to the locking of low-frequency load shedding protection. This causes a large amount of active power shortage to be transferred to the interconnection line, which is disconnected due to overload, eventually leading to system frequency collapse. In addition, the maximum disturbance originally set for the power grid can withstand general lightning strikes, but due to insufficient grid-related technology of renewable energy units, renewable energy units are prone to disconnection from the grid due to lightning strikes, aggravating the power shortage in the system and causing major power outages. Moreover, renewable energy units will also disconnect from the grid due to triggering frequency protection, aggravating the active power shortage of the power grid and causing long-term frequency deviation of the system. The existing renewable energy power grid has experienced accidents in which renewable energy units are accidentally disconnected from the grid after suffering a fault, mainly due to the prominent problem of insufficient system frequency regulation capacity. Therefore, it is urgently necessary to study practical and feasible energy storage efficient control and optimal configuration technologies to meet the efficient consumption of renewable energy, while improving the frequency regulation capacity and operating efficiency of the power grid. Summary of the invention

[0003] In view of the shortcomings of the prior art, the present invention provides an active distribution network energy storage control method containing high-penetration new energy, characterized in that: the active distribution network energy storage control method comprises the following steps:

[0004] Step 1: Study the coordinated control strategy of energy storage-assisted new energy units participating in primary frequency regulation;

[0005] Step 2: Establish a coordinated control model for energy storage to assist new energy units in participating in primary frequency regulation;

[0006] Step 3: Analyze the power response requirements of energy storage for grid peak regulation and achieve optimal capacity configuration;

[0007] Step 4: Propose an optimization control method for virtual power plants participating in AGC frequency regulation taking into account the characteristics of new energy units and energy storage.

[0008] Furthermore, the coordinated control strategy for the energy storage-assisted new energy units to participate in primary frequency regulation includes: a comprehensive control strategy for the energy storage-assisted new energy units to participate in system frequency regulation / peak regulation, an energy storage battery energy management strategy, and an economic analysis.

[0009] Furthermore, the comprehensive control strategy for energy storage to assist new energy units in participating in system frequency regulation / peak regulation is that the energy storage battery can work in two working modes of frequency regulation / peak regulation according to different grid frequencies; in these two modes, the control of the photovoltaic storage system includes the following three main links:

[0010] (a) The photovoltaic system adopts maximum power tracking control, and the photovoltaic storage coordinated control system detects the grid frequency and determines whether the frequency is in the frequency regulation dead zone;

[0011] (b) When the grid frequency is within the frequency regulation dead zone, the energy storage battery operates in the peak regulation mode. At this time, the charging and discharging of the energy storage battery is controlled according to the peak regulation period. When the grid frequency exceeds the frequency regulation dead zone, the energy storage battery operates in the frequency regulation mode, and the primary reference power of the energy storage battery is obtained according to the frequency offset direction.

[0012] (c) Compared with the idle capacity of the inverter, the smaller value of the two is taken as the secondary reference power of the energy storage battery, and after the maximum output constraint coefficient of the energy storage battery is optimized, it is used as the final reference power of the energy storage battery.

[0013] Furthermore, the energy management strategy of the energy storage battery is based on the comprehensive control strategy of the photovoltaic storage system participating in the frequency regulation / peak regulation of the power grid, and designs the state of charge partition of the energy storage battery and the energy management strategy of the energy storage battery in different frequency intervals;

[0014] When the state of charge of the energy storage battery is zoned, the priority of the frequency modulation mode is higher than that of the peak regulation mode. To ensure that the energy storage battery has a capacity margin for the frequency modulation mode during the peak regulation process, two situations must be considered when the state of charge of the energy storage battery is zoned: (1) Overcharging / overdischarging of the energy storage battery will damage the battery. To avoid this, the state of charge range of the energy storage battery in the frequency regulation mode is the upper limit of charging and the lower limit of discharging. The upper limit of charging is represented by SOCmin, and the lower limit of discharging is represented by SOCmax. When the charging reaches the upper limit SOCmax, charging will stop, and when the discharging reaches the lower limit SOCmin, discharging will stop.

[0015] (2) In order to ensure that the energy storage battery has a capacity margin for the frequency modulation mode in the peak modulation mode, the charging upper limit of the energy storage battery in the peak modulation mode is set to SOChigh, and the discharging lower limit is set to SOClow; and a state of charge partition diagram of the energy storage battery is obtained.

[0016] Furthermore, the economic analysis refers to:

[0017] The economic benefits of the photovoltaic power station joining the energy storage battery in the full life cycle of the energy storage battery in participating in the frequency and peak regulation of the power grid are analyzed; the additional cost of rebuilding the photovoltaic power station is:

[0018] C=C 1 +C 2 +C3 -C 4 (1)

[0019] In the formula: C is the total cost of the photovoltaic and energy storage combined system; C1 is the initial cost of rebuilding the photovoltaic power station; C2 is the operation and maintenance cost of the energy storage battery; C3 is the loss cost caused by the efficiency of the energy storage battery; C4 is the residual value of the power station;

[0020] The energy storage converter installed during the initial construction can still be used after the battery cycle life ends, so the initial cost only considers the capacity cost of the energy storage battery, that is,

[0021]

[0022] In the formula, k1 is the unit capacity cost; E is the energy storage battery capacity; k2 is the unit capacity energy storage battery operation and maintenance cost; E′ is the cumulative value of the charge and discharge amount of the energy storage battery during its entire life cycle, that is,

[0023] E′=E×(SOC max -SOC min )×2n (3)

[0024] Where: n is the number of cycles in the entire life cycle of the energy storage battery;

[0025] C3 is the loss cost caused by the efficiency of the energy storage battery, that is:

[0026]

[0027] In the formula: k3 is the photovoltaic grid-connected electricity price; η is the charging and discharging efficiency of the energy storage battery;

[0028] C4 is the residual value of the power station, that is:

[0029] C 4 =k 4 ×C 1 (5)

[0030] Where: k4 is the recovery value coefficient of the energy storage battery after service:

[0031] The benefits of adding energy storage batteries are:

[0032] R=R 1 +R 2 +R 3 (6)

[0033] Where: R is the total revenue increased after adding energy storage batteries; R1 is the compensation revenue obtained by the photovoltaic storage system participating in frequency regulation; R2 is the compensation revenue obtained by the photovoltaic storage system participating in peak regulation; R3 is the additional electricity sales revenue obtained when all photovoltaic output is connected to the grid compared with the photovoltaic load reduction mode;

[0034]

[0035] In the formula: k5 is the compensation price per unit energy for frequency regulation; E″ is the cumulative value of the amount of action involved in frequency regulation during the entire life cycle of the energy storage battery; k6 is the compensation price per unit energy for peak regulation; E′ 2 It is the accumulated value of the peak load action of the energy storage battery during its whole life cycle;

[0036] Let the accumulated value of the peak load and frequency regulation actions of the energy storage battery in a typical day within 24 hours be E″, then the number of days in the full life cycle of the energy storage battery is

[0037]

[0038] The additional revenue from connecting all photovoltaic power to the grid is

[0039] R 3 =Epv×33%×k 3 ×t (9)

[0040] Where: Epv is the total energy generated by photovoltaic power generation in the maximum power point operation mode for 24 hours on a typical day.

[0041] Furthermore, in step 2, a coordinated control model for energy storage-assisted new energy units to participate in primary frequency regulation is established; the energy storage converter and its control system are numerically modeled, and then an active distribution network simulation model containing high-penetration new energy is established, and a coordinated control model for new energy units and energy storage to participate in frequency regulation is constructed, and the dynamic response performance of the energy storage device when the photovoltaic output fluctuates or the load fluctuates rapidly is analyzed, and the frequency regulation effect of the energy storage device under different load levels and different operating conditions is analyzed;

[0042] Mathematical model of peak-shaving mode of energy storage battery: In peak-shaving mode, the charging and discharging time of energy storage battery is in hours, so the energy storage battery can adopt a smaller power for charging and discharging according to its own capacity, so as to prolong the service life of the energy storage battery; in actual engineering, when the state of charge constraint is not considered, 0.3 times the rated power of the energy storage battery is usually set as the primary reference power for charging and discharging in peak-shaving mode; according to the instructions of the dispatching center, on the premise of ensuring that the energy storage battery is not overcharged / over-discharged, a certain capacity margin is reserved for the frequency regulation mode of the energy storage battery; therefore, the primary reference power and state of charge constraint of the energy storage battery in peak-shaving mode are set as:

[0043]

[0044] Where: P e ' ss is the primary reference power of the energy storage battery, Pe is the rated power of the energy storage battery; the discharge is specified to be in the positive direction;

[0045] Mathematical model of frequency modulation mode of energy storage battery: After the grid frequency exceeds the frequency modulation dead zone, the energy storage battery operates in the frequency modulation mode; the frequency modulation mode requires the energy storage battery to absorb or emit as much power as possible in a short period of time to support the grid frequency. Therefore, the energy storage battery is set to charge and discharge at rated power in the frequency modulation mode; on the premise of not overcharging / overdischarging, the energy storage battery is charged and discharged according to the offset direction of the grid frequency, and the primary reference power and charge state constraints of the energy storage battery in the frequency modulation mode are set as follows:

[0046]

[0047] Where: f is the grid frequency detected by the system, △f = f-50;

[0048] Design of maximum output constraint of energy storage battery based on SOC feedback: When energy storage battery responds to the frequency regulation / peak regulation demand of power grid, if it is charged and discharged at constant power, it will cause the energy storage battery to be unable to be fully charged or fully released, thus wasting the capacity of energy storage battery and causing economic losses. Therefore, a reasonable maximum output constraint coefficient of energy storage battery should be designed, expressed as λ SOC It means that the energy storage battery can participate in the frequency regulation / peak regulation of the power grid with variable charging and discharging power;

[0049] (a) When the state of charge of the energy storage battery is high, that is, SOC>50%, according to P" ess Discharge, P" ess is the secondary reference power of the energy storage battery; when the energy storage battery is discharged to a low state of charge, that is, SOC < 50%, in order to fully utilize the energy storage battery capacity and avoid over-discharge, the energy storage battery is charged with P" ess Multiply by a lambda less than 1 SOC Discharge is performed, and λ SOC It gets smaller as the state of charge decreases;

[0050] (b) When the state of charge of the energy storage battery is low, that is, SOC < 50%, according to P" ess When the state of charge of the energy storage battery is high, that is, SOC>50%, in order to fully utilize the capacity of the energy storage battery and avoid overcharging, the energy storage battery is charged at P″ ess s multiplied by a lambda less than 1 SOC Charging, and SOC It decreases with the increase of state of charge; under the charge and discharge state, λ SOC As shown in formula (12) and formula (13):

[0051] In charging state, there are

[0052]

[0053] In the discharge state, there are

[0054]

[0055] Where: SOC is the maximum output constraint coefficient of the energy storage battery, and SOC represents the state of charge of the energy storage battery;

[0056] The final reference power and state of charge constraint relationship of the energy storage battery is:

[0057] P ess =P″ ess ×λ SOC (14)

[0058] Where: P ess It is the final reference power of the energy storage battery;

[0059] In summary, when the output of the energy storage battery is optimized with the above maximum output constraint coefficient, it can ensure that the energy storage battery has the ability to respond quickly, while fully utilizing the capacity of the energy storage battery and avoiding overcharging / over-discharging of the energy storage battery, thereby extending the service life of the energy storage battery.

[0060] Furthermore, the power response requirements of energy storage participating in the peak load regulation of the power grid and the optimal capacity configuration are analyzed by clustering the typical daily load curves and daily renewable energy generation curves of different seasons to form the "duck" curve of the power grid; typical lines are selected, and the structure, renewable energy installed capacity and user distribution based on the actual line are calculated and analyzed to establish a distribution network simulation model;

[0061] According to the ramp speed and minimum output level of conventional units and the flow restriction constraints of the interconnection line, a capacity optimization configuration method for energy storage participating in peak regulation based on the particle swarm algorithm is proposed; among them, the peak, valley and flat period division strategy is as follows; the traditional peak, valley and flat period division often only considers the peak, valley and flat membership of the load, but considering the large-scale consumption of new energy, it is necessary to comprehensively consider the contribution of user load demand and new energy consumption to the peak-valley difference of the "duck curve" in different time periods, so an improved peak-valley membership function is used to calculate the peak-valley-flat membership at each moment, as shown in the following formula:

[0062]

[0063] Wherein: uft is the peak membership of the "duck curve"; ugt is the valley membership of the "duck curve"; L(t) is the user load at time t; max(L) and min(L) are the load peak and valley values, respectively; Lc(t) is the output of new energy at time t; max(Lc) and min(Lc) are the maximum and minimum output of new energy, respectively; μ1 and μ2 are the weights of the user load part in the calculation of peak and valley membership, respectively;

[0064] In formula (15), the greater the peak membership of a moment, the greater the possibility that it belongs to the peak period; the greater the valley membership, the greater the possibility that it belongs to the valley period. Therefore, the time period to which the moment belongs is divided by determining the peak valley membership threshold

[0065]

[0066] Where: Tf, Tp, Tg are peak, flat and valley time periods respectively; m1 is the peak membership threshold; m2 is the valley membership threshold.

[0067] 1) Optimize the model

[0068] Taking into account both frequency regulation effect and economic benefits, the site selection and capacity configuration of energy storage are optimized; the upper-level planning takes the location capacity of new energy units and energy storage devices, network loss costs and frequency fluctuations as the comprehensive optimal objective function, and the lower-level planning takes into account the climbing speed and output level as well as the flow limit constraints and controllable phase shifter switching mode on this basis; the K-means clustering method is used to reduce the scenarios, and the harmony search algorithm and particle swarm algorithm are combined to jointly solve the model.

[0069] The two-layer programming model is a system optimization model with a two-layer hierarchical structure; the upper model in this embodiment is used to determine the configuration mode of reactive power compensation, and the lower model solves the optimal system operation mode that meets the constraints based on the upper model.

[0070] The upper-level planning objective function is:

[0071]

[0072] Where n is the number of network branches; Ui,t and Uj,t are the voltage amplitudes of nodes i and j at time period t respectively; Gij, Bij, □ij are the conductance, susceptance and phase difference between nodes i and j respectively.

[0073]

[0074] In the formula, is the switching cost of the parallel capacitor bank, is the power spring action cost; SCB , ES are the weight coefficients of voltage regulation cost of SCB and ES respectively, and Nc is the node in the network where reactive compensation device is installed.

[0075]

[0076] Where N is the total number of nodes in the distribution network, and Ui is the actual voltage at node i.

[0077] The constraints include:

[0078] Power flow equation constraints

[0079]

[0080] Where n is the number of network branches; Pi and Qi are the active power and reactive power injected into each node respectively.

[0081] ②Control variable constraints

[0082] U i,min ≤U i ≤U i,max

[0083]

[0084]

[0085]

[0086] U i,max and U i,min are the upper and lower limits of the voltage at node i, respectively; is the number of capacitor groups reserved for quasi-steady-state reactive backup, and Qmin and Qmax are the minimum and maximum values ​​of the node reactive compensation capacity.

[0087] 2) Model solution

[0088] a. Solving the upper model

[0089] The harmony search algorithm originates from the simulation of achieving the best performance effect by harmonizing notes in music performance. The harmony search algorithm has the advantages of novel solution method, easy to understand, strong robustness, etc., and is widely used in various fields; the steps of the harmony search algorithm are as follows:

[0090] ①Determine the parameters of the harmony search algorithm;

[0091] ② Initialize the harmony memory HM;

[0092] ③ Randomly select a new solution in HM with probability HMCR, otherwise randomly select a new solution outside HM with probability 1-HMCR. If a new solution is selected in HM, it is necessary to locally perturb the new solution with probability PAR, and the perturbation variable is bw;

[0093] ④Update HM;

[0094] ⑤ Determine whether the end condition is met. If it is met, output the result; if it is not met, repeat steps ③ and ④;

[0095] The improved harmony search algorithm is used, that is, PAR and bw are dynamically adjusted using equations (17) and (18); the improved harmony search algorithm is conducive to global search in the early stage of iteration and refined search in the later stage of iteration;

[0096] b. Solving the lower model

[0097] Particle swarm optimization (PSO) algorithm is an intelligent optimization algorithm that simulates the foraging behavior of bird flocks. Each particle in PSO is a candidate solution. PSO is composed of three elements: speed, position and fitness value. Since particle swarms are prone to fall into local optimal solutions in the later stage, a particle swarm algorithm combining improved weights and immune algorithms is used to change the weight coefficient from a constant to a linearly decreasing one. Inspired by the immune algorithm, in the iterative process of particle swarm solution, the better first N solutions are saved as the optimal value, the population is injected, the particle type in the population is updated, and the possibility of the population finding the optimal solution is increased.

[0098] Furthermore, the optimization control method for the virtual power plant with new energy units and energy storage characteristics to participate in AGC frequency modulation is: wind, light and other new energy units have effectively solved the problem of the decreasing traditional fossil energy with their clean and efficient grid-connected operation. With the increase in the penetration rate of new energy units, the volatility and uncertainty brought about by the imbalance between supply and demand on the source and load side will lead to the gradual deterioration of wind and light abandonment, and even cause system operation instability; after the energy storage battery is connected to the smart distribution network, it has the advantages of peak shaving and valley filling, and improving the quality of electric energy. Reasonable regulation of energy storage capacity can effectively improve the above phenomenon. The virtual power plant uses advanced information technology and control technology to attract and aggregate various types of distributed energy to participate in grid dispatching and power market transactions. By optimizing the output of distributed energy, it provides a more stable output and can participate in grid operation as a special power plant; it mainly includes the construction of wind, light and storage models and the optimization method based on improved genetic algorithms.

[0099] Furthermore, the construction of the wind-solar-storage model includes the following:

[0100] a. Wind power output probability model

[0101] The actual output Pw of the wind turbine is affected by the change of wind speed, and its output probability model can be expressed as:

[0102]

[0103] In the formula: Pr represents the rated power of the fan; vpi and vpo represent the cut-in and cut-out wind speeds respectively; vr represents the rated wind speed.

[0104] In most areas, wind speed approximately obeys the two-parameter Weibull distribution, and its probability model can be expressed as:

[0105]

[0106] Where: v represents the real-time wind speed; k represents the shape parameter; c represents the scale parameter.

[0107] b. Photovoltaic output probability model

[0108] In a certain period of time, the change of light intensity approximately follows the Beta distribution, and its probability model can be expressed as

[0109]

[0110] Where: represents the light intensity; φ and δ represent shape parameters; Γ represents the Gramma function.

[0111] The actual output of photovoltaic (PV) is affected by changes in light intensity, and its output probability model is:

[0112]

[0113] Where: P l(t) represents the output power of the light intensity at the t moment; G(t) represents the surface temperature of the PV power generation system at the t moment; θ represents the temperature coefficient; lste, Gste and Pste represent the light intensity, PV power generation system temperature and maximum output power under the standard test environment respectively.

[0114] c. Energy storage battery charging and discharging probability model

[0115] The energy storage is a sodium-sulfur battery with high efficiency and large capacity. According to its principle analysis, the power difference at time t can be expressed as

[0116]

[0117] Where: ΔPESB(t) represents the source-load supply-demand difference at the tth moment; Pload(t) represents the load demand at the tth moment; PDG_y represents the output power of the yth type DG at the tth moment. If ΔPESB(t) is greater than 0, the energy storage is in a discharging state; if ΔPESB(t) is less than 0, the energy storage is in a charging state, and the corresponding stored energy at the tth moment can be expressed as

[0118] (28)

[0120] Where: EESB(t) represents the stored energy at the tth moment; ζ represents the energy storage charging efficiency, and its value range is [0.7, 0.9].

[0121] d. Optimal dispatch model based on virtual power plant and time-of-use electricity price

[0122] In order to solve the volatility problem of wind and solar power generation and the economic problem of power grid operation, a two-stage optimization dispatch model was established, in which new energy units and energy storage were considered as virtual power plants. The first stage was the optimization of virtual power plant output, which comprehensively considered the volatility problem of wind power and photovoltaic power generation, absorbed the fluctuation component through energy storage devices, and transferred the smoothed virtual power plant output to the second stage of power grid economic optimization. The original output of photovoltaic and wind turbines was a known condition, the minimum output fluctuation of the virtual power plant was the objective function, and the charging and discharging of energy storage batteries was used as the control strategy. The most important constraint was the power balance constraint, that is, to meet the active power demand under different active power response requirements:

[0123] P G (t)+P WT (t)+P PV (t)-P ES (t)-P L (t)=0 (29)

[0124] Where: PG(t) is the sum of the active power of all thermal power generating units in the system during period t; PWT(t) is the active power of wind power during period t; PPV(t) is the active power of photovoltaic power generation during period t; PES(t) is the charge and discharge power of the energy storage device during period t, where positive time indicates charging, and PL(t) is the load power. Under this premise, an optimization scheduling model based on virtual power plants and time-of-use electricity prices is established, which is divided into two types:

[0125] The first one: Virtual power plant output optimization model

[0126] ①Objective function

[0127] The optimization objective function of the virtual power plant is to minimize the output fluctuation of the virtual power plant:

[0128]

[0129] Where: F1 is the volatility index of the virtual power plant output; PVPP.t is the active power of the virtual power plant in period t; PVPP.AV is the average value of the active power of the virtual power plant in the entire dispatching cycle.

[0130]

[0131] Where: PW(t) is the active power of wind power in period t; Pl(t) is the active power of photovoltaic power in period t; EESB(t) is the active power of energy storage device charging and discharging.

[0132] ②Constraints

[0133] Energy storage device constraints are divided into energy storage charging and discharging power limits and remaining capacity limits; the charging and discharging power limits are as follows:

[0134] |EESB (t)|≤E ESB.max (32)

[0135] Where: EESB(t) is the charging and discharging active power of the energy storage device in period t; EESB.max is the maximum charging and discharging active power of the energy storage device;

[0136] The remaining capacity is limited to:

[0137] S min ≤S OC (t)≤S max (33)

[0138] Where: Soc(t) is the remaining capacity of the energy storage device in period t; Smin is the minimum allowable remaining capacity of the energy storage device; Smax is the maximum allowable remaining capacity of the energy storage device;

[0139] Wind power and photovoltaic output constraints

[0140]

[0141] Where: PW(t) is the actual active power of the wind farm in period t; PWf(t) is the predicted active power of the wind farm in period t. Pl(t) is the actual active power of the photovoltaic power plant in period t; Pl.f(t) is the predicted active output of the photovoltaic power plant in period t.

[0142] Second: Power Grid Economic Optimization Model

[0143] In the power grid economic optimization stage, the objective function is to minimize the total cost of system operation. Given the optimized output of the virtual power plant, the power load curve and the operating parameters of each thermal power unit, the optimal output of each thermal power unit is calculated.

[0144] ①Objective function

[0145] In order to achieve safe and economical operation of each component of the power grid, the objective function of the economic optimization stage of the power grid is to minimize the operating cost of the entire system; wind power and photovoltaic power are renewable energy sources that do not consume primary energy and have low operating costs for power generation, so their power generation costs and environmental costs can be ignored. At the same time, in order to encourage the development of renewable energy, certain penalty fees are added to the system for abandoning wind and light; time-of-use electricity prices guide users to change their electricity usage time through electricity prices, and their dispatch costs can be ignored. Therefore, the economic dispatch objective function of the power grid is:

[0146]

[0147] Where: F2 is the operating cost of the entire system; CG.t, CSR.t, Cnew.t, and CES.t are the thermal power generation cost, spinning reserve cost, renewable energy removal penalty, and energy storage device depreciation cost of the system in period t, respectively.

[0148] ②Constraints

[0149] The climbing power constraint of thermal power unit is:

[0150]

[0151] Where: Pi(t-1) is the active power of unit i in period t-1; Ri up is the maximum rising power of thermal power unit i in a single period; Ri down is the maximum falling power of thermal power unit i in a single period.

[0152] Furthermore, the optimization method based on the improved genetic algorithm

[0153] Genetic algorithm originated from computer simulation research on biological systems. It is a random global search and optimization method developed by imitating the biological evolution mechanism in nature, drawing on Darwin's theory of evolution and Mendel's genetic theory. Its essence is an efficient, parallel, global search method that can automatically acquire and accumulate knowledge about the search space during the search process, and adaptively control the search process to obtain the best solution;

[0154] For the first stage of virtual power plant output optimization, the minimum fluctuation is taken as the objective function, and its charging and discharging strategy is determined when the energy storage capacity configuration is determined;

[0155] For the second stage, the optimal economic dispatching efficiency of the power grid is taken as the objective function. Under the premise that the thermal power units meet the ramp requirements, the maximum output of the new energy units and the energy storage units is taken as the optimization variable for solution.

[0156] The beneficial effects of the present invention are:

[0157] The present invention solves the problem that due to the high proportion of new energy in the system, the overall rotational inertia of the system is insufficient, and it is impossible to instantly provide sufficient energy support to the power grid, and the frequency change rate of the system is too large, resulting in the low-frequency load reduction protection being locked; this causes a large amount of active power shortage to be transferred to the interconnection line, and the interconnection line is disconnected due to overload, which eventually leads to the system frequency collapse; in addition, the maximum disturbance amount originally set for the power grid can withstand general lightning strikes, but due to insufficient grid-related technology of new energy units, new energy units are easily disconnected from the grid due to lightning strikes, aggravating the power shortage in the system and causing major power outages; and new energy units will also be disconnected from the grid due to triggering frequency protection, aggravating the active power shortage of the power grid and causing long-term frequency deviation of the system; the existing new energy power grid has an accident in which new energy units are accidentally disconnected from the grid after a fault, mainly because of the problem of insufficient system frequency regulation capability;

[0158] The present invention improves the frequency regulation and peak regulation capabilities of the distribution network by coordinating new energy and energy storage devices, thereby enhancing the new energy consumption ratio and economic benefits of the distribution network; for power supply companies, improving the new energy consumption capacity is a reflection of protecting the environment and fulfilling social responsibilities; the improvement of key technology research on energy storage frequency regulation and peak regulation in high-penetration distribution networks can maximize the grid-connected consumption of new energy resources in the region, improve the energy conservation and emission reduction benefits in the region, accelerate the transformation of the energy supply side, and improve the level of terminal electrification. BRIEF DESCRIPTION OF THE DRAWINGS

[0159] Figure 1 A comprehensive control strategy diagram for frequency modulation / peak modulation of the system of the present invention;

[0160] Figure 2 is the maximum output constraint coefficient of the energy storage battery of the present invention;

[0161] Figure 3 This is the line diagram of Dongchengpu 511 in the embodiment of the present invention;

[0162] Figure 4 This is a typical daily load curve of Dongchengpu 511 Line in an embodiment of the present invention;

[0163] Figure 5 It is a calculation flow chart of the hybrid solution algorithm of the present invention;

[0164] Figure 6 This is a flow chart of the optimization method based on the improved genetic algorithm of the present invention. DETAILED DESCRIPTION

[0165] Embodiment 1, as Figure 1-6As shown, the present invention provides an active distribution network energy storage control method containing high-penetration new energy, including studying the coordinated control strategy of energy storage assisting new energy units to participate in primary frequency regulation; establishing a coordinated control model of energy storage assisting new energy units to participate in primary frequency regulation; analyzing the power response requirements of energy storage participating in grid peak regulation and realizing capacity optimization configuration; proposing an optimization control method for virtual power plants participating in AGC frequency regulation taking into account the characteristics of new energy units and energy storage; specifically:

[0166] 1) Comprehensive control strategy for energy storage to assist new energy units in participating in system frequency regulation / peak regulation;

[0167] Depending on the grid frequency, the energy storage battery can operate in two working modes: frequency regulation and peak regulation. In these two modes, the control of the photovoltaic storage system includes three main links: (a) The photovoltaic system adopts maximum power point tracking (MPPT) control, and the photovoltaic storage coordinated control system detects the grid frequency and determines whether the frequency is in the frequency regulation dead zone. (b) When the grid frequency is in the frequency regulation dead zone, the energy storage battery operates in the peak regulation mode. At this time, the charging and discharging of the energy storage battery is controlled according to the peak regulation period; when the grid frequency exceeds the frequency regulation dead zone, the energy storage battery operates in the frequency regulation mode, and the primary reference power of the energy storage battery is obtained according to the frequency deviation direction. (c) Compared with the idle capacity of the inverter, the smaller value of the two is taken as the secondary reference power of the energy storage battery, and the final reference power of the energy storage battery is obtained after the maximum output constraint coefficient of the energy storage battery is optimized.

[0168] 2) Energy management strategy of energy storage battery

[0169] Based on the comprehensive control strategy of the photovoltaic storage system participating in the frequency regulation / peak regulation of the power grid, the charge state zoning of the energy storage battery and the energy management strategy of the energy storage battery in different frequency ranges are designed.

[0170] Energy storage battery state of charge partitioning: In the control strategy proposed in this paper, the frequency modulation mode has a higher priority than the peak shaving mode. In order to ensure that the energy storage battery has a capacity margin for the frequency modulation mode during the peak shaving process, two situations must be considered when partitioning the state of charge of the energy storage battery: (1) Overcharging / overdischarging of the energy storage battery will damage the battery. To avoid this, the state of charge interval of the energy storage battery in the frequency modulation mode is (SOCmin, SOCmax). When the charging reaches the upper limit SOCmax, it will no longer be charged, and when the discharging reaches the lower limit SOCmin, it will no longer be discharged. (2) In order to ensure that the energy storage battery has a capacity margin for the frequency modulation mode in the peak shaving mode, the upper limit of charging of the energy storage battery in the peak shaving mode is set to SOChigh, and the lower limit of discharging is set to SOC1ow. The energy storage battery state of charge partitioning is obtained as follows: Figure 3 shown.

[0171] 3) Economic analysis

[0172] The economic benefits of the photovoltaic power station and the energy storage system participating in the frequency and peak regulation of the power grid during the entire life cycle of the energy storage battery are analyzed. The additional cost of rebuilding the photovoltaic power station is

[0173] C=C 1 +C 2 +C 3 -C 4 (1)

[0174] In the formula: C is the total cost of the photovoltaic and energy storage combined system; C1 is the initial cost of rebuilding the photovoltaic power station; C2 is the operation and maintenance cost of the energy storage battery; C3 is the loss cost caused by the efficiency of the energy storage battery; C4 is the residual value of the power station.

[0175] The energy storage converter installed during the initial construction can still be used after the battery cycle life ends, so the initial cost only considers the capacity cost of the energy storage battery, that is,

[0176]

[0177] In the formula, k1 is the unit capacity cost; E is the energy storage battery capacity; k2 is the unit capacity energy storage battery operation and maintenance cost; E′ is the cumulative value of the charge and discharge amount of the energy storage battery during its entire life cycle, that is,

[0178] E′=E×(SOC max -SOC min )×2n (3)

[0179] Where: n is the number of cycles in the entire life cycle of the energy storage battery (one cycle includes one charge and one discharge).

[0180] C3 is the loss cost caused by the efficiency of the energy storage battery, that is

[0181]

[0182] Where: k3 is the photovoltaic grid-connected electricity price; η is the charging and discharging efficiency of the energy storage battery.

[0183] C4 is the residual value of the power station, that is

[0184] C 4 =k 4 ×C 1 (5)

[0185] In the formula: k4 is the recovery value coefficient of the energy storage battery after the end of its service life.

[0186] The benefits of adding energy storage batteries are

[0187] R=R 1 +R 2 +R 3(6)

[0188] In the formula: R is the total revenue increased after adding the energy storage battery; R1 is the compensation revenue obtained by the photovoltaic storage system participating in frequency regulation; R2 is the compensation revenue obtained by the photovoltaic storage system participating in peak regulation; R3 is the additional electricity sales revenue obtained when all photovoltaic output is connected to the grid compared with the photovoltaic load reduction mode.

[0189]

[0190] In the formula: k5 is the compensation price per unit energy for frequency regulation; E″ is the cumulative value of the amount of action involved in frequency regulation during the entire life cycle of the energy storage battery; k6 is the compensation price per unit energy for peak regulation; E′ 2 It is the accumulated value of the peak load action of the energy storage battery during its entire life cycle.

[0191] In the calculation example, the frequency modulation power of the photovoltaic storage combined system is 10MW. If the photovoltaic power station participates in the system frequency modulation by reducing the load, the photovoltaic power station should reserve 10MW photovoltaic output. However, considering the income of the photovoltaic power station, the load reduction rate of the photovoltaic power station is set to 33%. Since the frequency modulation capability of the photovoltaic power station is related to the photovoltaic output, that is, when the photovoltaic power station reaches full power, the photovoltaic power station has a frequency modulation capability of 10MW. In the photovoltaic storage combined system, the photovoltaic power station always operates at the maximum power point, and the electricity generated by the photovoltaic power station is finally connected to the grid except for the loss.

[0192] Let the accumulated value of the peak load and frequency regulation actions of the energy storage battery in a typical day within 24 hours be E″, then the number of days in the full life cycle of the energy storage battery is

[0193]

[0194] The additional revenue from connecting all photovoltaic power to the grid is

[0195] R 3 =E pv ×33%×k 3 ×t (9)

[0196] Where: Epv is the total energy generated by photovoltaic power generation in the maximum power point operation mode for 24 hours on a typical day.

[0197] (2) Establish a coordinated control model for energy storage to assist new energy units in participating in primary frequency regulation

[0198] Numerical modeling of energy storage converters and their control systems is conducted to establish a simulation model of active distribution networks with high penetration of new energy sources and a coordinated control model of frequency regulation involving new energy units and energy storage. The dynamic response performance of energy storage devices is analyzed when photovoltaic output fluctuates or loads fluctuate rapidly; the frequency regulation effect of energy storage devices is analyzed under different load levels and different operating conditions (including daytime and nighttime conditions).

[0199] Mathematical model of peak-shaving mode of energy storage battery: In peak-shaving mode, the charging and discharging time of energy storage battery is in hours. Therefore, the energy storage battery can adopt a smaller power for charging and discharging according to its own capacity, so as to extend the service life of the energy storage battery. In actual engineering, when the state of charge constraint is not considered, 0.3 times the rated power of the energy storage battery is usually set as the primary reference power for charging and discharging in peak-shaving mode. According to the instructions of the dispatching center, on the premise of ensuring that the energy storage battery is not overcharged / over-discharged, a certain capacity margin is reserved for the frequency modulation mode of the energy storage battery. Therefore, the primary reference power and state of charge constraint of the energy storage battery in peak-shaving mode are set as:

[0200]

[0201] Where: P′ ess is the primary reference power of the energy storage battery, Pe is the rated power of the energy storage battery; the discharge is specified to be in the positive direction.

[0202] Mathematical model of frequency modulation mode of energy storage battery: After the grid frequency exceeds the frequency modulation dead zone, the energy storage battery operates in frequency modulation mode. The frequency modulation mode requires the energy storage battery to absorb or emit as much power as possible in a short period of time to support the grid frequency. Therefore, the energy storage battery is set to charge and discharge at rated power in the frequency modulation mode. Under the premise of not overcharging / overdischarging, the energy storage battery is charged and discharged according to the offset direction of the grid frequency. The primary reference power and charge state constraints of the energy storage battery in the frequency modulation mode are set as follows (f is the grid frequency detected by the system, Δf = f-50):

[0203]

[0204] Design of maximum output constraint of energy storage battery based on SOC feedback: When energy storage battery responds to the frequency regulation / peak regulation demand of power grid, if it is charged and discharged at constant power, it will cause the energy storage battery to be unable to be fully charged or fully released, thus wasting the capacity of energy storage battery and causing economic losses. Therefore, a reasonable maximum output constraint coefficient λ of energy storage battery should be designed. SOC (λ SOC is the maximum output constraint coefficient of the energy storage battery), so that the energy storage battery can participate in the frequency regulation / peak regulation of the power grid with changing charging and discharging power. (a) When the state of charge of the energy storage battery is high (SOC>50%), according to P″ ess (P″ ess is the secondary reference power of the energy storage battery), and discharges; when the energy storage battery is discharged to a low state of charge (SOC < 50%), in order to fully utilize the energy storage battery capacity and avoid over-discharge, the energy storage battery is discharged at P″ ess Multiply by a lambda less than 1 SOC Discharge is performed, and λ SOCAs the state of charge decreases, it becomes smaller. (b) When the state of charge of the energy storage battery is low (SOC<50%), according to P″ ess When the state of charge of the energy storage battery is high (SOC>50%), in order to fully utilize the capacity of the energy storage battery and avoid overcharging, the energy storage battery is charged at P″ ess s multiplied by a lambda less than 1 SOC Charging, and SOC It decreases with the increase of state of charge. Under the charge and discharge state, λ SOC As shown in formula (12), formula (13) and Figure 2 As shown:

[0205] In charging state, there are

[0206]

[0207] In the discharge state, there are

[0208]

[0209] The final reference power of the energy storage battery and the state of charge constraint relationship are (P ess is the final reference power of the energy storage battery)

[0210] P ess =P″ ess ×λ SOC (14)

[0211] In summary, when the output of the energy storage battery is optimized with the above maximum output constraint coefficient, it can ensure that the energy storage battery has the ability to respond quickly, while fully utilizing the capacity of the energy storage battery and avoiding overcharging / over-discharging of the energy storage battery, thereby extending the service life of the energy storage battery.

[0212] (3) Analyze the power response requirements of energy storage for grid peak regulation and achieve capacity optimization configuration

[0213] The typical daily load curves and daily renewable energy generation curves in different seasons are obtained through clustering to form the "duck" curve of the power grid. Typical lines are selected to calculate and analyze the structure of the actual lines, renewable energy installed capacity and user distribution, and a distribution network simulation model is established. Typical lines such as Figure 3 shown.

[0214] By analyzing the daily load curves in summer (August 4), winter (December 27) and the lowest load level (July 11), the "duck curve" is derived and the initial peak, valley and flat period is determined based on its new energy output data, consumption data and load data. Figure 4 ;

[0215] According to the ramp speed and minimum output level of conventional units and the flow restriction constraints of the interconnection line, a capacity optimization configuration method for energy storage participating in peak regulation based on the particle swarm algorithm is proposed; among them, the peak, valley and flat period division strategy is as follows; the traditional peak, valley and flat period division often only considers the peak, valley and flat membership of the load, but considering the large-scale consumption of new energy, it is necessary to comprehensively consider the contribution of user load demand and new energy consumption to the peak-valley difference of the "duck curve" in different time periods, so an improved peak-valley membership function is used to calculate the peak-valley-flat membership at each moment, as shown in the following formula:

[0216]

[0217] Wherein: uft is the peak membership of the “duck curve”; ugt is the valley membership of the “duck curve”; L(t) is the user load at time t; max(L) and min(L) are the load peak and valley values, respectively; Lc(t) is the new energy output at time t; max(Lc) and min(Lc) are the maximum and minimum values ​​of the new energy output, respectively; μ1 and μ2 are the weights of the user load part in the peak and valley membership calculations, respectively.

[0218] In formula (15), the greater the peak membership of a moment, the greater the possibility that it belongs to the peak period; the greater the valley membership, the greater the possibility that it belongs to the valley period. Therefore, the time period to which the moment belongs is divided by determining the peak valley membership threshold

[0219]

[0220] Where: Tf, Tp, Tg are peak, flat and valley time periods respectively; m1 is the peak membership threshold; m2 is the valley membership threshold.

[0221] 1) Optimize the model

[0222] Taking into account both frequency regulation effect and economic benefits, the site selection and capacity configuration of energy storage are optimized. The upper-level planning takes the location capacity of new energy units and energy storage devices, network loss costs and frequency fluctuations as the comprehensive optimal objective function. On this basis, the lower-level planning considers the climbing speed and output level as well as the flow limit constraints and controllable phase shifter switching mode; this embodiment uses the K-means clustering method to reduce the scene, and combines the harmony search algorithm and the particle swarm algorithm to jointly solve the model.

[0223] The two-level programming model is a system optimization model with a two-level hierarchical structure; the upper model is used to determine the configuration of reactive power compensation, and the lower model solves the optimal operation mode of the system that meets the constraints based on the upper model.

[0224] The upper-level planning objective function is:

[0225]

[0226] Where n is the number of network branches; Ui,t and Uj,t are the voltage amplitudes of nodes i and j at time period t respectively; Gij, Bij, □ij are the conductance, susceptance and phase difference between nodes i and j respectively.

[0227]

[0228] In the formula, is the switching cost of the parallel capacitor bank, is the power spring action cost; SCB , ES are the weight coefficients of voltage regulation cost of SCB and ES respectively, and Nc is the node in the network where reactive compensation device is installed.

[0229]

[0230] Where N is the total number of nodes in the distribution network, and Ui is the actual voltage at node i.

[0231] The constraints include:

[0232] ① Power flow equation constraints

[0233]

[0234] Where n is the number of network branches; Pi and Qi are the active power and reactive power injected into each node respectively.

[0235] ②Control variable constraints

[0236]

[0237] U i,max and U i,min are the upper and lower limits of the voltage at node i, respectively; is the number of capacitor groups reserved for quasi-steady-state reactive backup, and Qmin and Qmax are the minimum and maximum values ​​of the node reactive compensation capacity.

[0238] 2) Model solution

[0239] a. Solving the upper model

[0240] The harmony search algorithm originates from the simulation of achieving the best performance effect by harmonizing notes in music performance. The harmony search algorithm has the advantages of novel solution method, easy to understand, strong robustness, etc., and is widely used in various fields. The steps of the harmony search algorithm are as follows:

[0241] ①Determine the parameters of the harmony search algorithm.

[0242] ②Initialize the harmony memory HM.

[0243] ③ Randomly select a new solution in HM with probability HMCR, otherwise randomly select a new solution outside HM with probability 1-HMCR. If a new solution is selected in HM, it is necessary to locally perturb the new solution with probability PAR, and the perturbation variable is bw.

[0244] ④Update HM.

[0245] ⑤ Determine whether the end condition is met. If it is met, output the result; if not, repeat steps ③ and ④.

[0246] The improved harmony search algorithm is used, that is, PAR and bw are dynamically adjusted using equations (17) and (18). The improved harmony search algorithm is conducive to global search in the early stage of iteration and refined search in the later stage of iteration.

[0247] b. Solving the lower model

[0248] Particle swarm optimization (PSO) algorithm is an intelligent optimization algorithm that simulates the foraging behavior of bird flocks. Each particle in PSO is a candidate solution. PSO is composed of three elements: speed, position and fitness value. Since particle swarms are prone to fall into local optimal solutions in the later stage, a particle swarm algorithm combining improved weights and immune algorithms is used to change the weight coefficient from a constant to a linear decrease. Inspired by the immune algorithm, in the iterative process of particle swarm solution, the better top N solutions are saved as the optimal value, the population is injected, the particle type in the population is updated, and the possibility of the population finding the optimal solution is increased; the flowchart of the two-layer model solution is shown in Figure 5 .

[0249] (4) Propose an optimal control method for virtual power plants with new energy units and energy storage characteristics to participate in AGC frequency regulation

[0250] New energy units such as wind and solar have effectively solved the problem of the decreasing traditional fossil energy with their clean and efficient grid-connected operation. As the penetration rate of new energy units increases, the volatility and uncertainty brought about by the imbalance between supply and demand on the source and load side will lead to the gradual deterioration of wind and solar abandonment, and even cause system instability; after energy storage batteries are connected to the smart distribution network, they have the advantages of peak shaving and valley filling, and improving the quality of electric energy. Reasonable regulation of energy storage capacity can effectively improve the above phenomenon. Virtual power plants use advanced information technology and control technology to attract and aggregate various types of distributed energy to participate in grid dispatching and power market transactions. By optimizing the output of distributed energy, they provide more stable output and can participate in grid operation as a special power plant.

[0251] (1) Construction of wind, solar and energy storage model

[0252] a. Wind power output probability model

[0253] The actual output Pw of the wind turbine is affected by the change of wind speed, and its output probability model can be expressed as:

[0254]

[0255] In the formula: Pr represents the rated power of the fan; vpi and vpo represent the cut-in and cut-out wind speeds respectively; vr represents the rated wind speed.

[0256] In most areas, wind speed approximately obeys the two-parameter Weibull distribution, and its probability model can be expressed as:

[0257]

[0258] Where: v represents the real-time wind speed; k represents the shape parameter; c represents the scale parameter.

[0259] b. Photovoltaic output probability model

[0260] In a certain period of time, the change of light intensity approximately follows the Beta distribution, and its probability model can be expressed as

[0261]

[0262] Where: represents the light intensity; φ and δ represent shape parameters; Γ represents the Gramma function.

[0263] The actual output of photovoltaic (PV) is affected by changes in light intensity, and its output probability model is:

[0264]

[0265] Where: P l(t) represents the output power of the light intensity at the t moment; G(t) represents the surface temperature of the PV power generation system at the t moment; θ represents the temperature coefficient; lste, Gste and Pste represent the light intensity, PV power generation system temperature and maximum output power under the standard test environment respectively.

[0266] c. Energy storage battery charging and discharging probability model

[0267] The energy storage is a sodium-sulfur battery with high efficiency and large capacity. According to its principle analysis, the power difference at time t can be expressed as:

[0268]

[0269] Where: ΔPESB(t) represents the source-load supply-demand difference at the tth moment; Pload(t) represents the load demand at the tth moment; PDG_y represents the output power of the yth type DG at the tth moment. If ΔPESB(t) is greater than 0, the energy storage is in a discharging state; if ΔPESB(t) is less than 0, the energy storage is in a charging state, and the corresponding stored energy at the tth moment can be expressed as

[0270]

[0271] Where: EESB(t) represents the stored energy at the tth moment; ζ represents the energy storage charging efficiency, and its value range is [0.7, 0.9].

[0272] (2) Optimal dispatch model based on virtual power plant and time-of-use electricity price

[0273] In order to solve the volatility problem of wind and solar power generation and the economic problem of power grid operation, a two-stage optimization dispatch model was established, considering new energy units and energy storage as virtual power plants. The first stage is the optimization of virtual power plant output, which comprehensively considers the volatility problem of wind power and photovoltaic power, absorbs the fluctuation component through energy storage devices, and transmits the smoothed virtual power plant output to the second stage of power grid economic optimization. The original output of photovoltaic and wind turbines is a known condition, the minimum output fluctuation of the virtual power plant is the objective function, the charging and discharging of energy storage batteries is used as the control strategy, and the most important constraint is the power balance constraint, that is, to meet the active power demand under different active power response requirements:

[0274] P G (t)+P WT (t)+P PV (t)-P ES (t)-P L (t)=0 (29)

[0275] Where: PG(t) is the sum of the active power of all thermal power generating units in the system during period t; PWT(t) is the active power of wind power during period t; PPV(t) is the active power of photovoltaic power generation during period t; PES(t) is the charge and discharge power of the energy storage device during period t, where a positive time indicates charging, and PL(t) is the load power.

[0276] On this premise, an optimal dispatching model based on virtual power plants and time-of-use electricity prices is established.

[0277] a. Virtual power plant output optimization model

[0278] ①Objective function

[0279] The optimization objective function of the virtual power plant is to minimize the output fluctuation of the virtual power plant:

[0280]

[0281] Where: F1 is the volatility index of the virtual power plant output; PVPP.t is the active power of the virtual power plant in period t; PVPP.AV is the average value of the active power of the virtual power plant in the entire dispatching cycle.

[0282]

[0283] Where: PW(t) is the active power of wind power in period t; Pl(t) is the active power of photovoltaic power in period t; EESB(t) is the active power of energy storage device charging and discharging.

[0284] ②Constraints

[0285] Energy storage device constraints are divided into energy storage charging and discharging power limits and remaining capacity limits. The charging and discharging power limits are as follows.

[0286] |E ESB (t)|≤E ESB.max (32)

[0287] Where: EESB(t) is the charging and discharging active power of the energy storage device in period t; EESB.max is the maximum charging and discharging active power of the energy storage device.

[0288] The remaining capacity is limited to:

[0289] S min ≤S OC (t)≤S max (33)

[0290] Where: Soc(t) is the remaining capacity of the energy storage device in period t; Smin is the minimum allowable remaining capacity of the energy storage device; Smax is the maximum allowable remaining capacity of the energy storage device.

[0291] Wind power and photovoltaic output constraints

[0292]

[0293] Where: PW(t) is the actual active power of the wind farm in period t; PWf(t) is the predicted active power of the wind farm in period t. Pl(t) is the actual active power of the photovoltaic power plant in period t; Pl.f(t) is the predicted active output of the photovoltaic power plant in period t.

[0294] b. Power Grid Economic Optimization Model

[0295] In the power grid economic optimization stage, the objective function is to minimize the total cost of system operation. Given the optimized output of the virtual power plant, the power load curve and the operating parameters of each thermal power unit, the optimal output of each thermal power unit is calculated.

[0296] ①Objective function

[0297] In order to achieve safe and economical operation of each component of the power grid, the objective function of the economic optimization stage of the power grid is to minimize the operating cost of the entire system. Wind power and photovoltaic power are renewable energy sources that do not consume primary energy and have low operating costs for power generation. Their power generation costs and environmental costs can be ignored. At the same time, in order to encourage the development of renewable energy, certain penalties are added to the system for abandoning wind and light. Time-of-use electricity prices guide users to change their electricity usage time through electricity prices, and their dispatch costs can be ignored. Therefore, the economic dispatch objective function of the power grid is:

[0298]

[0299] Where: F2 is the operating cost of the entire system; CG.t, CSR.t, Cnew.t, and CES.t are the thermal power generation cost, spinning reserve cost, renewable energy removal penalty, and energy storage device depreciation cost of the system in period t, respectively.

[0300] ②Constraints

[0301] The climbing power constraint of thermal power unit is:

[0302]

[0303] Where: Pi(t-1) is the active power of unit i in period t-1; Ri up is the maximum rising power of thermal power unit i in a single period; Ri down is the maximum falling power of thermal power unit i in a single period.

[0304] (3) Optimization method based on improved genetic algorithm

[0305] Genetic algorithm originated from computer simulation research on biological systems; it is a random global search and optimization method developed by imitating the biological evolution mechanism in nature, drawing on Darwin's theory of evolution and Mendel's genetics. Its essence is an efficient, parallel, global search method that can automatically acquire and accumulate knowledge about the search space during the search process, and adaptively control the search process to obtain the best solution.

[0306] For the first stage of virtual power plant output optimization, the minimum fluctuation is taken as the objective function, and its charging and discharging strategy is determined when the energy storage capacity configuration is determined.

[0307] For the second stage, the optimal economic dispatch of the power grid is taken as the objective function. Under the premise that the thermal power units meet the ramp requirements, the maximum output of the new energy units and the energy storage units is used as the optimization variable for solution. The algorithm flow is as follows: Figure 6 shown.

[0308] The specific embodiments described above further illustrate the purpose, technical solutions and beneficial effects of the invention. It should be understood that the above are only specific embodiments of the present invention and are not intended to limit the present invention. Any modifications, equivalent substitutions, improvements, etc. made within the spirit and principles of the present invention should be included in the scope of protection of the present invention.

Claims

1. A method for controlling energy storage in an active distribution network containing high-penetration new energy, characterized in that: The active distribution network energy storage control method comprises the following steps: Step 1: Study the coordinated control strategy of energy storage-assisted new energy units participating in primary frequency regulation; Step 2: Establish a coordinated control model for energy storage to assist new energy units in participating in primary frequency regulation; Step 3: Analyze the power response requirements of energy storage for grid peak regulation and achieve optimal capacity configuration; Step 4: Propose an optimization control method for virtual power plants with new energy units and energy storage characteristics to participate in AGC frequency regulation.

2. The method for controlling energy storage of an active distribution network containing high-penetration new energy according to claim 1, characterized in that: The coordinated control strategy for energy storage-assisted new energy units to participate in primary frequency regulation in step 1 includes: a comprehensive control strategy for energy storage-assisted new energy units to participate in system frequency regulation / peak regulation, energy storage battery energy management strategy, and economic analysis.

3. The method for controlling energy storage of an active distribution network containing high-penetration new energy according to claim 2, characterized in that: The comprehensive control strategy of energy storage assisting new energy units to participate in system frequency regulation / peak regulation is that the energy storage battery can work in two working modes of frequency regulation / peak regulation according to different grid frequencies; in these two modes, the control of the photovoltaic storage system includes the following three main links: (a) The photovoltaic system adopts maximum power tracking control, and the photovoltaic storage coordinated control system detects the grid frequency and determines whether the frequency is in the frequency regulation dead zone; (b) When the grid frequency is within the frequency regulation dead zone, the energy storage battery operates in the peak regulation mode. At this time, the charging and discharging of the energy storage battery is controlled according to the peak regulation period. When the grid frequency exceeds the frequency regulation dead zone, the energy storage battery operates in the frequency regulation mode, and the primary reference power of the energy storage battery is obtained according to the frequency offset direction. (c) Compared with the idle capacity of the inverter, the smaller value of the two is taken as the secondary reference power of the energy storage battery, and after the maximum output constraint coefficient of the energy storage battery is optimized, it is used as the final reference power of the energy storage battery.

4. The method for controlling energy storage of an active distribution network containing high-penetration new energy according to claim 2, characterized in that: The energy management strategy of the energy storage battery is based on the comprehensive control strategy of the photovoltaic storage system participating in the frequency regulation / peak regulation of the power grid, and designs the charge state partition of the energy storage battery and the energy management strategy of the energy storage battery in different frequency intervals; When the state of charge of the energy storage battery is zoned, the priority of the frequency modulation mode is higher than that of the peak regulation mode. To ensure that the energy storage battery has a capacity margin for the frequency modulation mode during the peak regulation process, two situations must be considered when the state of charge of the energy storage battery is zoned: (1) Overcharging / overdischarging of the energy storage battery will damage the battery. To avoid this, the state of charge range of the energy storage battery in the frequency regulation mode is the upper limit of charging and the lower limit of discharging. The upper limit of charging is represented by SOCmin, and the lower limit of discharging is represented by SOCmax. When the charging reaches the upper limit SOCmax, charging will stop, and when the discharging reaches the lower limit SOCmin, discharging will stop. (2) In order to ensure that the energy storage battery has a capacity margin for the frequency modulation mode in the peak modulation mode, the charging upper limit of the energy storage battery in the peak modulation mode is set to SOChigh and the discharging lower limit is set to SOC1ow; and a state of charge partition diagram of the energy storage battery is obtained.

5. The method for controlling energy storage of an active distribution network containing high-penetration new energy according to claim 2, characterized in that: The economic analysis refers to: The economic benefits of the photovoltaic power station joining the energy storage battery in the full life cycle of the energy storage battery in participating in the frequency and peak regulation of the power grid are analyzed; the additional cost of rebuilding the photovoltaic power station is: C=C1+C2+C3-C4 (1) In the formula: C is the total cost of the photovoltaic and energy storage combined system; C1 is the initial cost of rebuilding the photovoltaic power station; C2 is the operation and maintenance cost of the energy storage battery; C3 is the loss cost caused by the efficiency of the energy storage battery; C4 is the residual value of the power station; The energy storage converter installed during the initial construction can still be used after the battery cycle life ends, so the initial cost only considers the capacity cost of the energy storage battery, that is, In the formula, k1 is the unit capacity cost; E is the energy storage battery capacity; k2 is the operation and maintenance cost of the energy storage battery per unit capacity; E′ is the cumulative value of the charge and discharge amount of the energy storage battery during its entire life cycle, that is, E′=E×(SOC max -SOC min )×2n (3) Where: n is the number of cycles in the entire life cycle of the energy storage battery; C3 is the loss cost caused by the efficiency of the energy storage battery, that is: In the formula: k3 is the photovoltaic grid-connected electricity price; η is the charging and discharging efficiency of the energy storage battery; C4 is the residual value of the power station, that is: C4=k4×C1 (5) Where: k4 is the recovery value coefficient of the energy storage battery after service: The benefits of adding energy storage batteries are: R=R1+R2+R3 (6) Where: R is the total revenue increased after adding energy storage batteries; R1 is the compensation revenue obtained by the photovoltaic storage system participating in frequency regulation; R2 is the compensation revenue obtained by the photovoltaic storage system participating in peak regulation; R3 is the additional electricity sales revenue obtained when all photovoltaic output is connected to the grid compared with the photovoltaic load reduction mode; In the formula: k5 is the compensation price per unit energy for frequency regulation; E″ is the cumulative value of the amount of action involved in frequency regulation during the entire life cycle of the energy storage battery; k6 is the compensation price per unit energy for peak regulation; E′2 is the cumulative value of the amount of action involved in peak regulation during the entire life cycle of the energy storage battery; Let the accumulated value of the peak load and frequency regulation actions of the energy storage battery in a typical day within 24 hours be E″, then the number of days in the full life cycle of the energy storage battery is: The additional revenue from connecting all photovoltaic power to the grid is: R3=E pv ×33%×k3×t (9) Where: Epv is the total energy emitted by photovoltaic power generation in the maximum power point operation mode for 24 hours on a typical day.

6. The method for controlling energy storage of an active distribution network containing high-penetration new energy according to claim 1, characterized in that: In the step 2, a coordinated control model for energy storage to assist new energy units in participating in primary frequency modulation is established; the energy storage converter and its control system are numerically modeled, and then an active distribution network simulation model containing high-penetration new energy is established, and a coordinated control model for new energy units and energy storage participating in frequency modulation is constructed, and the dynamic response performance of the energy storage device when the photovoltaic output fluctuates or the load fluctuates rapidly is analyzed, and the frequency modulation effect of the energy storage device under different load levels and different operating conditions is analyzed; Mathematical model of peak-shaving mode of energy storage battery: In peak-shaving mode, the charging and discharging time of energy storage battery is in hours, so the energy storage battery can adopt a smaller power for charging and discharging according to its own capacity, so as to prolong the service life of the energy storage battery; in actual engineering, when the state of charge constraint is not considered, 0.3 times the rated power of the energy storage battery is usually set as the primary reference power for charging and discharging in peak-shaving mode; according to the instructions of the dispatching center, on the premise of ensuring that the energy storage battery is not overcharged / over-discharged, a certain capacity margin is reserved for the frequency regulation mode of the energy storage battery; therefore, the primary reference power and state of charge constraint of the energy storage battery in peak-shaving mode are set as: Where: P e ' ss is the primary reference power of the energy storage battery, Pe is the rated power of the energy storage battery; the discharge is specified to be in the positive direction; Mathematical model of frequency modulation mode of energy storage battery: After the grid frequency exceeds the frequency modulation dead zone, the energy storage battery operates in the frequency modulation mode; the frequency modulation mode requires the energy storage battery to absorb or emit as much power as possible in a short period of time to support the grid frequency. Therefore, the energy storage battery is set to charge and discharge at rated power in the frequency modulation mode; on the premise of not overcharging / overdischarging, the energy storage battery is charged and discharged according to the offset direction of the grid frequency, and the primary reference power and charge state constraints of the energy storage battery in the frequency modulation mode are set as follows: Where: f is the grid frequency detected by the system, △f = f-50; Design of maximum output constraint of energy storage battery based on SOC feedback: When energy storage battery responds to the frequency regulation / peak regulation demand of power grid, if it is charged and discharged at constant power, it will cause the energy storage battery to be unable to be fully charged or fully released, thus wasting the capacity of energy storage battery and causing economic losses. Therefore, a reasonable maximum output constraint coefficient of energy storage battery should be designed, expressed as λ SOC It means that the energy storage battery can participate in the frequency regulation / peak regulation of the power grid with variable charging and discharging power; (a) When the state of charge of the energy storage battery is high, that is, SOC>50%, according to P e ' s ' s Discharge, P e ' s ' s is the secondary reference power of the energy storage battery; when the energy storage battery is discharged to a low state of charge, that is, SOC < 50%, in order to fully utilize the energy storage battery capacity and avoid over-discharge, the energy storage battery is charged at P e ' s ' s Multiply by a lambda less than 1 SOC Discharge is performed, and λ SOC It gets smaller as the state of charge decreases; (b) When the state of charge of the energy storage battery is low, that is, SOC < 50%, according to P e ' s ' s When the state of charge of the energy storage battery is high, that is, SOC>50%, in order to fully utilize the capacity of the energy storage battery and avoid overcharging, the energy storage battery is charged at P e ' s ' s s multiplied by a lambda less than 1 SOC Charging, and SOC It decreases with the increase of state of charge; under the charge and discharge state, λ SOC As shown in formula (12) and formula (13): In charging state, In the discharge state, there are Where: SOC is the maximum output constraint coefficient of the energy storage battery, and SOC represents the state of charge of the energy storage battery; The final reference power and state of charge constraint relationship of the energy storage battery is: P ess =P″ ess ×λ SOC (14) Where: P ess It is the final reference power of the energy storage battery; In summary, when the output of the energy storage battery is optimized with the above maximum output constraint coefficient, it can ensure that the energy storage battery has the ability to respond quickly, while fully utilizing the capacity of the energy storage battery and avoiding overcharging / over-discharging of the energy storage battery, thereby extending the service life of the energy storage battery.

7. The method for controlling energy storage of an active distribution network containing high-penetration new energy according to claim 1, characterized in that: Analyzing the power response requirements of energy storage participating in grid peak regulation and realizing capacity optimization configuration is to obtain typical daily load curves and daily renewable energy generation curves in different seasons through clustering to form the "duck curve" of the grid; selecting typical lines, calculating and analyzing the structure of actual lines, renewable energy installed capacity and user distribution, and establishing a distribution network simulation model; According to the ramp speed and minimum output level of conventional units and the flow restriction constraints of the tie line, a capacity optimization configuration method for energy storage participating in peak regulation based on particle swarm algorithm is proposed; among them, the peak, valley and flat period division strategy is as follows; the traditional peak, valley and flat period division often only considers the peak, valley and flat membership of the load, but considering the large-scale consumption of new energy, it is necessary to comprehensively consider the contribution of user load demand and new energy consumption to the peak-valley difference of the "duck curve" in different time periods, so an improved peak-valley membership function is used to calculate the peak-valley-flat membership at each moment, as shown in the following formula: Wherein: uft is the peak membership of the "duck curve"; ugt is the valley membership of the "duck curve"; L(t) is the user load at time t; max(L) and min(L) are the load peak and valley values, respectively; Lc(t) is the output of new energy at time t; max(Lc) and min(Lc) are the maximum and minimum output of new energy, respectively; μ1 and μ2 are the weights of the user load part in the calculation of peak and valley membership, respectively; In formula (15), the greater the peak membership of a moment, the greater the possibility that it belongs to the peak period; the greater the valley membership, the greater the possibility that it belongs to the valley period. Therefore, the time period to which the moment belongs is divided by determining the peak valley membership threshold Where: Tf, Tp, Tg are peak, flat and valley time periods respectively; m1 is the peak membership threshold; m2 is the valley membership threshold. 1) Optimize the model Taking into account both frequency regulation effect and economic benefits, the site selection and capacity configuration of energy storage are optimized. The upper-level planning takes the location capacity of new energy units and energy storage devices, network loss costs and frequency fluctuations as the comprehensive optimal objective function. On this basis, the lower-level planning considers the climbing speed and output level as well as the flow restriction constraints of the controllable phase shifter switching mode; the K-means clustering method is used to reduce the scenarios, and the harmony search algorithm and particle swarm algorithm are combined to jointly solve the model; The two-level programming model is a system optimization model with a two-level hierarchical structure. The upper model is used to determine the configuration mode of reactive power compensation, and the lower model solves the optimal operation mode of the system that meets the constraints based on the upper model. The upper-level planning objective function is: Where n is the number of network branches; Ui,t and Uj,t are the voltage amplitudes of nodes i and j at time period t respectively; Gij, Bij, ij are the conductance, susceptance and phase angle difference between nodes i and j respectively; In the formula, is the switching cost of the parallel capacitor bank, is the power spring action cost; SCB , ES are the weight coefficients of voltage regulation cost of SCB and ES respectively, and Nc is the node in the network where reactive compensation device is installed; Where N is the total number of nodes in the distribution network, Ui is the actual voltage at node i; The constraints include: Power flow equation constraints Where n is the number of network branches; Pi and Qi are the active power and reactive power injected into each node respectively; ②Control variable constraints U i,max and U i,min are the upper and lower limits of the voltage at node i, respectively; is the number of capacitor banks reserved for quasi-steady-state reactive backup, Qmin and Qmax are the minimum and maximum values ​​of the reactive compensation capacity of the node; 2) Model solution a. Solving the upper model The harmony search algorithm originates from the simulation of achieving the best performance effect by harmonizing notes in music performance. The harmony search algorithm has the advantages of novel solution method, easy understanding, strong robustness, etc., and is widely used in various fields. The steps of the harmony search algorithm are as follows: ①Determine the parameters of the harmony search algorithm; ② Initialize the harmony memory HM; ③ Randomly select a new solution in HM with probability HMCR, otherwise randomly select a new solution outside HM with probability 1-HMCR. If a new solution is selected in HM, it is necessary to locally perturb the new solution with probability PAR, and the perturbation variable is bw; ④Update HM; ⑤ Determine whether the end condition is met. If so, output the result; if not, repeat steps ③ and ④; The improved harmony search algorithm is used, that is, PAR and bw are dynamically adjusted using equations (17) and (18). The improved harmony search algorithm is conducive to global search in the early stage of iteration and refined search in the later stage of iteration; b. Solving the lower model Particle swarm optimization (PSO) algorithm is an intelligent optimization algorithm that simulates the foraging behavior of bird flocks. Each particle in PSO is a candidate solution. PSO is composed of three elements: speed, position and fitness value. Since particle swarms are prone to fall into local optimal solutions in the later stage, a particle swarm algorithm combining improved weights and immune algorithms is used to change the weight coefficient from a constant to a linearly decreasing one. Inspired by the immune algorithm, in the iterative process of particle swarm solution, the better first N solutions are saved as the optimal value, the population is injected, the particle type in the population is updated, and the possibility of the population finding the optimal solution is increased.

8. The method for controlling energy storage of an active distribution network containing high-penetration new energy according to claim 1, characterized in that: The optimization control method for the virtual power plant with new energy units and energy storage characteristics participating in AGC frequency modulation is as follows: new energy units such as wind and light have effectively solved the problem of the decreasing traditional fossil energy with their clean and efficient grid-connected operation; as the penetration rate of new energy units increases, the volatility and uncertainty brought about by the imbalance between supply and demand on the source and load side will lead to the gradual deterioration of wind and light abandonment, and even cause system operation instability; after the energy storage battery is connected to the smart distribution network, it has the advantages of peak shaving and valley filling, and improving the quality of electric energy. Reasonable regulation of energy storage capacity can effectively improve the above phenomenon. Virtual power plants use advanced information technology and control technology to attract and aggregate various types of distributed energy to participate in grid dispatching and power market transactions, and provide more stable output by optimizing the output of distributed energy. It can participate in grid operation as a special power plant; it mainly includes the construction of wind and light storage models and an optimization method based on an improved genetic algorithm.

9. The method for controlling energy storage of an active distribution network containing high-penetration new energy according to claim 8, characterized in that: The wind and solar energy storage model construction includes the following: a. Wind power output probability model The actual output Pw of the wind turbine is affected by the change of wind speed, and its output probability model can be expressed as: In the formula: Pr represents the rated power of the fan; vpi and vpo represent the cut-in and cut-out wind speeds respectively; vr represents the rated wind speed. In most areas, wind speed approximately obeys the two-parameter Weibull distribution, and its probability model can be expressed as: Where: v represents the real-time wind speed; k represents the shape parameter; c represents the scale parameter; b. Photovoltaic output probability model In a certain period of time, the change of light intensity approximately follows the Beta distribution, and its probability model can be expressed as: Where: represents the light intensity; φ and δ represent shape parameters; Γ represents the Gramma function; The actual output of photovoltaic (PV) is affected by changes in light intensity, and its output probability model is: Where: P l(t) represents the output power of the light intensity at the tth moment; G(t) represents the surface temperature of the PV power generation system at the tth moment; θ represents the temperature coefficient; lste, Gste and Pste represent the light intensity, PV power generation system temperature and maximum output power under the standard test environment respectively; c. Energy storage battery charging and discharging probability model: The energy storage is a sodium-sulfur battery with high efficiency and large capacity. According to its principle analysis, the power difference at time t can be expressed as Where: ΔPESB(t) represents the source-load supply-demand difference at the tth moment; Pload(t) represents the load demand at the tth moment; PDG_y represents the output power of the yth type DG at the tth moment. If ΔPESB(t) is greater than 0, the energy storage is in a discharging state; if ΔPESB(t) is less than 0, the energy storage is in a charging state, and the corresponding stored energy at the tth moment can be expressed as Where: EESB(t) represents the stored energy at the tth moment; ζ represents the energy storage charging efficiency, and its value range is [0.7, 0.9]; d. Optimal dispatch model based on virtual power plant and time-of-use electricity price In order to solve the volatility problem of wind and solar power generation and the economic problem of power grid operation, a two-stage optimization dispatch model was established, in which new energy units and energy storage were considered as virtual power plants. The first stage was the optimization of virtual power plant output, which comprehensively considered the volatility problem of wind power and photovoltaic power generation, absorbed the fluctuation component through energy storage devices, and transferred the smoothed virtual power plant output to the second stage of power grid economic optimization. The original output of photovoltaic and wind turbines was a known condition, the minimum output fluctuation of the virtual power plant was the objective function, and the charging and discharging of energy storage batteries was used as the control strategy. The most important constraint was the power balance constraint, that is, to meet the active power demand under different active power response requirements: P G (t)+P WT (t)+P PV (t)-P ES (t)-P L (t)=0 (29) Where: PG(t) is the sum of the active power of all thermal power generating units in the system during period t; PWT(t) is the active power of wind power during period t; PPV(t) is the active power of photovoltaic power generation during period t; PES(t) is the charge and discharge power of the energy storage device in time period t, where positive time indicates charging, and PL(t) is the load power. Under this premise, an optimization scheduling model based on virtual power plants and time-of-use electricity prices is established, which is divided into two types: The first one: Virtual power plant output optimization model ①Objective function The optimization objective function of the virtual power plant is to minimize the output fluctuation of the virtual power plant: Where: F1 is the volatility index of the virtual power plant output; PVPP.t is the active power of the virtual power plant in period t; PVPP.AV is the average active power of the virtual power plant in the entire dispatching cycle; Where: PW(t) is the active power of wind power in period t; Pl(t) is the active power of photovoltaic power in period t; EESB(t) is the active power of energy storage device charging and discharging; ②Constraints Energy storage device constraints are divided into energy storage charging and discharging power limits and remaining capacity limits; the charging and discharging power limits are as follows. |E ESB (t)|≤E ESB.max (32) Where: EESB(t) is the charging and discharging active power of the energy storage device in period t; EESB.max is the maximum charging and discharging active power of the energy storage device; The remaining capacity is limited to: S min ≤S OC (t)≤S max (33) Where: Soc(t) is the remaining capacity of the energy storage device in period t; Smin is the minimum allowable remaining capacity of the energy storage device; Smax is the maximum allowable remaining capacity of the energy storage device; Wind power and photovoltaic output constraints Where: PW(t) is the actual active power of the wind farm in period t; PWf(t) is the predicted active power of the wind farm in period t; Pl(t) is the actual active power of the photovoltaic power field in period t; Pl.f(t) is the predicted active output of the photovoltaic power field in period t. Second. Power grid economic optimization model: In the power grid economic optimization stage, the objective function is to minimize the total cost of system operation. Given the optimized output of the virtual power plant, the power load curve and the operating parameters of each thermal power unit, the optimal output of each thermal power unit is calculated. ①Objective function In order to achieve safe and economical operation of each component of the power grid, the objective function of the economic optimization stage of the power grid is to minimize the operating cost of the entire system; wind power and photovoltaic power are renewable energy sources that do not consume primary energy and have low operating costs for power generation, so their power generation costs and environmental costs can be ignored. At the same time, in order to encourage the development of renewable energy, certain penalty fees are added to the system for abandoning wind and light; time-of-use electricity prices guide users to change their electricity consumption time through electricity prices, and their dispatching costs can be ignored; therefore, the economic dispatching objective function of the power grid is: Where: F2 is the operating cost of the entire system; CG.t, CSR.t, Cnew.t, CES.t are the thermal power generation cost, spinning reserve cost, renewable energy removal penalty and energy storage device depreciation cost of the system in period t respectively; ②Constraints The climbing power constraint of thermal power unit is: Where: Pi(t-1) is the active power of unit i in period t-1; Ri up is the maximum rising power of thermal power unit i in a single period; Ri down is the maximum power reduction of thermal power unit i in a single period.

10. The method for controlling energy storage of an active distribution network containing high-penetration new energy according to claim 8, characterized in that: The optimization method based on improved genetic algorithm is originated from computer simulation research on biological system through genetic algorithm. It is a random global search and optimization method developed by imitating the biological evolution mechanism in nature, and draws on Darwin's theory of evolution and Mendel's genetic theory. Its essence is an efficient, parallel, global search method that can automatically acquire and accumulate knowledge about the search space during the search process and adaptively control the search process to obtain the best solution; For the first stage of virtual power plant output optimization, the minimum fluctuation is taken as the objective function, and its charging and discharging strategy is determined when the energy storage capacity configuration is determined; For the second stage, the optimal economic dispatching efficiency of the power grid is taken as the objective function. Under the premise that the thermal power units meet the ramp requirements, the maximum output of the new energy units and the energy storage units is taken as the optimization variable for solution.

Citation Information

Patent Citations

  • New energy output power fluctuation minimization scheduling method and device with energy storage

    CN108565890A

  • Renewable energy source and energy storage scheduling model and scheduling method

    CN110350589A

  • New energy automatic control strategy analysis method and system

    CN113765123A

  • Optimized operation method, system and equipment for power system containing distributed energy storage

    CN115882523A

  • Virtual power plant auxiliary power grid secondary frequency modulation optimization scheduling method and device

    CN116436039A

Cited By

  • Multi-energy complementary coordination control system and method based on multi-element energy storage

    CN119602396A

  • Energy output optimization scheduling method and system considering random source load virtual power plant

    CN119628084A

  • System frequency difference power coordination control method based on super capacitor energy storage

    CN121012073A

  • Energy storage system for collaborative optimization of transformer area voltage treatment and peak-valley arbitrage

    CN121238658A