A method and device for measuring the primary frequency modulation coefficient of a voltage source type wind turbine

By applying a first-step disturbance to a voltage-source wind turbine and measuring its output active power curve, the natural frequency and damping ratio are calculated. The primary frequency regulation coefficient is then calculated using a formula, which solves the problem of inaccurate frequency regulation performance evaluation of voltage-source wind turbines and improves the safety and stability of the power grid.

CN116381488BActive Publication Date: 2026-07-07ELECTRIC POWER RESEARCH INSTITUTE OF STATE GRID JIBEI ELECTRIC POWER CO LTD +1

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
ELECTRIC POWER RESEARCH INSTITUTE OF STATE GRID JIBEI ELECTRIC POWER CO LTD
Filing Date
2023-04-06
Publication Date
2026-07-07

AI Technical Summary

Technical Problem

In the existing technology, the measurement method of the primary frequency regulation coefficient of voltage source wind turbine is inaccurate or even impossible to obtain, resulting in insufficient evaluation of its active frequency regulation performance and affecting the safe and stable operation of the power grid.

Method used

By applying a first-step disturbance to a simulation test model of a voltage-source wind turbine connected to the grid, measuring the output active power curve, calculating the peak time and maximum overshoot of the power response, obtaining the natural frequency and damping ratio of the transfer function, and using the primary frequency regulation coefficient formula to calculate the accurate frequency regulation coefficient.

Benefits of technology

Accurate measurement of the primary frequency regulation coefficient of voltage source wind turbines and evaluation of their frequency regulation response characteristics improve the operational safety and stability of wind turbines.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN116381488B_ABST
    Figure CN116381488B_ABST
Patent Text Reader

Abstract

The application provides a method and device for measuring a primary frequency modulation coefficient of a voltage source type wind turbine, which comprises the following steps: a first step of applying a first step disturbance to an active power reference value of a simulation test model of the voltage source type wind turbine connected to a power grid to obtain an output active power curve of the voltage source type wind turbine; a second step of obtaining a peak time and a maximum overshoot of a power response according to the output active power curve; a third step of obtaining a natural frequency and a damping ratio of a transfer function corresponding to the voltage source type wind turbine according to the peak time and the maximum overshoot of the power response; and a fourth step of accurately measuring an actual value of the primary frequency modulation coefficient according to the natural frequency and the damping ratio and a primary frequency modulation coefficient formula, so that the primary frequency modulation response characteristics of the voltage source type wind turbine are better evaluated, and the safety and stability of the operation of the voltage source type wind turbine are improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention relates to the field of wind power generation technology, specifically to a method and apparatus for measuring the primary frequency regulation coefficient of a voltage source wind turbine. Background Technology

[0002] The ability of wind turbines to actively support the power grid is gradually becoming an industry consensus. Voltage source wind turbines, due to their ability to autonomously build up voltage and actively support the power grid, possess frequency and voltage regulation characteristics similar to conventional synchronous turbines, which is beneficial to the safe and stable operation of the power system.

[0003] The control response time, control accuracy, and external characteristics of voltage-source wind turbines differ significantly from those of conventional current-source wind turbines under grid frequency, voltage fluctuation, and fault ride-through conditions. However, current research on their control response characteristics during active frequency and voltage regulation is limited, and research on testing and evaluation methods for the control performance of voltage-source wind turbines is still insufficient. Primary frequency regulation is a key indicator of active support performance, and testing and extracting the primary frequency regulation coefficient of voltage-source wind turbines is of great significance. However, current methods for obtaining the primary frequency regulation coefficient of voltage-source wind turbines are still under investigation, leading to inaccurate primary frequency regulation parameters or even the inability to obtain the primary frequency regulation coefficient. Summary of the Invention

[0004] To address the problems in the prior art, embodiments of the present invention provide a method and apparatus for measuring the primary frequency regulation coefficient of a voltage source wind turbine, which can at least partially solve the problems existing in the prior art.

[0005] In a first aspect, the present invention proposes a method for measuring the primary frequency regulation coefficient of a voltage source type wind turbine, comprising:

[0006] A first-step perturbation is applied to the active power reference value of the simulation test model of the voltage source wind turbine connected to the grid to obtain the output active power curve of the voltage source wind turbine; wherein, the simulation test model of the voltage source wind turbine connected to the grid is established in advance;

