Virtual inertia determination method and device of power system, medium and electronic equipment

By performing power disturbance and optimization algorithms on the power system, the determination process of virtual inertia of new energy stations is simplified, the problems of complexity and low efficiency of existing technologies are solved, efficient virtual inertia estimation is achieved, and the frequency stability of the power system is improved .

CN118899873APending Publication Date: 2024-11-05YUNNAN POWER GRID CO LTD ELECTRIC POWER RES INST +1
View PDF 0 Cites 1 Cited by

Patent Information

Application Number
CN202411183347.4
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-08-27
Publication Date
2024-11-05

AI Technical Summary

Technical Problem

The prior art is complex and inefficient when determining the virtual inertia of new energy stations in power systems, requiring a large amount of prior data, making algorithm implementation difficult.

Method used

By performing power disturbance on the power system, obtaining dynamically changing power and frequency sequences, calculating the active frequency sag coefficient, optimizing the virtual inertia estimation value, simplifying the process of determining the virtual inertia and reducing the data volume and cost of parameter estimation.

Benefits of technology

It realizes the simplicity and rapid determination of virtual inertia, improves efficiency, reduces the complexity and cost of parameter estimation, and enhances the frequency stability of the power system.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118899873A_ABST
    Figure CN118899873A_ABST
Patent Text Reader

Abstract

The invention discloses a virtual inertia determination method and device of a power system, a medium and electronic equipment, and relates to the field of power system control. The method comprises the following steps: acquiring output power and outlet frequency of a new energy station in a power system; performing power disturbance on the power system, and obtaining a power sequence and a frequency sequence of dynamic change of the new energy station after power disturbance, and a steady-state power and a steady-state frequency when the new energy station recovers steady-state operation; calculating a deviation between the output power and the steady-state power to obtain a steady-state power deviation, and calculating a deviation between the outlet frequency and the steady-state frequency to obtain a steady-state frequency deviation; calculating an active frequency droop coefficient of the power system based on the steady-state power deviation and the steady-state frequency deviation; and optimizing the virtual inertia estimation value through the power sequence, the frequency sequence and the active frequency droop coefficient to obtain the virtual inertia of the power system. The method can reduce the cost of virtual inertia estimation.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of power system control, and in particular to a method, device, medium and electronic equipment for determining virtual inertia of a power system. Background Art

[0002] In order to improve the frequency stability of the new "weak inertia" power system, frequency support is provided for the power system by new energy or energy storage stations, which can effectively improve the frequency stability of the system. These supporting power sources usually use virtual inertia and primary frequency regulation control to support the frequency of the power system. Virtual inertia simulates the inertial response of the synchronous generator by controlling power electronic equipment (such as inverters). Specifically, it is to adjust the active power output of the inverter so that it exhibits dynamic characteristics similar to those of a synchronous generator when the grid frequency changes. Primary frequency regulation refers to the process in which the generator automatically adjusts the frequency through the speed regulation system to restore to the rated frequency when the speed of the generator (or the frequency of the grid) deviates due to changes in load in the power system. Primary frequency regulation is a basic link in the frequency control of the power system, which usually occurs in a very short time scale. Its purpose is to quickly respond to changes in the system load and maintain the stability of the grid frequency.

[0003] Some methods use polynomial fitting to calculate the virtual inertia of the system, and some methods use adaptive recursive least squares algorithm to solve the parameters in the equivalent model. However, most of these methods are relatively complicated and require a large amount of prior data. The algorithm is difficult to implement and the efficiency is relatively low. Summary of the invention

[0004] The present application provides a method, device, medium and electronic equipment for determining the virtual inertia of an electric power system, which can reduce the difficulty of identifying the virtual inertia of a new energy station and improve the efficiency of determining the virtual inertia.

[0005] In a first aspect, the present application provides a method for determining virtual inertia of an electric power system, comprising:

[0006] Obtaining the output power and export frequency of the new energy station in the power system;

[0007] Performing power disturbance on the power system, obtaining the dynamically changing power sequence and frequency sequence of the new energy station after the power disturbance, and the steady-state power and steady-state frequency of the new energy station when the new energy station resumes steady-state operation;

[0008] Calculating the deviation between the output power and the steady-state power to obtain a steady-state power deviation, and calculating the deviation between the output frequency and the steady-state frequency to obtain a steady-state frequency deviation;

[0009] Calculating an active frequency droop coefficient of the power system based on the steady-state power deviation and the steady-state frequency deviation;

[0010] The virtual inertia of the power system is obtained by optimizing the virtual inertia estimation value through the power sequence, the frequency sequence and the active frequency droop coefficient.

[0011] According to the method for determining the virtual inertia of the power system in the present application, by measuring the output power and export frequency of the new energy station in the power system, the power system is disturbed by power, and then the power sequence and frequency sequence of the new energy station that dynamically change in the process of providing frequency support for the power system after the power disturbance are obtained, as well as the steady-state power and steady-state frequency when the steady-state operation is restored, the virtual inertia of the new energy station can be calculated by the output power, export frequency, and the steady-state power, steady-state frequency, power sequence and frequency sequence after the disturbance. Only one disturbance of the power system is required to calculate the active frequency droop coefficient and the virtual inertia, which is simpler, easier to implement, and more efficient. In addition, only the power and frequency of the station need to be measured, which can greatly reduce the volume of data required for parameter estimation and reduce costs.

