Online dynamic equivalent modeling method and system suitable for large-scale wind field
By establishing a single-machine equivalent model of doubly-fed and direct-driven wind fields in the wind field, and combining the self-learning volumetric Kalman filter algorithm and the whale optimization algorithm to improve the BP neural network, the online dynamic equivalent modeling of large-scale wind fields is realized. , which solves the problems of accuracy and efficiency of wind field equivalent modeling and improves the accuracy and reliability of the model.
Patent Information
- Application Number
- CN202410754502.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-06-12
- Publication Date
- 2024-10-11
AI Technical Summary
Existing wind field equivalent modeling methods suffer from imbalances in accuracy and efficiency, are limited in practical application, and are difficult to accurately describe the complex dynamic behavior of wind fields.
The single-machine equivalent model of the doubly-fed wind field and the direct-driven wind field is used, combined with the self-learning volumetric Kalman filter algorithm, and the BP neural network is improved based on the whale optimization algorithm to conduct online dynamic equivalent modeling.
It improves the accuracy and practicality of the model, ensures the accurate capture of the dynamic behavior of the wind field and the reliability and stability of the model, and enhances the modeling efficiency and accuracy.
Smart Images

Figure CN118761690A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of power system modeling, and in particular to an online dynamic equivalent modeling method suitable for large-scale wind farms. Background Art
[0002] Vigorously developing new energy sources, mainly wind power, has far-reaching social significance and economic value for improving my country's current energy structure and achieving sustainable social and economic development. A large number of wind turbines of different types are connected to the AC power grid through power electronic devices, and a large-scale wind farm grid-connected system has been formed. Compared with traditional power systems, the nonlinearity of large-scale wind farm grid-connected systems has increased significantly. If all wind turbines in the system are modeled with sophisticated differential algebraic equations, it will cause problems such as large amount of calculation and excessive time cost, which is not conducive to the subsequent dynamic stability analysis and control strategy design of the system. Therefore, how to reduce the order of equivalent modeling of complex wind farms while ensuring the accuracy of the equivalent model has always been a concern for power grid operators.
[0003] At present, there are roughly three types of methods for equivalent modeling of large-scale wind farms. The first type is based on linearized frequency domain impedance modeling. This type of method is a linearized modeling method based on the port characteristics of power electronic devices, which can be effectively used as the model basis for small disturbance stability analysis. However, due to the use of linearization methods in the modeling process, this type of method makes it difficult to take into account the influence of nonlinear dynamic characteristics inside the wind farm based on frequency domain impedance modeling, and thus cannot be used to accurately describe the complex dynamic behavior of the system. The second type is based on state space modeling. Although this method can accurately describe the nonlinear dynamic characteristics of large-scale wind farms, it requires the detailed topology and control structure of large-scale wind farms. In actual engineering, it is difficult to know the above information. Therefore, this type of method is difficult to apply in actual engineering. The third type of method is an equivalent modeling method based on optimization algorithm. It should be noted that this type of method is an offline modeling method, and its accuracy and modeling efficiency are completely dependent on the accuracy and computational efficiency of the optimization algorithm. In summary, how to accurately perform online dynamic equivalent modeling of complex large-scale wind farms is of great significance to ensuring the safe and stable operation of large-scale wind farm grid-connected systems. Summary of the invention
[0004] In view of the above-mentioned problems, the present invention is proposed.
[0005] Therefore, the technical problem solved by the present invention is that the existing wind farm equivalent modeling method has an imbalance between accuracy and efficiency, limited practical application, high offline modeling limitations, and the optimization problem of how to accurately describe the complex dynamic behavior of the wind farm.
[0006] To solve the above technical problems, the present invention provides the following technical solutions: an online dynamic equivalent modeling method suitable for large-scale wind farms, including establishing a single-machine equivalent model of a doubly-fed wind farm; establishing a single-machine equivalent model of a direct-drive wind farm; and performing online dynamic equivalent modeling based on a self-learning volumetric Kalman filter.
[0007] As a preferred solution of the online dynamic equivalent modeling method for large-scale wind farms described in the present invention, the single-machine equivalent model of the doubly-fed wind farm includes the equivalent filter circuit model in the single-machine equivalent model of the doubly-fed wind farm, the wind turbine in the doubly-fed wind farm adopts a doubly-fed wind turbine, and the line equivalent circuit between the wind farm and the boundary bus is expressed as:
[0008]
[0009] in, and is the dq component of the instantaneous current flowing from the boundary bus to the double-fed wind farm, v bd and v cq is the dq component of the boundary bus instantaneous voltage, and is the instantaneous voltage dq component of the equivalent filter circuit, and are the equivalent resistance and equivalent inductance of the equivalent circuit of the line between the double-fed wind farm and the boundary bus, respectively. The superscript D represents the double-fed wind farm, ω g and T s are the grid angular velocity and sampling time respectively, subscript k is the time sequence number, k ≥ 1, and the equivalent filter circuit model is expressed as:
[0010]
[0011] in, is the capacitance of the equivalent filter circuit in the equivalent model of a single unit in a doubly fed wind farm, and are the dq components of the equivalent Choke current of the equivalent Choke circuit in the equivalent model of a single unit in a doubly fed wind farm, and They are respectively the dq components of the sum of the stator currents of all doubly-fed wind turbines in the doubly-fed wind farm.
[0012] As a preferred solution of the online dynamic equivalent modeling method for large-scale wind farms described in the present invention, the single-machine equivalent model of the doubly-fed wind farm also includes an observation model of the single-machine equivalent model of the doubly-fed wind farm. The general expression of the single-machine equivalent model of the doubly-fed wind farm is expressed as follows:
[0013]
[0014] The observation model of the doubly fed wind farm single machine equivalent model is expressed as:
[0015]
[0016] in, It is the observation model of the equivalent model of a single unit in a doubly fed wind farm.
[0017] As a preferred solution of the online dynamic equivalent modeling method for large-scale wind farms described in the present invention, the single-machine equivalent model of the direct-driven wind farm includes the equivalent filter circuit model in the single-machine equivalent model of the direct-driven wind farm, and the line equivalent circuit model between the direct-driven wind farm and the boundary bus is expressed as:
[0018]
[0019] in, and is the dq component of the instantaneous current flowing from the boundary bus to the direct-drive wind farm, and is the instantaneous voltage dq component of the equivalent filter circuit, and are the equivalent resistance and equivalent inductance of the equivalent circuit of the line between the direct-driven wind farm and the boundary bus, respectively. The superscript P represents the direct-driven wind farm. The equivalent filter circuit model in the direct-driven wind farm single-machine equivalent model is expressed as:
[0020]
[0021] in, is the equivalent capacitance of the equivalent filter circuit in the direct-drive wind farm single-machine equivalent model, and They are respectively the dq components of the equivalent current of the equivalent Reactor circuit in the equivalent model of a single machine in a direct-drive wind farm.
[0022] As a preferred solution of the online dynamic equivalent modeling method for large-scale wind farms described in the present invention, the single-machine equivalent model of the direct-driven wind farm also includes an observation model of the single-machine equivalent model of the direct-driven wind farm. The general expression of the single-machine equivalent model of the direct-driven wind farm is expressed as follows:
[0023]
[0024] The observation model of the single-machine equivalent model of the direct-drive wind farm is expressed as:
[0025]
[0026]
[0027] in, It is the observation model of the single-machine equivalent model of the direct-drive wind farm.
[0028] As a preferred solution of the online dynamic equivalent modeling method for large-scale wind farms described in the present invention, the online dynamic equivalent modeling includes establishing an observation model based on an improved BP neural network algorithm based on a whale optimization algorithm, and according to the state equations and observation models of the equivalent models of single machines in different types of wind farms, the general form is expressed as follows:
[0029]
[0030]
[0031] The superscript X is D or P, D represents a doubly-fed wind farm, and P represents a direct-driven wind farm. When the error between the calculated observation value and the actual value is less than 0.01, it is not used. The observation model is updated by the improved BP neural network algorithm based on the whale optimization algorithm. The expression of the observation model established by the improved BP neural network algorithm based on the whale optimization algorithm is expressed as:
[0032]
[0033] Among them, f1 and f2 are the hyperbolic tangent function and linear function respectively, w, γ, ε are the weight matrix between the input layer and the hidden layer, the weight matrix between the hidden layer and the output layer and the threshold vector respectively, n o 、n h 、n I are the number of neurons in the output layer, hidden layer, and input layer, respectively, n o and n I Through and The dimension of n is determined h The number is obtained based on the whale optimization algorithm.
[0034] As a preferred solution of the online dynamic equivalent modeling method for large-scale wind farms described in the present invention, the online dynamic equivalent modeling also includes updating the prediction state, estimating the volume point by the square root of the error covariance matrix characteristic at the previous moment, expressed as:
[0035]
[0036] in, is the estimated state at the previous moment, n is the number of system state quantities, based on the state equations of the equivalent models of single machines in different types of wind farms and the general form of the observation model, the volume points after propagation are calculated and expressed as:
[0037]
[0038] The estimated state prediction value is expressed as:
[0039]
[0040] The predicted state is corrected based on the improved Levenberg-Marquardt method, which is expressed as:
[0041]
[0042] Among them, κ is the current iteration number. When κ=1, ω (κ) is the adaptive weight factor, 1≤δ≤2, 0≤η≤1, e=0.01 is the switching threshold, and the square root of the estimated prediction error covariance matrix characteristic is expressed as:
[0043]
[0044] Among them, S q,k-1 =S q,0|0 , qr is QR decomposition, based on the state equation of the equivalent model of a single machine in different types of wind farms and the general form of the observation model, the propagation volume point of the system measurement equation is calculated and expressed as:
[0045]
[0046] Calculate the measured predicted value, expressed as:
[0047]
[0048] Estimate the predicted output covariance matrix characteristic square root, expressed as:
[0049]
[0050] Among them, S r,k =S r,0|0 , the estimated cross-covariance matrix is expressed as:
[0051]
[0052] Calculate the Kalman filter gain, expressed as:
[0053]
[0054] Update the prediction status, expressed as:
[0055]
[0056] Update the characteristic square root of the error covariance matrix, expressed as:
[0057]
[0058] Repeat the iteration and continuously update the system status. Update the observation results according to the state equation of the equivalent model of the single machine in different types of wind farms and the general form of the observation model. At the same time, calculate the observation model error. If the error is greater than e, update the observation results through the observation model established by the improved BP neural network algorithm based on the whale optimization algorithm.
[0059] Another object of the present invention is to provide an online dynamic equivalent modeling system suitable for large-scale wind farms, which can perform online dynamic equivalent modeling based on self-learning volumetric Kalman filtering through an equivalent modeling module, thereby solving the current problem of difficulty in accurately describing the complex dynamic behavior of wind farms.
[0060] As a preferred solution of the online dynamic equivalent modeling system suitable for large-scale wind farms described in the present invention, it includes: a doubly-fed wind farm model module, a direct-drive wind farm model module, and an equivalent modeling module; the doubly-fed wind farm model module establishes a single-machine equivalent model of the doubly-fed wind farm; the direct-drive wind farm model module is used to establish a single-machine equivalent model of the direct-drive wind farm; the equivalent modeling module is used to perform online dynamic equivalent modeling based on self-learning volumetric Kalman filtering.
[0061] A computer device includes a memory and a processor, wherein the memory stores a computer program, and is characterized in that the processor executes the computer program to implement a step of an online dynamic equivalent modeling method applicable to a large-scale wind farm.
[0062] A computer-readable storage medium stores a computer program thereon, characterized in that when the computer program is executed by a processor, the steps of an online dynamic equivalent modeling method applicable to a large-scale wind farm are implemented.
[0063] The beneficial effects of the present invention are as follows: the online dynamic equivalent modeling method for large-scale wind farms provided by the present invention improves the accuracy and practicability of the model, enables the dynamic behaviors of different types of wind farms to be accurately captured, adopts the improved Levenberg-Marquardt method to correct the accuracy of the traditional Kalman filter state estimation, ensures the reliability and stability of the model in actual operation, updates the observation model of the wind farm equivalent model through the BP neural network based on the whale algorithm, enhances the generalization ability and accuracy of the model, ensures the reliability and precision of online dynamic modeling, applies the generalized self-learning volumetric Kalman filter algorithm, improves the modeling efficiency and accuracy, and achieves better results in terms of accuracy, practicability and reliability. BRIEF DESCRIPTION OF THE DRAWINGS
[0064] In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the following briefly introduces the drawings required for describing the embodiments. Obviously, the drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without creative labor. Among them:
[0065] Figure 1 An overall flow chart of an online dynamic equivalent modeling method applicable to a large-scale wind farm provided in the first embodiment of the present invention.
[0066] Figure 2 A schematic diagram of the structure of a large-scale wind farm grid-connected system suitable for an online dynamic equivalent modeling method of a large-scale wind farm is provided in accordance with a second embodiment of the present invention.
[0067] Figure 3 A time domain comparison diagram of the d-axis current flowing from the boundary bus to the doubly-fed wind farm, which is suitable for an online dynamic equivalent modeling method of a large-scale wind farm, provided in the second embodiment of the present invention.
[0068] Figure 4 A time domain comparison diagram of the q-axis current flowing from the boundary bus to the doubly-fed wind farm, which is suitable for an online dynamic equivalent modeling method of a large-scale wind farm, provided in the second embodiment of the present invention.
[0069] Figure 5 A time domain comparison diagram of the d-axis component of the boundary bus voltage applicable to an online dynamic equivalent modeling method for a large-scale wind farm provided in the second embodiment of the present invention.
[0070] Figure 6 A time domain comparison diagram of the q-axis component of the boundary bus voltage applicable to an online dynamic equivalent modeling method for a large-scale wind farm provided in the second embodiment of the present invention.
[0071] Figure 7 A time domain comparison diagram of the d-axis current flowing from the boundary bus to the direct-drive wind farm, which is suitable for an online dynamic equivalent modeling method of a large-scale wind farm, provided in the second embodiment of the present invention.
[0072] Figure 8 A time domain comparison diagram of the q-axis current flowing from the boundary bus to the direct-drive wind farm, which is suitable for an online dynamic equivalent modeling method of a large-scale wind farm, provided in the second embodiment of the present invention.
[0073] Fig. 9 An overall flow chart of an online dynamic equivalent modeling system for a large-scale wind farm provided in the third embodiment of the present invention. DETAILED DESCRIPTION
[0074] In order to make the above-mentioned purposes, features and advantages of the present invention more obvious and easy to understand, the specific implementation methods of the present invention are described in detail below in conjunction with the drawings of the specification. Obviously, the described embodiments are part of the embodiments of the present invention, but not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary persons in the art without creative work should fall within the scope of protection of the present invention.
[0075] Example 1
[0076] Reference Figure 1 , which is an embodiment of the present invention, provides an online dynamic equivalent modeling method applicable to a large-scale wind farm, comprising:
[0077] S1: Establish a single-machine equivalent model of a doubly fed wind farm.
[0078] Furthermore, the single-machine equivalent model of the doubly-fed wind farm includes an equivalent filter circuit model in the single-machine equivalent model of the doubly-fed wind farm.
[0079] It should be noted that the wind turbines in the doubly-fed wind farm are doubly-fed wind turbines, and the line equivalent circuit between the wind farm and the boundary bus is expressed as:
[0080]
[0081] in, and is the dq component of the instantaneous current flowing from the boundary bus to the double-fed wind farm, v bd and v bq is the dq component of the boundary bus instantaneous voltage, and is the instantaneous voltage dq component of the equivalent filter circuit, and are the equivalent resistance and equivalent inductance of the equivalent circuit of the line between the double-fed wind farm and the boundary bus, respectively. The superscript D represents the double-fed wind farm, ω g and T s are the grid angular velocity and sampling time respectively, subscript k is the time sequence number, k ≥ 1, and the equivalent filter circuit model is expressed as:
[0082]
[0083] in, is the capacitance of the equivalent filter circuit in the equivalent model of a single unit in a doubly fed wind farm, and are the dq components of the equivalent Choke current of the equivalent Choke circuit in the equivalent model of a single unit in a doubly fed wind farm, and They are respectively the dq components of the sum of the stator currents of all doubly-fed wind turbines in the doubly-fed wind farm.
[0084] It should also be noted that the model of the equivalent Choke circuit in the double-fed wind farm single-machine equivalent model is expressed as:
[0085]
[0086] in, and are the resistance and inductance of the equivalent Choke circuit in the equivalent model of a single unit in a doubly fed wind farm, V dcbase and V base They are the DC side reference voltage of the wind turbine in the doubly fed wind farm and the grid-side converter port phase voltage reference value. and They are the dq components of the equivalent grid-side converter port voltage in the double-fed wind farm single-machine equivalent model, is the DC voltage of the equivalent DC side circuit in the equivalent model of a single unit of a doubly fed wind farm. The model of the equivalent induction generator in the equivalent model of a single unit of a doubly fed wind farm is expressed as follows:
[0087]
[0088] in, and are the dq components of the equivalent rotor flux of the equivalent induction generator in the equivalent model of a single unit in a doubly fed wind farm, and are the dq components of the equivalent stator flux of the equivalent induction generator in the equivalent model of a single unit in a doubly fed wind farm, and are the rotor resistance and stator resistance of the equivalent induction generator in the equivalent model of a single unit in a doubly fed wind farm, is the rotor angular velocity of the equivalent induction generator in the equivalent model of a single unit in a doubly fed wind farm, and are the dq components of the output voltage of the equivalent rotor-side converter port, respectively. The equivalent DC side circuit in the equivalent model of a single unit in a doubly fed wind farm is expressed as:
[0089]
[0090] in, is the DC capacitance of the equivalent DC side circuit in the equivalent model of a single unit in a doubly fed wind farm, is the sum of the currents flowing from the grid-side converters to the corresponding DC in all wind turbines in the doubly-fed wind farm. is the sum of the currents flowing from the rotor-side converters to the corresponding DC in all wind turbines in the doubly fed wind farm. The outer loop DC voltage control model of the equivalent grid-side converter in the equivalent model of a single unit in the doubly fed wind farm is expressed as:
[0091]
[0092] in, is the integral state quantity of the outer loop DC voltage control of the equivalent grid-side converter in the single-machine equivalent model of the doubly fed wind farm, is the integral coefficient of the outer loop DC voltage control of the equivalent grid-side converter in the single-machine equivalent model of the doubly fed wind farm, is the reference voltage of the outer loop DC voltage control of the equivalent grid-side converter in the double-fed wind farm single-machine equivalent model. The inner loop current control model in the double-fed wind farm single-machine equivalent model is expressed as:
[0093]
[0094] in, and are the integral state quantities of the d-axis and q-axis of the inner loop current control of the grid-side converter in the equivalent model of a single unit of a doubly fed wind farm, is the integral coefficient of the inner loop current control of the equivalent grid-side converter in the single-machine equivalent model of the doubly fed wind farm, The proportional coefficient of the outer loop DC voltage control of the equivalent grid-side converter in the equivalent model of a single unit of a doubly fed wind farm, is the q-axis reference current of the inner loop current control of the equivalent grid-side converter in the double-fed wind farm single-machine equivalent model. The voltage modulation link of the equivalent grid-side converter in the double-fed wind farm single-machine equivalent model is expressed as:
[0095]
[0096] Among them, V n is the rated line voltage of the wind turbine port in the wind farm, is the difference between the boundary bus voltage phases before and after, and The specific expression is expressed as:
[0097]
[0098] in, is the equivalent proportional coefficient of the inner loop current control of the equivalent grid-side converter in the equivalent model of a single unit in a doubly fed wind farm, is the q-axis reference current of the inner loop current control of the equivalent grid-side converter in the double-fed wind farm single-machine equivalent model. The speed regulation link in the double-fed wind farm single-machine equivalent model is expressed as:
[0099]
[0100] in, is the integral state quantity of the speed regulation link in the equivalent model of a single unit in a doubly fed wind farm, is the integral coefficient of the speed regulation link in the equivalent model of a single unit in a doubly fed wind farm, is the average angular velocity generated by the MMPT control of all wind turbines in the doubly fed wind farm. The reactive voltage control of the equivalent rotor-side converter in the equivalent model of a single unit in the doubly fed wind farm is expressed as:
[0101]
[0102] in, is the reactive integral state of the reactive voltage control of the equivalent rotor-side converter in the single-machine equivalent model of the doubly fed wind farm. is the q-axis reference current integral state of the reactive voltage control of the equivalent rotor-side converter in the single-machine equivalent model of the doubly fed wind farm, and are the reactive power integral coefficient and voltage integral coefficient in the reactive power voltage control link of the equivalent rotor-side converter in the single-machine equivalent model of the doubly fed wind farm, respectively. and are the reference reactive power of the reactive voltage control of the equivalent rotor-side converter in the single-machine equivalent model of the doubly-fed wind farm and the sum of the reactive power output by all wind turbines in the doubly-fed wind farm. is the average voltage amplitude of the filter circuit of all wind turbines in the doubly fed wind farm. The inner loop current control of the equivalent rotor-side converter in the equivalent model of the doubly fed wind farm is expressed as:
[0103]
[0104] in, and They are the integral states of the inner loop current control of the equivalent rotor-side converter in the equivalent model of a single unit in a doubly fed wind farm, is the integral coefficient of the inner loop current control of the equivalent rotor-side converter in the equivalent model of a single unit in a doubly fed wind farm, and are the dq components of the sum of all wind turbine rotor currents in the doubly-fed wind farm, The expression is expressed as:
[0105]
[0106] in, is the proportional coefficient of the speed regulation link in the equivalent model of a single unit in a doubly fed wind farm, To estimate the stator flux in the equivalent model of a single unit in a doubly fed wind farm, is the equivalent stator mutual inductance of the equivalent induction generator in the equivalent model of a doubly fed wind farm, and the voltage modulation link of the equivalent rotor-side converter in the equivalent model of a doubly fed wind farm is expressed as:
[0107]
[0108] in, is the voltage phase difference of the rotor side in the equivalent model of a single unit in a doubly fed wind farm before and after the moment, and The expression is:
[0109]
[0110] in, is the equivalent proportional coefficient of the equivalent inner loop current control of the equivalent rotor-side converter in the equivalent model of a single unit in a doubly fed wind farm, is the equivalent leakage inductance of the equivalent induction generator in the equivalent model of a single unit in a doubly fed wind farm, and are the dq components of the sum of the estimated currents of the induction generator rotors of all wind turbines in the doubly fed wind farm, respectively. The equivalent two-mass model and the equivalent rotor dynamic equation in the equivalent model of a single unit in the doubly fed wind farm are expressed as follows:
[0111]
[0112] in, and are the angular velocity and rotation angle of the equivalent two-mass model in the equivalent model of a single unit in a doubly fed wind farm, and are the wind turbine inertia constant and the equivalent induction generator inertia constant in the double-fed wind farm single-machine equivalent model, is the wind turbine torque in the equivalent model of a single unit in a doubly fed wind farm, and are the axis coefficient and mutual damping coefficient of the equivalent two-mass model in the equivalent model of a single unit in a doubly fed wind farm, is the friction coefficient of the equivalent induction generator in the double-fed wind farm single-machine equivalent model, and the state transfer model of the unknown parameters in the equation is expressed as:
[0113]
[0114] Furthermore, the single-machine equivalent model of the doubly-fed wind farm also includes an observation model of the single-machine equivalent model of the doubly-fed wind farm.
[0115] It should be noted that the general expression of the equivalent model of a single unit in a doubly fed wind farm is:
[0116]
[0117]
[0118] The observation model of the doubly fed wind farm single machine equivalent model is expressed as:
[0119]
[0120] in, It is the observation model of the equivalent model of a single unit in a doubly fed wind farm.
[0121] S2: Establish a single-machine equivalent model of the direct-drive wind farm.
[0122] Furthermore, the single-machine equivalent model of the direct-driven wind farm includes an equivalent filter circuit model in the single-machine equivalent model of the direct-driven wind farm.
[0123] It should be noted that the line equivalent circuit model between the direct-driven wind farm and the boundary bus is expressed as:
[0124]
[0125] in, and is the dq component of the instantaneous current flowing from the boundary bus to the direct-drive wind farm, and is the instantaneous voltage dq component of the equivalent filter circuit, and are the equivalent resistance and equivalent inductance of the equivalent circuit of the line between the direct-driven wind farm and the boundary bus, respectively. The superscript P represents the direct-driven wind farm. The equivalent filter circuit model in the direct-driven wind farm single-machine equivalent model is expressed as:
[0126]
[0127] in, is the equivalent capacitance of the equivalent filter circuit in the direct-drive wind farm single-machine equivalent model, and They are respectively the dq components of the equivalent current of the equivalent Reactor circuit in the equivalent model of a single machine in a direct-drive wind farm.
[0128] It should also be noted that the equivalent Reactor circuit model in the direct-drive wind farm single-machine equivalent model is expressed as:
[0129]
[0130] in, and They are the equivalent resistance and equivalent inductance of the equivalent Reactor circuit in the direct-drive wind farm single-machine equivalent model, V dcbase and V base They are the DC side reference voltage of the wind turbine in the direct-drive wind farm and the phase voltage reference value of the grid-side converter port. and They are the dq components of the equivalent grid-side converter port voltage in the direct-drive wind farm single-machine equivalent model, is the equivalent DC voltage of the equivalent DC side circuit in the direct-drive wind farm single-machine equivalent model. The speed current regulation control model in the direct-drive wind farm single-machine equivalent model is expressed as:
[0131]
[0132] in, is the integral state of the speed regulation link of the equivalent speed current regulation control in the direct-drive wind farm single-machine equivalent model, is the integral state of the current regulation link of the speed current regulation control in the direct-drive wind farm single-machine equivalent model, is the duty cycle in the equivalent model of a single unit in a direct-drive wind farm, and are the integral coefficient and proportional coefficient of the speed regulation link of the speed current regulation control in the direct-drive wind farm single-machine equivalent model, and are the integral coefficient and proportional coefficient of the current regulation of the speed current regulation control in the direct-drive wind farm single-machine equivalent model, is the rotor angular velocity of the equivalent permanent magnet synchronous machine in the single-machine equivalent model of the direct-drive wind farm, is the average value of the reference angular velocity formed by the MPPT control of all wind turbines in the direct-drive wind farm. is the current of the equivalent boost circuit in the direct-drive wind farm single-machine equivalent model. The model of the equivalent boost circuit in the direct-drive wind farm single-machine equivalent model is expressed as:
[0133]
[0134] in, and are the equivalent inductance and equivalent resistance of the equivalent boost circuit in the direct-drive wind farm single-machine equivalent model, and The dq components of the average stator voltage of all permanent magnet synchronous machines in the direct-drive wind farm, is the equivalent DC side voltage in the direct-drive wind farm single-machine equivalent model. The model of the equivalent DC side circuit in the direct-drive wind farm single-machine equivalent model is expressed as:
[0135]
[0136] in, is the capacitance of the equivalent DC side circuit in the direct-drive wind farm single-machine equivalent model, is the sum of the currents flowing from the corresponding grid-side converters to the DC side of all wind turbines in the direct-drive wind farm. The DC voltage control in the equivalent model of a single unit in a direct-drive wind farm is expressed as:
[0137]
[0138] in, is the integral state of DC voltage control in the equivalent model of a single unit in a direct-drive wind farm, is the integral coefficient of DC voltage control in the equivalent model of a single unit in a direct-drive wind farm, is the DC voltage control reference voltage in the direct-drive wind farm single-machine equivalent model. The model of reactive voltage control of the equivalent grid-side converter in the direct-drive wind farm single-machine equivalent model is expressed as:
[0139]
[0140] in, is the integral state of reactive voltage control of the equivalent grid-side converter in the direct-drive wind farm single-machine equivalent model, is the integral coefficient of reactive voltage control of the equivalent grid-side converter in the single-machine equivalent model of the direct-drive wind farm, is the reference reactive power of reactive voltage control of equivalent grid-side converter in the single-machine equivalent model of direct-drive wind farm, is the sum of the output reactive power of all wind turbines in the direct-drive wind farm, is the integral state of the q-axis reference current of the voltage control of the equivalent grid-side converter in the single-machine equivalent model of the direct-drive wind farm, is the integral coefficient of the voltage control of the equivalent grid-side converter in the direct-drive wind farm single-machine equivalent model, is the average value of the filter circuit voltage of all wind turbines in the direct-drive wind farm. The model of the inner loop current control of the equivalent grid-side converter in the direct-drive wind farm single-machine equivalent model is expressed as:
[0141]
[0142] in, and is the integral state of the dq axis of the inner loop current control of the equivalent grid-side converter in the direct-drive wind farm single-machine equivalent model, is the integral coefficient of the inner loop current control of the equivalent grid-side converter in the direct-drive wind farm single-machine equivalent model, is the proportional coefficient of the DC voltage control of the equivalent grid-side converter in the direct-drive wind farm single-machine equivalent model. The modulation link model of the equivalent grid-side converter in the direct-drive wind farm single-machine equivalent model is expressed as:
[0143]
[0144] in, is the difference between the boundary bus voltage phase before and after, and The expression is expressed as:
[0145]
[0146] in, is the proportional coefficient of the inner loop current control of the equivalent grid-side converter. The equivalent permanent magnet generator model in the direct-drive wind farm single-machine equivalent model is expressed as:
[0147]
[0148] in, and are the dq components of the equivalent stator current of the equivalent permanent magnet generator, and are the dq components of the equivalent stator inductance of the equivalent permanent magnet generator, and are the dq components of the equivalent resistance of the equivalent permanent magnet generator, is the equivalent excitation flux of the equivalent permanent magnet generator, and the equivalent two-mass model and equivalent rotor motion equation in the direct-drive wind farm single-machine equivalent model are expressed as:
[0149]
[0150] in, and are the angular velocity and rotation angle of the equivalent two-mass model in the single-machine equivalent model of the direct-drive wind farm, and They are the equivalent wind turbine inertia constant and the equivalent induction generator inertia constant in the single-machine equivalent model of the direct-drive wind farm, is the equivalent wind turbine torque in the single-machine equivalent model of the direct-drive wind farm, and are the equivalent axis coefficient and equivalent mutual damping coefficient of the equivalent two-mass model in the single-machine equivalent model of the direct-drive wind farm, is the friction coefficient of the equivalent induction generator in the direct-drive wind farm single-machine equivalent model. The state transfer model of the unknown parameters in the equation is expressed as:
[0151]
[0152] Furthermore, the single-machine equivalent model of the direct-driven wind farm also includes an observation model of the single-machine equivalent model of the direct-driven wind farm.
[0153] It should be noted that the general expression of the direct-drive wind farm single-machine equivalent model is expressed as:
[0154]
[0155] The observation model of the single-machine equivalent model of the direct-drive wind farm is expressed as:
[0156]
[0157] in, It is the observation model of the single-machine equivalent model of the direct-drive wind farm.
[0158] S3: Online dynamic equivalent modeling based on self-learning volumetric Kalman filtering.
[0159] Furthermore, the online dynamic equivalent modeling includes establishing the observation model based on the improved BP neural network algorithm of the whale optimization algorithm.
[0160] It should be noted that according to the state equation and observation model of the single-machine equivalent model of different types of wind farms, the general form is expressed as:
[0161]
[0162] The superscript X is D or P, D represents a doubly-fed wind farm, and P represents a direct-driven wind farm. When the error between the calculated observation value and the actual value is less than 0.01, it is not used. The observation model is updated by the improved BP neural network algorithm based on the whale optimization algorithm. The expression of the observation model established by the improved BP neural network algorithm based on the whale optimization algorithm is expressed as:
[0163]
[0164] Among them, f1 and f2 are the hyperbolic tangent function and linear function respectively, w, γ, ε are the weight matrix between the input layer and the hidden layer, the weight matrix between the hidden layer and the output layer and the threshold vector respectively, n o , nx, n I are the number of neurons in the output layer, hidden layer, and input layer, respectively, n o and n I Through and The dimension of n is determined h The number is obtained based on the whale optimization algorithm.
[0165] Furthermore, online dynamic equivalent modeling also includes updating the predicted state.
[0166] It should be noted that the volume point is estimated by the square root of the error covariance matrix characteristic at the previous moment, expressed as:
[0167]
[0168] in, is the estimated state at the previous moment, n is the number of system state quantities, based on the state equations of the equivalent models of single machines in different types of wind farms and the general form of the observation model, the volume points after propagation are calculated and expressed as:
[0169]
[0170] The estimated state prediction value is expressed as:
[0171]
[0172] The predicted state is corrected based on the improved Levenberg-Marquardt method, which is expressed as:
[0173]
[0174] Among them, κ is the current iteration number, when k = 1, is the adaptive weight factor, 1≤δ≤2, 0≤η≤1, e=0.01 is the switching threshold, and the square root of the estimated prediction error covariance matrix characteristic is expressed as:
[0175]
[0176] Among them, S q,k-1 =S q,0|0 , qr is QR decomposition, based on the state equation of the equivalent model of a single machine in different types of wind farms and the general form of the observation model, the propagation volume point of the system measurement equation is calculated and expressed as:
[0177]
[0178] Calculate the measured predicted value, expressed as:
[0179]
[0180] Estimate the predicted output covariance matrix characteristic square root, expressed as:
[0181]
[0182] Among them, S r,k =S r,0|0 , the estimated cross-covariance matrix is expressed as:
[0183]
[0184] Calculate the Kalman filter gain, expressed as:
[0185]
[0186] Update the prediction status, expressed as:
[0187]
[0188] Update the characteristic square root of the error covariance matrix, expressed as:
[0189]
[0190] Repeat the iteration and continuously update the system status. Update the observation results according to the state equation of the equivalent model of the single machine in different types of wind farms and the general form of the observation model. At the same time, calculate the observation model error. If the error is greater than e, update the observation results through the observation model established by the improved BP neural network algorithm based on the whale optimization algorithm.
[0191] Example 2
[0192] Reference Figure 2-Figure 8 , which is an embodiment of the present invention, provides an online dynamic equivalent modeling method suitable for large-scale wind farms. In order to verify the beneficial effects of the present invention, scientific demonstration is carried out through economic benefit calculation and simulation experiments.
[0193] Build as Figure 2 The simulation model shown in the figure has 6 doubly-fed wind turbines in the doubly-fed wind farm and 5 direct-drive wind turbines in the direct-drive wind farm. The time domain comparison simulation diagram between the equivalent model and the refined model is shown in Figure 3-Figure 8 As shown, the black line represents the time domain simulation result of the fine model, and the gray line represents the time domain simulation result of the equivalent model, which effectively reflects the dynamic characteristics of the system.
[0194] Example 3
[0195] Reference Fig. 9 , which is an embodiment of the present invention, provides an online dynamic equivalent modeling system suitable for large-scale wind farms, including: a double-fed wind farm model module, a direct-drive wind farm model module, and an equivalent modeling module.
[0196] The doubly-fed wind farm model module establishes a single-machine equivalent model of the doubly-fed wind farm; the direct-drive wind farm model module is used to establish a single-machine equivalent model of the direct-drive wind farm; and the equivalent modeling module is used to perform online dynamic equivalent modeling based on the self-learning volumetric Kalman filter.
[0197] If the function is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present invention, or the part that contributes to the prior art, or the part of the technical solution, can be embodied in the form of a software product. The computer software product is stored in a storage medium, including several instructions for a computer device (which can be a personal computer, server, or network device, etc.) to perform all or part of the steps of the methods of each embodiment of the present invention. The aforementioned storage medium includes: U disk, mobile hard disk, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), disk or optical disk, etc. Various media that can store program codes.
[0198] The logic and / or steps represented in the flowchart or otherwise described herein, for example, can be considered as an ordered list of executable instructions for implementing logical functions, and can be embodied in any computer-readable medium for use by an instruction execution system, device or apparatus (such as a computer-based system, a system including a processor, or other system that can fetch instructions from an instruction execution system, device or apparatus and execute instructions), or in conjunction with such instruction execution systems, devices or apparatuses. For the purposes of this specification, "computer-readable medium" can be any device that can contain, store, communicate, propagate or transmit a program for use by an instruction execution system, device or apparatus, or in conjunction with such instruction execution systems, devices or apparatuses.
[0199] More specific examples of computer-readable media (a non-exhaustive list) include the following: an electrical connection with one or more wires (electronic device), a portable computer disk case (magnetic device), a random access memory (RAM), a read-only memory (ROM), an erasable and programmable read-only memory (EPROM or flash memory), an optical fiber device, and a portable compact disk read-only memory (CDROM). In addition, the computer-readable medium may even be a paper or other suitable medium on which the program is printed, since the program may be obtained electronically, for example, by optically scanning the paper or other medium, followed by editing, deciphering, or processing in another suitable manner as necessary, and then stored in a computer memory.
[0200] It should be understood that the various parts of the present invention can be implemented by hardware, software, firmware or a combination thereof. In the above-mentioned embodiments, multiple steps or methods can be implemented by software or firmware stored in a memory and executed by a suitable instruction execution system. For example, if implemented by hardware, as in another embodiment, it can be implemented by any one of the following technologies known in the art or their combination: a discrete logic circuit having a logic gate circuit for implementing a logic function for a data signal, a dedicated integrated circuit having a suitable combination of logic gate circuits, a programmable gate array (PGA), a field programmable gate array (FPGA), etc. It should be noted that the above embodiments are only used to illustrate the technical solution of the present invention and are not limited. Although the present invention is described in detail with reference to the preferred embodiments, it should be understood by those skilled in the art that the technical solution of the present invention can be modified or replaced by equivalents without departing from the spirit and scope of the technical solution of the present invention, which should be included in the scope of the claims of the present invention.
[0201] It should be noted that the above embodiments are only used to illustrate the technical solutions of the present invention rather than to limit it. Although the present invention has been described in detail with reference to the preferred embodiments, those skilled in the art should understand that the technical solutions of the present invention may be modified or replaced by equivalents without departing from the spirit and scope of the technical solutions of the present invention, which should all be included in the scope of the claims of the present invention.
Claims
1. A dynamic equivalent modeling method suitable for large-scale wind farms. It is characterized in that include: Establish a single-machine equivalent model of a doubly-fed wind farm; Establish a single-machine equivalent model for direct-drive wind farms; Online dynamic equivalent modeling based on self-learning volumetric Kalman filtering.
2. The online dynamic equivalent modeling method applicable to large-scale wind farms as claimed in claim 1, Features: The single-machine equivalent model of the doubly-fed wind farm includes an equivalent filter circuit model in the single-machine equivalent model of the doubly-fed wind farm. The wind turbine in the doubly-fed wind farm adopts a doubly-fed wind turbine. The line equivalent circuit between the wind farm and the boundary bus is expressed as: in, and is the dq component of the instantaneous current flowing from the boundary bus to the double-fed wind farm, v bd and v bq is the dq component of the boundary bus instantaneous voltage, and is the instantaneous voltage dq component of the equivalent filter circuit, and are the equivalent resistance and equivalent inductance of the equivalent circuit of the line between the double-fed wind farm and the boundary bus, respectively. The superscript D represents the double-fed wind farm, ω g and T s are the grid angular velocity and sampling time respectively, subscript k is the time sequence number, k ≥ 1, and the equivalent filter circuit model is expressed as: in, is the capacitance of the equivalent filter circuit in the equivalent model of a single unit in a doubly fed wind farm, and are the dq components of the equivalent Choke current of the equivalent Choke circuit in the equivalent model of a single unit in a doubly fed wind farm, and They are respectively the dq components of the sum of the stator currents of all doubly-fed wind turbines in the doubly-fed wind farm.
3. The online dynamic equivalent modeling method applicable to large-scale wind farms as claimed in claim 2, Features: The single-machine equivalent model of the doubly-fed wind farm also includes an observation model of the single-machine equivalent model of the doubly-fed wind farm. The general expression of the single-machine equivalent model of the doubly-fed wind farm is expressed as: The observation model of the doubly fed wind farm single machine equivalent model is expressed as: in, It is the observation model of the equivalent model of a single unit in a doubly fed wind farm.
4. The online dynamic equivalent modeling method applicable to large-scale wind farms as claimed in claim 3, Features: The single-machine equivalent model of the direct-driven wind farm includes an equivalent filter circuit model in the single-machine equivalent model of the direct-driven wind farm. The line equivalent circuit model between the direct-driven wind farm and the boundary bus is expressed as: in, and is the dq component of the instantaneous current flowing from the boundary bus to the direct-drive wind farm, and is the instantaneous voltage dq component of the equivalent filter circuit, and are the equivalent resistance and equivalent inductance of the equivalent circuit of the line between the direct-driven wind farm and the boundary bus, respectively. The superscript P represents the direct-driven wind farm. The equivalent filter circuit model in the direct-driven wind farm single-machine equivalent model is expressed as: in, is the equivalent capacitance of the equivalent filter circuit in the direct-drive wind farm single-machine equivalent model, and They are respectively the dq components of the equivalent current of the equivalent Reactor circuit in the equivalent model of a single machine in a direct-drive wind farm.
5. The online dynamic equivalent modeling method applicable to large-scale wind farms as claimed in claim 4, Features: The single-machine equivalent model of the direct-driven wind farm also includes an observation model of the single-machine equivalent model of the direct-driven wind farm. The general expression of the single-machine equivalent model of the direct-driven wind farm is expressed as: The observation model of the single-machine equivalent model of the direct-drive wind farm is expressed as: in, It is the observation model of the single-machine equivalent model of the direct-drive wind farm.
6. The online dynamic equivalent modeling method applicable to large-scale wind farms as claimed in claim 5, Features: The online dynamic equivalent modeling includes establishing an observation model based on an improved BP neural network algorithm based on a whale optimization algorithm. According to the state equations and observation models of the equivalent models of different types of wind farms, the general form is expressed as follows: The superscript X is D or P, D represents a doubly-fed wind farm, and P represents a direct-driven wind farm. When the error between the calculated observation value and the actual value is less than 0.01, it is not used. The observation model is updated by the improved BP neural network algorithm based on the whale optimization algorithm. The expression of the observation model established by the improved BP neural network algorithm based on the whale optimization algorithm is expressed as: Among them, f 1 and f 2 are the hyperbolic tangent function and linear function respectively, w, γ, ε are the weight matrix between the input layer and the hidden layer, the weight matrix between the hidden layer and the output layer and the threshold vector respectively, n o 、n h 、n I are the number of neurons in the output layer, hidden layer, and input layer, respectively, n o and n I Through and The dimension of n is determined h The number is obtained based on the whale optimization algorithm.
7. The online dynamic equivalent modeling method applicable to large-scale wind farms as claimed in claim 6, Features: The online dynamic equivalent modeling also includes updating the prediction state, estimating the volume point by the square root of the error covariance matrix characteristic at the previous moment, expressed as: in, is the estimated state at the previous moment, n is the number of system state quantities, based on the state equations of the equivalent models of single machines in different types of wind farms and the general form of the observation model, the volume points after propagation are calculated and expressed as: The estimated state prediction value is expressed as: The predicted state is corrected based on the improved Levenberg-Marquardt method, which is expressed as: Among them, κ is the current iteration number, when k = 1, is the adaptive weight factor, 1≤δ≤2, 0≤η≤1, e=0.01 is the switching threshold, and the square root of the estimated prediction error covariance matrix characteristic is expressed as: Among them, S q,k-1 =S q,0|0 , qr is QR decomposition, based on the state equation of the equivalent model of a single machine in different types of wind farms and the general form of the observation model, the propagation volume point of the system measurement equation is calculated and expressed as: Calculate the measured predicted value, expressed as: Estimate the predicted output covariance matrix characteristic square root, expressed as: Among them, S r,k =S r,0|0 , the estimated cross-covariance matrix is expressed as: Calculate the Kalman filter gain, expressed as: Update the prediction status, expressed as: Update the characteristic square root of the error covariance matrix, expressed as: Repeat the iteration and continuously update the system status. Update the observation results according to the state equation of the equivalent model of the single machine in different types of wind farms and the general form of the observation model. At the same time, calculate the observation model error. If the error is greater than e, update the observation results through the observation model established by the improved BP neural network algorithm based on the whale optimization algorithm.
8. A system using the online dynamic equivalent modeling method for large-scale wind farms as claimed in any one of claims 1 to 7, Features: Including double-fed wind farm model module, direct-drive wind farm model module, and equivalent modeling module; The double-fed wind farm model module establishes a single-machine equivalent model of the double-fed wind farm; The direct-drive wind farm model module is used to establish a single-machine equivalent model of the direct-drive wind farm; The equivalent modeling module is used for performing online dynamic equivalent modeling based on self-learning volumetric Kalman filtering.
9. A computer device comprising a memory and a processor, wherein the memory stores a computer program. It is characterized in that When the processor executes the computer program, the steps of the online dynamic equivalent modeling method applicable to a large-scale wind farm according to any one of claims 1 to 7 are implemented.
10. A computer-readable storage medium having a computer program stored thereon, It is characterized in that When the computer program is executed by a processor, the steps of the online dynamic equivalent modeling method applicable to a large-scale wind farm according to any one of claims 1 to 7 are implemented.