[0007] Based on the output active power curve, the peak time and maximum overshoot of the power response are obtained;

[0008] Based on the peak time and maximum overshoot of the power response, the natural frequency and damping ratio of the transfer function corresponding to the voltage source wind turbine are obtained;

[0009] The primary frequency modulation coefficient is calculated based on the natural frequency, damping ratio, and primary frequency modulation coefficient formula.

[0010] Furthermore, obtaining the peak time and maximum overshoot of the power response based on the output active power curve includes:

[0011] The time it takes for the active power of the output active power curve to change from 0 to its peak value is obtained as the peak time of the power response;

[0012] The difference between the peak value and the stable value of the output active power curve is divided by the stable value and then multiplied by 100% to obtain the maximum overshoot of the power response.

[0013] Further, obtaining the natural frequency and damping ratio of the transfer function corresponding to the voltage source wind turbine based on the peak time and maximum overshoot of the power response includes:

[0014] According to the formula The damping ratio was calculated. Among them, M p The term represents the maximum overshoot of the power response, e represents the natural constant, and π represents pi.

[0015] According to the formula The natural frequency ω was calculated. n , where t p This indicates the peak time of the power response.

[0016] Furthermore, the formula for the primary frequency modulation coefficient is:

[0017]

[0018] Among them, K f This represents the first frequency modulation coefficient. ω represents the damping ratio. n K represents the natural frequency. p It is a constant.

[0019] On the other hand, the present invention provides a device for measuring the primary frequency regulation coefficient of a voltage source type wind turbine, comprising:

[0020] The disturbance unit is used to apply a step disturbance to the active power reference value of the simulation test model of the voltage source wind turbine connected to the grid, so as to obtain the output active power curve of the voltage source wind turbine; wherein, the simulation test model of the voltage source wind turbine connected to the grid is established in advance.

[0021] The first obtaining unit is used to obtain the peak time and maximum overshoot of the power response based on the output active power curve.

[0022] The second obtaining unit is used to obtain the natural frequency and damping ratio of the transfer function corresponding to the voltage source wind turbine based on the peak time and maximum overshoot of the power response.

[0023] The calculation unit is used to calculate the primary frequency modulation coefficient based on the natural frequency, damping ratio, and primary frequency modulation coefficient formula.

[0024] Furthermore, the first obtaining unit is specifically used for

[0025] The time it takes for the active power of the output active power curve to change from 0 to its peak value is obtained as the peak time of the power response;

[0026] The difference between the peak value and the stable value of the output active power curve is divided by the stable value and then multiplied by 100% to obtain the maximum overshoot of the power response.

[0027] Furthermore, the second obtaining unit is specifically used for:

[0028] According to the formula The damping ratio was calculated. Among them, M p The term represents the maximum overshoot of the power response, e represents the natural constant, and π represents pi.

[0029] According to the formula The natural frequency ω was calculated. n , where t p This indicates the peak time of the power response.

[0030] Furthermore, the formula for the primary frequency modulation coefficient is:

[0031]

[0032] Among them, K f This represents the first frequency modulation coefficient. ω represents the damping ratio. n K represents the natural frequency. p It is a constant.

[0033] In another aspect, the present invention provides an electronic device, including a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor executes the program to implement the steps of the method for measuring the primary frequency regulation coefficient of a voltage source type wind turbine as described in any of the above embodiments.

[0034] In another aspect, the present invention provides a computer-readable storage medium having a computer program stored thereon, which, when executed by a processor, implements the steps of the method for measuring the primary frequency regulation coefficient of a voltage source type wind turbine as described in any of the above embodiments.

[0035] The method and apparatus for measuring the primary frequency regulation coefficient of a voltage source wind turbine provided in this invention apply a step disturbance to the active power reference value of a simulation test model of the voltage source wind turbine connected to the power grid, thereby obtaining the output active power curve of the voltage source wind turbine. The simulation test model of the voltage source wind turbine connected to the power grid is pre-established. Based on the output active power curve, the peak time and maximum overshoot of the power response are obtained. Based on the peak time and maximum overshoot of the power response, the natural frequency and damping ratio of the transfer function corresponding to the voltage source wind turbine are obtained. Based on the natural frequency and damping ratio and the primary frequency regulation coefficient formula, the primary frequency regulation coefficient is calculated. This method can accurately measure the actual value of the primary frequency regulation coefficient, thereby better evaluating the primary frequency regulation response characteristics of the voltage source wind turbine and improving the safety and stability of the voltage source wind turbine operation. Attached Figure Description