[0012] In an exemplary embodiment, obtaining the output power and export frequency of the new energy station in the power system includes:

[0013] Obtaining the three-phase voltage and three-phase current of the new energy station outlet in the power system;

[0014] Calculate the output power of the new energy station according to the three-phase voltage and the three-phase current;

[0015] The three-phase voltage of the new energy station is phase-locked, and the output frequency of the new energy station is determined by the phase obtained by the phase locking.

[0016] In an exemplary embodiment, optimizing the virtual inertia estimation value by using the power sequence, the frequency sequence, and the active frequency droop coefficient to obtain the virtual inertia of the power system includes:

[0017] The estimated frequency is calculated by using the power value in the power sequence, the estimated value of the virtual inertia and the active frequency droop coefficient;

[0018] calculating a frequency deviation between the estimated frequency and a frequency value in the frequency sequence;

[0019] Obtaining an iterative increment of the virtual inertia estimation value when the frequency deviation is minimum by an optimization algorithm;

[0020] determining whether the iterative increment satisfies a preset condition, and determining the virtual inertia estimation value as the virtual inertia if the iterative increment satisfies the preset condition;

[0021] When the iterative increment does not satisfy a preset condition, the virtual inertia estimation value is updated to the sum of the virtual inertia estimation value and the iterative increment, and the above steps are repeated.

[0022] In an exemplary embodiment, the step of calculating the estimated frequency by using the power value in the power sequence, the virtual inertia estimation value, and the active frequency droop coefficient includes:

[0023] Acquire an estimation model, wherein the estimation model includes a mapping relationship between the power value, the active frequency droop coefficient, the virtual inertia estimation value and the estimated frequency;

[0024] The power sequence and the active frequency droop coefficient are input into the estimation model to obtain an estimated frequency sequence, wherein the estimated frequency sequence includes the estimated frequency at the time corresponding to the power value.

[0025] In an exemplary embodiment, the estimation model is:

[0026]

[0027] in, is the estimated frequency, ΔP RES is the power value in the power sequence, H RES,est is the estimated value of virtual inertia, S represents the complex frequency domain, K RES,est is the active frequency droop coefficient.

[0028] In an exemplary embodiment, the preset condition includes that the iteration increment is smaller than a preset cutoff error, or that the sum of the virtual inertia estimation value and the iteration increment exceeds a preset estimation range.

[0029] In an exemplary embodiment, the optimization algorithm includes Newton's method and steepest descent method.

[0030] In a second aspect, the present application provides a device for determining virtual inertia of an electric power system, comprising:

[0031] A data acquisition module, used to obtain the output power and export frequency of the new energy station in the power system;

[0032] A disturbance module, used for performing power disturbance on the power system, obtaining the dynamically changing power sequence and frequency sequence of the new energy station after the power disturbance, and the steady-state power and steady-state frequency of the new energy station when the new energy station resumes steady-state operation;

[0033] A deviation calculation module, used for calculating the deviation between the output power and the steady-state power to obtain a steady-state power deviation, and calculating the deviation between the output frequency and the steady-state frequency to obtain a steady-state frequency deviation;

[0034] A first estimation module, configured to calculate an active frequency droop coefficient of the power system based on the steady-state power deviation and the steady-state frequency deviation;

[0035] The second estimation module is used to optimize the virtual inertia estimation value through the power sequence, the frequency sequence and the active frequency droop coefficient to obtain the virtual inertia of the power system.

[0036] In a third aspect, the present application provides an electronic device, the electronic device comprising a memory and one or more processors. The memory stores one or more computer programs, the computer programs comprising instructions, and when the instructions are executed by the processor, the electronic device can execute the method for determining the virtual inertia of the power system in the first aspect.

[0037] In a fourth aspect, the present application provides a computer-readable storage medium having instructions stored therein, which, when executed on an electronic device, enables the electronic device to execute the method for determining the virtual inertia of the power system in the first aspect.

[0038] In a fifth aspect, the present application provides a computer program product. When the computer program product is run on an electronic device, the electronic device executes the method for determining the virtual inertia of the power system as described in the first aspect.

[0039] It can be understood that the beneficial effects that can be achieved by the virtual inertia determination device, electronic device, computer-readable storage medium, and computer program product of the power system provided above can refer to the beneficial effects in the first aspect and will not be repeated here. BRIEF DESCRIPTION OF THE DRAWINGS

[0040] Figure 1 A schematic diagram of a flow chart of a method for determining virtual inertia of an electric power system provided in an embodiment of the present application;

[0041] Figure 2 A schematic diagram of the system architecture of the power system provided in the embodiment of the present application;

[0042] Figure 3 A schematic diagram of a new energy station provided in an embodiment of the present application;

[0043] Figure 4 A schematic diagram of output power in a method for determining virtual inertia of an electric power system provided in an embodiment of the present application;

[0044] Figure 5A schematic diagram of the export frequency in the method for determining the virtual inertia of the power system provided in an embodiment of the present application;

[0045] Figure 6 A schematic diagram of a power simulation system in a method for determining virtual inertia of a power system provided in an embodiment of the present application;

