Power System Dynamic Simulation Method Based on Coiflet Wavelet Multi-step Method
Through the power system dynamic simulation method based on the Coiflet wavelet multi-step method, the problem that traditional simulation algorithms cannot meet the complexity and multi-scale characteristics of the power system is solved, and high-precision and high-efficiency simulation solutions are achieved, which is suitable for new energy power systems. Dynamic simulation.
Patent Information
- Application Number
- CN202410980513.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-07-22
- Publication Date
- 2024-09-24
- Estimated Expiration
- 2044-07-22
AI Technical Summary
Traditional simulation algorithms cannot meet the simulation accuracy and efficiency requirements of the complex oscillation modes, nonlinear and multi-scale characteristics of the power system containing a high proportion of new energy in the current power grid when it is disturbed.
A power system dynamic simulation method based on the Coiflet wavelet multi-step method is used to establish a multi-scale nonlinear differential algebraic equation model through the DQ unified frequency transformation method. It combines the Coiflet wavelet multi-step solution format and the adaptive variable order and step strategy to achieve high accuracy. and efficient simulation solutions.
It achieves multi-scale approximation of the nonlinear power system with inverter power supply, improves the simulation accuracy, and obtains suitable simulation accuracy and speed by designing the vanishing moment and wavelet expansion layers, surpassing the 4th-order Runge-Kutta method and Efficiency of implicit trapezoidal method and multi-step Taylor series method.
Smart Images