[0036] To more clearly illustrate the technical solutions in the embodiments of the present invention or the prior art, the drawings used in the description of the embodiments or the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present invention. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort. In the drawings:

[0037] Figure 1 This is a flowchart illustrating the method for measuring the primary frequency regulation coefficient of a voltage source type wind turbine provided in the first embodiment of the present invention.

[0038] Figure 2 This is a schematic diagram of the structure of the simulation test model of the voltage source type wind turbine connected to the power grid provided in the second embodiment of the present invention.

[0039] Figure 3 This is a schematic diagram of the output active power curve provided in the third embodiment of the present invention.

[0040] Figure 4 This is a schematic diagram of the active power control model of the voltage source type wind turbine provided in the fourth embodiment of the present invention.

[0041] Figure 5 This is a schematic diagram of the primary frequency regulation coefficient measuring device for a voltage source type wind turbine provided in the fifth embodiment of the present invention.

[0042] Figure 6 This is a schematic diagram of the physical structure of the electronic device provided in the sixth embodiment of the present invention. Detailed Implementation

[0043] To make the objectives, technical solutions, and advantages of the embodiments of the present invention clearer, the embodiments of the present invention will be further described in detail below with reference to the accompanying drawings. Here, the illustrative embodiments and descriptions of the present invention are used to explain the present invention, but are not intended to limit the present invention. It should be noted that, unless otherwise specified, the embodiments and features in the embodiments of this application can be arbitrarily combined with each other.

[0044] The execution subject of the method for measuring the primary frequency regulation coefficient of a voltage source wind turbine provided in this embodiment of the invention includes, but is not limited to, a computer.

[0045] To facilitate understanding of the technical solution provided in this application, the research background of this application will be briefly explained below. As a key internal control parameter of voltage source wind turbines, the primary frequency regulation coefficient is difficult to observe, but its setting has a significant impact on the active support characteristics of the unit. Therefore, this invention proposes a method for measuring the primary frequency regulation coefficient of voltage source wind turbines. This method extracts the key parameter of the primary frequency regulation coefficient of the voltage source wind turbine through observable external characteristic electrical quantities, such as voltage, current, and power, using a testing method.

[0046] Figure 1 This is a flowchart illustrating the method for measuring the primary frequency regulation coefficient of a voltage source wind turbine provided in the first embodiment of the present invention, as shown below. Figure 1 As shown in the embodiment of the present invention, the method for measuring the primary frequency regulation coefficient of a voltage source type wind turbine includes:

[0047] S101. Apply a first-step disturbance to the active power reference value of the simulation test model of the voltage source wind turbine connected to the grid to obtain the output active power curve of the voltage source wind turbine; wherein, the simulation test model of the voltage source wind turbine connected to the grid is established in advance.

[0048] Specifically, a simulation test model of a voltage-source wind turbine connected to the power grid is pre-established, and the active power reference value and terminal reference voltage of the simulation test model are set. A first-step disturbance is applied to the active power reference value of the simulation test model of the voltage-source wind turbine connected to the power grid, so that the voltage-source wind turbine participates in the grid frequency regulation response process. The output active power curve of the voltage-source wind turbine can be obtained by collecting the three-phase voltage and three-phase current output by the voltage-source wind turbine. The first-step disturbance is set according to actual needs, for example, it is set to one-tenth of the active power reference value, which is not limited in this embodiment of the invention.

[0049] Among them, such as Figure 2As shown, the simulation test model for connecting a voltage source wind turbine to the power grid includes a voltage source wind turbine, transformer 1, and transformer 2. The voltage source wind turbine is connected to transformer 1, and transformer 1 is connected to transformer 2. Transformer 2 is connected to an infinite bus. The amplitude, phase, and frequency of the voltage on the infinite bus are preset and remain constant under various operating conditions. The voltage source wind turbine can be a physical unit, while transformer 1, transformer 2, and the infinite bus can be simulated using Matlab or Simulink.

[0050] S102. Based on the output active power curve, obtain the peak time and maximum overshoot of the power response;

[0051] Specifically, after obtaining the output active power curve, the peak time and maximum overshoot of the power response can be obtained through the output active power curve.

