Equivalent inertia identification method and device of wind turbine generator, computer equipment, readable storage medium and program product
Through the equivalent inertia identification method of wind turbine units, the frequency response model and virtual frequency signals are identified using operation data, the problem of real-time measurement of virtual inertia of wind turbine units is solved, and the accuracy and safety of power grid operation are improved.
Patent Information
- Application Number
- CN202410909022.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-07-08
- Publication Date
- 2024-11-08
Smart Images

Figure CN118920564A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the technical field of power system stability analysis and control, and in particular to a method, device, computer equipment, computer-readable storage medium and computer program product for identifying equivalent inertia of a wind turbine generator set. Background Art
[0002] In a high-proportion renewable energy power system, grid-connected wind power that uses a phase-locked loop to achieve synchronous grid connection still accounts for a certain proportion. After the additional active control loop is modified, the wind turbine will have virtual inertia and equivalent droop response functions to achieve frequency-active response. In the early stage of the disturbance, the inertia response of the wind turbine will bear part of the unbalanced electromagnetic power, supplement part of the missing synchronous inertia in the system, and present equivalent inertia characteristics to the external network, becoming an important inertia resource. However, the current power grid operation department lacks real-time measurement technology for the virtual inertia of wind turbines, resulting in a lack of reference information for the arrangement of frequency regulation reserve capacity, setting of distributed voltage protection parameters, and prediction of power grid frequency safety situation, which seriously affects the safety of power grid operation.
[0003] Therefore, there is an urgent need for an equivalent inertia identification method for a wind turbine that can perform online identification of the equivalent inertia of the wind turbine. Summary of the invention
[0004] Based on this, it is necessary to provide a method, device, computer equipment, computer-readable storage medium and computer program product for identifying the equivalent inertia of a wind turbine set, which can perform online identification of the equivalent inertia of the wind turbine set in order to solve the above technical problems.
[0005] In a first aspect, the present application provides a method for identifying an equivalent inertia of a wind turbine generator set, comprising:
[0006] Collect the operating data of the target wind turbine;
[0007] When a preset equivalent inertia identification condition is met, identifying a target frequency response model of the target wind turbine generator set according to the operating data;
[0008] Inputting a preset virtual frequency signal into the target frequency response model to obtain an active power response signal;
[0009] The equivalent inertia of the target wind turbine generator set is determined according to the virtual frequency signal and the active power response signal.
[0010] In one embodiment, identifying a target frequency response model of the target wind turbine generator system according to the operating data includes:
[0011] According to the model form of the output error model, a frequency response model to be identified of the target wind turbine generator set is constructed;
[0012] Determining an identification value of a parameter to be identified of the target frequency response model according to the operating data and the frequency response model to be identified;
[0013] A target frequency response model of the target wind turbine generator system is constructed according to the identified value of the parameter to be identified and the frequency response model to be identified.
[0014] In one embodiment, determining the identification value of the parameter to be identified of the target frequency response model according to the operating data and the frequency response model to be identified includes:
[0015] Determine a parameter matrix to be identified of the target frequency response model according to the operating data and the frequency response model to be identified; the parameter matrix to be identified includes estimated values of coefficients in the frequency response model of the wind turbine generator set under various order model assumptions;
[0016] Determining the target order of the target wind turbine generator set according to a preset order selection rule;
[0017] In the parameter matrix to be identified, obtaining the element corresponding to the target order;
[0018] A target element among the elements corresponding to the target order is used as an identification value of a parameter to be identified of the target frequency response model.
[0019] In one embodiment, determining the parameter matrix to be identified of the target frequency response model according to the operating data and the frequency response model to be identified includes:
[0020] Determining an augmented data vector of the target wind turbine generator system according to the operating data and the frequency response model to be identified;
[0021] Based on the augmented data vector, calculating the augmented information array of the target wind turbine group;
[0022] Decomposing the augmented information matrix by using a UD decomposition algorithm to obtain a decomposition result of the augmented information matrix; the decomposition result includes a decomposition unit upper triangular matrix;
[0023] The decomposed unit upper triangular matrix is used as a parameter matrix to be identified of the target frequency response model.
[0024] In one embodiment, the slope of the frequency change segment of the virtual frequency signal is a preset target slope, and determining the equivalent inertia of the target wind turbine generator set according to the virtual frequency signal and the active power response signal includes:
[0025] According to the virtual frequency signal and the active power response signal, determine the initial frequency and initial active power corresponding to the moment when the frequency starts to change, the steady-state frequency and steady-state active power corresponding to the moment when the frequency is constant and the active power reaches a steady state, and the post-disturbance frequency and post-disturbance active power corresponding to the post-disturbance time;
[0026] Calculating a first target value according to the initial frequency, the initial active power, the steady-state frequency, the steady-state active power, the post-disturbance frequency, and the post-disturbance active power;
[0027] Calculating a second target value according to the initial frequency, the steady-state frequency, and the target slope;
[0028] The ratio of the first target value to the second target value is used as the equivalent inertia of the target wind turbine generator set.
[0029] In one embodiment, the method further comprises:
[0030] Calculating the wind speed static difference sequence corresponding to the target time according to the operating data;
[0031] According to the wind speed static difference sequence and the preset volatility analysis window length, the wind speed absolute volatility sequence of the target time window is calculated; the target time window is a period starting at the target time and having a length equal to the volatility analysis window length;
[0032] Calculating the relative variation volatility index of the target time window according to the wind speed absolute volatility sequence, the operating data and the volatility analysis window length;
[0033] If the relative variation volatility index is less than a preset relative variation volatility index threshold, it is determined that within the target time window, the target wind turbine generator set meets a preset equivalent inertia identification condition.
[0034] In a second aspect, the present application also provides an equivalent inertia identification device for a wind turbine generator set, comprising:
[0035] A collection module, used to collect the operating data of the target wind turbine;
[0036] A model identification module, used for identifying a target frequency response model of the target wind turbine generator set according to the operating data when a preset equivalent inertia identification condition is met;
[0037] An input module, used for inputting a preset virtual frequency signal into the target frequency response model to obtain an active power response signal;
[0038] The first determination module is used to determine the equivalent inertia of the target wind turbine generator set according to the virtual frequency signal and the active power response signal.
[0039] In a third aspect, the present application further provides a computer device, including a memory and a processor, wherein the memory stores a computer program, and the processor implements the steps described in the first aspect when executing the computer program.
[0040] In a fourth aspect, the present application further provides a computer-readable storage medium having a computer program stored thereon, wherein the computer program, when executed by a processor, implements the steps described in the first aspect above.
[0041] In a fifth aspect, the present application further provides a computer program product, comprising a computer program, which implements the steps described in the first aspect when executed by a processor.
[0042] The above-mentioned equivalent inertia identification method, device, computer equipment, computer-readable storage medium and computer program product of the wind turbine generator set collects the operating data of the target wind turbine generator set; when the preset equivalent inertia identification conditions are met, the target frequency response model of the target wind turbine generator set is identified according to the operating data; a preset virtual frequency signal is input into the target frequency response model to obtain an active power response signal; and the equivalent inertia of the target wind turbine generator set is determined according to the virtual frequency signal and the active power response signal. In this way, when the preset equivalent inertia identification conditions are met, the frequency response model of the wind turbine generator set is identified in real time according to the collected operating data of the wind turbine generator set, the active power response signal corresponding to the virtual frequency signal is obtained through the identified frequency response model, and the equivalent inertia of the wind turbine generator set is determined according to the relationship between the two signals, thereby realizing the online identification of the equivalent inertia of the wind turbine generator set. BRIEF DESCRIPTION OF THE DRAWINGS
[0043] In order to more clearly illustrate the technical solutions in the embodiments of the present application or related technologies, the drawings required for use in the embodiments of the present application or related technical descriptions will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present application. For ordinary technicians in this field, other related drawings can be obtained based on these drawings without paying creative work.
[0044] FIG1 is a schematic flow chart of a method for identifying equivalent inertia of a wind turbine generator system in one embodiment;
[0045] FIG2 is a schematic flow chart of steps for identifying a target frequency response model of a target wind turbine generator system according to operating data in one embodiment;
[0046] 3 is a flow chart of a step of determining an identification value of a parameter to be identified of a target frequency response model according to operating data and a frequency response model to be identified in one embodiment;
[0047] FIG4 is a flow chart of a step of determining a parameter matrix to be identified of a target frequency response model according to operating data and a frequency response model to be identified in one embodiment;
[0048] 5 is a schematic flow chart of a step of determining the equivalent inertia of a target wind turbine generator set according to a virtual frequency signal and an active power response signal in one embodiment;
[0049] FIG6 is a schematic diagram of a virtual frequency signal and an active power response signal corresponding to the virtual frequency signal in one embodiment;
[0050] FIG7 is a schematic diagram of a flow chart of determining whether a preset equivalent inertia identification condition is satisfied in one embodiment;
[0051] FIG8 is a structural block diagram of an equivalent inertia identification device for a wind turbine generator set in one embodiment;
[0052] FIG. 9 is a diagram showing the internal structure of a computer device in one embodiment. DETAILED DESCRIPTION
[0053] In order to make the purpose, technical solution and advantages of the present application more clearly understood, the present application is further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present application and are not used to limit the present application.
[0054] In one embodiment, as shown in FIG1 , a method for identifying the equivalent inertia of a wind turbine is provided. This embodiment uses the method applied to a terminal as an example for illustration. It is understandable that the method can also be applied to a server, and can also be applied to a system including a terminal and a server, and is implemented through the interaction between the terminal and the server. Among them, the terminal can be, but is not limited to, various personal computers, laptops, smart phones, tablet computers, Internet of Things devices and portable wearable devices. The Internet of Things devices can be smart speakers, smart TVs, smart air conditioners, smart car-mounted devices, projection devices, etc. Portable wearable devices can be smart watches, smart bracelets, head-mounted devices, etc. The head-mounted device can be a virtual reality (VR) device, an augmented reality (AR) device, smart glasses, etc. The server can be an independent physical server, or a server cluster or distributed system composed of multiple physical servers, or a cloud server that provides cloud computing services. In this embodiment, the method includes the following steps:
[0055] Step 101, collecting operating data of a target wind turbine generator system.
[0056] In an embodiment of the present application, the target wind turbine group is a wind turbine group for which equivalent inertia identification is to be performed. For example, the target wind turbine group may be a doubly-fed wind farm. The operating data includes a first type of operating data, and may also include a first type of operating data and a second type of operating data. The first type of operating data is operating data that must be collected, and the second type of operating data is auxiliary operating data. The first type of operating data includes a machine-end frequency signal and an active power signal. The second type of operating data includes pitch angle and wind speed data.
[0057] In one example, the terminal collects the first type of operating data through a Supervisory Control And Data Acquisition (SCADA) system of the target wind turbine generator set according to a preset first data sampling interval, wherein the first data sampling interval is no greater than 0.2 seconds.
[0058] In one example, the terminal collects the pitch angle through the SCADA system of the target wind turbine according to the preset second data sampling interval. The terminal collects wind speed data through the anemometer of the target wind turbine or the wind tower of the wind farm according to the preset second data sampling interval. The second data sampling interval is no more than 1s.
[0059] It can be understood that steps 101 - 104 are performed in real time or at preset intervals.
[0060] Step 102 : When the preset equivalent inertia identification condition is met, a target frequency response model of the target wind turbine is identified according to the operating data.
[0061] In the embodiment of the present application, the equivalent inertia identification condition is used to measure whether to perform equivalent inertia identification. The equivalent inertia identification condition can be a condition for measuring whether the current working condition is a condition suitable for equivalent inertia identification. For example, the equivalent inertia identification condition can be a condition for measuring whether the current working condition is a condition where the wind speed is not fast, continuous, and fluctuating greatly. The target frequency response model is a frequency response characterization model of a wind turbine.
[0062] In one example, when the preset equivalent inertia identification condition is not met, the terminal stops the equivalent inertia of the target wind turbine set and returns to step 101 .
[0063] In one example, when the preset equivalent inertia identification condition is not met, the terminal uses the equivalent inertia of the target wind turbine set at the previous moment as the equivalent inertia of the target wind turbine set at the current moment, and returns to step 101 .
[0064] Step 103: input the preset virtual frequency signal into the target frequency response model to obtain an active power response signal.
[0065] In the embodiment of the present application, the frequency variation section of the virtual frequency signal has a fixed slope. The active power response signal is the machine-end active power response value of the virtual frequency signal.
[0066] Step 104: determining the equivalent inertia of the target wind turbine generator set according to the virtual frequency signal and the active power response signal.
[0067] In an embodiment of the present application, the slope of the frequency change segment of the virtual frequency signal is a preset target slope. The terminal determines the initial frequency and initial active power corresponding to the moment when the frequency starts to change, the steady-state frequency and steady-state active power corresponding to the moment when the frequency is constant and the active power reaches a steady state, and the post-disturbance frequency and post-disturbance active power corresponding to the post-disturbance time based on the virtual frequency signal and the active power response signal. Then, the terminal calculates the equivalent inertia of the target wind turbine according to the initial frequency, initial active power, steady-state frequency, steady-state active power, post-disturbance frequency, post-disturbance active power, and target slope.
[0068] In the above-mentioned equivalent inertia identification method of the wind turbine, the operating data of the target wind turbine is collected; when the preset equivalent inertia identification conditions are met, the target frequency response model of the target wind turbine is identified according to the operating data; the preset virtual frequency signal is input into the target frequency response model to obtain the active power response signal; and the equivalent inertia of the target wind turbine is determined according to the virtual frequency signal and the active power response signal. In this way, when the preset equivalent inertia identification conditions are met, the frequency response model of the wind turbine is identified in real time according to the collected operating data of the wind turbine, the active power response signal corresponding to the virtual frequency signal is obtained through the identified frequency response model, and the equivalent inertia of the wind turbine is determined according to the relationship between the two signals, thereby realizing the online identification of the equivalent inertia of the wind turbine. In addition, the method uses the real-time collected operating data of the wind turbine to identify the frequency response model of the wind turbine in real time. The frequency response model of the wind turbine is identified in a timely manner and is more in line with the actual situation. The frequency response model of the wind turbine has good accuracy and can adapt to the online identification of the equivalent inertia of the wind turbine under variable operating conditions, thereby improving the timeliness and accuracy of the identification of the equivalent inertia of the wind turbine.
[0069] In an exemplary embodiment, as shown in FIG2 , the specific process of identifying the target frequency response model of the target wind turbine generator set according to the operating data includes the following steps:
[0070] Step 201 : constructing a frequency response model to be identified of a target wind turbine generator system according to the model form of the output error model.
[0071] In the embodiment of the present application, v(k) represents the error of the measured frequency and active power of the target wind turbine group, and the frequency response model to be identified of the target wind turbine group can be expressed in the form of an output error model, which is recorded as , which can be expressed as:
[0072]
[0073] In order to be consistent with the commonly used forms in the field of system identification, the model class expressions of this method all use discrete forms, and the independent variable is k. z(k) is the output quantity, corresponding to the active power, and u(k) is the input quantity, corresponding to the machine-side frequency. and is the coefficient term of the frequency response model to be identified, and its expansion can be expressed as:
[0074]
[0075] in, The denominator is Term coefficient, The first Term coefficients, and so on.
[0076] Step 202: Determine the identification value of the to-be-identified parameter of the target frequency response model according to the operating data and the to-be-identified frequency response model.
[0077] In the embodiment of the present application, the terminal determines the identification value of the parameter to be identified of the target frequency response model according to the first type of operation data and the frequency response model to be identified. The parameter to be identified is each coefficient in the coefficient term of the frequency response model to be identified, that is, and .
[0078] In one example, the terminal determines an identification value of a parameter to be identified of a target frequency response model according to the first type of operating data, the pitch angle, and the frequency response model to be identified.
[0079] Step 203: construct a target frequency response model of the target wind turbine generator system according to the identified values of the parameters to be identified and the frequency response model to be identified.
[0080] In the embodiment of the present application, the terminal substitutes the identification value of the parameter to be identified into the frequency response model to be identified to obtain the target frequency response model of the target wind turbine group.
[0081] In the above-mentioned equivalent inertia identification method of the wind turbine, the frequency response model to be identified of the target wind turbine is constructed according to the model form of the output error model; the identification value of the parameter to be identified of the target frequency response model is determined according to the operating data and the frequency response model to be identified; the target frequency response model of the target wind turbine is constructed according to the identification value of the parameter to be identified and the frequency response model to be identified. In this way, the model class is one of the basic elements of system identification, which determines the identifiability of the object and the accuracy of the identification result. The frequency response model of the wind turbine in this method adopts the model form of the output error model, and the model structure assumption is reasonable, which can improve the accuracy of the frequency response model of the wind turbine, improve the accuracy of parameter identification or numerical estimation, and improve the accuracy and precision of the equivalent inertia identification of the wind turbine.
[0082] In an exemplary embodiment, as shown in FIG3 , the specific process of determining the identification value of the to-be-identified parameter of the target frequency response model according to the operating data and the to-be-identified frequency response model includes the following steps:
[0083] Step 301: Determine a parameter matrix to be identified of a target frequency response model according to operating data and a frequency response model to be identified.
[0084] The parameter matrix to be identified contains the estimated values of each coefficient in the frequency response model of the wind turbine under various order model assumptions.
[0085] In the embodiment of the present application, the terminal determines the augmented information matrix of the target wind turbine according to the operating data and the frequency response model to be identified. Then, the terminal uses the UD decomposition algorithm to decompose the augmented information matrix to obtain the decomposition result of the augmented information matrix. Then, the terminal uses the decomposition unit upper triangular matrix included in the decomposition result as the parameter matrix to be identified of the target frequency response model.
[0086] Step 302: Determine the target order of the target wind turbine generator system according to a preset order selection rule.
[0087] In the embodiment of the present application, the order selection rule is used to determine the order of the elements in the parameter matrix to be identified corresponding to the parameter to be identified of the target frequency response model. The target order is the order of the elements in the parameter matrix to be identified corresponding to the parameter to be identified of the target frequency response model.
[0088] In one example, the terminal queries the first order and second order corresponding to the target wind turbine type of the target wind turbine in the mapping relationship between the preset wind turbine type and the first order and the second order. Then, the collected pitch angle is compared with the preset pitch angle threshold. If the pitch angle is less than the preset pitch angle threshold, the terminal uses the first order corresponding to the target wind turbine type as the target order of the target wind turbine. If the pitch angle is greater than or equal to the preset pitch angle threshold, the terminal uses the second order corresponding to the target wind turbine type as the target order of the target wind turbine. Among them, different wind turbine types can correspond to the same first order and the same second order, and different wind turbine types can also correspond to different first orders and different second orders. The first order and second order corresponding to the same wind turbine type are different. The pitch angle thresholds corresponding to different wind turbine types can be the same or different.
[0089] In one embodiment, the target wind turbine group type of the target wind turbine group is a double-fed wind farm, and step 302 can be expressed as:
[0090]
[0091] Among them, the collected pitch angle data is ; The pitch angle threshold is , can be 0.1 degrees; is the optimal order of the frequency response model of the wind turbine. When the pitch angle is greater than the threshold, the pitch angle dynamically participates in the frequency response of the wind turbine, and its model order is selected as 6; when the pitch angle is less than the threshold, the pitch angle does not dynamically participate in the frequency response of the wind turbine, and its model order is selected as 4.
[0092] In another example, the terminal calculates the loss function value, that is, the sum of squares of the residuals at each moment, according to the decomposition diagonal matrix included in the decomposition result and the predicted output. Then, the terminal uses the order corresponding to the minimum loss function value as the target order of the target wind turbine.
[0093] In one embodiment, the decomposed diagonal matrix D(K) can be expressed as:
[0094]
[0095] Among them, D(K) is similar to the element arrangement of the decomposed unit upper triangular matrix U(K). Elements When the model order is assumed to be j, the loss function value calculated according to the predicted output, that is, the sum of squares of the residuals at each moment, can be expressed as:
[0096]
[0097] Step 303: Obtain the element corresponding to the target order in the parameter matrix to be identified.
[0098] Step 304: Use the target element among the elements corresponding to the target order as the identification value of the to-be-identified parameter of the target frequency response model.
[0099] In one embodiment, the parameter matrix to be identified, that is, the decomposition unit upper triangular matrix included in the decomposition result, can be expressed as:
[0100]
[0101] The decomposition results contain the decomposition unit upper triangular matrix, decomposition diagonal matrix, and decomposition unit lower triangular matrix, all of which have dimensions of .in, No. The column elements correspond to the parameter estimates in the j-order model. Elements in At the corresponding time k, when the model order is assumed to be j, Medium System i The value of For the corresponding time k, when the model order is assumed to be j, Medium System B i Therefore, contains the estimated values of the coefficients in the wind turbine frequency response model under the assumption of 1~n order models. The elements marked with "*" in the formula have no specific physical meaning and are omitted. If the target order is 1, the terminal obtains the element corresponding to the target order in the parameter matrix to be identified. , and Then, the terminal converts the target element in the element corresponding to the target order into and , as the identification values of the parameters a1 and b1 to be identified of the target frequency response model.
[0102] In the equivalent inertia identification method of the above-mentioned wind turbine, the parameter matrix to be identified of the target frequency response model is determined according to the operating data and the frequency response model to be identified, which contains the estimated values of each coefficient in the frequency response model of the wind turbine under the assumption of each order model, determines the target order of the target wind turbine, and obtains the target element in the element corresponding to the target order in the parameter matrix to be identified as the identification value of the parameter to be identified of the target frequency response model. The inertia response characteristics of the wind turbine are reflected in the active power-frequency dynamic process of the unit, and the links related to the output active power such as pitch angle control have an impact on the active power dynamic characteristics of the wind turbine. Therefore, the changes in the dynamic characteristics of each part caused by changes in the operation of the wind turbine, changes in the control structure, etc. will directly affect the frequency response characterization model of the wind turbine. The change in the model structure makes the use of the traditional online identification method that relies on fixed model assumptions face the risk of failure. In this way, this method can identify the identification value of the parameter to be identified of the frequency response model in real time as the operating data of the wind turbine changes, does not rely on fixed model assumptions, and comprehensively considers the impact of the change in the operating data of the wind turbine on the identification of the equivalent inertia, which is more in line with the actual situation, can improve the identification accuracy of the frequency response model of the wind turbine, and thus improve the accuracy of the identification of the equivalent inertia of the wind turbine. In addition, this method also gives the optimal order selection method, which can further improve the identification accuracy and provide important parameters for the frequency characteristic analysis of the new energy power system.
[0103] In an exemplary embodiment, as shown in FIG4 , the specific process of determining the parameter matrix to be identified of the target frequency response model according to the operating data and the frequency response model to be identified includes the following steps:
[0104] Step 401 : determining an augmented data vector of a target wind turbine generator system according to operating data and a frequency response model to be identified.
[0105] In the embodiment of the present application, the terminal assumes that the highest possible order of the system to be identified is n, and n can be 10. The frequency response model to be identified is rewritten into a least squares format, which can be expressed as:
[0106]
[0107] in, is the transposed matrix of the data vector; is the vector form of the parameters to be identified; is the estimated value of the noise term, which is taken as the parameter estimated value vector at the previous moment The calculated information can be expressed as:
[0108]
[0109] The terminal adds the measured output value at the current moment, i.e., the operating data, to the data vector to obtain the augmented data vector of the target wind turbine. , which can be expressed as:
[0110]
[0111] Step 402: Calculate the augmented information array of the target wind turbine based on the augmented data vector.
[0112] In the embodiment of the present application, step 402 can be expressed as:
[0113]
[0114] in, To expand the information matrix, is the augmented data vector.
[0115] Step 403: Decompose the augmented information matrix using the UD decomposition algorithm to obtain a decomposition result of the augmented information matrix.
[0116] The decomposition result includes decomposing a unit upper triangular matrix.
[0117] In the embodiment of the present application, the terminal uses the UD decomposition algorithm to decompose the augmented information matrix into the product form of a unit upper triangular matrix and a diagonal matrix to obtain the decomposition result of the augmented information matrix.
[0118] In one embodiment, step 403 may be expressed as:
[0119]
[0120] in, To expand the information matrix, To decompose the unit upper triangular matrix, To decompose a diagonal matrix, is the decomposition of the unit lower triangular matrix.
[0121] Step 404 : Decompose the unit upper triangular matrix as a parameter matrix to be identified of the target frequency response model.
[0122] In the above-mentioned equivalent inertia identification method of the wind turbine, the augmented data vector of the target wind turbine is determined according to the operating data and the frequency response model to be identified; based on the augmented data vector, the augmented information matrix of the target wind turbine is calculated; the augmented information matrix is decomposed by the UD decomposition algorithm to obtain the decomposition result of the augmented information matrix; the decomposed unit upper triangular matrix is used as the parameter matrix to be identified of the target frequency response model. In this way, the parameter matrix to be identified can contain the estimated values of each coefficient in the frequency response model of the wind turbine under the assumptions of each order model, can realize parameter identification under different model orders, and can realize the identification value of the parameter to be identified of the frequency response model in real time as the operating data of the wind turbine changes, does not rely on fixed model assumptions, is more in line with the actual situation, can improve the identification accuracy of the frequency response model of the wind turbine, and improve the accuracy of the equivalent inertia identification of the wind turbine.
[0123] In an exemplary embodiment, as shown in FIG5 , the slope of the frequency change segment of the virtual frequency signal is a preset target slope, and the specific process of determining the equivalent inertia of the target wind turbine generator set according to the virtual frequency signal and the active power response signal includes the following steps:
[0124] Step 501, based on the virtual frequency signal and the active power response signal, determine the initial frequency and initial active power corresponding to the moment when the frequency starts to change, the steady-state frequency and steady-state active power corresponding to the moment when the frequency is constant and the active power reaches a steady state, and the post-disturbance frequency and post-disturbance active power corresponding to the post-disturbance time.
[0125] In the embodiment of the present application, the post-disturbance time is any moment in the dynamic process, which is after the frequency starts to change, before the frequency is constant and the active power reaches a steady state. That is, the post-disturbance time is after the moment when the frequency starts to change, before the frequency is constant and the active power reaches a steady state. The target slope can be 1.
[0126] In one embodiment, the virtual frequency signal and the active power response signal corresponding to the virtual frequency signal are shown in FIG6. The time when the frequency starts to change is t0, the initial frequency corresponding to this time is f0, and the initial active power corresponding to this time is P0. The time when the frequency is constant and the active power reaches a steady state is t2, the steady-state frequency corresponding to this time is f2, and the steady-state active power corresponding to this time is P2. The time after the disturbance is t ad The corresponding post-disturbance frequency at this moment is f1, and the corresponding post-disturbance active power at this moment is P1.
[0127] Step 502, calculating a first target value according to the initial frequency, the initial active power, the steady-state frequency, the steady-state active power, the post-disturbance frequency, and the post-disturbance active power.
[0128] In the embodiment of the present application, the terminal adds the product of the initial active power and the frequency after the disturbance, the product of the active power after the disturbance and the steady-state frequency, and the product of the steady-state active power and the initial frequency to obtain a first sum. Then, the terminal adds the product of the initial active power and the steady-state frequency, the product of the active power after the disturbance and the initial frequency, and the product of the steady-state active power and the frequency after the disturbance to obtain a second sum. Then, the terminal uses the difference between the first sum and the second sum as the first target value.
[0129] Step 503, calculating a second target value according to the initial frequency, the steady-state frequency, and the target slope.
[0130] In the embodiment of the present application, the terminal multiplies the difference between the initial frequency and the steady-state frequency by the target slope and 2 to obtain a second target value.
[0131] Step 504: taking the ratio of the first target value to the second target value as the equivalent inertia of the target wind turbine generator set.
[0132] In one embodiment, steps 502-504 may be expressed as:
[0133]
[0134] Among them, H eq is the equivalent inertia of the target wind turbine, k fr is the target slope.
[0135] In one embodiment, the terminal can also calculate the equivalent droop coefficient K of the target wind turbine generator set at the post-disturbance time according to the initial frequency, initial active power, steady-state frequency, and steady-state active power. eq , which can be expressed as:
[0136]
[0137] In the above-mentioned equivalent inertia identification method of the wind turbine generator set, the initial frequency and initial active power corresponding to the moment when the frequency starts to change, the steady-state frequency and steady-state active power corresponding to the moment when the frequency is constant and the active power reaches a steady state, and the post-disturbance frequency and post-disturbance active power corresponding to the post-disturbance time are determined according to the virtual frequency signal and the active power response signal. According to the initial frequency, the initial active power, the steady-state frequency, the steady-state active power, the post-disturbance frequency, and the post-disturbance active power, the first target value is calculated, and according to the initial frequency, the steady-state frequency, and the target slope, the second target value is calculated. The ratio of the first target value to the second target value is used as the equivalent inertia of the target wind turbine generator set. In this way, the equivalent inertia of the wind turbine generator set is identified according to the numerical relationship between the virtual frequency signal and the active power response signal corresponding to the virtual frequency signal output by the frequency response model of the wind turbine generator set, which is more in line with the actual situation and can improve the accuracy of the equivalent inertia identification of the wind turbine generator set.
[0138] In an exemplary embodiment, as shown in FIG7 , the method further includes the following steps:
[0139] Step 701, calculating the wind speed static difference sequence corresponding to the target time according to the operating data.
[0140] In an embodiment of the present application, the terminal calculates the wind speed static difference sequence corresponding to the target time based on the wind speed data.
[0141] Step 702, calculating the absolute wind speed volatility sequence of the target time window according to the wind speed static difference sequence and the preset volatility analysis window length.
[0142] The target time window is the period starting at the target time and its length is the length of the volatility analysis window.
[0143] In one embodiment, steps 701-702 may be expressed as:
[0144]
[0145] Among them, w(t) is the wind speed data, is the sampling time interval, is the wind speed static difference sequence corresponding to time t, N is the volatility analysis window length, is the absolute volatility series of wind speed, is the independent variable.
[0146] Step 703, calculating the relative variation volatility index of the target time window according to the wind speed absolute volatility sequence, the operating data and the volatility analysis window length.
[0147] Step 704: if the relative variation volatility index is less than a preset relative variation volatility index threshold, it is determined that within the target time window, the target wind turbine generator system meets the preset equivalent inertia identification condition.
[0148] In one embodiment, steps 703-704 may be expressed as:
[0149]
[0150] in, It is a relative variation volatility index, which is used to measure the fluctuation of wind speed. Preset relative variation volatility indicator threshold .when When , the wind speed fluctuates too much during the period of length N starting at time t, and the equivalent inertia identification of the doubly fed wind farm is temporarily blocked.
[0151] In the above-mentioned equivalent inertia identification method of the wind turbine, the static difference sequence of the wind speed corresponding to the target time is calculated according to the operating data; the absolute volatility sequence of the wind speed in the target time window is calculated according to the static difference sequence of the wind speed and the preset volatility analysis window length; the relative variation volatility index of the target time window is calculated according to the absolute volatility sequence of the wind speed, the operating data and the volatility analysis window length; if the relative variation volatility index is less than the preset relative variation volatility index threshold, it is determined that within the target time window, the target wind turbine meets the preset equivalent inertia identification conditions. The active additional control instructions of the wind turbine are directly superimposed on the maximum power tracking link, and the fluctuation of wind speed will also affect the active power of the machine end through the maximum power tracking link. During the period of rapid, continuous and large fluctuations in wind speed, the active power measured at the machine end also includes the influence component of wind speed fluctuations. In this way, the relative variation volatility index within the target time window is calculated in real time to measure the fluctuation of wind speed. Under the condition of rapid, continuous and large fluctuation of wind speed, the frequency response model is temporarily stopped for equivalent inertia identification of wind turbines. A method for judging wind speed working conditions suitable for identification is given, as well as the conditions and screening method for starting the identification calculation, to avoid calculation errors introduced by identification when the wind speed fluctuation is too large. This is more in line with the actual situation and can further improve the accuracy and precision of equivalent inertia identification of wind turbines.
[0152] It should be understood that, although the various steps in the flowcharts involved in the above-mentioned embodiments are displayed in sequence according to the indication of the arrows, these steps are not necessarily executed in sequence according to the order indicated by the arrows. Unless there is a clear explanation in this article, the execution of these steps does not have a strict order restriction, and these steps can be executed in other orders. Moreover, at least a part of the steps in the flowcharts involved in the above-mentioned embodiments can include multiple steps or multiple stages, and these steps or stages are not necessarily executed at the same time, but can be executed at different times, and the execution order of these steps or stages is not necessarily to be carried out in sequence, but can be executed in turn or alternately with other steps or at least a part of the steps or stages in other steps.
[0153] Based on the same inventive concept, the embodiment of the present application also provides an equivalent inertia identification device for a wind turbine for implementing the equivalent inertia identification method of the wind turbine involved above. The implementation scheme for solving the problem provided by the device is similar to the implementation scheme recorded in the above method, so the specific limitations of the equivalent inertia identification device embodiments of one or more wind turbines provided below can refer to the limitations of the equivalent inertia identification method of the wind turbine above, and will not be repeated here.
[0154] In an exemplary embodiment, as shown in FIG8 , a wind turbine equivalent inertia identification device 800 is provided, comprising: a collection module 810, a model identification module 820, an input module 830 and a first determination module 840, wherein:
[0155] The acquisition module 810 is used to acquire the operating data of the target wind turbine group;
[0156] A model identification module 820, configured to identify a target frequency response model of the target wind turbine generator system according to the operating data when a preset equivalent inertia identification condition is met;
[0157] An input module 830, configured to input a preset virtual frequency signal into the target frequency response model to obtain an active power response signal;
[0158] The first determination module 840 is configured to determine the equivalent inertia of the target wind turbine generator system according to the virtual frequency signal and the active power response signal.
[0159] Optionally, the model identification module 820 is specifically used to:
[0160] According to the model form of the output error model, a frequency response model to be identified of the target wind turbine generator set is constructed;
[0161] Determining an identification value of a parameter to be identified of the target frequency response model according to the operating data and the frequency response model to be identified;
[0162] A target frequency response model of the target wind turbine generator system is constructed according to the identified value of the parameter to be identified and the frequency response model to be identified.
[0163] Optionally, the model identification module 820 is specifically used to:
[0164] Determine a parameter matrix to be identified of the target frequency response model according to the operating data and the frequency response model to be identified; the parameter matrix to be identified includes estimated values of coefficients in the frequency response model of the wind turbine generator set under various order model assumptions;
[0165] Determining the target order of the target wind turbine generator set according to a preset order selection rule;
[0166] In the parameter matrix to be identified, obtaining the element corresponding to the target order;
[0167] A target element among the elements corresponding to the target order is used as an identification value of a parameter to be identified of the target frequency response model.
[0168] Optionally, the model identification module 820 is specifically used to:
[0169] Determining an augmented data vector of the target wind turbine generator system according to the operating data and the frequency response model to be identified;
[0170] Based on the augmented data vector, calculating the augmented information array of the target wind turbine group;
[0171] Decomposing the augmented information matrix by using a UD decomposition algorithm to obtain a decomposition result of the augmented information matrix; the decomposition result includes a decomposition unit upper triangular matrix;
[0172] The decomposed unit upper triangular matrix is used as a parameter matrix to be identified of the target frequency response model.
[0173] Optionally, the slope of the frequency change segment of the virtual frequency signal is a preset target slope, and the first determining module 840 is specifically configured to:
[0174] According to the virtual frequency signal and the active power response signal, determine the initial frequency and initial active power corresponding to the moment when the frequency starts to change, the steady-state frequency and steady-state active power corresponding to the moment when the frequency is constant and the active power reaches a steady state, and the post-disturbance frequency and post-disturbance active power corresponding to the post-disturbance time;
[0175] Calculating a first target value according to the initial frequency, the initial active power, the steady-state frequency, the steady-state active power, the post-disturbance frequency, and the post-disturbance active power;
[0176] Calculating a second target value according to the initial frequency, the steady-state frequency, and the target slope;
[0177] The ratio of the first target value to the second target value is used as the equivalent inertia of the target wind turbine generator set.
[0178] Optionally, the device 800 further includes:
[0179] A first calculation module is used to calculate the wind speed static difference sequence corresponding to the target time according to the operation data;
[0180] A second calculation module is used to calculate the wind speed absolute volatility sequence of the target time window according to the wind speed static difference sequence and a preset volatility analysis window length; the target time window is a period starting at the target time and having a length equal to the volatility analysis window length;
[0181] A third calculation module is used to calculate the relative variation volatility index of the target time window according to the wind speed absolute volatility sequence, the operating data and the volatility analysis window length;
[0182] The second determination module is used to determine that the target wind turbine generator system meets a preset equivalent inertia identification condition within the target time window if the relative variation volatility index is less than a preset relative variation volatility index threshold.
[0183] Each module in the equivalent inertia identification device of the wind turbine generator set can be implemented in whole or in part by software, hardware and a combination thereof. Each module can be embedded in or independent of a processor in a computer device in the form of hardware, or can be stored in a memory in a computer device in the form of software, so that the processor can call and execute operations corresponding to each module.
[0184] In an exemplary embodiment, a computer device is provided, which may be a terminal, and its internal structure diagram may be shown in FIG9. The computer device includes a processor, a memory, an input / output interface, a communication interface, a display unit, and an input device. The processor, the memory, and the input / output interface are connected via a system bus, and the communication interface, the display unit, and the input device are connected to the system bus via the input / output interface. The processor of the computer device is used to provide computing and control capabilities. The memory of the computer device includes a non-volatile storage medium and an internal memory. The non-volatile storage medium stores an operating system and a computer program. The internal memory provides an environment for the operation of the operating system and the computer program in the non-volatile storage medium. The input / output interface of the computer device is used to exchange information between the processor and an external device. The communication interface of the computer device is used to communicate with an external terminal in a wired or wireless manner, and the wireless manner may be implemented through WIFI, a mobile cellular network, near field communication (NFC) or other technologies. When the computer program is executed by the processor, a method for identifying the equivalent inertia of a wind turbine is implemented. The display unit of the computer device is used to form a visually visible picture, which may be a display screen, a projection device, or a virtual reality imaging device. The display screen can be a liquid crystal display screen or an electronic ink display screen, and the input device of the computer device can be a touch layer covering the display screen, or a button, trackball or touchpad set on the computer device shell, or an external keyboard, touchpad or mouse.
[0185] Those skilled in the art will understand that the structure shown in FIG. 9 is merely a block diagram of a partial structure related to the solution of the present application, and does not constitute a limitation on the computer device to which the solution of the present application is applied. The specific computer device may include more or fewer components than shown in the figure, or combine certain components, or have a different arrangement of components.
[0186] In an exemplary embodiment, a computer device is provided, including a memory and a processor, wherein a computer program is stored in the memory, and the processor implements the steps in the above-mentioned method embodiments when executing the computer program.
[0187] In one embodiment, a computer-readable storage medium is provided, on which a computer program is stored. When the computer program is executed by a processor, the steps in the above-mentioned method embodiments are implemented.
[0188] In one embodiment, a computer program product is provided, including a computer program, which implements the steps in the above method embodiments when executed by a processor.
[0189] It should be noted that the user information (including but not limited to user device information, user personal information, etc.) and data (including but not limited to data used for analysis, stored data, displayed data, etc.) involved in this application are all information and data authorized by the user or fully authorized by all parties, and the collection, use and processing of relevant data must comply with relevant regulations.
[0190] A person of ordinary skill in the art can understand that all or part of the processes in the above-mentioned embodiment method can be completed by instructing the relevant hardware through a computer program, and the computer program can be stored in a non-volatile computer-readable storage medium. When the computer program is executed, it can include the processes of the embodiments of the above-mentioned methods. Among them, any reference to the memory, database or other medium used in the embodiments provided in the present application can include at least one of non-volatile memory and volatile memory. Non-volatile memory can include read-only memory (ROM), magnetic tape, floppy disk, flash memory, optical memory, high-density embedded non-volatile memory, resistive random access memory (ReRAM), magnetic random access memory (MRAM), ferroelectric random access memory (FRAM), phase change memory (PCM), graphene memory, etc. Volatile memory can include random access memory (RAM) or external cache memory, etc. As an illustration and not limitation, RAM can be in various forms, such as static random access memory (SRAM) or dynamic random access memory (DRAM). The database involved in each embodiment provided in this application may include at least one of a relational database and a non-relational database. Non-relational databases may include distributed databases based on blockchains, etc., but are not limited to this. The processor involved in each embodiment provided in this application may be a general-purpose processor, a central processing unit, a graphics processor, a digital signal processor, a programmable logic device, a data processing logic device based on quantum computing, an artificial intelligence (AI) processor, etc., but are not limited to this.
[0191] The technical features of the above embodiments may be combined arbitrarily. To make the description concise, not all possible combinations of the technical features in the above embodiments are described. However, as long as there is no contradiction in the combination of these technical features, they should be considered to be within the scope of this application.
[0192] The above-described embodiments only express several implementation methods of the present application, and the descriptions thereof are relatively specific and detailed, but they cannot be understood as limiting the scope of the present application. It should be pointed out that, for a person of ordinary skill in the art, several variations and improvements can be made without departing from the concept of the present application, and these all belong to the protection scope of the present application. Therefore, the protection scope of the present application shall be subject to the attached claims.
Claims
1. A method for identifying equivalent inertia of a wind turbine generator set, characterized in that: The method comprises: Collect the operating data of the target wind turbine; When a preset equivalent inertia identification condition is met, identifying a target frequency response model of the target wind turbine generator set according to the operating data; Inputting a preset virtual frequency signal into the target frequency response model to obtain an active power response signal; The equivalent inertia of the target wind turbine generator set is determined according to the virtual frequency signal and the active power response signal.
2. The method according to claim 1, characterized in that The step of identifying a target frequency response model of the target wind turbine generator set according to the operating data includes: According to the model form of the output error model, a frequency response model to be identified of the target wind turbine generator set is constructed; Determining an identification value of a parameter to be identified of the target frequency response model according to the operating data and the frequency response model to be identified; A target frequency response model of the target wind turbine generator system is constructed according to the identified value of the parameter to be identified and the frequency response model to be identified.
3. The method according to claim 2, characterized in that The step of determining the identification value of the parameter to be identified of the target frequency response model according to the operating data and the frequency response model to be identified includes: Determine a parameter matrix to be identified of the target frequency response model according to the operating data and the frequency response model to be identified; the parameter matrix to be identified includes estimated values of coefficients in the frequency response model of the wind turbine generator set under various order model assumptions; Determining the target order of the target wind turbine generator set according to a preset order selection rule; In the parameter matrix to be identified, obtaining the element corresponding to the target order; A target element among the elements corresponding to the target order is used as an identification value of a parameter to be identified of the target frequency response model.
4. The method according to claim 3, characterized in that Determining the parameter matrix to be identified of the target frequency response model according to the operating data and the frequency response model to be identified includes: Determining an augmented data vector of the target wind turbine generator system according to the operating data and the frequency response model to be identified; Based on the augmented data vector, calculating the augmented information array of the target wind turbine group; Decomposing the augmented information matrix by using a UD decomposition algorithm to obtain a decomposition result of the augmented information matrix; the decomposition result includes a decomposition unit upper triangular matrix; The decomposed unit upper triangular matrix is used as a parameter matrix to be identified of the target frequency response model.
5. The method according to claim 1, characterized in that The slope of the frequency change segment of the virtual frequency signal is a preset target slope, and determining the equivalent inertia of the target wind turbine generator set according to the virtual frequency signal and the active power response signal includes: According to the virtual frequency signal and the active power response signal, determine the initial frequency and initial active power corresponding to the moment when the frequency starts to change, the steady-state frequency and steady-state active power corresponding to the moment when the frequency is constant and the active power reaches a steady state, and the post-disturbance frequency and post-disturbance active power corresponding to the post-disturbance time; Calculating a first target value according to the initial frequency, the initial active power, the steady-state frequency, the steady-state active power, the post-disturbance frequency, and the post-disturbance active power; Calculating a second target value according to the initial frequency, the steady-state frequency, and the target slope; The ratio of the first target value to the second target value is used as the equivalent inertia of the target wind turbine generator set.
6. The method according to claim 1, characterized in that The method further comprises: Calculating the wind speed static difference sequence corresponding to the target time according to the operating data; According to the wind speed static difference sequence and the preset volatility analysis window length, the wind speed absolute volatility sequence of the target time window is calculated; the target time window is a period starting at the target time and having a length equal to the volatility analysis window length; Calculating the relative variation volatility index of the target time window according to the wind speed absolute volatility sequence, the operating data and the volatility analysis window length; If the relative variation volatility index is less than a preset relative variation volatility index threshold, it is determined that within the target time window, the target wind turbine generator set meets a preset equivalent inertia identification condition.
7. An equivalent inertia identification device for a wind turbine generator set, characterized in that: The device comprises: A collection module, used to collect the operating data of the target wind turbine; A model identification module, used for identifying a target frequency response model of the target wind turbine generator set according to the operating data when a preset equivalent inertia identification condition is met; An input module, used for inputting a preset virtual frequency signal into the target frequency response model to obtain an active power response signal; The first determination module is used to determine the equivalent inertia of the target wind turbine generator set according to the virtual frequency signal and the active power response signal.
8. A computer device comprising a memory and a processor, wherein the memory stores a computer program, wherein: When the processor executes the computer program, the steps of the method according to any one of claims 1 to 6 are implemented.
9. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the steps of the method according to any one of claims 1 to 6 are implemented.
10. A computer program product, comprising a computer program, characterized in that When the computer program is executed by a processor, the steps of the method according to any one of claims 1 to 6 are implemented.