[0046] Figure 7 A schematic diagram of a virtual inertia estimation value in a method for determining a virtual inertia of an electric power system provided in an embodiment of the present application;

[0047] Figure 8 A schematic diagram of the structure of a device for determining virtual inertia of an electric power system provided in an embodiment of the present application;

[0048] Fig. 9 A schematic diagram of the structure of an electronic device provided in an embodiment of the present application. DETAILED DESCRIPTION

[0049] In order to facilitate the clear description of the technical solutions of the embodiments of the present application, in the embodiments of the present application, the words "first", "second" and the like are used to distinguish the same items or similar items with substantially the same functions and effects. For example, the first chip and the second chip are only used to distinguish different chips, and their order is not limited. It can be understood by those skilled in the art that the words "first", "second" and the like do not limit the quantity and execution order, and the words "first", "second" and the like do not necessarily limit the difference. It should be noted that in the embodiments of the present application, the words "exemplary" or "for example" are used to indicate examples, illustrations or explanations. Any embodiment or design described as "exemplary" or "for example" in the present application should not be interpreted as being more preferred or more advantageous than other embodiments or design solutions. Specifically, the use of words such as "exemplary" or "for example" is intended to present related concepts in a specific way. In the embodiments of the present application, "at least one" refers to one or more, and "more" refers to two or more.

[0050] It should be noted that the “at…” in the embodiments of the present application may be the instant when a certain situation occurs, or may be a period of time after the occurrence of a certain situation, and the embodiments of the present application do not specifically limit this.

[0051] The implementation of this embodiment will be described in detail below with reference to the accompanying drawings.

[0052] This embodiment provides a method for determining the virtual inertia of an electric power system. By way of example, the method for determining the virtual inertia of an electric power system can be applied to various electronic devices such as computers (PCs), tablet computers, virtual reality / augmented reality devices, wearable devices, industrial computers, and vehicle computers; it can also be applied to servers, cloud computing, server clusters, etc., and this embodiment does not specifically limit this.

[0053] In this embodiment, the power system refers to a new power system, that is, a power system that can provide renewable energy, such as solar energy, wind energy, etc. Specifically, the power system may include one or more new energy stations and one or more synchronous units.

[0054] Figure 1 A schematic flow chart of a method for determining virtual inertia of an electric power system provided in an embodiment of the present application is shown.

[0055] like Figure 1 As shown, the method for determining the virtual inertia of the power system may include the following steps:

[0056] Step 101: Obtain the output power and export frequency of the new energy station in the power system.

[0057] The power system in this embodiment is as follows Figure 2 As shown, the power system includes not only new energy stations, but also synchronous units. In addition, the power system may include multiple new energy stations. Among them, the output power of the new energy station refers to the power provided by the new energy station to the power grid or other power systems. The export frequency is the frequency at which the new energy station outputs energy. Specifically, obtaining the output power and export frequency of the new energy station in the power system includes the following: obtaining the three-phase voltage and three-phase current at the export of the new energy station in the power system; calculating the output power of the new energy station according to the three-phase voltage and the three-phase current; phase-locking the three-phase voltage of the new energy station, and determining the export frequency of the new energy station by the phase obtained by the phase locking.

[0058] By measuring the voltage and current of the new energy station, the output power can be calculated. Phase locking refers to the use of a phase-locked loop to synchronize the voltage signal of the new energy station, thereby obtaining the phase of the voltage signal, and then determining the output frequency through the obtained phase.

[0059] Step 102: Perform power disturbance on the power system to obtain the dynamically changing power sequence and frequency sequence of the new energy station after the power disturbance, as well as the steady-state power and steady-state frequency of the new energy station when the new energy station resumes steady-state operation.

[0060] By changing the load of the power system, the power system can be disturbed. When the system load increases, the frequency of the power grid will decrease; when the load decreases, the frequency will increase. Figure 3As shown, after the power disturbance is carried out on the power system, the three-phase voltages and three-phase currents of a, b, and c of the new energy station are measured in real time to obtain the three-phase current and three-phase voltage at each time point t. The output power at each time point t is calculated by the three-phase current and three-phase voltage at each time point t. At the same time, the export frequency at each time point t is determined by the phase-locked loop. When the power system resumes steady-state operation after a period of T after the power disturbance, the output power and export frequency remain unchanged. At this time, the output power is the steady-state power, and the export frequency is the steady-state frequency. The output power at each time point t in the T time period is arranged in chronological order to form a power sequence, and the export frequency at each time point t in the T time period is arranged in chronological order to form a frequency sequence.

[0061] Figure 4 The change of output power of new energy stations when power disturbance occurs is given. Figure 4 As shown in the figure, a power disturbance is performed at 100s, and the output power of the new energy station 1 increases instantly, and after a period of T, the steady-state operation is restored. In this example, the power sequence includes the power value at each time point in the period from 100s to 140s. The steady-state power is the power value after 140s.

[0062] Figure 5 The change of the export frequency of the new energy station when the power is disturbed is given. Figure 5 As shown in the figure, a power disturbance is performed at 100s, the outlet frequency of the new energy station 1 decreases, and the frequency is restored to stability after a period of T. In this example, the frequency sequence includes the frequency value at each time point in the time period from 100s to 140s. The steady-state frequency is the frequency value after 140s.