[0052] For example, Figure 3 This diagram illustrates the output active power curve, with time on the horizontal axis and active power on the vertical axis. As time changes, active power increases from 0 to its peak value, and then decreases from the peak value to a steady-state value. The time taken for active power to increase from 0 to its peak value is the peak time of the power response; the difference between the peak value and the steady-state value of active power is the maximum overshoot of the power response.

[0053] S103. Based on the peak time and maximum overshoot of the power response, obtain the natural frequency and damping ratio of the transfer function corresponding to the voltage source wind turbine.

[0054] Specifically, after obtaining the peak time and maximum overshoot of the power response, the natural frequency and damping ratio of the transfer function corresponding to the voltage source wind turbine can be obtained based on the peak time and maximum overshoot of the power response.

[0055] For example, according to the formula The damping ratio was calculated. Among them, M p The value represents the maximum overshoot of the power response, e represents the natural constant, and π represents pi. The damping ratio is calculated... Then, you can use the formula The natural frequency ω was calculated. n , where t p This indicates the peak time of the power response.

[0056] S104. Calculate the primary frequency modulation coefficient based on the natural frequency, damping ratio, and primary frequency modulation coefficient formula.

[0057] Specifically, after obtaining the natural frequency and the damping ratio, the natural frequency and the damping ratio are substituted into the formula for the primary frequency modulation coefficient to calculate the primary frequency modulation coefficient.

[0058] The method for measuring the primary frequency regulation coefficient of a voltage source wind turbine provided in this invention applies a step disturbance to the active power reference value of a simulation test model of the voltage source wind turbine connected to the power grid, thereby obtaining the output active power curve of the voltage source wind turbine. The simulation test model of the voltage source wind turbine connected to the power grid is pre-established. Based on the output active power curve, the peak time and maximum overshoot of the power response are obtained. Based on the peak time and maximum overshoot of the power response, the natural frequency and damping ratio of the transfer function corresponding to the voltage source wind turbine are obtained. Based on the natural frequency and damping ratio and the primary frequency regulation coefficient formula, the primary frequency regulation coefficient is calculated. This method can accurately measure the actual value of the primary frequency regulation coefficient, thereby better evaluating the primary frequency regulation response characteristics of the voltage source wind turbine and improving the safety and stability of its operation.

[0059] Based on the above embodiments, further, obtaining the peak time and maximum overshoot of the power response according to the output active power curve includes:

[0060] The time it takes for the active power of the output active power curve to change from 0 to its peak value is obtained as the peak time of the power response;

[0061] The difference between the peak value and the stable value of the output active power curve is divided by the stable value and then multiplied by 100% to obtain the maximum overshoot of the power response.

[0062] Specifically, the output active power curve is a curve of time versus output active power. The time it takes for the active power to change from 0 to its peak value is obtained from the output active power curve and is taken as the peak time of the power response. The peak and stable values ​​of the active power are read from the output active power curve, and the difference between the peak and stable values ​​is calculated. This difference is then divided by the stable value and multiplied by 100% to obtain the maximum overshoot of the power response.

[0063] Based on the above embodiments, further, obtaining the natural frequency and damping ratio of the transfer function corresponding to the voltage source wind turbine based on the peak time and maximum overshoot of the power response includes:

[0064] According to the formula The damping ratio was calculated. Among them, M p The term represents the maximum overshoot of the power response, e represents the natural constant, and π represents pi.

[0065] According to the formula The natural frequency ω was calculated. n , where t p This indicates the peak time of the power response.

[0066] Specifically, the maximum overshoot M of the power response p Substitute into the formula The damping ratio can be calculated from this. The peak time t of the power response p and the damping ratio Substitute into the formula In this process, the natural frequency ω can be calculated. n .

[0067] Based on the above embodiments, the formula for the primary frequency modulation coefficient is further as follows:

[0068]

[0069] Among them, K f This represents the first frequency modulation coefficient. ω represents the damping ratio. n K represents the natural frequency. p It is a constant.

[0070] Specifically, the damping ratio and natural frequency ω n Substitute into the formula for the first frequency modulation coefficient In this process, the primary frequency modulation coefficient K can be calculated. f Among them, K p The active power angle proportionality coefficient is a constant.

