A primary frequency modulation control method for multi-modal distributed energy storage based on consistency algorithm
Through the consistency algorithm and multi-scale morphological frequency filter, the grid frequency signal is decomposed into high and low frequency bands, optimizing the frequency modulation marginal cost of distributed energy storage, solving the problem of unreasonable allocation of traditional frequency modulation responsibilities, and realizing energy storage Efficient frequency modulation and improvement of system frequency response capabilities.
Patent Information
- Application Number
- CN202210554380.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-05-19
- Publication Date
- 2024-09-20
- Estimated Expiration
- 2042-05-19
AI Technical Summary
In the traditional distributed energy storage primary frequency regulation method, the fixed allocation of frequency regulation responsibilities leads to excessive primary frequency regulation pressure on some energy storage, and the remaining energy storage wastes frequency regulation capacity, resulting in increased frequency regulation costs and energy storage losses, and it is difficult to coordinate thermal power units and distributed storage. Functional FM control.
A multi-morphological distributed energy storage primary frequency regulation control method based on a consistency algorithm is used to decompose the grid frequency signal into high and low frequency bands through a multi-scale morphological frequency filter to optimize the frequency regulation marginal cost consistency of each energy storage and rationally distribute it. Frequency regulation output allows each energy storage to assume responsibilities consistent with its own frequency regulation capabilities.
It achieves accurate tracking of primary frequency modulation signals for each energy storage, reduces thermal power mechanical wear, avoids overcharge and overdischarge of energy storage, improves system frequency response capabilities, reasonably distributes frequency modulation output, and fully utilizes energy storage potential.
Smart Images