[0063] Step 103: Calculate the deviation between the output power and the steady-state power to obtain a steady-state power deviation, and calculate the deviation between the output frequency and the steady-state frequency to obtain a steady-state frequency deviation.

[0064] Step 104: Calculate the active frequency droop coefficient of the power system based on the steady-state power deviation and the steady-state frequency deviation.

[0065] According to the frequency modulation characteristics of the new energy station, the relationship between the local export frequency deviation and the output power change of the new energy station can be obtained as follows:

[0066]

[0067] K RES is the actual active frequency droop coefficient, H RES is the actual virtual inertia, ΔP RES is the output power.

[0068] Virtual inertia is the characteristic of the new energy station in inertia response. In steady-state operation, the active frequency droop coefficient K can be determined based on the steady-state deviation of the local frequency and the station output power. RES ,Right now:

[0069] K RES,est =-ΔP RES (∞) / Δω(∞) (2)

[0070] Among them, ΔP RES (∞) refers to the change in output power in steady state, that is, the difference between steady state power and output power. Δω(∞) refers to the change in output frequency in steady state, that is, the difference between steady state frequency and output frequency. K RES,est is the estimated active frequency droop coefficient.

[0071] The active frequency droop coefficient of the new energy station can be estimated by the above formula (2).

[0072] Step 105: Optimizing the virtual inertia estimation value through the power sequence, the frequency sequence and the active frequency droop coefficient to obtain the virtual inertia of the power system.

[0073] The virtual inertia estimation value may initially be a preset value. After the active frequency droop coefficient is obtained, the preset virtual inertia estimation value may be optimized to obtain an optimal virtual inertia estimation value, which is the final virtual inertia.

[0074] Specifically, the virtual inertia estimation value is optimized by the power sequence, the frequency sequence and the active frequency droop coefficient to obtain the virtual inertia of the power system, including the following: the estimated frequency is calculated by the power value in the power sequence, the virtual inertia estimation value and the active frequency droop coefficient; the frequency deviation between the estimated frequency and the frequency value in the frequency sequence is calculated; the iterative increment of the virtual inertia estimation value when the frequency deviation is minimized is obtained by an optimization algorithm; it is determined whether the iterative increment satisfies a preset condition, and if the iterative increment satisfies the preset condition, the sum of the virtual inertia estimation value and the iterative increment is calculated to obtain the virtual inertia; if the iterative increment does not satisfy the preset condition, the virtual inertia estimation value is updated to the sum of the virtual inertia estimation value and the iterative increment, and the above steps are repeated.

[0075] In this embodiment, the method for determining the virtual inertia estimate value is an iterative method. In each iteration, the iterative increment of the virtual inertia estimate value is obtained by an optimization algorithm. If the iterative increment of this iteration meets the preset conditions, the current virtual inertia estimate value is used as the final virtual inertia. If the iterative increment of this iteration does not meet the preset conditions, the virtual inertia estimate value is updated, and the sum of the current virtual inertia estimate value and the iterative increment is used as the updated virtual inertia estimate value. The updated virtual inertia estimate value is used for the next iteration until the final virtual inertia estimate value is determined.

[0076] Specifically, first, the initial value and estimation range of the virtual inertia estimation value can be set, and the number of iterations k can be recorded as 1. The initial value can be based on manual experience, and the estimation range can refer to the value range of the virtual inertia. Then the estimated frequency is calculated using the initial value of the virtual inertia estimation value. For example, assuming that there are m power values ​​in the power sequence, the frequency sequence includes m frequency values. The active frequency droop coefficient K estimated by each power value, the initial virtual inertia estimation value, and the above steps is RES,est The corresponding m estimated frequencies can be calculated by the above formula (1). Then, the frequency deviations between the m estimated frequencies and the m power values ​​are calculated respectively, and then an iterative increment of a virtual inertia estimation value is determined, and the iterative increment refers to the amount by which the virtual inertia estimation value needs to be increased. In this embodiment, the iterative increment is determined by an optimization algorithm. The objective function of the optimization algorithm is:

[0077]

[0078] Among them, H RES,est is the estimated value of virtual inertia, Δω i is the frequency value in the frequency sequence with equal time intervals in the time period T after the disturbance, is the frequency sequence of the estimated frequency of the corresponding time estimated based on the virtual inertia estimate, and m is the total number of frequency sequences measured in the time period T. L is the iteration increment. The optimization algorithm can calculate the sum of squares of frequency deviations between the estimated frequency and the frequency values ​​in the frequency sequence under different iteration increments based on the objective function, thereby obtaining the iteration increment ΔH that minimizes the sum of squares. RES,est Then, it is determined whether the iteration increment meets the preset conditions. In this embodiment, if ΔH RES,est Less than the cutoff error ε, or the current virtual inertia estimate H RES,est With the iteration increment ΔH RES,est If the sum of ΔH exceeds the estimated range, it is determined that the iteration increment of this iteration meets the preset conditions, and the current virtual inertia estimate is the final virtual inertia. RES,est If the preset conditions are not met, the virtual inertia estimate H is updated. RES,estThe value of H RES,est +ΔH RES,est , proceed to the next iteration, the number of iterations k increases by 1, and the above steps are repeated.