[0071] Establish an active power control model for voltage source wind turbines, such as... Figure 4 As shown. Figure 4 In the middle, P ref P represents the reference value of active power for voltage source type wind turbine generators. e Let ω represent the output active power of the voltage source wind turbine, θ represent the virtual rotational speed, θ represent the virtual rotor angle, and ω0 represent the initial angular frequency. Based on the active power control algorithm, the input-output transfer function of the voltage source wind turbine is established as follows:

[0072]

[0073] Where G(s) represents the input-output transfer function of the voltage source wind turbine, K p T represents the proportionality coefficient of the active power angle. jK represents the inertial time constant, s represents the integral operation, and K represents the time constant. f This represents the primary frequency modulation coefficient.

[0074] Based on classical control theory, the natural frequency of the transfer function and the damping ratio satisfy the following relationship in formula (1):

[0075]

[0076]

[0077] Based on formulas (2) and (3), we can derive:

[0078]

[0079]

[0080] Based on formulas (4) and (5), the formula for the primary frequency modulation coefficient can be derived.

[0081] Based on the unit step response of a second-order system, the maximum overshoot and peak time can be expressed as follows:

[0082]

[0083]

[0084] The following example illustrates the specific implementation process of the primary frequency regulation coefficient measurement method for voltage source wind turbines provided in this invention.

[0085] Based on MATLAB / Simulink, establish as follows Figure 2 The simulation test model of the voltage source type wind turbine connected to the power grid is shown in Table 1. The specific modeling parameters are shown in Table 1.

[0086] Table 1 Modeling parameters

[0087]

[0088] Step 1: Define the active power reference value and the terminal voltage reference value for the voltage source wind turbine. Set both the active power reference value and the terminal voltage reference value to 1 p.u., i.e., P ref =1,U ref =1.

[0089] The second step, at t = 2s, is to apply a first-step disturbance ΔP = 0.1P to the given active power reference value. ref The three-phase voltage and three-phase current output from the voltage source wind turbine are collected, and then calculated according to formula P. e =u a i a +ub i b +u c i c Calculate the output active power to obtain the output active power curve of the voltage source wind turbine, as shown below. Figure 3 As shown.

[0090] The third step is to measure the peak time t of the power response using the output active power curve of the voltage source wind turbine. p =0.14s, maximum overshoot M p =62%.

[0091] Step 4: Calculate the natural frequency ω based on the peak time and maximum overshoot of the power response. n With damping ratio According to the formula Calculate the damping ratio And according to the formula Calculate the natural frequency ω n .

[0092] Step 5: Based on the natural frequency ω n With damping ratio and the formula for the primary frequency modulation coefficient Calculate the primary frequency modulation coefficient K f =20.1, where K is known. p =1500.

[0093] The accuracy of the primary frequency regulation coefficient value obtained by the primary frequency regulation coefficient measurement method for the voltage source wind turbine provided in this embodiment of the invention was verified by consulting the controller product manual of the tested voltage source wind turbine. It was found that the primary frequency regulation coefficient setting value of the tested voltage source wind turbine was 20, with an error of 0.5%, which is within the allowable error range. Therefore, the primary frequency regulation coefficient measurement method for voltage source wind turbines proposed in this invention can accurately measure the actual value of the primary frequency regulation coefficient and can effectively evaluate the primary frequency regulation response characteristics of voltage source wind turbines.

[0094] The method for measuring the primary frequency regulation coefficient of voltage source wind turbines provided in this invention is applicable to the analysis and evaluation of the grid-connected primary frequency regulation response characteristics of voltage source wind turbines, laying a research foundation for the promotion, application, safe and stable operation of voltage source wind turbines.

[0095] Figure 5 This is a schematic diagram of the primary frequency regulation coefficient measuring device for a voltage source type wind turbine provided in the fifth embodiment of the present invention, as shown below. Figure 5As shown, the primary frequency regulation coefficient measuring device for a voltage source wind turbine provided in this embodiment of the invention includes a disturbance unit 501, a first acquisition unit 502, a second acquisition unit 503, and a calculation unit 504, wherein:

[0096] The disturbance unit 501 is used to apply a step disturbance to the active power reference value of the simulation test model of the voltage source wind turbine connected to the grid, and obtain the output active power curve of the voltage source wind turbine; wherein, the simulation test model of the voltage source wind turbine connected to the grid is pre-established; the first obtaining unit 502 is used to obtain the peak time and maximum overshoot of the power response according to the output active power curve; the second obtaining unit 503 is used to obtain the natural frequency and damping ratio of the transfer function corresponding to the voltage source wind turbine according to the peak time and maximum overshoot of the power response; the calculation unit 504 is used to calculate the primary frequency regulation coefficient according to the natural frequency and damping ratio and the primary frequency regulation coefficient formula.

[0097] Specifically, a simulation test model of a voltage source wind turbine connected to the power grid is pre-established, and the active power reference value and terminal reference voltage of the simulation test model are set. The disturbance unit 501 applies a first-step disturbance to the active power reference value of the simulation test model of the voltage source wind turbine connected to the power grid, causing the voltage source wind turbine to participate in the grid frequency regulation response process. The output active power curve of the voltage source wind turbine can be obtained by collecting the three-phase voltage and three-phase current output by the voltage source wind turbine. The first-step disturbance can be set according to actual needs, for example, to one-tenth of the active power reference value; this embodiment of the invention does not impose a limitation.

[0098] After obtaining the output active power curve, the first obtaining unit 502 can obtain the peak time and maximum overshoot of the power response through the output active power curve.

[0099] After obtaining the peak time and maximum overshoot of the power response, the second obtaining unit 503 can obtain the natural frequency and damping ratio of the transfer function corresponding to the voltage source wind turbine based on the peak time and maximum overshoot of the power response.

[0100] After obtaining the natural frequency and damping ratio, the calculation unit 504 substitutes the natural frequency and damping ratio into the primary frequency modulation coefficient formula to calculate the primary frequency modulation coefficient.

[0101] The method for measuring the primary frequency regulation coefficient of a voltage source wind turbine provided in this invention applies a step disturbance to the active power reference value of a simulation test model of the voltage source wind turbine connected to the power grid, thereby obtaining the output active power curve of the voltage source wind turbine. The simulation test model of the voltage source wind turbine connected to the power grid is pre-established. Based on the output active power curve, the peak time and maximum overshoot of the power response are obtained. Based on the peak time and maximum overshoot of the power response, the natural frequency and damping ratio of the transfer function corresponding to the voltage source wind turbine are obtained. Based on the natural frequency and damping ratio and the primary frequency regulation coefficient formula, the primary frequency regulation coefficient is calculated. This method can accurately measure the actual value of the primary frequency regulation coefficient, thereby better evaluating the primary frequency regulation response characteristics of the voltage source wind turbine and improving the safety and stability of its operation.

[0102] Based on the above embodiments, the first obtaining unit 502 is further specifically used for

[0103] The time it takes for the active power of the output active power curve to change from 0 to its peak value is obtained as the peak time of the power response;

[0104] The difference between the peak value and the stable value of the output active power curve is divided by the stable value and then multiplied by 100% to obtain the maximum overshoot of the power response.

[0105] Based on the above embodiments, the second obtaining unit 503 is further configured to:

[0106] According to the formula The damping ratio was calculated. Among them, M p The term represents the maximum overshoot of the power response, e represents the natural constant, and π represents pi.

[0107] According to the formula The natural frequency ω was calculated. n , where t p This indicates the peak time of the power response.

[0108] Based on the above embodiments, the formula for the primary frequency modulation coefficient is further as follows:

[0109]

[0110] Among them, K f This represents the first frequency modulation coefficient. ω represents the damping ratio. n K represents the natural frequency. p It is a constant.

[0111] The embodiments of the device provided in this invention can be used to execute the processing flow of the above-described method embodiments. Its functions will not be repeated here, but can be referred to the detailed description of the above-described method embodiments.

[0112] Figure 6 This is a schematic diagram of the physical structure of the electronic device provided in the sixth embodiment of the present invention, as shown below. Figure 6 As shown, the electronic device may include: a processor 601, a communication interface 602, a memory 603, and a communication bus 604, wherein the processor 601, the communication interface 602, and the memory 603 communicate with each other through the communication bus 604. The processor 601 can call logic instructions in the memory 603 to execute the following methods: applying a step disturbance to the active power reference value of the simulation test model of the voltage source wind turbine connected to the grid to obtain the output active power curve of the voltage source wind turbine; wherein the simulation test model of the voltage source wind turbine connected to the grid is pre-established; obtaining the peak time and maximum overshoot of the power response based on the output active power curve; obtaining the natural frequency and damping ratio of the transfer function corresponding to the voltage source wind turbine based on the peak time and maximum overshoot of the power response; and calculating the primary frequency regulation coefficient based on the natural frequency and damping ratio and the primary frequency regulation coefficient formula.