Figure CN114914942B
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of distributed energy storage primary frequency modulation control, and in particular to a multi-modal distributed energy storage primary frequency modulation control method based on a consistency algorithm. Background Art
[0002] As a new frequency regulation resource, the multi-form distributed energy storage on the grid side has the advantages of fast response speed, precise and flexible control, short construction period, flexible site selection, and strong scalability. It is an effective means to effectively solve the frequency safety and stability problems of the power system caused by high penetration of new energy, promote the consumption of new energy power generation, and increase the scale of new energy power generation. It is also one of the important ways for my country's energy green transformation. However, with the gradual increase in the types and number of distributed energy storage on the grid side, the decentralized layout and unified dispatching control mode of distributed energy storage in the system restricts its frequency regulation capabilities.
[0003] The traditional method of distributed energy storage participating in primary frequency regulation generally adopts a fixed setting for the allocation of frequency regulation responsibility for each energy storage. When the load fluctuation changes suddenly, the primary frequency regulation pressure of some energy storage is too large, and the remaining energy storage will waste the frequency regulation capacity, and the primary frequency regulation potential of each energy storage cannot be fully utilized, which will increase the frequency regulation cost, cause the "overcharge and over-discharge" problem of some energy storage, and increase energy storage loss. There are many types of distributed energy storage, and the frequency regulation technical characteristics are different. How to characterize the dynamic response characteristics of energy storage, distinguish the frequency regulation characteristics of various types of energy storage, and economically and effectively coordinate the frequency regulation control of traditional thermal power units and distributed energy storage is a problem that needs to be solved urgently. Summary of the invention
[0004] In view of the above-mentioned deficiencies in the prior art, the present invention provides a multi-modal distributed energy storage primary frequency regulation control method based on a consistency algorithm. The grid frequency signal is divided into high and low frequency bands through a morphological filter, which are respectively undertaken by multi-modal distributed energy storage and thermal power units. The optimization goal is to minimize the primary frequency regulation consumption of the system, and this optimization problem is converted into an optimization problem of the consistency of the marginal cost of frequency regulation of each energy storage. Each energy storage is responsible for the frequency regulation responsibility that is consistent with its own frequency regulation capability, thereby accurately tracking the primary frequency regulation signal, reducing mechanical wear of thermal power plants, avoiding overcharging and over-discharging of energy storage, and improving the frequency response capability of the system.
[0005] A multi-modal distributed energy storage primary frequency modulation control method based on a consistency algorithm comprises the following steps:
[0006] A. Establish a frequency regulation model for multi-form distributed energy storage and a frequency regulation model for thermal power units, and then construct a frequency regulation model for the power system including thermal power units and distributed energy storage on the grid side;
[0007] B. Analyze the frequency response characteristics of the power system containing thermal power units and distributed energy storage on the grid side, and design a multi-scale morphological frequency division filter, which is used to decompose the frequency signal into two frequency bands, high and low;
[0008] C. Establish a frequency regulation consumption model for energy storage and determine the frequency regulation capacity range constraints during the frequency regulation process. The energy storage frequency regulation capacity range constraints include real-time remaining capacity constraints for energy storage, frequency regulation power reserve constraints, and ramp rate constraints;
[0009] D. Optimize the allocation of the frequency modulation output of the distributed energy storage based on the multi-scale morphological frequency division filter designed in step B and the frequency modulation consumption model of the energy storage established in step C to complete the primary frequency modulation control strategy of the distributed energy storage.
[0010] Furthermore, the step A specifically includes:
[0011] Step A1: According to the frequency modulation characteristics of each energy storage, the key frequency modulation coefficients of each type of energy storage are obtained through parameter identification, and a frequency modulation model of multi-form distributed energy storage is established. The parameters identified in the parameter identification include: the time constant T that describes the energy storage delay characteristics S ; Droop coefficient r; Real-time power weight coefficient of energy storage α s ; Energy storage remaining capacity weight coefficient β s ; Energy storage charge and discharge efficiency η c , η d ; Rated energy storage capacity E rated ; Maximum and minimum limits on available energy storage capacity E i ; Maximum and minimum limits of energy storage frequency regulation output P i ; Maximum and minimum limits of energy storage ramp rate R i ;
[0012] Step A2: Based on the historical data of the thermal power unit, the key frequency regulation coefficient of the unit is obtained through parameter identification, and the frequency regulation model of the thermal power unit is established. The parameters identified in the parameter identification include: the unit feedback time constant T s0 , T s1 ; Unit adjustment coefficient R; Valve characteristic curve model; High pressure steam chamber steam volume time constant T CH ; Reheat steam volume time constant T RH ; High pressure cylinder power coefficient F HP ; Low pressure cylinder power coefficient F LP ;
[0013] Step A3: Based on the frequency regulation key coefficients of various types of energy storage and the frequency regulation key coefficients of thermal power units obtained in the above steps A1 and A2, a joint frequency regulation model including thermal power and distributed energy storage is established. The model parameters also include the generator-grid equivalent inertia coefficient M s ; System damping coefficient D s ; FM coefficient β; FM participation α; FM ratio parameter K P ; Frequency modulation integral parameter K I ;
[0014] Through the above steps, the frequency regulation system modeling containing thermal power and distributed energy storage is completed, and the frequency regulation model of the power system containing thermal power units and distributed energy storage on the grid side is constructed.
[0015] Furthermore, the step B specifically includes the following steps:
[0016] Step B1: Obtain the frequency response transfer function of the power system containing thermal power and distributed energy storage through the model parameters obtained in step A, and analyze the frequency response characteristics of the system, where
[0017] The frequency response transfer function H(s) of the system containing thermal power and distributed energy storage is:
[0018]
[0019] Where Δf(s) is the system frequency deviation, ΔP D (s) is the system load disturbance deviation;
[0020] Analyze the Bode plots of the system frequency response transfer function in the following two cases respectively:
[0021] (1) H1(s): Only traditional thermal power units participate in the primary frequency regulation of the system;
[0022] (2) H2(s): Only distributed energy storage participates in the primary frequency regulation of the system.
[0023] Calculate the boundary frequency value f at the intersection of the amplitude-frequency curves of H1(s) and H2(s) d , when the load fluctuation frequency in the system is higher than f d When only distributed energy storage participates in the system primary frequency regulation, the gain Δf(s) / ΔP D (s) is smaller, indicating that the system frequency adjustment capability in this frequency band is stronger, thus the boundary frequency value f d Can be used as the crossover critical parameter of the crossover filter;
[0024] Step B2: Design the frequency division filter through the decomposition algorithm of the multi-scale morphological filter:
[0025] Assume that the input signal is x(n), n∈{0,1,…,N-1}; the structural element is γ(m), m∈{0,1,…,M-1}, and the expansion and erosion operations of the function are:
[0026]
[0027] (xΘγ)(n)=min[x(n+m)-γ(m)] (3) where: is the expansion operator; Θ is the corrosion operator;
[0028] The specific operation processes of opening and closing operations are:
[0029]
[0030]
[0031] In the formula, is the opening operator; · is the closing operator; s is the time scale;
[0032] The multi-scale morphology filter (MMF) is obtained by weighted summation of mixed morphological filters of different scales. The specific expression is:
[0033]
[0034]
[0035] Where: γ is the structural element; k is the number of time scales; is the weight value of each scale structure element, and its expression is:
[0036]
[0037] Where: is the filtering mean square error, and its expression is:
[0038]
[0039] The algorithm adaptively selects structural elements at different scales, and the demarcation frequency value f calculated in step B1 is d The frequency signal of the primary frequency modulation feedback channel of the system frequency response model is decomposed into two frequency bands, high and low.
[0040] Furthermore, the step C specifically includes the following steps:
[0041] Step C1: Define the frequency regulation consumption of energy storage:
[0042] Referring to the concept of output consumption cost in the economic dispatch of traditional generator sets, the concept of frequency regulation cost function is introduced, and its minimum value is taken as the goal of system frequency regulation control.
[0043] Frequency regulation cost function of energy storage i at time t for:
[0044]
[0045]
[0046] Where P i,t is the real-time power of energy storage i; E i,t is the real-time remaining capacity of energy storage i at t, Δt is the frequency regulation control period;
[0047] Frequency modulation consumption Written as the charge and discharge power P i,t The quadratic function of , that is, the frequency regulation consumption model of the energy storage is established:
[0048]
[0049] The coefficient a in formula (11) i 、b i,t 、c i,t The specific expression is:
[0050]
[0051]
[0052]
[0053] Step C2: Determine the frequency regulation capability range constraints of energy storage:
[0054] The energy storage frequency regulation capability range constraints include energy storage real-time remaining capacity constraints, frequency regulation power reserve constraints, and ramp rate constraints, as follows:
[0055]
[0056] Under the above range constraints, the upper and lower limits of energy storage charging and discharging power are for:
[0057]
[0058] Furthermore, the step D specifically includes the following steps:
[0059] D1: The frequency signal is divided into two frequency bands, high and low, through a morphological filter, where the low-frequency signal Δf low The high-frequency signal Δfhigh Several distributed energy storage systems are responsible for determining the output demand of primary frequency regulation at time t. for:
[0060]
[0061] In order to obtain the best primary frequency regulation output allocation plan at time t, the total frequency regulation consumption Z t Minimum is the objective function, and a mathematical optimization model is established:
[0062]
[0063] Step D2: Define the consistency variable of distributed energy storage and convert the optimization problem of the best primary frequency regulation output allocation scheme into the optimization problem of the consistency of marginal cost of frequency regulation consumption:
[0064] Define the partial derivative of the frequency regulation consumption of energy storage to the frequency regulation output, that is, the marginal cost of frequency regulation, as the consistency variable λ. The consistency variables of each distributed energy storage are:
[0065]
[0066] The optimization problem of formula (16) is transformed into the optimization problem shown in formula (18):
[0067]
[0068] Step D3: Discretize the optimization problem and optimize the frequency modulation output of distributed energy storage through a discrete distributed consensus algorithm.
[0069] Among them, the frequency modulation output of distributed energy storage is optimized and allocated through a discrete distributed consistency algorithm. The specific process is as follows:
[0070] 1) First, initialize each variable. Initialize the initial output of each energy storage. The initial allocation to each distributed energy storage is as follows:
[0071]
[0072] In the formula, is the initial frequency modulation output of each energy storage, ρ i It is the initial distribution ratio of FM signal.
[0073] Initialize the consistency variables of each energy storage:
[0074]
[0075] In the formula, is the initial consistency variable of each energy storage;
[0076] 2) Optimize and calculate the frequency regulation output allocation plan of each energy storage at time t, which is divided into four steps (1) to (4), as follows:
[0077] (1) Determine the consistency of adjacent energy storage: Each distributed energy storage obtains the consistency variable λ of the adjacent energy storage through the communication network t And judge whether it is consistent with its own consistency variable,
[0078] The conditions for approximate consistency are:
[0079]
[0080] In the formula, k is the number of iterations, It means that the energy storage m is adjacent to the power source n and they are in communication;
[0081] Each distributed energy storage obtains the consistency variable λ of the adjacent energy storage through the communication network t And determine whether it is consistent with its own consistency variable. If the above consistency conditions are met, jump to step (4), otherwise continue;
[0082] (2) Iteration consistency variable: To make the consistency variable λ of energy storage n n,t It is approximately consistent with the adjacent power source. It is necessary to adjust the frequency modulation output of the energy storage, which is divided into four small steps ① to ④. The iterative calculation method is as follows:
[0083] ① Calculate the virtual consistency variable of energy storage n The consistency variable for the (k-1)th iteration and power constraints, specifically:
[0084]
[0085] Where τ1 and τ2 are the correction ratios. The first part of the correction is to convert the consistency variable of the (k-1)th iteration of energy storage n to Respectively with the adjacent power supply Calculate the difference and add it up; the second part of the correction is the correction of the power constraint. This is to ensure that the frequency modulation scheme always meets the basic requirements of control;
[0086] ② Calculate the consistency variable by Constraints are imposed to define the correction value of the consistency variable to ensure convergence of the iterative process:
[0087]
[0088] ③Calculate theoretical power With virtual power The theoretical power According to the definition of consistency variables:
[0089]
[0090] Theoretical power Correction to obtain virtual power for:
[0091]
[0092] In the formula, τ3 is the correction ratio;
[0093] ④Calculate the FM power allocation value The power allocation result of energy storage n in the kth iteration is:
[0094]
[0095] (3) Determine whether the maximum number of iterations is exceeded: If it is within the maximum number of iterations specified by the frequency modulation control operation, that is, within the frequency modulation period Δt, return to step (1); otherwise, proceed to the next step;
[0096] (4) The frequency modulation power allocation value of each energy storage obtained in the last iteration is used as the frequency modulation output;
[0097] Then the primary frequency regulation control strategy of distributed energy storage is completed.
[0098] The present invention has the following advantages and beneficial effects:
[0099] 1. Rationally allocate the frequency regulation output of each energy storage, avoid excessive use of a single energy storage, give full play to the frequency regulation potential of each energy storage, reduce mechanical wear of thermal power plants, and improve the overall frequency regulation capability of the system;
[0100] 2. The distributed consistency algorithm of the present invention distributes the computational burden of the centralized control method to each frequency modulation resource, thereby alleviating the computational pressure of the control center and better adapting to the development trend of increasing types and increasing numbers of distributed frequency modulation resources on the grid side in the future;
[0101] The control method of the present invention can provide certain guidance for the primary frequency modulation control of multi-form distributed energy storage under high new energy penetration efficiency. BRIEF DESCRIPTION OF THE DRAWINGS
[0102] Figure 1 It is a flow chart of a multi-form distributed energy storage primary frequency modulation control method based on a consistency algorithm of the present invention;
[0103] Figure 2 It is a schematic diagram of the frequency regulation control model of the power system including thermal power and distributed energy storage;
[0104] Figure 3Bode plots of the system frequency response transfer function in two cases;
[0105] Figure 4 is the flow chart of the adaptive generalized morphological filter;
[0106] Figure 5 It is a flow chart of the frequency modulation output allocation method based on the consistency algorithm;
[0107] Figure 6 It is a 3-machine 9-node simulation model with multi-form distributed energy storage;
[0108] Figure 7 is the load power disturbance data in the power grid;
[0109] Figure 8 The frequency deviation curves of the power grid in three cases are the distributed energy storage frequency modulation control method of the present invention, the traditional frequency modulation control method and the frequency modulation without energy storage;
[0110] Fig. 9 A system frequency deviation curve diagram of high and low frequencies divided by the multi-scale frequency division filter of the present invention;
[0111] Fig.10 It is a frequency modulation output curve diagram of three typical energy storages under the distributed energy storage frequency modulation control method of the present invention;
[0112] Fig.11 It is a curve diagram of the remaining capacity ratio of three typical energy storages under the distributed energy storage frequency regulation control method of the present invention. DETAILED DESCRIPTION
[0113] In order to make the purpose, technical solution and advantages of the embodiments of the present invention clearer, the technical solution in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments are part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.
[0114] Figure 1 The figure is a flow chart of a multi-modal distributed energy storage primary frequency modulation control method based on a consistency algorithm according to an embodiment of the present invention, wherein the method comprises the following steps:
[0115] A. Establish a frequency regulation model of multi-form distributed energy storage, and construct a frequency regulation model of a power system including thermal power units and distributed energy storage on the grid side. The step A specifically includes the following steps:
[0116] A1: According to the frequency regulation characteristics of each energy storage, the key frequency regulation coefficients of each type of energy storage are obtained through parameter identification, and a unified frequency regulation model for multi-form distributed energy storage is established. The main parameters include: the time constant T that describes the time delay characteristics of energy storage S ; Droop coefficient r; Real-time power weight coefficient of energy storage α s ; Energy storage remaining capacity weight coefficient β s ; Energy storage charge and discharge efficiency η c , η d ; Rated energy storage capacity E rated ; Maximum and minimum limits on available energy storage capacity E i ; Maximum and minimum limits of energy storage frequency regulation output P i ; Maximum and minimum limits of energy storage ramp rate R i .
[0117] A2: Based on the historical data of the thermal power unit, the key frequency regulation coefficient of the unit is obtained through parameter identification. The main parameters include: unit feedback time constant T s0 , T s1 ; Unit adjustment coefficient R; Valve characteristic curve model; High pressure steam chamber steam volume time constant T CH ; Reheat steam volume time constant T RH ; High pressure cylinder power coefficient F HP ; Low pressure cylinder power coefficient F LP .
[0118] A3: Based on the data from the above steps, a joint frequency regulation model including thermal power and distributed energy storage is established. The model parameters also include the generator-grid equivalent inertia coefficient M s ; System damping coefficient D s ; FM coefficient β; FM participation α; FM ratio parameter K P ; Frequency modulation integral parameter K I .
[0119] Through the above steps, the frequency regulation system modeling of thermal power-distributed energy storage is completed. The frequency regulation control model of the power system containing thermal power-distributed energy storage is obtained as follows: Figure 2 shown.
[0120] B. Analyze the frequency response characteristics of the system and design a frequency division filter. The step B specifically includes the following steps:
[0121] B1: Through the model parameters in the above steps, the frequency response transfer function of the system containing thermal power and distributed energy storage is obtained, and the system frequency response characteristics are analyzed.
[0122] The frequency response transfer function H(s) of the system containing thermal power and distributed energy storage is:
[0123]
[0124] Where Δf(s) is the system frequency deviation, ΔP D (s) is the system load disturbance deviation.
[0125] like Figure 3 As shown, the Bode diagrams of the system frequency response transfer function in the following two cases are analyzed respectively:
[0126] (1) H1(s): Only traditional thermal power units participate in the primary frequency regulation of the system;
[0127] (2) H2(s): Only distributed energy storage participates in the primary frequency regulation of the system.
[0128] Calculate the boundary frequency value f at the intersection of the amplitude-frequency curves of H1(s) and H2(s) d When the load fluctuation frequency in the system is higher than f d When only distributed energy storage participates in the system primary frequency regulation, the gain Δf(s) / ΔP D (s) is smaller, indicating that the system frequency adjustment capability in this frequency band is stronger. d It can be used as the crossover critical parameter of the following crossover filter.
[0129] B2: Design the frequency division filter through the decomposition algorithm of multi-scale morphological filter.
[0130] Assume the input signal is x(n), n∈{0,1,…,N-1}; the structure element is γ(m), m∈{0,1,…,M-1}. The functions are:
[0131]
[0132]
[0133] Where: is the dilation operator; Θ is the erosion operator.
[0134] The specific operation processes of opening and closing operations are:
[0135]
[0136]
[0137] In the formula, is the opening operator; · is the closing operator; s is the time scale.
[0138] The multi-scale morphology filter (MMF) is obtained by weighted summation of mixed morphological filters of different scales. The specific expression is:
[0139]
[0140]
[0141] Where: γ is the structural element; k is the number of time scales; is the weight value of each scale structure element, and its expression is:
[0142]
[0143] Where: is the filtering mean square error, and its expression is:
[0144]
[0145] like Figure 4 As shown, the algorithm adaptively selects structural elements at different scales to decompose the frequency signal of the primary frequency modulation feedback channel of the system frequency response model into two frequency bands, high and low.
[0146] C. Establishing a frequency regulation consumption model of energy storage and determining relevant constraints in the frequency regulation process. Step C specifically includes the following steps:
[0147] C1: Defines the frequency regulation consumption of energy storage.
[0148] Referring to the concept of output consumption cost in the economic dispatch of traditional generator sets, the concept of frequency regulation cost function (frequency regulation consumption) is introduced, and its minimum is taken as the goal of system frequency regulation control.
[0149] Frequency regulation cost function (frequency regulation consumption) of energy storage i at time t for:
[0150]
[0151]
[0152] Where P i,t is the real-time power of energy storage i; E i,t is the real-time remaining capacity of energy storage i at t and Δt is the frequency regulation control period.
[0153] The frequency modulation consumption can be further Written as the charge and discharge power P i,t The quadratic function of :
[0154]
[0155] The specific expression of the above coefficients is:
[0156]
[0157]
[0158]
[0159] Step C2: Determine the frequency regulation capability range constraints of energy storage.
[0160] The energy storage frequency regulation capability range constraints include energy storage real-time remaining capacity constraints, frequency regulation power reserve constraints, and ramp rate constraints, as follows:
[0161]
[0162] Under the above range constraints, the upper and lower limits of energy storage charging and discharging power are for:
[0163]
[0164] D. Optimize and distribute the frequency modulation output of the distributed energy storage to complete the primary frequency modulation control strategy of the distributed energy storage. The step D specifically includes the following steps:
[0165] D1: The frequency signal is divided into two frequency bands, high and low, through a multi-scale morphological filter, where the low-frequency signal Δf low The high-frequency signal Δf high Several distributed energy storage systems are responsible for determining the output demand of primary frequency regulation at time t. for:
[0166]
[0167] In order to obtain the best primary frequency regulation output allocation plan at time t, the total frequency regulation consumption Z t Minimum is the objective function, and a mathematical optimization model is established:
[0168]
[0169] D2: Define the consistency variable of distributed energy storage and convert the optimization problem of the best primary frequency regulation output allocation scheme into the optimization problem of the consistency of marginal cost of frequency regulation consumption.
[0170] The partial derivative of the frequency regulation consumption of energy storage to the frequency regulation output (frequency regulation marginal cost) is defined as the consistency variable λ. The consistency variables of each distributed energy storage are:
[0171]
[0172] The optimization problem of formula (16) is transformed into the optimization problem shown in formula (18):
[0173]
[0174] D3: Discretize the optimization problem and optimize the frequency modulation output of distributed energy storage through a discrete distributed consensus algorithm.
[0175] like Figure 5 As shown, the energy storage frequency regulation output allocation method based on the consistency algorithm is as follows:
[0176] 1) First, initialize each variable. Initialize the initial output of each energy storage. The initial allocation to each distributed energy storage is as follows:
[0177]
[0178] In the formula, is the initial frequency modulation output of each energy storage, ρ i It is the initial distribution ratio of FM signal.
[0179] Initialize the consistency variables of each energy storage:
[0180]
[0181] In the formula, is the initial consistency variable of each energy storage.
[0182] This step requires setting the key frequency regulation power as the agent of the consistency algorithm, that is, the energy storage connected to the control center in the regional power grid. At the key energy storage, the initial frequency regulation output and the initial value of the consistency variable of each energy storage are calculated, and then the initial value signal is distributed to all energy storages through the bidirectional transmission of signals between adjacent energy storages.
[0183] 2) Optimize and calculate the frequency regulation output allocation plan of each energy storage at time t, which is divided into four steps (1) to (4), as follows:
[0184] (1) Determine the consistency of adjacent energy storage: Each distributed energy storage obtains the consistency variable λ of the adjacent energy storage through the communication network t And determine whether it is consistent with its own consistency variables.
[0185] The conditions for approximate consistency are:
[0186]
[0187] In the formula, k is the number of iterations, It means that the energy storage m is adjacent to the power source n and they are in communication.
[0188] Each distributed energy storage obtains the consistency variable λ of the adjacent energy storage through the communication network t And judge whether it is consistent with its own consistency variable. If the above consistency conditions are met, jump to step (4), otherwise continue.
[0189] (2) Iteration consistency variable: To make the consistency variable λ of energy storage n n,t It is approximately consistent with the adjacent power source. It is necessary to adjust the frequency modulation output of the energy storage, which is divided into four small steps ① to ④. The iterative calculation method is as follows:
[0190] ① Calculate the virtual consistency variable of energy storage n The consistency variable for the (k-1)th iteration and power constraints, specifically:
[0191]
[0192] Where τ1 and τ2 are the correction ratios. The first part of the correction is to convert the consistency variable of the (k-1)th iteration of energy storage n to Respectively with the adjacent power supply The difference is calculated and accumulated; the second part of the correction is the correction of the power constraint. This is to ensure that the frequency modulation scheme always meets the basic requirements of control.
[0193] ② Calculate the consistency variable by Constraints are imposed to define the correction value of the consistency variable to ensure convergence of the iterative process.
[0194]
[0195] ③Calculate theoretical power With virtual power The theoretical power According to the definition of consistency variables:
[0196]
[0197] Theoretical power Correction to obtain virtual power for:
[0198]
[0199] Where τ3 is the correction ratio.
[0200] ④Calculate the FM power allocation value The power allocation result of energy storage n in the kth iteration is:
[0201]
[0202] (3) Determine whether the maximum number of iterations is exceeded: If it is within the maximum number of iterations specified by the frequency modulation control operation, that is, within the frequency modulation period Δt, return to step (1); otherwise, proceed to the next step.
[0203] (4) The frequency modulation power allocation value of each energy storage obtained in the last iteration is used as the frequency modulation output.
[0204] Then the primary frequency regulation control strategy of distributed energy storage is completed.
[0205] by Figure 6 Taking the modified 3-machine 9-node power system shown in the figure as an example, a 3-machine 9-node power system including wind, solar, thermal power and grid-side distributed energy storage power station is built in the MATLAB / Simulink environment. The grid load disturbance data is as follows Figure 7 shown.
[0206] like Figure 8 As shown, compared with the traditional method of fixedly setting the primary frequency regulation responsibility of energy storage, when the distributed energy storage primary frequency regulation control strategy of the present invention is adopted, the frequency fluctuation of the system is significantly reduced.
[0207] like Fig. 9 As shown in the figure, the frequency signal can be quickly and reasonably divided into two frequency bands, high and low, after passing through the multi-scale morphological filter. The low-frequency signal is handled by the thermal power unit, which can effectively reduce the mechanical wear of the thermal power unit and reduce the frequency regulation burden of the thermal power unit; the high-frequency signal is handled by the distributed energy storage cluster, giving full play to the rapid frequency regulation capability of energy storage.
[0208] In order to facilitate observation and analysis, representative energy storage of each type was selected, namely power energy storage S1 (supercapacitor), hybrid energy storage S5 (lithium battery pack), and capacity energy storage S9 (lead battery pack). The frequency modulation output curves and remaining capacity ratio curves of the three energy storages are shown as follows: Fig.10 , Fig.11 shown.
[0209] Depend on Fig.10 It can be seen that the power-type energy storage S1 can quickly respond to the frequency modulation signal in the early stage of frequency modulation, and play the characteristics of fast climbing, but due to its small capacity, the output gradually decreases; the capacity-type energy storage S9 has a slow response speed in the early stage of frequency modulation due to its slow climbing, but its capacity is large and can maintain high power output; the frequency modulation response characteristics of the hybrid energy storage S5 are between the power-type energy storage and the capacity-type energy storage. It can be seen that the primary frequency modulation control method of distributed energy storage in this paper can reasonably arrange the frequency modulation output of each energy storage according to the frequency modulation characteristics of each energy storage, give play to their respective advantages, and improve the overall frequency modulation capability of the system.
[0210] Depend on Fig.11It can be seen that the remaining capacity ratio of each energy storage is within the specified range. Since the set primary frequency regulation consumption is positively correlated with the remaining capacity deviation of the energy storage, the control method in this paper can effectively avoid overcharging and over-discharging of a single energy storage and avoid exceeding the limit of energy storage capacity, so that each energy storage is in a "shallow charging and shallow discharging" state, thereby extending the charging and discharging life of the energy storage.
[0211] In order to prove the advantage of the distributed consensus algorithm of the present invention in terms of optimization speed, the quadratic programming QP method and the multiple objectives with particle swarm optimization (MOPSO) optimization algorithm are selected to compare the characteristics of the centralized control method and the distributed consistency control method of the present invention in terms of optimization speed and accuracy. The specific simulation comparison data are shown in Table 1.
[0212] Table 1 Comparison between distributed algorithms and centralized control methods
[0213]
[0214]
[0215] Compared with the QP and MOPSO methods that use centralized control methods, the distributed consensus algorithm used in the present invention has greater advantages in both single average optimization time and single maximum optimization time. Although the average tracking error is greater than the former, it is within a controllable range. When the maximum number of iterations of the consistency algorithm increases from 80 to 120, the average tracking error decreases, but the optimization time also increases. Therefore, this paper selects 100 as the maximum number of iterations; when the connectivity of the energy storage communication topology is increased from 2 to 6, the optimization time and tracking error are reduced. This is because the increase in connectivity improves the communication connection between energy storages and accelerates the convergence of optimization iterations, but it increases the communication cost.
[0216] The centralized control method is centered on the control center, which needs to maintain two-way communication with each energy storage. When the geographical distance between the control center and the distributed energy storage is too far, the communication delay is considerable and the communication cost is high. The distributed consistency algorithm in this article distributes the computational burden of the centralized control method to each energy storage, thereby alleviating the computational pressure of the control center and better adapting to the development trend of increasing types and increasing numbers of distributed energy storage on the grid side in the future.
[0217] The present invention has the following advantages and beneficial effects: 1. Reasonably distribute the frequency modulation output of each energy storage, avoid excessive use of a single energy storage, give full play to the frequency modulation potential of each energy storage, reduce mechanical wear of thermal power plants, and improve the overall frequency modulation capability of the system. 2. The distributed consistency algorithm in this article distributes the computational burden of the centralized control method to each frequency modulation resource, thereby alleviating the computational pressure of the control center and better adapting to the development trend of increasing types and increasing numbers of distributed frequency modulation resources on the grid side in the future. The control method of the present invention can provide certain guidance for the primary frequency modulation control of multi-form distributed energy storage under high new energy penetration efficiency.
[0218] The above description is only a specific implementation mode of the present invention, but the protection scope of the present invention is not limited thereto. Any changes or substitutions that can be easily thought of by technicians in this technical field within the technical scope disclosed by the present invention should be covered by the protection scope of the present invention.
Claims
1. A multi-modal distributed energy storage primary frequency modulation control method based on a consistency algorithm, characterized by: The steps include: A. Establish a frequency regulation model for multi-form distributed energy storage and a frequency regulation model for thermal power units, and then construct a frequency regulation model for the power system including thermal power units and distributed energy storage on the grid side; B. Analyze the frequency response characteristics of the power system containing thermal power units and distributed energy storage on the grid side, and design a multi-scale morphological frequency division filter, which is used to decompose the frequency signal into two frequency bands, high and low; C. Establish a frequency regulation consumption model for energy storage and determine the frequency regulation capacity range constraints during the frequency regulation process. The frequency regulation capacity range constraints include real-time remaining capacity constraints for energy storage, frequency regulation power reserve constraints, and ramp rate constraints; D. Optimize the allocation of the frequency modulation output of the distributed energy storage according to the multi-scale morphological frequency division filter designed in step B and the frequency modulation consumption model of the energy storage established in step C, and complete the primary frequency modulation control strategy of the distributed energy storage; The step A specifically comprises: Step A1: According to the frequency modulation characteristics of each energy storage, the key frequency modulation coefficients of each type of energy storage are obtained through parameter identification, and a frequency modulation model of multi-form distributed energy storage is established. The parameters identified in the parameter identification include: the time constant T that describes the energy storage delay characteristics S ; Droop coefficient r; Real-time power weight coefficient of energy storage α s ; Energy storage remaining capacity weight coefficient β s ; Energy storage charge and discharge efficiency η c , η d ; Rated energy storage capacity E rated ; Maximum and minimum limits on available energy storage capacity E i ; Maximum and minimum limits of energy storage frequency regulation output P i ; Maximum and minimum limits of energy storage ramp rate R i ; Step A2: Based on the historical data of the thermal power unit, the key frequency regulation coefficient of the unit is obtained through parameter identification, and the frequency regulation model of the thermal power unit is established. The parameters identified in the parameter identification include: the unit feedback time constant T s0 , T s1 ; Unit adjustment coefficient R; Valve characteristic curve model; High pressure steam chamber steam volume time constant T CH ; Reheat steam volume time constant T RH ; High pressure cylinder power coefficient F HP ; Low pressure cylinder power coefficient F LP ; Step A3: Based on the frequency regulation key coefficients of various types of energy storage and the frequency regulation key coefficients of thermal power units obtained in the above steps A1 and A2, a joint frequency regulation model including thermal power and distributed energy storage is established. The model parameters also include the generator-grid equivalent inertia coefficient M s ; System damping coefficient D s ; FM coefficient β; FM participation α; FM ratio parameter K P ; Frequency modulation integral parameter K I ; Through the above steps, the frequency regulation system modeling containing thermal power-distributed energy storage is completed, and the frequency regulation model of the power system containing thermal power units and distributed energy storage on the grid side is constructed; The step B specifically comprises the following steps: Step B1: Obtain the frequency response transfer function of the power system containing thermal power and distributed energy storage through the model parameters obtained in step A, and analyze the frequency response characteristics of the system, where The frequency response transfer function H(s) of the system containing thermal power and distributed energy storage is: Where Δf(s) is the system frequency deviation, ΔP D (s) is the system load disturbance deviation; Analyze the Bode plots of the system frequency response transfer function in the following two cases respectively: (1) H1(s): Only traditional thermal power units participate in the primary frequency regulation of the system; (2) H2(s): only distributed energy storage participates in the primary frequency regulation of the system; Calculate the boundary frequency value f at the intersection of the amplitude-frequency curves of H1(s) and H2(s) d , when the load fluctuation frequency in the system is higher than f d When only distributed energy storage participates in the system primary frequency regulation, the gain Δf(s) / ΔP D (s) is smaller, indicating that the system frequency adjustment capability in this frequency band is stronger, thus the boundary frequency value f d Can be used as crossover filter The crossover critical parameters; Step B2: Design the frequency division filter through the decomposition algorithm of the multi-scale morphological filter: Assume that the input signal is x(n), n∈{0,1,…,N-1}; the structural element is γ(m), m∈{0,1,…,M-1}, and the expansion and erosion operations of the function are: (xΘγ)(n)=min[x(n+m)-γ(m)] (3) Where: is the expansion operator; Θ is the corrosion operator; The specific operation processes of opening and closing operations are: In the formula, is the opening operator; · is the closing operator; s is the time scale; The multi-scale morphology filter (MMF) is obtained by weighted summation of mixed morphological filters of different scales. The specific expression is: Where: γ is the structural element; k is the number of time scales; is the weight value of each scale structure element, and its expression is: Where: is the filtering mean square error, and its expression is: The algorithm adaptively selects structural elements at different scales, and the demarcation frequency value f calculated in step B1 is d Decompose the frequency signal of the primary frequency modulation feedback channel of the system frequency response model into two frequency bands, high and low; The step C of establishing the frequency regulation consumption model of energy storage specifically includes: Define the frequency regulation consumption of energy storage: Referring to the concept of output consumption cost in the economic dispatch of traditional generator sets, the concept of frequency regulation cost function is introduced, and its minimum value is taken as the goal of system frequency regulation control. Frequency regulation cost function of energy storage i at time t for: Where P i,t is the real-time power of energy storage i; E i,t is the real-time remaining capacity of energy storage i at t, Δt is the frequency regulation control period; Frequency modulation consumption Written as the charge and discharge power P i,t The quadratic function of , that is, the frequency regulation consumption model of the energy storage is established: The coefficient a in formula (11) i 、b i,t 、c i,t The specific expression is: The step D specifically comprises the following steps: D1: The frequency signal is divided into two frequency bands, high and low, through a morphological filter, where the low-frequency signal Δf low The high-frequency signal Δf high Several distributed energy storage systems are responsible for determining the output demand of primary frequency regulation at time t. for: In order to obtain the best primary frequency regulation output allocation plan at time t, the total frequency regulation consumption Z t Minimum is the objective function, and a mathematical optimization model is established: Step D2: Define the consistency variable of distributed energy storage and convert the optimization problem of the best primary frequency regulation output allocation scheme into the optimization problem of the consistency of marginal cost of frequency regulation consumption: Define the partial derivative of the frequency regulation consumption of energy storage to the frequency regulation output, that is, the marginal cost of frequency regulation, as the consistency variable λ. The consistency variables of each distributed energy storage are: The optimization problem of formula (16) is transformed into the optimization problem shown in formula (18): Step D3: Discretize the optimization problem and optimize the frequency modulation output of distributed energy storage through a discrete distributed consensus algorithm.
2. The multi-modal distributed energy storage primary frequency modulation control method based on the consistency algorithm as claimed in claim 1, characterized in that: The energy storage frequency regulation capability range constraints in step C include energy storage real-time remaining capacity constraints, frequency regulation power reserve constraints, and ramp rate constraints, which are as follows: Under the above range constraints, the upper and lower limits of energy storage charging and discharging power are for:
3. The multi-modal distributed energy storage primary frequency modulation control method based on a consistency algorithm as claimed in claim 1, characterized in that: In step D3, the frequency modulation output of the distributed energy storage is optimized and allocated by using a discrete distributed consensus algorithm. The specific process is as follows: 1) First, initialize each variable and the initial output of each energy storage. The initial allocation to each distributed energy storage is as follows: In the formula, is the initial frequency modulation output of each energy storage, ρ i is the initial distribution ratio of the FM signal, Initialize the consistency variables of each energy storage: In the formula, is the initial consistency variable of each energy storage; 2) Optimize and calculate the frequency regulation output allocation plan of each energy storage at time t, which is divided into four steps (1) to (4), as follows: (1) Determine the consistency of adjacent energy storage: Each distributed energy storage obtains the consistency variable λ of the adjacent energy storage through the communication network t And judge whether it is consistent with its own consistency variable, The conditions for approximate consistency are: In the formula, k is the number of iterations, It means that the energy storage m is adjacent to the power source n and they are in communication; Each distributed energy storage obtains the consistency variable λ of the adjacent energy storage through the communication network t And determine whether it is consistent with its own consistency variable. If the above consistency conditions are met, jump to step (4), otherwise continue; (2) Iteration consistency variable: To make the consistency variable λ of energy storage n n,t It is approximately consistent with the adjacent power source. It is necessary to adjust the frequency modulation output of the energy storage, which is divided into four small steps ① to ④. The iterative calculation method is as follows: ① Calculate the virtual consistency variable of energy storage n The consistency variable for the (k-1)th iteration and power constraints, specifically: Where τ1 and τ2 are the correction ratios. The first part of the correction is to convert the consistency variable of the (k-1)th iteration of energy storage n to Respectively with the adjacent power supply The difference is calculated and accumulated; the second part of the correction is the correction of the power constraint; ② Calculate the consistency variable by Constraints are imposed to define the correction value of the consistency variable to ensure convergence of the iterative process: ③Calculate theoretical power With virtual power The theoretical power According to the definition of consistency variables: Theoretical power Corrected virtual power for: In the formula, τ3 is the correction ratio; ④Calculate the FM power allocation value The power allocation result of energy storage n in the kth iteration is: (3) Determine whether the maximum number of iterations is exceeded: If it is within the maximum number of iterations specified by the frequency modulation control operation, that is, within the frequency modulation period Δt, return to step (1); otherwise, proceed to the next step; (4) The frequency modulation power allocation value of each energy storage obtained in the last iteration is used as the frequency modulation output; Then the primary frequency regulation control strategy of distributed energy storage is completed.