[0079] The optimization algorithm may be Newton's method, steepest descent method, etc., or may include other optimization algorithms, but the present embodiment is not limited thereto.

[0080] The estimated frequency is calculated by using the power value in the power sequence, the virtual inertia estimated value and the active frequency droop coefficient, including the following: obtaining an estimation model, the estimation model including a mapping relationship between the power value, the active frequency droop coefficient, the virtual inertia estimated value and the estimated frequency; inputting the power sequence and the active frequency droop coefficient into the estimation model to obtain an estimated frequency sequence, the estimated frequency sequence including the estimated frequency at the time corresponding to the power value.

[0081] The estimated model is:

[0082]

[0083] in, is the estimated frequency, ΔP RES is the power value in the power sequence, H RES,est is the estimated value of virtual inertia, S represents the complex frequency domain, K RES,est is the active frequency droop coefficient.

[0084] After the final virtual inertia is determined, the virtual inertia can be used to construct a frequency response model of the power system, and then the frequency modulation characteristics of the frequency response model can be verified. For example, a DC / AC converter using virtual inertia and primary frequency modulation control is used to simulate the frequency modulation characteristics of a new energy station, and a power simulation system including a DC / AC converter is constructed. The power simulation system uses a standard IEEE 10 machine 39 node example, such as Figure 6 As shown, two 200MW renewable energy stations are connected at nodes 23 and 29 respectively. The line voltage base value of the simulation system is 230kV, and the rated frequency is 60Hz. The parameters of the 10 synchronous machines are shown in Table 1, ignoring the damping coefficient. The parameters of the renewable energy station are shown in Table 2. In the following parameter estimation and modeling process, the power base value is selected as 4000MW. The synchronous unit parameters of the IEEE 10-machine 39-node system are shown in Table 1:

[0085] Table 1

[0086] No. Capacity(MW) <![CDATA[H sg ]]> 1 / R <![CDATA[T G ]]> <![CDATA[T CH ]]> <![CDATA[T RH ]]> <![CDATA[F HP ]]> 1 400 4 20 0.16 0.27 6 0.19 2 400 4 20 0.16 0.27 6 0.19 3 400 4 25 0.19 0.23 7.5 0.17 4 400 4 25 0.19 0.23 7.5 0.17 5 400 4 15 0.17 0.22 6.5 0.22 6 400 4 15 0.17 0.22 6.5 0.22 7 400 4 18 0.24 0.42 12 0.39 8 400 4 18 0.24 0.42 12 0.39 9 400 4 20 0.26 0.49 14 0.36 10 400 4 20 0.26 0.49 14 0.36

[0087] The parameters of the new energy station (i.e. DC / AC converter) are as follows:

[0088] Table 2

[0089]

[0090] In order to verify the effectiveness and reliability of the estimation method, the method in this embodiment is verified under different synchronous unit startup modes or different new energy station frequency regulation parameters.

[0091] Case 1: 10 synchronous machines are put into operation at the same time. The new energy station adopts the virtual inertia and active power-frequency droop coefficient in Table 2. The estimated operating condition is: 400MW active load is put into operation at 24 nodes at 100s.

[0092] The output power and frequency of the new energy station 1 from the outlet to the grid connection point after the disturbance are measured. The steady-state deviation of the frequency of the new energy station 1 after the disturbance Δω(∞) is -0.0043pu, and the steady-state change of the output power ΔP RES (∞) is 0.0091pu. According to formula (2), the estimated value of the active power-frequency droop coefficient K of the new energy station 1 is RES,est Based on the estimated value of the active power-frequency droop coefficient, the virtual inertia estimate H is selected using the above method of this embodiment. RES,est The initial value is 0.2, and the virtual inertia estimate is estimated using the output power and frequency sequence of the new energy station 1 in the time period T. The iterative process is as follows:

[0093] (1) Set H RES,est The initial value and estimated range of , and set the number of iterations k to 1;

[0094] (2) The current H RES,est and the station output power ΔP RES Substitute the measured data into formula (1) to calculate