[0113] Furthermore, the logical instructions in the aforementioned memory 603 can be implemented as software functional units and, when sold or used as independent products, can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present invention, in essence, or the part that contributes to the prior art, or a part of the technical solution, can be embodied in the form of a software product. This computer software product is stored in a storage medium and includes several instructions to cause a computer device (which may be a personal computer, server, or network device, etc.) to execute all or part of the steps of the methods described in the various embodiments of the present invention. The aforementioned storage medium includes various media capable of storing program code, such as USB flash drives, portable hard drives, read-only memory (ROM), random access memory (RAM), magnetic disks, or optical disks.

[0114] This embodiment discloses a computer program product, which includes a computer program stored on a non-transitory computer-readable storage medium. The computer program includes program instructions, and when the program instructions are executed by the computer, the computer can execute the methods provided in the above-described method embodiments, such as: applying a step disturbance to the active power reference value of a simulation test model of a voltage source wind turbine connected to the power grid to obtain the output active power curve of the voltage source wind turbine; wherein, the simulation test model of the voltage source wind turbine connected to the power grid is pre-established; obtaining the peak time and maximum overshoot of the power response based on the output active power curve; obtaining the natural frequency and damping ratio of the transfer function corresponding to the voltage source wind turbine based on the peak time and maximum overshoot of the power response; and calculating the primary frequency regulation coefficient based on the natural frequency and damping ratio and the primary frequency regulation coefficient formula.

[0115] This embodiment provides a computer-readable storage medium storing a computer program that causes a computer to execute the methods provided in the above-described method embodiments. For example, the methods include: applying a step disturbance to the active power reference value of a simulation test model of a voltage-source wind turbine connected to the power grid to obtain the output active power curve of the voltage-source wind turbine; wherein the simulation test model of the voltage-source wind turbine connected to the power grid is pre-established; obtaining the peak time and maximum overshoot of the power response based on the output active power curve; obtaining the natural frequency and damping ratio of the transfer function corresponding to the voltage-source wind turbine based on the peak time and maximum overshoot of the power response; and calculating the primary frequency regulation coefficient based on the natural frequency, damping ratio, and the primary frequency regulation coefficient formula.

[0116] Those skilled in the art will understand that embodiments of the present invention can be provided as methods, systems, or computer program products. Therefore, the present invention can take the form of a completely hardware embodiment, a completely software embodiment, or an embodiment combining software and hardware aspects. Furthermore, the present invention can take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, etc.) containing computer-usable program code.

[0117] This invention is described with reference to flowchart illustrations and / or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of the invention. It will be understood that each block of the flowchart illustrations and / or block diagrams, and combinations of blocks in the flowchart illustrations and / or block diagrams, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, special-purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, generate instructions for implementing the flowchart illustrations and / or block diagrams. Figure 1 One or more processes and / or boxes Figure 1 A device that provides the functions specified in one or more boxes.

[0118] These computer program instructions may also be stored in a computer-readable storage medium that can direct a computer or other programmable data processing device to function in a particular manner, such that the instructions stored in the computer-readable storage medium produce an article of manufacture including instruction means, which are implemented in a process Figure 1 One or more processes and / or boxes Figure 1 The function specified in one or more boxes.

[0119] These computer program instructions may also be loaded onto a computer or other programmable data processing equipment to cause a series of operational steps to be performed on the computer or other programmable equipment to produce a computer-implemented process, thereby providing instructions that execute on the computer or other programmable equipment for implementing the process. Figure 1 One or more processes and / or boxes Figure 1 The steps of the function specified in one or more boxes.

[0120] In the description of this specification, the references to terms such as "an embodiment," "a specific embodiment," "some embodiments," "for example," "example," "specific example," or "some examples," etc., indicate that a specific feature, structure, material, or characteristic described in connection with that embodiment or example is included in at least one embodiment or example of the invention. In this specification, the illustrative expressions of the above terms do not necessarily refer to the same embodiment or example. Furthermore, the specific features, structures, materials, or characteristics described may be combined in any suitable manner in one or more embodiments or examples.

