Electromagnetic transient modeling method and system for wind power system
By grouping wind turbine units using factor analysis and density-based clustering, electromagnetic transient modeling of wind power systems is simplified, enabling more efficient simulation and more accurate electromagnetic transient models. This solves the problem of high model complexity in wind power systems and allows for timely adjustment of grid connection control strategies to maintain grid stability.
Patent Information
- Application Number
- CN202411202549.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-08-29
- Publication Date
- 2024-11-15
AI Technical Summary
In existing wind power systems, detailed modeling of each wind turbine results in complex models, limited simulation step size, and slow simulation speed, making it difficult to apply to the construction of actual electromagnetic transient models.
Factor analysis was used to select representative initial state vectors from the mechanical and electrical characteristics of wind turbine units. The wind turbine units were then grouped using density-based clustering (DBSCAN). Electromagnetic transient simulation was performed using PSCAD/EMTDC to obtain equivalent wind turbine unit parameters.
It simplifies the complexity of electromagnetic transient simulation of wind turbine units, obtains more accurate simulation models, and enables timely adjustment of grid connection control strategies to maintain grid stability.
Smart Images

Figure CN118965805A_ABST
Abstract
Description
Technical Field
[0001] The present invention belongs to the technical field of power system simulation, and in particular relates to a method and system for electromagnetic transient modeling of a wind power system. Background Art
[0002] The statements in this section merely provide background information related to the present invention and do not necessarily constitute prior art.
[0003] Wind energy has become the first choice for green energy utilization in various countries due to its advantages of cleanliness and high potential. According to the type of generator, common wind turbines include squirrel cage asynchronous, variable rotor resistance asynchronous, full power permanent magnet direct drive, and double-fed asynchronous. Due to the intermittent output characteristics of wind energy, it has brought great difficulties to the operation and control of the power grid. It is necessary to analyze the electromagnetic transient process of wind turbines in grid-connected operation and study its electromagnetic transient model, which is the basis and key.
[0004] Existing wind power systems usually include dozens or even hundreds of wind turbines. If each wind turbine is modeled in detail, the model will become complex, the simulation step size will be limited, the simulation speed will be slow, and other problems will arise. This is not suitable for the construction of an actual electromagnetic transient model for a wind power system. Summary of the invention
[0005] In order to overcome the above-mentioned deficiencies of the prior art, the present invention provides a method and system for electromagnetic transient modeling of a wind power system.
[0006] To achieve the above objectives, one or more embodiments of the present invention provide the following technical solutions: A first aspect of the present invention provides a method for electromagnetic transient modeling of a wind power system; A wind power system electromagnetic transient modeling method, comprising: Acquire an initial state vector of the wind turbine generator set according to the mechanical characteristics and electrical characteristics of the wind turbine generator set, and use the state vector as an initial clustering index of the wind turbine generator set; The factor analysis method is used to process the initial clustering indicators screened out to obtain representative clustering indicators among the initial clustering indicators; According to the representative clustering index, a density-based clustering method is used to group the wind turbines; Perform equivalent calculation on the clustered wind turbines to obtain parameters of the equivalent wind turbines; By using the parameters of the equivalent wind turbine generator set, electromagnetic transient simulation is performed on the wind turbine generator set after the grouping process based on PSCAD / EMTDC, and the control strategy of the wind turbine generator set is optimized according to the simulation results.
[0007] As a further technical solution, the initial clustering indicators of the wind turbine group include pitch angle, rotation speed, wind wheel radius, mechanical torque, wind turbine torque, rotor current d, q-axis components and stator current d, q-axis components.
[0008] As a further technical solution, the factor analysis method is:
[0009] In the formula, is the initial clustering index of wind turbines, ; is the common factor hidden between the initial clustering indicators; e is the special factor hidden between the initial clustering indicators, ;u is the mean of the initial clustering index of the wind turbines, ; is the initial clustering index of wind turbines The common factors hidden between the initial clustering index The correlation coefficient of .
[0010] As a further technical solution, representative clustering indicators among the initial clustering indicators include: rotation speed, wind wheel radius, rotor current d-axis component and stator current q-axis component.
[0011] As a further technical solution, the density-based clustering method introduces the Eps neighborhood and the neighborhood density threshold min Pts parameter to determine the threshold for dividing wind turbines, where the Eps neighborhood represents the radius value of the cluster, and min Pts defines the number of samples contained in the cluster; Eps neighborhood: if there is In data set D, The Eps neighborhood of a sample refers to the set of samples within a specified radius; The formula is as follows:
[0012] In the formula, D is the set of wind turbines; is the neighborhood, representing the radius value of the cluster.
[0013] As a further technical solution, the specific process of clustering wind turbines using the density-based clustering method is as follows: Step (1) taking a number of wind turbines as input data for a density-based clustering method, treating all wind turbines as unvisited objects, and setting an optimization parameter eps and a neighborhood density threshold min Pts; Step (2) randomly selects any wind turbine and marks it as the access object, and traverses the neighborhood of the marked wind turbine to see if it contains min Pts objects; if not, delete the marked wind turbine as a noise point; if so, take the marked wind turbine as the core point and create a new cluster, traverse all objects in the neighborhood and add them to the created cluster; In step (3), if there are no unprocessed points in the traversal process, the clustering ends and the clustering result of the wind turbine is output; if there are unprocessed points in the traversal process, the unprocessed points are returned to step (2) as marked objects.
[0014] As a further technical solution, the parameters of the equivalent wind turbine generator set are obtained including generator parameters, shaft system parameters, and capacitor and transformer parameters.
[0015] A second aspect of the present invention provides a wind power system electromagnetic transient modeling system.
[0016] A wind power system electromagnetic transient modeling system, comprising: The initial clustering index acquisition module is configured to: acquire an initial state vector of the wind turbine generator set according to the mechanical characteristics and electrical characteristics of the wind turbine generator set, and use the state vector as an initial clustering index of the wind turbine generator set; The factor analysis module is configured to: process the screened initial clustering indicators using factor analysis to obtain representative clustering indicators from the initial clustering indicators; The wind turbine clustering module is configured to: cluster the wind turbines using a density-based clustering method according to the representative clustering index; The equivalent value calculation module is configured to: perform equivalent value calculation on the clustered wind turbines to obtain parameters of the equivalent wind turbines; The electromagnetic transient simulation module is configured to: utilize the parameters of the equivalent wind turbine generator set, perform electromagnetic transient simulation on the wind turbine generator set after grouping based on PSCAD / EMTDC, and optimize the control strategy of the wind turbine generator set according to the simulation results.
[0017] A third aspect of the present invention provides a computer-readable storage medium having a program stored thereon, which, when executed by a processor, implements the steps in a method for electromagnetic transient modeling of a wind power system as described in the first aspect of the present invention.
[0018] The fourth aspect of the present invention provides an electronic device, including a memory, a processor, and a program stored in the memory and executable on the processor, wherein when the processor executes the program, the steps in a method for electromagnetic transient modeling of a wind power system as described in the first aspect of the present invention are implemented.
[0019] One or more of the above technical solutions have the following beneficial effects: (1) The factor analysis method is used to screen out the representative initial state vectors of the mechanical and electrical characteristics of the wind turbine as clustering indicators. The state vectors with high correlation among multiple initial state vectors of the wind turbine can be clustered together, thereby reducing the number of state vectors to be analyzed and the complexity of the problem analysis.
[0020] (2) Based on the above clustering indicators, the density-based clustering method (DBSCAN) is used to cluster the wind turbines and divide the wind turbines into several clusters. The above method can cluster a large number of wind turbines and simplify the steps and complexity of electromagnetic transient simulation of wind turbines.
[0021] (3) By performing electromagnetic transient simulation on the wind turbines after clustering through PSCAD / EMTDC, a more accurate electromagnetic transient simulation model of the wind turbines can be obtained. According to the above model, the control strategy of the wind turbines during the grid connection process can be adjusted in time to maintain the stability of the power grid.
[0022] Advantages of additional aspects of the present invention will be given in part in the following description, and in part will become obvious from the following description, or will be learned through practice of the present invention. BRIEF DESCRIPTION OF THE DRAWINGS
[0023] The accompanying drawings in the specification, which constitute a part of the present invention, are used to provide a further understanding of the present invention. The exemplary embodiments of the present invention and their descriptions are used to explain the present invention and do not constitute improper limitations on the present invention.
[0024] Figure 1 This is a flow chart of the method of the first embodiment.
[0025] Figure 2 It is a system structure diagram of the second embodiment. DETAILED DESCRIPTION
[0026] It should be noted that the following detailed descriptions are exemplary and are intended to provide further explanation of the present invention. Unless otherwise specified, all technical and scientific terms used herein have the same meanings as those commonly understood by those skilled in the art to which the present invention belongs.
[0027] It should be noted that the terms used herein are for describing specific embodiments only and are not intended to be limiting of exemplary embodiments according to the present invention.
[0028] In the absence of conflict, the embodiments of the present invention and the features of the embodiments may be combined with each other.
[0029] The electromagnetic transient modeling of wind turbines can effectively prevent the problem of grid fluctuations during the grid connection process, but the existing wind power system usually includes dozens or even hundreds of wind turbines. If each wind turbine is modeled in detail, it will lead to problems such as complex models, limited simulation steps, and slow simulation speeds, which are not suitable for the actual construction of electromagnetic transient models of wind power systems. Based on the above problems, this application proposes a method and system for electromagnetic transient modeling of wind power systems, which uses factor analysis and density-based clustering methods to group wind turbines, reduce the complexity of the model construction process, and finally perform electromagnetic transient simulation through PSCAD / EMTDC to obtain a more accurate electromagnetic transient simulation model of wind turbines.
[0030] Embodiment 1 This embodiment discloses a method for electromagnetic transient modeling of a wind power system; like Figure 1 As shown, a method for electromagnetic transient modeling of a wind power system includes: Step S1, obtaining an initial state vector of the wind turbine generator set according to the mechanical characteristics and electrical characteristics of the wind turbine generator set, and using the state vector as an initial clustering index of the wind turbine generator set.
[0031] Among them, the mechanical characteristics of wind turbines include: pitch angle, rotation speed, rotor radius, mechanical torque, and wind turbine torque. Specifically, the pitch angle refers to the angle between the airfoil chord at the top of the blade and the rotation plane, which is directly related to the wind turbine's ability to capture wind energy and the way the power is adjusted; the rotation speed refers to the speed of the rotor during the operation of the wind turbine; the mechanical torque refers to the torque related to the wind turbine's mechanical torque and the rated power and wind turbine speed; the wind turbine's torque refers to the rotational torque generated on the wind turbine shaft when the wind turbine blades are acted upon by the thrust of the wind.
[0032] The electrical characteristics of a wind turbine include the d-axis and q-axis components of the rotor current and the d-axis and q-axis components of the stator current. For the d-axis component of the rotor current of a wind turbine, when simplifying and reducing the system model, by assuming that the d-axis of the synchronous rotating coordinate system is consistent with the direction of the stator flux, the resistance of the stator winding can be ignored, thereby simplifying the system model. The q-axis component is mainly used to represent the torque component of the motor. By controlling the q-axis current, direct control of the motor torque can be achieved, thereby adjusting the speed and output power of the wind turbine.
[0033] The stator current of a wind turbine can be decoupled by adjusting its d-axis and q-axis components, thereby adjusting the active power and reactive power of the wind turbine.
[0034] In step S2, the above initial clustering indicators are processed by factor analysis to obtain representative clustering indicators among the initial clustering indicators.
[0035] Factor analysis refers to a statistical technique for extracting common factors from a group of variables. In this embodiment, by performing factor analysis on the above clustering indicators, representative factors in the clustering indicators can be found, and then clustering indicators of the same nature can be classified into one factor, thereby reducing the number of clustering indicators and reducing the complexity of subsequent model construction.
[0036] For wind turbines, the pitch angle, mechanical torque, and wind turbine torque of wind turbines are easily affected by the speed and rotor radius of wind turbines, so the speed and rotor radius are used as representative factors in clustering indicators. For the rotor current d-axis component and the stator current d-axis component and q-axis component, the rotor current d-axis component and the stator current q-axis component are selected as representative factors. Therefore, through this analysis method, the speed, rotor radius, rotor current d-axis component, and stator current q-axis component are selected as representative factors in clustering indicators, and the above four representative factors are further used as clustering indicators for wind turbines.
[0037] The factor analysis method is as follows:
[0038] In the formula, is the initial clustering index of wind turbines, ; is the common factor hidden between the initial clustering indicators; e is the special factor hidden between the initial clustering indicators, ;u is the mean of the initial clustering index of the wind turbines, ; is the initial clustering index of wind turbines The common factors hidden between the initial clustering index The correlation coefficient of .
[0039] In step S3, the wind turbines are grouped using a density-based clustering method according to the representative clustering index.
[0040] The density-based clustering method introduces the Eps neighborhood and the neighborhood density threshold min Pts parameter to determine the threshold for dividing wind turbines, where the Eps neighborhood represents the radius value of the cluster, and min Pts defines the number of samples contained in the cluster; Eps neighborhood: If there is a data set D, its inner The Eps neighborhood of a sample refers to the set of samples within a specified radius; The formula is as follows:
[0041] In the formula, D is the set of wind turbines; is the neighborhood, representing the radius value of the cluster.
[0042] The following parameters are also involved in the density-based clustering algorithm, including core objects and density reachability. In the core object, if the number of other wind turbines involved in the neighborhood of any wind turbine in the set of wind turbines is not less than the neighborhood density threshold min Pts, then this wind turbine is set as a core object. Then there is a density reachability relationship between this wind turbine and any point in its neighborhood. DBSCAN will first traverse and find all core objects, then randomly select one as a seed, find all sample point sets with density reachability as a cluster, and repeat the above steps until all core objects are classified. Finally, the algorithm marks a few abnormal sample points outside the cluster as noise points, which do not belong to any cluster, and outputs the category results of different data points.
[0043] In this embodiment, the specific process of using the density-based clustering method to group wind turbines is as follows: Step S301: several wind turbines are used as input data of the density-based clustering method, all wind turbines are regarded as unvisited objects, and the optimization parameter eps and the neighborhood density threshold min Pts are set; Step S302 randomly selects any wind turbine and marks it as the access object, and traverses the neighborhood of the marked wind turbine to see if it contains min Pts objects; if not, delete the marked wind turbine as a noise point; if so, take the marked wind turbine as the core point and create a new cluster, traverse all objects in the neighborhood and add them to the created cluster; In step S303, if there are no unprocessed points in the traversal process, clustering ends and the clustering result of the wind turbines is output; if there are unprocessed points in the traversal process, the unprocessed points are returned to step S302 as marked objects.
[0044] The density-based clustering method (DBSCAN) is used to cluster wind turbines and divide them into several clusters. The above method can cluster a large number of wind turbines and simplify the steps and complexity of electromagnetic transient simulation of wind turbines.
[0045] In step S4, the wind turbines after clustering are subjected to equivalent calculation. Assuming that the wind power system is composed of N wind turbines of the same model, the wind turbines are grouped using clustering indicators and the DBSCAN clustering algorithm, and each group is merged into an equivalent wind turbine. The parameters of the equivalent wind turbines include generator parameters, shaft parameters, and capacitor and transformer parameters.
[0046] The generator parameters are:
[0047] In the formula, u is the number of wind turbines in the same group before and after the equal value; eq is the equal value parameter; S and P represent capacity and active power respectively; is the generator excitation reactance.
[0048] The axis parameters are:
[0049] The capacitor and transformer parameters are:
[0050] In the formula, C is the compensation capacitor at the machine end; S T is the transformer capacity at the machine end; Z T Indicates the transformer impedance at the machine end.
[0051] Step S5, based on the generator parameters, shaft parameters, capacitor and transformer parameters of the equivalent wind turbine, electromagnetic transient simulation is performed on the wind turbine after grouping based on PSCAD / EMTDC, and the control strategy of the wind turbine is optimized according to the simulation results. PSCAD / EMTDC has accurate and rich power system application models, convenient data input methods and powerful data analysis functions, and is a powerful tool for power system analysis and engineering research. Among them, PSCAD is the graphical operation interface of the software. Users can conveniently use the models in the software model library to build system simulation diagrams, and perform friendly operations on the simulation operation, simulation data management and parameter settings. EMTDC is the core of the software, mainly composed of Network Solution and System Dynamics. The main program constructed by its solution engine can well coordinate the relationship between input and output, network solution and custom components.
[0052] Embodiment 2 This embodiment discloses a wind power system electromagnetic transient modeling system, including: The initial clustering index acquisition module is configured to: acquire an initial state vector of the wind turbine generator set according to the mechanical characteristics and electrical characteristics of the wind turbine generator set, and use the state vector as an initial clustering index of the wind turbine generator set; The factor analysis module is configured to: process the screened initial clustering indicators using factor analysis to obtain representative clustering indicators from the initial clustering indicators; The wind turbine clustering module is configured to: cluster the wind turbines using a density-based clustering method according to the representative clustering index; The equivalent value calculation module is configured to: perform equivalent value calculation on the clustered wind turbines to obtain parameters of the equivalent wind turbines; The electromagnetic transient simulation module is configured to: utilize the parameters of the equivalent wind turbine generator set, perform electromagnetic transient simulation on the wind turbine generator set after grouping based on PSCAD / EMTDC, and optimize the control strategy of the wind turbine generator set according to the simulation results.
[0053] Embodiment 3 The purpose of this embodiment is to provide a computer-readable storage medium.
[0054] A computer-readable storage medium stores a computer program, which, when executed by a processor, implements the steps in a method for electromagnetic transient modeling of a wind power system as described in Example 1 of the present disclosure.
[0055] Embodiment 4 The purpose of this embodiment is to provide an electronic device.
[0056] An electronic device comprises a memory, a processor and a program stored in the memory and executable on the processor, wherein when the processor executes the program, the steps in a method for electromagnetic transient modeling of a wind power system as described in Example 1 of the present disclosure are implemented.
[0057] The steps involved in the apparatuses of the above embodiments 2, 3 and 4 correspond to the method embodiment 1, and the specific implementation methods can refer to the relevant description part of embodiment 1. The term "computer-readable storage medium" should be understood as a single medium or multiple media including one or more instruction sets; it should also be understood to include any medium that can store, encode or carry an instruction set for execution by a processor and enable the processor to execute any method in the present invention.
[0058] Those skilled in the art should understand that the modules or steps of the present invention described above can be implemented by a general-purpose computer device, or alternatively, they can be implemented by a program code executable by a computing device, so that they can be stored in a storage device and executed by the computing device, or they can be made into individual integrated circuit modules, or multiple modules or steps therein can be made into a single integrated circuit module for implementation. The present invention is not limited to any specific combination of hardware and software.
[0059] Although the above describes the specific implementation mode of the present invention in conjunction with the accompanying drawings, it is not intended to limit the scope of protection of the present invention. Those skilled in the art should understand that various modifications or variations that can be made by those skilled in the art on the basis of the technical solution of the present invention without creative work are still within the scope of protection of the present invention.
Claims
1. A method for electromagnetic transient modeling of a wind power system, characterized in that: include: Acquire an initial state vector of the wind turbine generator set according to the mechanical characteristics and electrical characteristics of the wind turbine generator set, and use the state vector as an initial clustering index of the wind turbine generator set; The factor analysis method is used to process the initial clustering indicators screened out to obtain representative clustering indicators among the initial clustering indicators; According to the representative clustering index, a density-based clustering method is used to group the wind turbines; Perform equivalent calculation on the clustered wind turbines to obtain parameters of the equivalent wind turbines; By using the parameters of the equivalent wind turbine generator set, electromagnetic transient simulation is performed on the wind turbine generator set after the grouping process based on PSCAD / EMTDC, and the control strategy of the wind turbine generator set is optimized according to the simulation results.
2. A wind power system electromagnetic transient modeling method according to claim 1, characterized in that: The initial clustering indicators of the wind turbine generator set include pitch angle, rotation speed, wind wheel radius, mechanical torque, wind turbine torque, rotor current d, q axis components and stator current d, q axis components.
3. A wind power system electromagnetic transient modeling method according to claim 1, characterized in that: The factor analysis method is: In the formula, is the initial clustering index of wind turbines, ; is the common factor hidden between the initial clustering indicators; e is the special factor hidden between the initial clustering indicators, ;u is the mean of the initial clustering index of the wind turbines, ; is the initial clustering index of wind turbines The common factors hidden between the initial clustering index The correlation coefficient of .
4. A wind power system electromagnetic transient modeling method according to claim 1, characterized in that: Representative clustering indicators among the initial clustering indicators include: rotation speed, wind wheel radius, rotor current d-axis component and stator current q-axis component.
5. The method for electromagnetic transient modeling of a wind power system according to claim 1, characterized in that: The density-based clustering method introduces the Eps neighborhood and the neighborhood density threshold min Pts parameter to determine the threshold for dividing wind turbines, where the Eps neighborhood represents the radius value of the cluster, and min Pts defines the number of samples contained in the cluster; Eps neighborhood: if there is In data set D, The Eps neighborhood of a sample refers to the set of samples within a specified radius; The formula is as follows: In the formula, D is the set of wind turbines; is the neighborhood, representing the radius value of the cluster.
6. A wind power system electromagnetic transient modeling method according to claim 1, characterized in that: The specific process of clustering wind turbines using the density-based clustering method is as follows: Step (1) taking a number of wind turbines as input data for a density-based clustering method, treating all wind turbines as unvisited objects, and setting an optimization parameter eps and a neighborhood density threshold min Pts; Step (2) randomly selects any wind turbine and marks it as the access object, and traverses the neighborhood of the marked wind turbine to see if it contains min Pts objects; if not, delete the marked wind turbine as a noise point; if so, take the marked wind turbine as the core point and create a new cluster, traverse all objects in the neighborhood and add them to the created cluster; In step (3), if there are no unprocessed points in the traversal process, the clustering ends and the clustering result of the wind turbine is output; if there are unprocessed points in the traversal process, the unprocessed points are returned to step (2) as marked objects.
7. A wind power system electromagnetic transient modeling method according to claim 1, characterized in that: The parameters of the equivalent wind turbine generator set are obtained including generator parameters, shaft system parameters, and capacitor and transformer parameters.
8. A wind power system electromagnetic transient modeling system, characterized in that: include: The initial clustering index acquisition module is configured to: acquire an initial state vector of the wind turbine generator set according to the mechanical characteristics and electrical characteristics of the wind turbine generator set, and use the state vector as an initial clustering index of the wind turbine generator set; The factor analysis module is configured to: process the screened initial clustering indicators using factor analysis to obtain representative clustering indicators from the initial clustering indicators; The wind turbine clustering module is configured to: cluster the wind turbines using a density-based clustering method according to the representative clustering index; The equivalent value calculation module is configured to: perform equivalent value calculation on the clustered wind turbines to obtain parameters of the equivalent wind turbines; The electromagnetic transient simulation module is configured to: utilize the parameters of the equivalent wind turbine generator set, perform electromagnetic transient simulation on the wind turbine generator set after grouping based on PSCAD / EMTDC, and optimize the control strategy of the wind turbine generator set according to the simulation results.
9. A computer-readable storage medium having a program stored thereon, characterized in that: When the program is executed by a processor, the steps in the method for electromagnetic transient modeling of a wind power system as described in any one of claims 1 to 7 are implemented.
10. An electronic device comprising a memory, a processor, and a program stored in the memory and executable on the processor, characterized in that: When the processor executes the program, the steps in the method for electromagnetic transient modeling of a wind power system as described in any one of claims 1 to 7 are implemented.