[0095] (3) Obtain the iterative increment ΔH by using an optimization algorithm (such as Newton's method, steepest descent method, etc.) RES,est ;

[0096] (4) If ΔH RES,est is smaller than the cutoff error ε, or the current H RES,est With the iteration increment ΔH RES,est If the sum exceeds the estimated range, the current virtual inertia estimate H is output. RES,est Otherwise, update H RES,est The value of H is the current RES,est With increment ΔH RES,est The sum of , and k is increased by 1, returning to step (2) and continuing with the subsequent estimation steps.

[0097] According to the above iterative process, the estimated value of virtual inertia is obtained as follows: Figure 7The estimated model results shown in formula (4) are compared with the frequency values ​​in the frequency series, as shown in (a). Figure 7 As shown in (b) in the figure, the virtual inertia estimation result of the new energy station 1 is 0.5054, which is only 1.09% error compared with the true value of 0.5. Figure 7 The comparison of the results in (b) shows the accuracy of the estimated virtual inertia. Similarly, the estimated active power-frequency droop coefficient of the new energy station 2 is 2.379, and the estimated virtual inertia is 0.7598. Therefore, the estimated equivalent virtual inertia of the new energy station in the system is H RES,est is 1.2653 (the true value is 1.25, the error is 1.22%), and the estimated value of the active power-frequency droop coefficient K RES,est It is 4.5094 (the true value is 4.25 and the error is 6.1%).

[0098] Case 2: Exit the 10th synchronous unit, the virtual inertia and active power-frequency droop coefficient of the new energy station 1 are modified to 20 and 50, and the virtual inertia and active power-frequency droop coefficient of the new energy station 2 are modified to 30 and 60. Similarly, the estimation is performed by sampling steps 101 to 105 in this embodiment, and the estimation result is H RES,est is 2.5673 (the true value is 2.5, the error is 2.69%), and the estimated value of the active power-frequency droop coefficient K RES,est It is 5.8437 (the true value is 5.5 and the error is 6.24%).

[0099] Case 3: The 2nd and 7th synchronous units are exited, and the virtual inertia and active power-frequency droop coefficient of the new energy station 1 are modified to 25 and 55, and the virtual inertia and active power-frequency droop coefficient of the new energy station 2 are modified to 35 and 65. The estimation result is H using the method of this embodiment. RES,est is 3.1108 (the true value is 3, the error is 3.69%), and the estimated value of the active power-frequency droop coefficient K RES,est It is 6.4250 (the true value is 6 and the error is 7.08%).

[0100] In this embodiment, when a power disturbance occurs outside a new energy station, a two-stage parameter estimation is used to effectively estimate the virtual inertia and active-frequency droop coefficient of the new energy station, providing a reference for analyzing the frequency stability of the system. In addition, the use of an optimization algorithm to estimate the virtual inertia of a new energy station can overcome the problem of slow response of the inertia of a current source type station faced by the traditional estimation method, resulting in inaccurate estimation of virtual inertia parameters, and can effectively improve the accuracy of virtual inertia. At the same time, the three-phase voltage and current of the station can be directly measured on-site at the exit of the new energy station, and then the output power and exit frequency of the station can be obtained, which greatly reduces the volume of data required for parameter estimation and reduces the cost of parameter estimation.

[0101] Furthermore, this embodiment also provides a device for determining virtual inertia of an electric power system, which can be used to execute the above-mentioned method for determining virtual inertia of an electric power system. Figure 8 As shown, the virtual inertia determination device 800 of the power system includes: a data acquisition module 801, which is used to obtain the output power and export frequency of the new energy station in the power system; a disturbance module 802, which is used to perform power disturbance on the power system, and obtain the dynamically changing power sequence and frequency sequence of the new energy station after the power disturbance, as well as the steady-state power and steady-state frequency when the new energy station resumes steady-state operation; a deviation calculation module 803, which is used to calculate the deviation between the output power and the steady-state power to obtain the steady-state power deviation, and calculate the deviation between the export frequency and the steady-state frequency to obtain the steady-state frequency deviation; a first estimation module 804, which is used to calculate the active frequency droop coefficient of the power system based on the steady-state power deviation and the steady-state frequency deviation; a second estimation module 805, which is used to optimize the virtual inertia estimation value through the power sequence, the frequency sequence and the active frequency droop coefficient to obtain the virtual inertia of the power system.

[0102] In an exemplary embodiment, the data acquisition module is specifically used to: obtain the three-phase voltage and three-phase current at the outlet of the new energy station in the power system; calculate the output power of the new energy station based on the three-phase voltage and the three-phase current; phase-lock the three-phase voltage of the new energy station, and determine the outlet frequency of the new energy station through the phase obtained by phase locking.

[0103] In an exemplary embodiment, the second estimation module is specifically used to: calculate the estimated frequency through the power value in the power sequence, the virtual inertia estimation value and the active frequency droop coefficient; calculate the frequency deviation between the estimated frequency and the frequency value in the frequency sequence; obtain the iterative increment of the virtual inertia estimation value when the frequency deviation is minimized through an optimization algorithm; determine whether the iterative increment meets a preset condition, and if the iterative increment meets the preset condition, determine the virtual inertia estimation value as the virtual inertia; if the iterative increment does not meet the preset condition, update the virtual inertia estimation value to the sum of the virtual inertia estimation value and the iterative increment, and repeat the above steps.

[0104] In an exemplary embodiment, the second estimation module is also used to: obtain an estimation model, the estimation model including the power value, the active frequency droop coefficient, the mapping relationship between the virtual inertia estimation value and the estimated frequency; input the power sequence and the active frequency droop coefficient into the estimation model to obtain an estimated frequency sequence, the estimated frequency sequence including the estimated frequency of the power value corresponding to the time.

[0105] In an exemplary embodiment, the estimation model is:

[0106]

[0107] in, is the estimated frequency, ΔP RES is the power value in the power sequence, H RES,est is the estimated value of virtual inertia, S represents the complex frequency domain, K RES,est is the active frequency droop coefficient.

[0108] In an exemplary implementation, the preset condition includes that the iteration increment is smaller than a preset cutoff error, or that the sum of the virtual inertia estimation value and the iteration increment exceeds a preset estimation range.

[0109] In an exemplary embodiment, the optimization algorithm includes Newton's method and steepest descent method.

[0110] The specific details of each module or unit in the above-mentioned virtual inertia determination device of the electric power system have been described in detail in the corresponding virtual inertia determination method of the electric power system, so they will not be repeated here.

[0111] The embodiment of the present application also provides an electronic device, Fig. 9 A schematic diagram of the structure of an electronic device suitable for implementing the embodiments of the present disclosure is shown. Fig. 9 The electronic device 600 shown is only an example and should not bring any limitation to the functions and scope of use of the embodiments of the present disclosure.

[0112] like Fig. 9 As shown, electronic device 600 includes a central processing unit (CPU) 601, which can perform various appropriate actions and processes according to a program stored in a read-only memory (ROM) 602 or a program loaded from a storage part 608 into a random access memory (RAM) 603. In RAM 603, various programs and data required for system operation are also stored. CPU 601, ROM 602 and RAM 603 are connected to each other via a bus 604. An input / output (I / O) interface 605 is also connected to bus 604.

[0113] The following components are connected to the I / O interface 605: an input section 606 including a keyboard, a mouse, etc.; an output section 607 including a cathode ray tube (CRT), a liquid crystal display (LCD), etc., and a speaker, etc.; a storage section 608 including a hard disk, etc.; and a communication section 609 including a network interface card such as a LAN card, a modem, etc. The communication section 609 performs communication processing via a network such as the Internet. A drive 610 is also connected to the I / O interface 605 as needed. A removable medium 611, such as a magnetic disk, an optical disk, a magneto-optical disk, a semiconductor memory, etc., is installed on the drive 610 as needed, so that a computer program read therefrom is installed into the storage section 608 as needed.

[0114] In particular, according to an embodiment of the present disclosure, the process described above with reference to the flowchart can be implemented as a computer software program. For example, an embodiment of the present disclosure includes a computer program product, which includes a computer program carried on a computer-readable storage medium, and the computer program includes a program code for executing the method shown in the flowchart. In such an embodiment, the computer program can be downloaded and installed from the network through the communication part 609, and / or installed from the removable medium 611. When the computer program is executed by the central processing unit (CPU) 601, the above-mentioned functions defined in the embodiment of the present application are executed.

[0115] For example, when the computer program is executed by the central processing unit (CPU) 601, it can be executed as follows: obtaining the output power and export frequency of the new energy station in the power system; performing power disturbance on the power system, obtaining the dynamically changing power sequence and frequency sequence of the new energy station after the power disturbance, and the steady-state power and steady-state frequency when the new energy station resumes steady-state operation; calculating the deviation between the output power and the steady-state power to obtain the steady-state power deviation, and calculating the deviation between the export frequency and the steady-state frequency to obtain the steady-state frequency deviation; calculating the active frequency droop coefficient of the power system based on the steady-state power deviation and the steady-state frequency deviation; optimizing the virtual inertia estimation value through the power sequence, the frequency sequence and the active frequency droop coefficient to obtain the virtual inertia of the power system.

[0116] It should be noted that the computer-readable medium shown in the present disclosure may be a computer-readable signal medium or a computer-readable storage medium or any combination of the above two. The computer-readable storage medium may be, for example, but not limited to, an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, device or device, or any combination of the above. More specific examples of computer-readable storage media may include, but are not limited to: an electrical connection with one or more wires, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the above. In the present disclosure, a computer-readable storage medium may be any tangible medium containing or storing a program that can be used by or in combination with an instruction execution system, device or device. In the present disclosure, a computer-readable signal medium may include a data signal propagated in a baseband or as part of a carrier wave, in which a computer-readable program code is carried. This propagated data signal may take a variety of forms, including but not limited to electromagnetic signals, optical signals, or any suitable combination of the above. Computer-readable signal media may also be any computer-readable medium other than computer-readable storage media, which may send, propagate or transmit a program for use by or in conjunction with an instruction execution system, apparatus or device. The program code contained on the computer-readable medium may be transmitted using any appropriate medium, including but not limited to: wireless, wire, optical cable, RF, etc., or any suitable combination of the above.

[0117] The flow charts and block diagrams in the accompanying drawings illustrate the possible architecture, functions and operations of the systems, methods and computer program products according to various embodiments of the present disclosure. In this regard, each box in the flow chart or block diagram can represent a module, a program segment, or a part of a code, and the above-mentioned module, program segment, or a part of a code contains one or more executable instructions for realizing the specified logical function. It should also be noted that in some alternative implementations, the functions marked in the box can also occur in a different order from the order marked in the accompanying drawings. For example, two boxes represented in succession can actually be executed substantially in parallel, and they can sometimes be executed in the opposite order, depending on the functions involved. It should also be noted that each box in the block diagram or flow chart, and the combination of the boxes in the block diagram or flow chart can be implemented with a dedicated hardware-based system that performs a specified function or operation, or can be implemented with a combination of dedicated hardware and computer instructions.

[0118] The units involved in the embodiments described in the present disclosure may be implemented by software or hardware, and the units described may also be arranged in a processor. The names of these units do not, in some cases, constitute limitations on the units themselves.

[0119] As another aspect, the present application also provides a computer-readable medium, which may be included in the electronic device described in the above embodiment; or may exist independently without being assembled into the electronic device. The above computer-readable medium carries one or more programs, and the one or more programs include instructions, and when the instructions are executed by the electronic device, the electronic device implements the method described in the above embodiment.

[0120] It should be noted that, although several modules or units of the equipment for action execution are mentioned in the above detailed description, this division is not mandatory. In fact, according to the embodiments of the present application, the features and functions of two or more modules or units described above can be embodied in one module or unit. On the contrary, the features and functions of one module or unit described above can be further divided into being embodied by multiple modules or units.

[0121] The above contents are only specific implementation methods of the present application, but the protection scope of the present application is not limited thereto. Any changes or substitutions within the technical scope disclosed in the present application shall be included in the protection scope of the present application. Therefore, the protection scope of the present application shall be subject to the protection scope of the claims.

Claims

1. A method for determining virtual inertia of an electric power system, characterized in that: include: Obtaining the output power and export frequency of the new energy station in the power system; Performing power disturbance on the power system, obtaining the dynamically changing power sequence and frequency sequence of the new energy station after the power disturbance, and the steady-state power and steady-state frequency of the new energy station when the new energy station resumes steady-state operation; Calculating the deviation between the output power and the steady-state power to obtain a steady-state power deviation, and calculating the deviation between the output frequency and the steady-state frequency to obtain a steady-state frequency deviation; Calculating an active frequency droop coefficient of the power system based on the steady-state power deviation and the steady-state frequency deviation; The virtual inertia of the power system is obtained by optimizing the virtual inertia estimation value through the power sequence, the frequency sequence and the active frequency droop coefficient.

2. The method for determining virtual inertia of an electric power system according to claim 1, characterized in that: The obtaining the output power and the export frequency of the new energy station in the power system includes: Obtaining the three-phase voltage and three-phase current of the new energy station outlet in the power system; Calculate the output power of the new energy station according to the three-phase voltage and the three-phase current; The three-phase voltage of the new energy station is phase-locked, and the output frequency of the new energy station is determined by the phase obtained by the phase locking.

3. The method for determining virtual inertia of an electric power system according to claim 1, characterized in that: The step of optimizing the virtual inertia estimation value by using the power sequence, the frequency sequence and the active frequency droop coefficient to obtain the virtual inertia of the power system includes: The estimated frequency is calculated by using the power value in the power sequence, the estimated value of the virtual inertia and the active frequency droop coefficient; calculating a frequency deviation between the estimated frequency and a frequency value in the frequency sequence; Obtaining an iterative increment of the virtual inertia estimation value when the frequency deviation is minimum by an optimization algorithm; determining whether the iterative increment satisfies a preset condition, and determining the virtual inertia estimation value as the virtual inertia if the iterative increment satisfies the preset condition; When the iterative increment does not satisfy a preset condition, the virtual inertia estimation value is updated to the sum of the virtual inertia estimation value and the iterative increment, and the above steps are repeated.

4. The method for determining virtual inertia of an electric power system according to claim 1, characterized in that: The calculating the estimated frequency by using the power value in the power sequence, the virtual inertia estimation value and the active frequency droop coefficient comprises: Acquire an estimation model, wherein the estimation model includes a mapping relationship between the power value, the active frequency droop coefficient, the virtual inertia estimation value and the estimated frequency; The power sequence and the active frequency droop coefficient are input into the estimation model to obtain an estimated frequency sequence, wherein the estimated frequency sequence includes the estimated frequency at the time corresponding to the power value.

5. The method for determining virtual inertia of an electric power system according to claim 4, characterized in that: The estimation model is: in, To estimate the frequency, ΔP RES is the power value in the power sequence, H RES,est is the estimated value of virtual inertia, S represents the complex frequency domain, K RES,est is the active frequency droop coefficient.

6. The method for determining virtual inertia of an electric power system according to claim 3, characterized in that: The preset condition includes that the iteration increment is smaller than a preset cutoff error, or the sum of the virtual inertia estimation value and the iteration increment exceeds a preset estimation range.

7. The method for determining virtual inertia of an electric power system according to claim 3, characterized in that: The optimization algorithms include Newton's method and steepest descent method.

8. A device for determining virtual inertia of an electric power system, characterized in that: include: A data acquisition module, used to obtain the output power and export frequency of the new energy station in the power system; A disturbance module, used for performing power disturbance on the power system, obtaining the dynamically changing power sequence and frequency sequence of the new energy station after the power disturbance, and the steady-state power and steady-state frequency of the new energy station when the new energy station resumes steady-state operation; A deviation calculation module, used for calculating the deviation between the output power and the steady-state power to obtain a steady-state power deviation, and calculating the deviation between the output frequency and the steady-state frequency to obtain a steady-state frequency deviation; A first estimation module, configured to calculate an active frequency droop coefficient of the power system based on the steady-state power deviation and the steady-state frequency deviation; The second estimation module is used to optimize the virtual inertia estimation value through the power sequence, the frequency sequence and the active frequency droop coefficient to obtain the virtual inertia of the power system. 9 . A computer-readable storage medium storing a computer program, wherein when the computer program is executed by a processor, the processor executes the method for determining virtual inertia of an electric power system according to claim 1 .

10. An electronic device, characterized in that: It includes a processor and a memory, wherein one or more computer programs are stored in the memory, and the one or more computer programs include instructions. When the instructions are executed by the electronic device, the electronic device executes the virtual inertia determination method of the power system described in any one of claims 1 to 7.

Citation Information

Cited By

  • Power grid equivalent inertia simulation method and device

    CN119891273A