[0121] The specific embodiments described above further illustrate the purpose, technical solution, and beneficial effects of the present invention. It should be understood that the above descriptions are merely specific embodiments of the present invention and are not intended to limit the scope of protection of the present invention. Any modifications, equivalent substitutions, improvements, etc., made within the spirit and principles of the present invention should be included within the scope of protection of the present invention.

Claims

1. A method for measuring the primary frequency regulation coefficient of a voltage source type wind turbine, characterized in that, include: A first-step perturbation is applied to the active power reference value of the simulation test model of the voltage source wind turbine connected to the grid to obtain the output active power curve of the voltage source wind turbine; wherein, the simulation test model of the voltage source wind turbine connected to the grid is established in advance; Based on the output active power curve, the peak time and maximum overshoot of the power response are obtained; Based on the peak time and maximum overshoot of the power response, the natural frequency and damping ratio of the transfer function corresponding to the voltage source wind turbine are obtained; The primary frequency modulation coefficient is calculated based on the natural frequency, damping ratio, and primary frequency modulation coefficient formula. The transfer function corresponding to the voltage source type wind turbine is: This represents the transfer function corresponding to a voltage source type wind turbine. This represents the proportionality coefficient of the active power angle. Represents the inertial time constant. Represents the Laplace variable. This represents the primary frequency modulation coefficient; The formula for the primary frequency modulation coefficient is as follows: Indicates the damping ratio, This refers to the natural frequency. It is a constant.

2. The method according to claim 1, characterized in that, The step of obtaining the peak time and maximum overshoot of the power response based on the output active power curve includes: The time it takes for the active power of the output active power curve to change from 0 to its peak value is obtained as the peak time of the power response; The difference between the peak value and the stable value of the output active power curve is divided by the stable value and then multiplied by 100% to obtain the maximum overshoot of the power response.

3. The method according to claim 1, characterized in that, The step of obtaining the natural frequency and damping ratio of the transfer function corresponding to the voltage source wind turbine based on the peak time and maximum overshoot of the power response includes: According to the formula The damping ratio is calculated. ,in, This represents the maximum overshoot of the power response. Represents the natural constant. Represents pi; According to the formula The natural frequency is calculated. ,in, This indicates the peak time of the power response.

4. A device for measuring the primary frequency regulation coefficient of a voltage source type wind turbine, characterized in that, include: The disturbance unit is used to apply a step disturbance to the active power reference value of the simulation test model of the voltage source wind turbine connected to the grid, so as to obtain the output active power curve of the voltage source wind turbine; wherein, the simulation test model of the voltage source wind turbine connected to the grid is established in advance. The first obtaining unit is used to obtain the peak time and maximum overshoot of the power response based on the output active power curve. The second obtaining unit is used to obtain the natural frequency and damping ratio of the transfer function corresponding to the voltage source wind turbine based on the peak time and maximum overshoot of the power response. The calculation unit is used to calculate the primary frequency modulation coefficient based on the natural frequency, damping ratio, and primary frequency modulation coefficient formula. The transfer function corresponding to the voltage source type wind turbine is: The transfer function representing the input and output of a voltage source wind turbine generator. This represents the proportionality coefficient of the active power angle. Represents the inertial time constant. Represents the Laplace variable. This represents the primary frequency modulation coefficient; The formula for the primary frequency modulation coefficient is as follows: Indicates the damping ratio, This refers to the natural frequency. It is a constant.

5. The apparatus according to claim 4, characterized in that, The first obtaining unit is specifically used for The time it takes for the active power of the output active power curve to change from 0 to its peak value is obtained as the peak time of the power response; The difference between the peak value and the stable value of the output active power curve is divided by the stable value and then multiplied by 100% to obtain the maximum overshoot of the power response.

6. The apparatus according to claim 4, characterized in that, The second obtaining unit is specifically used for: According to the formula The damping ratio is calculated. ,in, This represents the maximum overshoot of the power response. Represents the natural constant. Represents pi; According to the formula The natural frequency is calculated. ,in, This indicates the peak time of the power response.

7. An electronic device comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, characterized in that, When the processor executes the computer program, it implements the steps of the method according to any one of claims 1 to 3.

8. A computer-readable storage medium having a computer program stored thereon, characterized in that, When the computer program is executed by a processor, it implements the steps of the method according to any one of claims 1 to 3.