Figure CN118551577B
Abstract
Description
Technical Field
[0001] The invention relates to the technical field of dynamic simulation methods, and in particular to a power system dynamic simulation method based on Coiflet wavelet multi-step method. Background Art
[0002] In recent years, the power system has been developing continuously, accompanied by the large-scale grid connection of new energy and the widespread application of power electronic devices, and its internal complexity and coupling characteristics have been continuously improved. In addition, in order to make up for the lack of inertia in the new power system, virtual synchronous machine technology has been widely used, while introducing more complex oscillation characteristics. Therefore, compared with traditional power systems, power systems containing inverter power sources such as high-proportion new energy sources have more complex oscillation modes when disturbed, and the characteristics of large-scale, nonlinear, and multi-scale are more obvious. Traditional simulation algorithms can no longer meet the current requirements of power grid simulation accuracy and efficiency. Summary of the invention
[0003] The purpose of the present invention is to provide a power system dynamic simulation method based on the Coiflet wavelet multi-step method, which is intended to deal with the nonlinear problems of a power system containing an inverter power supply, accurately reflect its multi-scale characteristics, and realize a power system dynamic simulation with both high precision and high efficiency.
[0004] To achieve the above object, the present invention provides a method for dynamic simulation of a power system based on Coiflet wavelet multi-step method, comprising the following steps:
[0005] S1: Based on the DQ unified frequency conversion method, a multi-scale nonlinear differential algebraic equation model of the power system with inverter power supply is established;
[0006] S2: Establish differential algebraic equations of power system with inverter based on Coiflet wavelet multi-step solution format;
[0007] S3: An explicit variant of the Coiflet wavelet series approximation format is used as an estimation formula to calculate and obtain an estimated value, and the estimated value is corrected by solving the differential algebraic equation of the power system containing the inverter power supply based on the Coiflet wavelet multi-step solution format;
[0008] S4: In the estimation and correction process, based on the adaptive variable order and variable step size strategy, the Coiflet wavelet multi-step simulation model of the multi-scale nonlinear power system with inverter power supply in S3 is efficiently simulated and solved.
[0009] Preferably, in step S1, the specific steps of establishing a multi-scale nonlinear differential algebraic equation model of an inverter-based power system are as follows:
[0010] The DQ state space models of the inverter power supply, converter control system, transmission network and generator at their respective reference frequencies are established respectively, and the state space model of the power system containing the inverter power supply based on the unified frequency reference coordinate is formed through the DQ unified frequency transformation method:
[0011]
[0012] Among them, the state variable x(t) = [x inv x con x net x G ] T , are the state variables of the inverter power supply, converter control system, transmission network, and generator respectively; algebraic variable y(t) = [y inv y con y net y G ] T , are the algebraic variables of the inverter power supply, converter control system, transmission network and generator respectively; f is the nonlinear differential equation of the power system containing the inverter power supply; g is the nonlinear algebraic equation of the power system containing the inverter power supply.
[0013] Preferably, in step S2, the steps of establishing the differential algebraic equation of the power system containing the inverter power supply based on the Coiflet wavelet multi-step solution format are as follows:
[0014] S21: Set the vanishing moment γ and the first-order moment A1 of the Coiflet wavelet, solve equations (2)-(5), and obtain the wavelet low-pass filter coefficients:
[0015]
[0016]
[0017] Among them, α n is the low-pass filter coefficient, δ is the Kronecker symbol;
[0018] S22: Low-pass filter coefficient α obtained by solving S21 n , solve the dual-scaling equation and obtain the Coiflet wavelet scaling function
[0019]
[0020] S23: For the state space model of the power system with inverter power supply described in S1 (Formula (1)), Coiflet wavelet multi-scale series approximation is performed on the time variable (including state variable x(t) and algebraic variable y(t)) to form the Coiflet wavelet approximation format of the time variable:
[0021]
[0022] Among them, j is the number of wavelet expansion layers;
[0023] Then, for the Coiflet wavelet approximation format of the time variables x(t) and y(t), the Taylor series is used to extend the Coiflet wavelet approximation subinterval at the right boundary b to obtain the extended approximation format:
[0024]
[0025] Among them, β = 3γ-2-A1, F is the numerical derivative coefficient under Taylor series expansion, which can be solved by formula (11):
[0026]
[0027] S24: Based on the extended approximation format described in S23 and Substitution And solve the subinterval [t i ,t i+1 ] to construct the Coiflet wavelet multi-step solution format:
[0028]
[0029] Where h = 1 / 2 j , for The integral function of L = 3γ is the length of the wavelet compact support interval. Setting a higher γ can increase the truncation error order of the Coiflet wavelet multi-step solution format.
[0030] S25: Apply equation (12) in equation (1) to establish the differential algebraic equation of the power system containing inverter power supply based on Coiflet wavelet multi-step solution format:
[0031]
[0032] Preferably, in step S3, an explicit variant of the Coiflet wavelet series approximation format is used as an estimation formula to calculate and obtain an estimated value, and the estimated value is corrected by a differential algebraic equation of a power system containing an inverter power supply based on a Coiflet wavelet multi-step solution format, and the steps are as follows:
[0033] The explicit variants of formulas (7) and (8) in S23 are used as the Coiflet wavelet estimation solution format:
[0034]
[0035] Use the formula described in S24 to make corrections, and convert the estimated Substituting the known quantity into the right side of equation (12) forms an explicit solution format:
[0036]
[0037] Combining the Coiflet wavelet prediction and correction solution format with equation (13), and extracting algebraic variables from the algebraic equation g to the left side of the equation for iterative correction, the differential algebraic equation of the power system containing the inverter power supply based on the Coiflet wavelet prediction and correction solution format is obtained:
[0038]
[0039] Where k is the number of iterations, x(t i+1 ), y(t i+1 ) is repeatedly substituted into the right side of formula (17) for iterative correction. The difference between the order of the truncated error of the estimation and correction formulas is used as the number of iterative corrections. This can improve the accuracy to the same level as the differential algebraic equation of the power system containing the inverter power supply described in formula (13).
[0040] Preferably, in step S4, the steps of efficiently simulating and solving the Coiflet wavelet multi-step simulation model of the multi-scale nonlinear power system containing inverter power supply by using an adaptive variable order variable step size strategy based on the estimation correction format are as follows:
[0041] Construct the implementation algorithm of Coiflet wavelet multi-step solution format under different vanishing moments, take the highest order and minimum step length Coiflet wavelet multi-step solution format implementation algorithm, and solve the state space model of power system containing inverter power supply;
[0042] Considering that the truncation errors of the estimated formula and the corrected formula are different, the estimated formula is of r order, the corrected formula is of R order, and the number of correction iterations is k times (r+k≤R), the difference δ between the exact solution and the corrected numerical solution can be approximately expressed by the difference between the estimated numerical solution and the corrected numerical solution:
[0043] δ(t)=X(t)-x2(t)≈x1(t)-x2(t) (18)
[0044] Among them: X(t) is the exact solution, x1(t) is the estimated numerical solution, and x2(t) is the corrected numerical solution;
[0045] Set the simulation accuracy threshold to [ε1,ε2], and at the current time step t i Based on i+1 The estimated value x1(t i+1 ) and the correction value x2(ti+1 ), calculate the difference δ between the two, and consider the following strategies:
[0046] S41, when the error δ<ε1, the truncation error order of the Coiflet wavelet multi-step solution format is reduced by one and the simulation is continued; when ε1<δ<ε2, the current algorithm is maintained; when the next error δ<ε1, the number of Coiflet wavelet layers is reduced by one and the simulation is continued, and the truncation error order and the number of wavelet layers are alternately reduced in the subsequent steps;
[0047] S42, when δ>ε2, the truncation error order of the Coiflet wavelet multi-step solution format is increased by one and the simulation is continued; when ε1<δ<ε2, the current algorithm is maintained; when δ<ε1, the truncation error order of the Coiflet wavelet multi-step solution format is reduced by one and the simulation is continued, and the strategy S41 is entered.
[0048] Therefore, the present invention adopts a power system dynamic simulation method based on the Coiflet wavelet multi-step method of the above structure, which has the following beneficial effects:
[0049] (1) The Coiflet wavelet multi-step method in the present invention can achieve multi-scale approximation and is insensitive to the nonlinearity of the power system. By designing different vanishing moments and wavelet expansion layers and using boundary extension, suitable simulation accuracy can be obtained according to the different scales of broadband oscillations, thereby meeting the simulation accuracy requirements of nonlinear power systems containing inverter power supplies.
[0050] (2) The coefficients of the Coiflet wavelet scaling function in the present invention are simple to solve. By using the designed prediction correction format and adopting an adaptive simulation strategy, the Coiflet wavelet multi-step method can achieve a faster simulation speed than the 4th-order Runge-Kutta method, the implicit trapezoidal method and the multi-step Taylor series method, thereby improving the simulation efficiency of large-scale systems.
[0051] The technical solution of the present invention is further described in detail below through the accompanying drawings and embodiments. BRIEF DESCRIPTION OF THE DRAWINGS
[0052] Figure 1 It is a schematic flow chart of the method for dynamic simulation of power system based on Coiflet wavelet multi-step method according to the present invention;
[0053] Figure 2 This is a control structure block diagram of a grid-type power system including an inverter power supply according to an embodiment of the present invention;
[0054] Figure 3 This is a control structure block diagram of a single-machine infinite inverter-containing power system according to an embodiment of the present invention;
[0055] Figure 4The simulation result of the q-axis current of the filter of the single-machine infinite inverter power system according to the embodiment of the present invention based on the Coiflet wavelet multi-step method is shown in FIG.
[0056] Figure 5 It is an error diagram of the q-axis current of the filter of the single-machine infinite inverter-containing power system according to an embodiment of the present invention based on the Coiflet wavelet multi-step method;
[0057] Figure 6 The simulation result diagram of the q-axis current of the filter of the single-machine infinite inverter power system according to the embodiment of the present invention based on four traditional simulation algorithms;
[0058] Figure 7 The implicit trapezoidal method error diagram of the q-axis current of the filter of the single-machine infinite inverter power system according to the embodiment of the present invention based on four traditional simulation algorithms;
[0059] Figure 8 It is a fourth-order Runge-Kutta method error diagram of the q-axis current of the single-machine infinite inverter-containing power system filter based on four traditional simulation algorithms according to the embodiment of the present invention;
[0060] Fig. 9 This is an error distribution diagram of the q-axis current of a filter in a single-machine infinite inverter-containing power system according to an embodiment of the present invention based on the Coiflet wavelet multi-step method with different expansion layers and vanishing moments;
[0061] Fig.10 This is a power system diagram of a real power grid including four inverter power supplies according to an embodiment of the present invention;
[0062] Fig.11 It is a simulation result diagram of the q-axis voltage of the No. 4 virtual synchronous machine filter in the four-machine system according to the embodiment of the present invention based on four different simulation algorithms;
[0063] Fig.12 This is a simulation error distribution diagram of the q-axis voltage of the No. 4 virtual synchronous machine filter in the four-machine system according to an embodiment of the present invention based on the implicit trapezoidal method and the Coiflet wavelet multi-step method with different vanishing moments. DETAILED DESCRIPTION
[0064] The technical solution of the present invention is further described below through the accompanying drawings and embodiments.
[0065] Unless otherwise defined, the technical terms or scientific terms used in the present invention should be understood by people with ordinary skills in the field to which the present invention belongs. The words "first", "second" and similar words used in the present invention do not indicate any order, quantity or importance, but are only used to distinguish different components. "Include" or "comprise" and similar words mean that the elements or objects appearing before the word include the elements or objects listed after the word and their equivalents, without excluding other elements or objects. "Connect" or "connected" and similar words are not limited to physical or mechanical connections, but may include electrical connections, whether direct or indirect. "Up", "down", "left", "right" and the like are only used to indicate relative positional relationships. When the absolute position of the described object changes, the relative positional relationship may also change accordingly.
[0066] Example
[0067] like Figure 1 As shown, the present invention provides a method for dynamic simulation of a power system based on Coiflet wavelet multi-step method, comprising the following steps:
[0068] S1: Based on the DQ unified frequency conversion method, a multi-scale nonlinear differential algebraic equation model of the power system with inverter power supply is established;
[0069] The DQ state space models of the inverter power supply, converter control system, transmission network and generator at their respective reference frequencies are established respectively, and the state space model of the power system containing the inverter power supply based on the unified frequency reference coordinate is formed through the DQ unified frequency transformation method:
[0070]
[0071] Among them, the state variable x(t) = [x inv x con x net x G ] T , are state variables related to the inverter power supply, converter control system, transmission network, and generator respectively; algebraic variable y(t) = [y inv y con y net y G ] T , are respectively algebraic variables related to the inverter power supply, converter control system, transmission network, and generator; f is the nonlinear differential equation of the power system containing the inverter power supply; g is the nonlinear algebraic equation of the power system containing the inverter power supply
[0072] S2: Establish the differential algebraic equation of the power system containing the inverter power supply based on the Coiflet wavelet multi-step solution format, including the following steps:
[0073] S21: For any function Its L 2 The projection into (R) space is:
[0074]
[0075] Among them, φ j0,n (t) is the scaling function, ψ j,n (t) is the wavelet function, is the scaling function coefficient, is the wavelet function coefficient, j0 represents the resolution of this wavelet expansion.
[0076] Retaining the scale function, we get the Coiflet wavelet multi-scale approximation format:
[0077]
[0078] Among them, L j represents the orthogonal projection operator on the Coiflet wavelet scaling function space, Represents the decomposition coefficient of the Coiflet wavelet scaling function, which is a constant; Represents the scaling function of the j-th order Coiflet wavelet.
[0079] S22: Set the vanishing moment γ and the first-order moment A1 of the Coiflet wavelet, solve equations (4)-(7), and obtain the wavelet low-pass filter coefficients:
[0080]
[0081] Among them, α n is the low-pass filter coefficient, and δ is the Kronecker symbol.
[0082] According to the low-pass filter coefficient α obtained by solving n , solve the dual-scaling equation and obtain the Coiflet wavelet scaling function
[0083]
[0084] S23: For the state space model of the power system with inverter power supply described in S1 (Formula (1)), Coiflet wavelet multi-scale series approximation is performed on the time variable (including state variable x(t) and algebraic variable y(t)) to form the Coiflet wavelet approximation format of the time variable:
[0085]
[0086]
[0087] Among them, j is the number of wavelet expansion layers. The approximation error is:
[0088] ||x(t)-L j x(t)||=||y(t)-L j y(t)||=O(2 -jγ ) (11)
[0089] Unknown system function In the interval [t i ,t i+1 ]Integrate with step size h:
[0090]
[0091] Approximate f(τ,x(τ),y(τ)) by Coiflet wavelet, and let n1=n+A1, step size h=1 / 2 j , the projection of f(τ,x(τ),y(τ)) in wavelet space is:
[0092]
[0093] Put formula (13) in [t i ,t i+1 ], we can get:
[0094]
[0095] in, is the integral function of the Coiflet wavelet scaling function.
[0096] Combining equation (12) and equation (14), we can get:
[0097]
[0098] Where, m = i-n1, L = 3γ is the length of the wavelet compact support interval. So far, by constructing the Coiflet wavelet function with A1 = 1, the iterative format of the implicit multi-step method can be obtained:
[0099]
[0100] For the Coiflet wavelet approximation format of time variables x(t) and y(t), Taylor series is used to extend the Coiflet wavelet approximation subinterval at the right boundary b to obtain the extended approximation format:
[0101]
[0102] Among them, β = 3γ-2-A1, F is the numerical derivative coefficient under Taylor series expansion, which can be solved by formula (19):
[0103]
[0104] S24: Based on the extended approximation format and Substitution And solve the subinterval [t i ,t i+1 ] to construct the Coiflet wavelet multi-step solution format:
[0105]
[0106] Where h = 1 / 2 j , for The integral function of L = 3γ is the length of the wavelet compact support interval. Setting a higher γ can increase the truncation error order of the Coiflet wavelet multi-step solution format.
[0107] S25: Apply equation (20) in equation (1) to establish the differential algebraic equation of the power system containing inverter power supply based on Coiflet wavelet multi-step solution format:
[0108]
[0109] S3: An explicit variant of the Coiflet wavelet series approximation format is used as an estimation formula to calculate the estimated value, and the estimated value is corrected by the differential algebraic equation of the power system containing the inverter power supply based on the Coiflet wavelet multi-step solution format. The steps are as follows:
[0110] The explicit variants of formulas (9) and (10) in S23 are used as the Coiflet wavelet estimation solution format:
[0111]
[0112] Use the formula described in S24 to make corrections, and convert the estimated Substituting the known quantity into the right side of equation (20) forms an explicit solution format:
[0113]
[0114] Combining the Coiflet wavelet prediction and correction solution format with equation (21), and extracting algebraic variables from the algebraic equation g to the left side of the equation for iterative correction, the differential algebraic equation of the power system containing the inverter power supply based on the Coiflet wavelet prediction and correction solution format is obtained:
[0115]
[0116] Where k is the number of iterations. i+1 ), y(t i+1 ) is repeatedly substituted into the right side of formula (25) for iterative correction. The difference between the order of the truncated error of the estimation and correction formulas is used as the number of iterative corrections. This can improve the accuracy to the same level as the differential algebraic equation of the power system containing the inverter power supply described in formula (20).
[0117] S4: In the process of estimation and correction, based on the adaptive variable order and variable step size strategy, the Coiflet wavelet multi-step simulation model of the multi-scale nonlinear power system with inverter power supply in S3 is efficiently simulated and solved. The steps are as follows:
[0118] The implementation algorithm of Coiflet wavelet multi-step solution format under different vanishing moments is constructed, and the highest order and minimum step-size Coiflet wavelet multi-step solution format is used to implement the algorithm to solve the state space model of the power system containing inverter power supply.
[0119] The difference δ between the exact solution and the corrected numerical solution is approximated by the difference between the estimated numerical solution and the corrected numerical solution. It is known that the truncation error of the estimated formula is r-order, and it is assumed that the current step is the exact solution, the exact solution of the next time step is X, and the estimated numerical solution is x1, then:
[0120] X(t)-x1(t)=C r+1 h r+1 x (r+1) (t)+O(h r+2 ) (26)
[0121] The truncation error of the correction formula is of order R. It is estimated that k correction iterations will improve the algorithm accuracy to order r+k (r+k≤R). It is also assumed that the current step is an exact solution and the numerical solution of the correction in the next time step is x2, then:
[0122] X(t)-x2(t)=C r+1+k h r+1+k x (r+1+k) (t)+O(h r+2+k ) (27)
[0123] Subtracting the above two equations, we get:
[0124]
[0125] Then we get:
[0126] δ(t)=X(t)-x2(t)=X(t)-x1(t)+x1(t)-x2(t)≈x1(t)-x2(t) (29)
[0127] Set the simulation accuracy threshold to [ε1,ε2], and at the current time step t i Based on i+1 The estimated value x1(t i+1 ) and the correction value x2(t i+1 ), calculate the difference δ between the two, and consider the following strategies:.
[0128] S41, when the error δ<ε1, the truncation error order of the Coiflet wavelet multi-step solution format is reduced by one and the simulation is continued; when ε1<δ<ε2, the current algorithm is maintained; when the next error δ<ε1, the number of Coiflet wavelet layers is reduced by one and the simulation is continued, and the truncation error order and the number of wavelet layers are alternately reduced in the subsequent steps;
[0129] S42, when δ>ε2, the truncation error order of the Coiflet wavelet multi-step solution format is increased by one and the simulation is continued; when ε1<δ<ε2, the current algorithm is maintained; when δ<ε1, the truncation error order of the Coiflet wavelet multi-step solution format is reduced by one and the simulation is continued, and the strategy S41 is entered.
[0130] The method adopted in this embodiment is described in detail below with reference to the accompanying drawings and specific examples.
[0131] The present invention is analyzed and explained based on a calculation example of a power system containing an inverter power supply. Figure 2 The control structure block diagram of a single-machine infinite grid-type power system with inverter power supply is given. f Inductance L f It has nonlinear characteristics. The current and voltage of the dual-loop control structure are coupled to each other, and the coupling term is -ωC f V fq ωC f V fd 、-ωL f I fq ,ωL f I fd In addition, the power loop, voltage and current loop, and filter have three different time-frequency characteristics and response speeds. The coupling between the modules is complex, and the system has strong nonlinear and multi-scale characteristics.
[0132] The advantages of the dynamic simulation algorithm based on Coiflet wavelet multi-step method proposed in this invention are verified by using the examples of single-machine and multi-machine power systems with inverter power supply. Figure 3 The control parameter settings are shown in Table 1.
[0133] Table 1 Single machine system control parameter settings
[0134]
[0135] Considering the 8th order continuous extrapolation, the accuracy of the Runge-Kutta method can reach the 9th order, which is one of the methods with the highest accuracy in existing simulation technology. The small disturbance calculation results are shown in Table 2, which shows that the system has obvious multi-scale characteristics.
[0136] Table 2 Results of small interference calculation
[0137]
[0138] The simulation results of Coiflet wavelet multi-step method and 8th order continuous extrapolation Runge-Kutta method are shown in Figure 4 As shown. Among them, the vanishing moment of the Coiflet wavelet multi-step method in this paper is 6th order, and the number of wavelet expansion layers is 12, that is, the step length is 1 / 2 12 s, the simulation time is 30.17s, and the simulation error is Figure 5 shown.
[0139] For the simulation error, Figure 5 It can be seen that the simulation results of Coiflet wavelet multi-step method are basically consistent with the reference analytical solution, and the maximum error is only about 10 -6 , and then decays rapidly, meeting the high-precision requirements of the power system for the algorithm. As for the simulation time, the simulation time of the 8th-order continuous extrapolation Runge-Kutta method is 235.96s, which is much longer than the Coiflet wavelet multi-step method. It can be seen that although it can achieve high-precision simulation, the simulation efficiency is insufficient; while the Coiflet wavelet multi-step method can shorten the simulation time by 77.8%, improving the simulation efficiency of the power system containing the inverter power supply.
[0140] Furthermore, the Coiflet wavelet multi-step method is simulated and compared with the traditional implicit trapezoidal method, implicit 4th-order Runge-Kutta method, and 3-step 8th-order Taylor series method to verify the advantages of the Coiflet wavelet multi-step method in this paper. The simulation step size is set to 1 / 2 12 s, the simulation results of the above method are as follows Figure 6 As shown, the simulation error is Figure 7 , 8 shown.
[0141] from Figure 7 , 8It can be seen that the implicit trapezoidal method has the largest error. Comparing its prony identification with the reference analytical solution, the error causes the simulation curve of the implicit trapezoidal method to have the following: ① phase shift occurs; ② numerical oscillation occurs; ③ the result of the maximum current value is conservative; ④ the steady-state operation point after disturbance is offset. The above problems show that the implicit trapezoidal method obtains incorrect simulation results and is no longer applicable. The error of the implicit 4th-order Runge-Kutta method is also obvious. Comparing its prony identification with the reference analytical solution, the simulation results show: ① phase shift occurs, and the error distribution is uneven; ② slight numerical oscillation occurs and gradually returns to stability; ③ the result of the maximum current value is conservative. Therefore, although the simulation results of the fourth-order Runge-Kutta method have a correct trend, there are still errors in the dynamic response process at the fast scale, and it cannot accurately reflect the dynamic characteristics of the multi-scale strongly nonlinear power system.
[0142] The time statistics of each simulation algorithm are shown in Table 3. It can be seen that the 3-step 8th-order Taylor series method takes the longest time, and the 2nd-order Coiflet wavelet multi-step method takes the shortest time. The implicit 4th-order Runge-Kutta method needs to calculate the right-hand function value of the second-order differential equation in each step, and both the implicit trapezoidal method and the implicit trapezoidal method need to use Newton's method to repeatedly iterate and solve the nonlinear algebraic equation in the solution process, so the simulation efficiency is low. In addition, when the step size is increased to 1 / 2 10 s, the above two methods lose their reference value due to error accumulation, and the simulation time cannot be judged. Although the 3-step 8th-order Taylor series method can achieve high-precision simulation, the multi-scale strong nonlinearity and complexity of the system make it more difficult to solve high-order derivatives, the efficiency is very low, and the simulation time is the longest, which does not meet the high efficiency requirements of power system simulation. The Coiflet wavelet multi-step method itself has a simple solution format, and because it adopts an estimated correction structure, it does not need to use Newton's method to repeatedly iterate and solve the nonlinear equations. Therefore, the simulation time is much less than the above traditional simulation algorithms, and the simulation efficiency is significantly improved under the same step size.
[0143] Table 3 Comparison of time consumption statistics of various simulation algorithms
[0144]
[0145] Next, the influence of the vanishing moment order and the number of wavelet expansion layers is analyzed. Five vanishing moment Coiflet wavelet multi-step methods are used for simulation, and the number of expansion layers is 13 to 16 respectively. The logarithmic error order -log 10 |σ(t)|, we get Fig. 9 The results are shown. It can be seen that the minimum convergence order of the Coiflet wavelet multi-step method error increases with the increase of the number of wavelet expansion layers. This is because the multi-resolution characteristics of the wavelet make its resolution 2 nAs the number of expansion layers n increases, it increases, thereby capturing more high-frequency detail information in the system dynamic process and getting closer to the original function of the system. Therefore, as the number of wavelet expansion layers increases, the simulation error of the Coiflet wavelet multi-step method gradually decreases.
[0146] The multi-machine example is based on the development background of a new power system in which a high proportion of new energy replaces traditional thermal power units. Inverter power is integrated into an actual power grid. The system diagram is as follows Fig.10 As shown in the control structure diagram Figure 2 The control parameter settings are shown in Table 4.
[0147] Table 4 Multi-machine system control parameter settings
[0148]
[0149]
[0150] Based on this multi-machine model, the Coiflet wavelet multi-step method is simulated and solved with the traditional implicit trapezoidal method and implicit fourth-order Runge-Kutta method, and the results are compared. The simulation time is set to 2 seconds, and the power is set to fluctuate greatly when the system is running stably. The simulation results of each algorithm for the q-axis voltage of the No. 4 VSG filter are as follows: Figure 11-Figure 12 shown.
[0151] Among them, the step size of the two traditional algorithms is 1 / 2 13 s, Coiflet wavelet multi-step method uses Coiflet wavelet with vanishing moment of 6, and the number of wavelet expansion layers is 13. The adaptive Coiflet wavelet multi-step method starts with Coiflet wavelet with vanishing moment of 6 and 16 expansion layers, and the error threshold of the adaptive stage is ε1=10 -6 , ε2=10 -5 , using the 8th-order continuous extrapolation Runge-Kutta method as the reference analytical solution. Fig.11 It can be seen that compared with the other two methods, the implicit trapezoidal method has a lower accuracy and more complex model nonlinear coupling, so the simulation results show obvious phase shift and large deviation from the actual results. Although the multi-scale oscillation frequency of the multi-machine system is much lower than that of the single-machine system, there is still a large gap between the results of the fourth-order Runge-Kutta method and the Coiflet wavelet multi-step method, indicating that the error of the Runge-Kutta method is amplified in the nonlinear high-frequency dynamic process of larger-scale power systems, and the Coiflet wavelet multi-step method can better adapt to this scenario.
[0152] The convergence accuracy of the Coiflet wavelet multi-step method in the simulation of multi-machine systems is further analyzed in detail. The 8th-order continuous extrapolation Runge-Kutta method is used as a reference and Fig.12The error distribution of the q-axis voltage of the filter of unit 4 is plotted in Figure 1. It can be seen that the error convergence order of the implicit trapezoidal method is still about the second order and the error distribution is uneven, while the error convergence order of the Coiflet wavelet multi-step method decreases with the increase of the vanishing moment γ, and is much smaller than the implicit trapezoidal method. At the same time, thanks to the high precision and closedness of the solution space, the error distribution of the Coiflet wavelet multi-step method is uniform, which can be well applied to the dynamic simulation of new power systems with strong nonlinearity and multi-scale high-frequency dynamic processes generated by large-scale power electronic devices.
[0153] Table 5 lists the simulation time of the implicit fourth-order Runge-Kutta method, implicit trapezoidal method, 3-step 8th-order Taylor series method, Coiflet wavelet multi-step method and adaptive Coiflet wavelet multi-step method. It can be seen that when dealing with multi-machine systems, the simulation time of each algorithm increases compared with that when dealing with a single-machine system due to the multi-scale high-frequency dynamic process of power electronic components and the increase in the scale of the system model and the enhancement of nonlinear coupling. The Coiflet wavelet multi-step method benefits from its high-precision prediction strategy and the repeated use of the function value on the right side of the differential equation obtained each time, so the time increase is lower than that of the traditional algorithm and the simulation efficiency is higher. The adaptive Coiflet wavelet multi-step rule neutralizes the advantages of Coiflet wavelets of each order and further improves the simulation efficiency.
[0154] Table 5 Comparison of time consumption statistics of various simulation algorithms
[0155]
[0156] In summary, the Coiflet wavelet multi-step method is also effective in the simulation of power systems containing inverter power supplies. Facing the simulation requirements of multi-scale strong nonlinearity, it still has high-precision and high-efficiency simulation effects, and has broad development prospects for the simulation of new power systems.
[0157] Finally, it should be noted that the above embodiments are only used to illustrate the technical solution of the present invention rather than to limit it. Although the present invention has been described in detail with reference to the preferred embodiments, those skilled in the art should understand that they can still modify or replace the technical solution of the present invention with equivalents, and these modifications or equivalent replacements cannot cause the modified technical solution to deviate from the spirit and scope of the technical solution of the present invention.
Claims
1. A method for dynamic simulation of power system based on Coiflet wavelet multi-step method, It is characterized in that The following steps are involved: S1: Based on the DQ unified frequency conversion method, a multi-scale nonlinear differential algebraic equation model of the power system with inverter power supply is established; The specific steps to establish a multi-scale nonlinear differential algebraic equation model for a power system with an inverter are as follows: The DQ state space models of the inverter power supply, converter control system, transmission network and generator at their respective reference frequencies are established respectively, and the state space model of the power system containing the inverter power supply based on the unified frequency reference coordinate is formed through the DQ unified frequency transformation method: Among them, the state variable x(t) = [x inv x con x net x G ] T , are the state variables of the inverter power supply, converter control system, transmission network, and generator respectively; algebraic variable y(t) = [y inv y con y net y G ] T , are the algebraic variables of the inverter power supply, converter control system, transmission network, and generator respectively; f is the nonlinear differential equation of the power system containing the inverter power supply; g is the nonlinear algebraic equation of the power system containing the inverter power supply; S2: Establish differential algebraic equations of power system with inverter based on Coiflet wavelet multi-step solution format; The steps to establish the differential algebraic equation of the power system with inverter power supply based on Coiflet wavelet multi-step solution format are as follows: S21: Set the vanishing moment γ and first-order moment A of the Coiflet wavelet 1 The value of , solve equations (2)-(5) and obtain the wavelet low-pass filter coefficient: Among them, α n is the low-pass filter coefficient, δ is the Kronecker symbol; S22: Low-pass filter coefficient α obtained by solving S21 n , solve the dual-scaling equation and obtain the Coiflet wavelet scaling function S23: For the state space model formula (1) of the power system containing the inverter power supply described in S1, the time variable includes the state variable x(t) and the algebraic variable y(t), and the Coiflet wavelet multi-scale series approximation is performed to form the Coiflet wavelet approximation format of the time variable: Among them, j is the number of wavelet expansion layers; Then, for the Coiflet wavelet approximation format of the time variables x(t) and y(t), the Taylor series is used to extend the Coiflet wavelet approximation subinterval at the right boundary b to obtain the extended approximation format: Where β = 3γ-2-A 1 , F is the numerical derivative coefficient under Taylor series expansion, which can be solved by formula (11): S24: Based on the extended approximation format described in S23 and Substitution And solve the subinterval [t i ,t i+1 ] to construct the Coiflet wavelet multi-step solution format: Where h = 1 / 2 j , for The integral function of L = 3γ is the length of the wavelet compact support interval. Setting a higher γ increases the truncation error order of the Coiflet wavelet multi-step solution format. S25: Apply equation (12) in equation (1) to establish the differential algebraic equation of the power system containing inverter power supply based on Coiflet wavelet multi-step solution format: S3: An explicit variant of the Coiflet wavelet series approximation format is used as an estimation formula to calculate and obtain an estimated value, and the estimated value is corrected by solving the differential algebraic equation of the power system containing the inverter power supply based on the Coiflet wavelet multi-step solution format; S4: In the estimation and correction process, based on the adaptive variable order and variable step size strategy, the Coiflet wavelet multi-step simulation model of the multi-scale nonlinear power system with inverter power supply in S3 is efficiently simulated and solved.
2. According to claim 1, a method for dynamic simulation of a power system based on Coiflet wavelet multi-step method, Features: In step S3, an explicit variant of the Coiflet wavelet series approximation format is used as an estimation formula to calculate and obtain an estimated value, and the estimated value is corrected by a differential algebraic equation of a power system containing an inverter power supply based on the Coiflet wavelet multi-step solution format, and the steps are as follows: The explicit variants of formulas (7) and (8) in S23 are used as the Coiflet wavelet estimation solution format: Use the formula described in S24 to make corrections, and convert the estimated Substituting the known quantity into the right side of equation (12) forms an explicit solution format: Combining the Coiflet wavelet prediction and correction solution format with equation (13), and extracting algebraic variables from the algebraic equation g to the left side of the equation for iterative correction, the differential algebraic equation of the power system containing the inverter power supply based on the Coiflet wavelet prediction and correction solution format is obtained: Where k is the number of iterations, x(t i+1 ), y(t i+1 ) is repeatedly substituted into the right side of formula (17) for iterative correction, and the difference between the order of the truncated error of the estimation and correction formulas is used as the number of iterative corrections, so as to improve the accuracy to the same as that of the differential algebraic equation of the power system containing the inverter power supply described in formula (13).
3. According to claim 1, a method for dynamic simulation of power system based on Coiflet wavelet multi-step method, Features: In step S4, the steps of efficiently simulating and solving the Coiflet wavelet multi-step simulation model of the multi-scale nonlinear power system containing inverter power supply by using the adaptive variable order variable step size strategy based on the estimation correction format are as follows: Construct the implementation algorithm of Coiflet wavelet multi-step solution format under different vanishing moments, take the highest order and minimum step length Coiflet wavelet multi-step solution format implementation algorithm, and solve the state space model of power system containing inverter power supply; Considering that the truncation errors of the estimated formula and the corrected formula are different, the estimated formula is of r order, the corrected formula is of R order, and the number of correction iterations is k times (r+k≤R), the difference δ between the exact solution and the corrected numerical solution is approximately expressed by the difference between the estimated numerical solution and the corrected numerical solution: δ(t)=X(t)-x 2 (t)≈x 1 (t)-x 2 (t) (18) Among them: X(t) is the exact solution, x 1 (t) is the estimated numerical solution, x 2 (t) is the corrected numerical solution; Set the simulation accuracy threshold to [ε 1 ,ε 2 ], at the current time step t i Based on i+1 The estimated value of x 1 (t i+1 ) and the correction value x 2 (t i+1 ), calculate the difference δ between the two, and consider the following strategies: S41, when the error δ < ε 1 When ε 1 <δ<ε 2 When , maintain the current algorithm; next time the error δ<ε 1 When , the number of Coiflet wavelet layers is reduced by one and the simulation is continued, and the truncation error order and the number of wavelet layers are alternately reduced in the subsequent steps; S42, when δ>ε 2 When , the Coiflet wavelet multi-step solution format truncation error order is increased by one and the simulation continues; when ε 1 <δ<ε 2 When δ<ε, maintain the current algorithm; when δ<ε 1 When the Coiflet wavelet multi-step solution format truncation error order is reduced by one, the simulation continues and strategy S41 is entered.
Citation Information
Patent Citations
Power system transient stability simulating method based on estimation-correction numerical integration
CN102609576A
Active power distribution network dynamic simulation method based on multistage optimization pursuit variational iteration method
CN111900718A
Broadband modeling analysis and simulation method and system for power system
CN112214905A
System and method for a fast power network simulator
US20200091764A1
Systems and methods of parameter calibration for dynamic models of electric power systems
US20210133376A1
