Method and system for determining primary frequency modulation time of power grid system containing network construction type current converter
By constructing simulation models and frequency modulation time models, determining the frequency modulation time of the power grid system is solved, and the problem of being unable to accurately determine the frequency modulation time in the existing technology is improved, and the frequency support capability of the grid-type inverter is improved.
Patent Information
- Application Number
- CN202411048771.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-08-01
- Publication Date
- 2024-11-19
AI Technical Summary
The prior art cannot accurately determine the frequency regulation time of the power grid system containing the grid-type inverter, resulting in the inability to fully utilize the frequency support capability of the grid-type inverter.
A simulation model including network-type energy storage units, synchronous generators and AC load is constructed, a frequency data set is obtained, and a frequency modulation time model is constructed based on this, and the frequency modulation time is determined by optimizing unknown coefficients in the frequency modulation time model.
By determining the primary frequency modulation time, the inertial response of the grid-type inverter and primary frequency modulation can be better combined, and the stability and support capacity of the grid frequency can be improved.
Smart Images

Figure CN118983822A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of power system transmission, and in particular to a method and system for determining the primary frequency modulation time of a power grid system including a grid-type converter. Background Art
[0002] In recent years, with the large-scale grid connection of new energy through power electronic converters and the continuous access of DC from outside the region, my country's power grid has gradually shown a trend of power electronics. New energy generators have replaced some synchronous generators in traditional power grids, making the overall power system show the characteristics of reduced inertia and uneven distribution, which greatly weakens the frequency regulation capability and frequency stability of the power system.
[0003] However, since the new energy units themselves do not have the rotational inertia of synchronous generators, the new power system presents a "low inertia" feature. In addition, the intermittent and volatile output of new energy units reduces the frequency stability of the power system.
[0004] Grid-type control technology has become an effective solution to improve the frequency stability in the inertia response stage. However, the control strategy based on grid-type control technology is currently unable to obtain the primary frequency modulation time of the grid-type converter, which results in the inability to fully utilize the frequency support capability of the grid-type converter. Summary of the invention
[0005] The embodiments of the present invention provide a method and system for determining the primary frequency modulation time of a power grid system including a grid-type converter, so as to solve the problem that the current power grid system including a grid-type converter cannot accurately determine the primary frequency modulation time.
[0006] In a first aspect, an embodiment of the present invention provides a method for determining a primary frequency modulation time of a power grid system including a grid-type converter, comprising:
[0007] Construct a simulation model including a grid-connected energy storage unit, a synchronous generator and an AC load;
[0008] When a disturbance occurs in the simulation model, a frequency data set is obtained; wherein the frequency data set includes a plurality of target frequency point sequences from the start of the disturbance to the time when the frequency first drops to the lowest point;
[0009] The target frequency point sequence is input into the target frequency modulation time model to obtain the calculation frequency corresponding to the target frequency point sequence; wherein the frequency modulation time model is a piecewise polynomial function containing multiple unknown coefficients, and the value of the unknown coefficient in each target frequency modulation time model is determined.
[0010] Based on the frequency data set and the sum of the variances of the calculated frequencies corresponding to all target frequency point sequences, an optimal target frequency modulation time model is determined, and a frequency modulation response time in the optimal target frequency modulation time model is determined as a frequency modulation time of the simulation model.
[0011] In a possible implementation, determining an optimal target frequency modulation time model based on a frequency data set and a sum of variances of calculated frequencies corresponding to all target frequency point sequences includes:
[0012] Determine the sum of variances corresponding to the target frequency modulation time model based on the sum of variances of the frequencies in all target frequency point sequences and the calculated frequencies corresponding to all target frequency point sequences;
[0013] The target frequency modulation time model corresponding to the smallest sum of variances among the sums of variances corresponding to all target frequency modulation time models is determined as the optimal target frequency modulation time model.
[0014] In a possible implementation manner, the determination method further includes:
[0015] The primary frequency modulation time of the simulation model is set as the control time of the primary frequency modulation after the grid-type energy storage unit performs inertial support.
[0016] In a possible implementation manner, the determination method further includes:
[0017] Based on the primary frequency modulation time of the simulation model and the integral processing of the relationship between the center frequency and the inertia time constant, the frequency of the simulation model during the primary frequency modulation response is obtained;
[0018] The frequency f1 of the simulation model in the primary frequency modulation response is:
[0019]
[0020] Among them, t1 is the frequency modulation time, ΔP max is the frequency disturbance of active power impulse, H sys is the inertia time constant of the simulation model, D sys is the damping coefficient in the frequency response process, and f0 is the frequency when the disturbance occurs.
[0021] In a possible implementation manner, the determination method further includes:
[0022] Based on the primary frequency modulation time and primary frequency modulation rate of the simulation model, determine the time when the frequency reaches the transient extreme value under disturbance;
[0023] The time t2 when the frequency reaches the transient extreme value under disturbance is:
[0024]
[0025] Among them, t1 is the frequency modulation time, ΔP max is the frequency disturbance of active power impulse, R sys is the primary frequency modulation rate.
[0026] In a possible implementation manner, the determination method further includes:
[0027] Based on the primary frequency modulation time of the simulation model and the relationship between the center frequency and the inertia time constant, determine the transient frequency extreme value;
[0028] The transient frequency extreme value f2 is:
[0029]
[0030] Among them, t1 is the frequency modulation time, ΔP max is the frequency disturbance of active power impulse, H sys is the inertia time constant of the simulation model, D sys is the damping coefficient in the frequency response process, f0 is the frequency when the disturbance occurs, R sys is the primary frequency modulation rate, and t2 is the time when the frequency reaches the transient extreme value under disturbance.
[0031] In a possible implementation, the frequency modulation time model f is:
[0032]
[0033] Among them, A0, A1, t1, and B i are all unknown coefficients, U(t) is a step function, t1 is the frequency modulation response time, is a high-order term, and i is a positive integer greater than or equal to 1.
[0034] In a possible implementation manner, each target frequency point column includes a frequency and a time corresponding to the frequency.
[0035] In a second aspect, an embodiment of the present invention provides a system for determining a primary frequency modulation time of a power grid system including a grid-type converter, the system comprising a Simulink simulation system and a calculation module:
[0036] Construct a simulation model including a grid-connected energy storage unit, a synchronous generator and an AC load in the Simulink simulation system;
[0037] Set disturbance in the Simulink simulation system, and collect multiple target frequency point sequences from the start of the disturbance to the first time the frequency drops to the lowest point based on the oscilloscope module in the Simulink simulation system. Each target frequency point sequence includes the frequency and the time corresponding to the frequency. All target frequency points constitute a frequency data set.
[0038] A calculation module is used to input the target frequency point sequence into the target frequency modulation time model to obtain the calculation frequency corresponding to the target frequency point sequence; wherein the frequency modulation time model is a piecewise polynomial function containing multiple unknown coefficients, and the value of the unknown coefficient in each target frequency modulation time model is determined,
[0039] The calculation module is also used to determine the optimal target frequency modulation time model based on the frequency data set and the variance sum of the calculation frequencies corresponding to all target frequency point columns, and determine the single frequency modulation response time in the optimal target frequency modulation time model as the single frequency modulation time of the simulation model.
[0040] In a possible implementation, the frequency modulation time model f is:
[0041]
[0042] Among them, A0, A1, t1, and B i are all unknown coefficients, U(t) is a step function, t1 is the frequency modulation response time, is a high-order term, and i is a positive integer.
[0043] The embodiment of the present invention provides a method and system for determining the primary frequency modulation time of a power grid system including a grid-type converter. First, a simulation model including a grid-type energy storage unit, a synchronous generator and an AC load is constructed; then, when a disturbance occurs in the simulation model, a frequency data set is obtained. Then, the target frequency point sequence is input into the target frequency modulation time model to obtain the calculated frequency corresponding to the target frequency point sequence. Finally, based on the sum of the variances of the frequency data set and the calculated frequencies corresponding to all target frequency point sequences, the optimal target frequency modulation time model is determined, and the primary frequency modulation response time in the optimal target frequency modulation time model is determined as the primary frequency modulation time of the simulation model. The present invention obtains the frequency data set after the disturbance occurs in the simulation model, and determines the unknown coefficients in the pre-constructed frequency modulation time model based on the frequency data set, so that the primary frequency modulation time can be quickly determined. Through the determined primary frequency modulation time, the inertial response of the grid-type converter and the primary frequency modulation can be further combined, and the primary frequency modulation can be performed while giving full play to the inertial support of the grid-type converter, so as to achieve a better frequency support effect. BRIEF DESCRIPTION OF THE DRAWINGS
[0044] In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.
[0045] Figure 1It is a flow chart of the implementation of the method for determining the primary frequency modulation time of a power grid system including a grid-type converter provided by an embodiment of the present invention;
[0046] Figure 2 It is a topological structure diagram of a simulation system including a mixture of grid-following energy storage and grid-building energy storage provided by an embodiment of the present invention;
[0047] Figure 3 is a schematic diagram of the active power-frequency regulation process after disturbance provided by an embodiment of the present invention;
[0048] Figure 4 is a schematic diagram of simulation verification results provided by an embodiment of the present invention;
[0049] Figure 5 It is a structural schematic diagram of a system for determining a primary frequency modulation time of a power grid system including a grid-type converter provided in an embodiment of the present invention. DETAILED DESCRIPTION
[0050] In the following description, specific details such as specific system structures, technologies, etc. are provided for the purpose of illustration rather than limitation, so as to provide a thorough understanding of the embodiments of the present invention. However, it should be clear to those skilled in the art that the present invention may be implemented in other embodiments without these specific details. In other cases, detailed descriptions of well-known systems, devices, circuits, and methods are omitted to prevent unnecessary details from obstructing the description of the present invention.
[0051] In order to make the purpose, technical solutions and advantages of the present invention more clear, specific embodiments will be described below in conjunction with the accompanying drawings.
[0052] Figure 1 The implementation flow chart of the method for determining the primary frequency modulation time of a power grid system including a grid-type converter provided in an embodiment of the present invention is described in detail as follows:
[0053] S110, constructing a simulation model including a grid-connected energy storage unit, a synchronous generator and an AC load.
[0054] Renewable energy generation represented by offshore wind power is gradually replacing more and more conventional power sources, occupying a more important position in the power grid and becoming an integral part of my country's energy system. While alleviating the energy crisis, new energy generation also brings many challenges to the stable operation of the power grid. Since the new energy units themselves do not have the rotational inertia of synchronous generators, the new power system presents a "low inertia" feature. In addition, the intermittent and volatile output of new energy units reduces frequency stability.
[0055] However, the grid-type control technology can improve the frequency stability in the inertia response stage. Therefore, it is necessary to give full play to the frequency support capability of the grid-type converter.
[0056] In order to improve the frequency support capability of the grid-type converter, a simulation model was constructed, which includes a grid-type energy storage unit, a synchronous generator and an AC load. Figure 2 Shown is a simulation system that includes a mixture of grid-connected energy storage and grid-building energy storage.
[0057] S120. When a disturbance occurs in the simulation model, a frequency data set is obtained.
[0058] The frequency data set includes a plurality of target frequency point sequences from the start of the disturbance to the first time the frequency drops to the lowest point.
[0059] In some embodiments, the disturbance may be a frequency disturbance or a power disturbance.
[0060] like Figure 3 As shown, the power system suffers from ΔP max The active-frequency regulation process after power disturbance is divided into three stages, namely, dynamic power distribution, inertia response and primary frequency regulation response. Among them, t0 is the disturbance moment, t1 is the governor action moment, and t2 is the moment of the lowest frequency point. Under power disturbance, the system frequency begins to deviate from the initial rated value and quickly crosses the primary frequency regulation control dead zone of the generator set, and then the primary frequency regulation control begins to act from t0 to t1, and the overall unbalanced power of the system will be further reduced. Subsequently, as the frequency deviation continues to increase, the primary frequency regulation control also continues to respond. When the active power output coordinated by the primary frequency regulation control and stabilization measures is equal to the initial unbalanced power, the system frequency reaches the extreme value. During this period, the inertial response is always active and provides power support for the system. Among them, Figure 3 The red line in the power gap after the disturbance occurs in represents the disturbance power. Figure 3 The red line in the frequency response after the disturbance in represents the system frequency.
[0061] The primary frequency regulation response is the automatic control process in which the control system of the unit in the power grid automatically controls the increase or decrease of the unit's active power, limits the change of the power grid frequency, and maintains the power grid frequency stable once the power grid frequency deviates from the rated value. The primary frequency regulation function is one of the means to dynamically ensure the active power balance of the power grid. When the power grid frequency increases, the primary frequency regulation function requires the unit to reduce the grid-connected active power; otherwise, it requires the unit to increase the grid-connected active power.
[0062] In some embodiments, the oscilloscope module can collect system frequency data, extract frequency data from the start of disturbance to the first time the frequency drops to the lowest point with a step length of 0.01s, and draw a system frequency point column in Matlab. Each target frequency point column includes a frequency and a time corresponding to the frequency.
[0063] The frequency characteristics of the system can be expressed by the equivalent generator rotor motion equation. In the inertial support stage, the relationship between the center frequency and the inertial time constant can be expressed as:
[0064]
[0065] Among them, H sys is the system inertia time constant, Δf is the frequency difference of the system frequency center, ΔP is the frequency disturbance of active impact, D sys is the damping coefficient in the frequency response process.
[0066] This formula can also be expressed as:
[0067]
[0068] Solving this differential equation yields:
[0069]
[0070] Taking the derivative of both ends, we get:
[0071]
[0072] From the beginning of disturbance to the first frequency modulation without response, -D sys / (2*H sys ) is approximately 0. Therefore, the frequency change in the inertial support stage is approximately linear, that is, the frequency change rate remains unchanged, and its size is approximately ΔP / (2*H sys ). After the primary frequency modulation response, the system model becomes more complicated, and higher-order terms appear in the system transfer function.
[0073] S130: Input the target frequency point sequence into the target frequency modulation time model to obtain the calculation frequency corresponding to the target frequency point sequence.
[0074] The values of the unknown coefficients in each target FM time model are determined.
[0075] As described above, the model of the system after the primary frequency modulation response is more complex, and high-order terms appear in the system transfer function. Therefore, the frequency modulation time model set in the present invention is a piecewise polynomial function containing multiple unknown coefficients to ensure that the system is approximately linear when inertial support. After the primary frequency modulation response, the nonlinear characteristics of the system are modeled by high-order terms.
[0076] In some embodiments, the frequency modulation time model f is:
[0077]
[0078] Among them, A0, A1, t1, and B iare all unknown coefficients, U(t) is a step function, t1 is the primary frequency regulation response time, is a high-order term, and i is a positive integer greater than or equal to 1.
[0079] When 0 < t < t1, the system is modeled as a linear function; when t > t1, for the primary frequency regulation response, high-order terms are added to the model. The coefficients A0, A1, B i in the model and the primary frequency regulation response time t1 are all coefficients to be fitted, and the estimated values of each coefficient are determined by multiple iterations using Matlab software. This model can distinguish the system inertia and high-order nonlinear effects, so that changing the polynomial fitting degree will not have a great impact on the fitting result. During the disturbance occurrence and the inertia response period, due to the reasons of generators and loads, the system is modeled as an integrator, and its response to the step input of load loss is linear. With the start of primary frequency regulation control, generators, governors, turbines, etc. determine that the model of the system is more complex, and high-order terms appear in the system transfer function.
[0080] Traditional polynomial frequency fitting is greatly affected by the fitting degree and cannot reflect the complete frequency response process. Using the same polynomial model for the inertia support stage and the primary frequency regulation stage is inaccurate. In order to ensure that the system is approximately linear during inertia support, that is, high-order terms do not exist during the inertia response, after the primary frequency regulation response, the nonlinear characteristics of the system are modeled through high-order terms.
[0081] Although the fitting degree will not have a great impact on the final result, however, to solve this problem, multiple groups of initial iteration data are selected to determine the optimal unknown coefficients.
[0082] Input each target frequency point column into the target frequency regulation time model, and the calculated frequency corresponding to each target frequency point column will be obtained.
[0083] In order to determine the optimal unknown coefficients, therefore, multiple groups of unknown coefficients need to be set, that is, multiple target frequency regulation time models, and the optimal target frequency regulation time model is determined based on the objective function.
[0084] S140. Based on the frequency data set and the sum of variances of the calculated frequencies corresponding to all target frequency point columns, determine the optimal target frequency regulation time model, and determine the primary frequency regulation response time in the optimal target frequency regulation time model as the primary frequency regulation time of the simulation model.
[0085] In some embodiments, first, based on the sum of frequencies in all target frequency point columns and the sum of variances of the calculated frequencies corresponding to all target frequency point columns, determine the sum of variances corresponding to the target frequency regulation time model.
[0086] Then, the target frequency modulation time model corresponding to the smallest sum of variances among the sums of variances corresponding to all target frequency modulation time models is determined as the optimal target frequency modulation time model.
[0087] In order to determine the accuracy of the unknowns in the target frequency modulation time model, it is necessary to calculate the sum of the variances of the frequencies in all the target frequency point sequences and the frequencies calculated by the target frequency modulation time model as the objective function.
[0088]
[0089] Among them, f i * is the frequency calculated by the target frequency modulation time model, f i is the actual frequency value, and N is the total amount of frequency data.
[0090] After the optimal target frequency modulation time model is determined, the primary frequency modulation response time t1 in the model is determined as the primary frequency modulation time of the simulation model.
[0091] After determining the primary frequency modulation time of the simulation model, the time can be set as the control time of the primary frequency modulation after the grid-type energy storage performs inertial support. This can realize the coordination of grid-type control inertial support and primary frequency modulation and improve the ability of the grid-type equipment to support the system frequency.
[0092] In some embodiments, the primary frequency modulation time of the simulation model can be set as the control time of the primary frequency modulation after the grid-type energy storage unit performs inertial support.
[0093] In some embodiments, compared with the inertia response, the primary frequency regulation requires a slower response time, but the active support time is longer. For the period t0 to t1 when no frequency control measures are activated, the overall active unbalance of the system is maintained at -ΔP max No change, yes
[0094] Integrating from t0 to t1 gives:
[0095]
[0096] After simplification, we can get:
[0097]
[0098] Thus, the frequency f1 of the simulation model in the case of a frequency modulation response is obtained as follows:
[0099]
[0100] Among them, t1 is the frequency modulation time, ΔP max is the frequency disturbance of active power impulse, Hsys is the inertia time constant of the simulation model, D sys is the damping coefficient in the frequency response process, and f0 is the frequency when the disturbance occurs.
[0101] In some embodiments, the simulation model is used to simulate the process t1-t2 from the action of the stabilization control measures to the frequency reaching the transient extreme value. The time t2 when the frequency reaches the transient extreme value under large disturbance and the primary frequency modulation rate R sys The relationship is shown as follows:
[0102]
[0103] Among them, t1 is the frequency modulation time, ΔP max is the frequency disturbance of active power impulse, R sys is the primary frequency modulation rate.
[0104] For the period from t0 to t2 from when the disturbance occurs to when the frequency drops to the minimum value,
[0105] Integrating from t0 to t2 gives:
[0106]
[0107] After simplification, we can get:
[0108]
[0109] The transient frequency extreme value f2 is:
[0110]
[0111] Among them, t1 is the frequency modulation time, ΔP max is the frequency disturbance of active power impulse, H sys is the inertia time constant of the simulation model, D sys is the damping coefficient in the frequency response process, f0 is the frequency when the disturbance occurs, R sys is the primary frequency modulation rate, and t2 is the time when the frequency reaches the transient extreme value under disturbance.
[0112] In order to verify the accuracy of the primary frequency modulation time provided by the present invention, based on Figure 2 The topological structure diagram of the simulation system of the hybrid of grid-following energy storage and grid-forming energy storage provided in the paper is simulated based on the Matlab / Simulink software system to analyze the frequency support effect of the combination of the inertial support of the grid-forming converter and the primary frequency regulation control in the power grid system containing the grid-forming converter.
[0113] The simulation parameters are shown in Table 1:
[0114] Table 1 Main parameters of the system
[0115] parameter Value Grid side voltage / kV 35 Load / MW 15 Synchronous machine capacity / MW 22 Line resistance / Ω 0.001 Line inductance / mH 0.05 Filter capacitor / μF 30 Battery capacity / MW 1 DC side voltage / V 1200 Virtual inertia / kg.m2 3.185 Damping coefficient / Nmsrad-1 382.17
[0116] At this time, the load is set to increase by 20% at 8s, and a fitting estimate is made for the frequency modulation response time. The estimated results are shown in Table 2.
[0117] Table 2 Calculation results of the system primary frequency modulation response time
[0118]
[0119] The following conclusions can be drawn from the simulation results: the estimated primary frequency modulation response time is 8.6165 seconds with an error of 2.0% when the load suddenly increases by 20%, which proves that the estimated primary frequency modulation response time is reliable.
[0120] The frequency support is compared between performing a frequency modulation control on the grid-following energy storage at the estimated primary frequency modulation time and not performing a primary frequency modulation control. The simulation results are as follows: Figure 4 As shown. From the simulation results, it can be seen that after the grid-type energy storage performs inertial support, the frequency is adjusted once, and the lowest point of the frequency drop increases from 49.63Hz to 49.64Hz, which has a better frequency support effect than the control without frequency modulation.
[0121] The method for determining the primary frequency modulation time provided by the present invention first constructs a simulation model including a grid-type energy storage unit, a synchronous generator and an AC load; then, when a disturbance occurs in the simulation model, a frequency data set is obtained. Then, the target frequency point sequence is input into the target frequency modulation time model to obtain the calculated frequency corresponding to the target frequency point sequence. Finally, based on the sum of the variances of the frequency data set and the calculated frequencies corresponding to all target frequency point sequences, the optimal target frequency modulation time model is determined, and the primary frequency modulation response time in the optimal target frequency modulation time model is determined as the primary frequency modulation time of the simulation model. The present invention obtains the frequency data set after the disturbance occurs in the simulation model, and determines the unknown coefficients in the pre-constructed frequency modulation time model based on the frequency data set, so that the primary frequency modulation time can be quickly determined. Through the determined primary frequency modulation time, the inertial response of the grid-type converter and the primary frequency modulation can be further combined, and the primary frequency modulation can be performed while giving full play to the inertial support of the grid-type converter, thereby achieving a better frequency support effect.
[0122] It should be understood that the order of execution of the steps in the above embodiment does not necessarily mean the order of execution. The execution order of each process should be determined by its function and internal logic, and should not constitute any limitation on the implementation process of the embodiment of the present invention.
[0123] The following is a system embodiment of the present invention. For details not described in detail therein, reference may be made to the corresponding method embodiment described above.
[0124] Figure 5 The structural diagram of the primary frequency modulation time determination system of the power grid system including the grid-type converter provided by the embodiment of the present invention is shown. For the convenience of explanation, only the part related to the embodiment of the present invention is shown, which is described in detail as follows:
[0125] like Figure 5 As shown, a system 500 for determining a primary frequency modulation time of a power grid system including a grid-type converter includes: a Simulink simulation system 510 and a calculation module 520:
[0126] Constructing a simulation model including a grid-connected energy storage unit, a synchronous generator and an AC load in a Simulink simulation system 510;
[0127] A disturbance is set in the Simulink simulation system 510, and multiple target frequency point sequences are collected from the start of the disturbance to the time when the frequency first drops to the lowest point based on the oscilloscope module in the Simulink simulation system 510, each target frequency point sequence includes a frequency and a time corresponding to the frequency, and all target frequency points constitute a frequency data set;
[0128] The calculation module 520 is used to input the target frequency point sequence into the target frequency modulation time model to obtain the calculation frequency corresponding to the target frequency point sequence; wherein the frequency modulation time model is a piecewise polynomial function containing multiple unknown coefficients, and the value of the unknown coefficient in each target frequency modulation time model is determined.
[0129] The calculation module 520 is also used to determine the optimal target frequency modulation time model based on the frequency data set and the sum of the variances of the calculated frequencies corresponding to all target frequency point sequences, and determine the primary frequency modulation response time in the optimal target frequency modulation time model as the primary frequency modulation time of the simulation model.
[0130] In a possible implementation, the frequency modulation time model f is:
[0131]
[0132] Among them, A0, A1, t1, and B i are all unknown coefficients, U(t) is a step function, t1 is the frequency modulation response time, is a high-order term, and i is a positive integer.
[0133] In a possible implementation, the calculation module 520 is further configured to determine the sum of variances corresponding to the target frequency modulation time model based on the sum of variances of the frequencies in all target frequency point sequences and the calculation frequencies corresponding to all target frequency point sequences;
[0134] The target frequency modulation time model corresponding to the smallest sum of variances among the sums of variances corresponding to all target frequency modulation time models is determined as the optimal target frequency modulation time model.
[0135] In a possible implementation, the calculation module 520 is further used to obtain the frequency of the simulation model during the primary frequency modulation response based on the primary frequency modulation time of the simulation model and the integral processing of the relationship between the center frequency and the inertia time constant;
[0136] The frequency f1 of the simulation model in the primary frequency modulation response is:
[0137]
[0138] Among them, t1 is the frequency modulation time, ΔP max is the frequency disturbance of active power impulse, H sys is the inertia time constant of the simulation model, D sys is the damping coefficient in the frequency response process, and f0 is the frequency when the disturbance occurs.
[0139] In a possible implementation, the calculation module 520 is further used to set the primary frequency modulation time of the simulation model as the control time of the primary frequency modulation after the grid-type energy storage unit performs inertial support.
[0140] In a possible implementation, the calculation module 520 is further used to determine the time when the frequency reaches the transient extreme value under the disturbance based on the primary frequency modulation time and the primary frequency modulation rate of the simulation model;
[0141] The time t2 when the frequency reaches the transient extreme value under disturbance is:
[0142]
[0143] Among them, t1 is the frequency modulation time, ΔP max is the frequency disturbance of active power impulse, R sys is the primary frequency modulation rate.
[0144] In a possible implementation, the calculation module 520 is further used to determine the transient frequency extreme value based on the primary frequency modulation time of the simulation model and the relationship between the center frequency and the inertia time constant;
[0145] The transient frequency extreme value f2 is:
[0146]
[0147] Among them, t1 is the frequency modulation time, ΔP max is the frequency disturbance of active power impulse, H sys is the inertia time constant of the simulation model, D sysis the damping coefficient in the frequency response process, f0 is the frequency when the disturbance occurs, R sys is the primary frequency modulation rate, and t2 is the time when the frequency reaches the transient extreme value under disturbance.
[0148] In the above embodiments, the description of each embodiment has its own emphasis. For parts that are not described or recorded in detail in a certain embodiment, reference can be made to the relevant descriptions of other embodiments.
[0149] Those of ordinary skill in the art will appreciate that the templates, units, and algorithm steps of each example described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, or a combination of computer software and electronic hardware. Whether these functions are performed in hardware or software depends on the specific application and design constraints of the technical solution. Professional and technical personnel can use different methods to implement the described functions for each specific application, but such implementation should not be considered to be beyond the scope of the present invention.
[0150] If the module / unit is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the present invention implements all or part of the processes in the above-mentioned embodiment method, and can also be completed by instructing the relevant hardware through a computer program. The computer program can be stored in a computer-readable storage medium. When the computer program is executed by the processor, it can implement the steps of the embodiment of the evaluation method for the adequacy of the distribution network in which each electric vehicle and distributed photovoltaic participate. Among them, the computer program includes computer program code, and the computer program code can be in source code form, object code form, executable file or some intermediate form. The computer-readable medium may include: any entity or device that can carry the computer program code, recording medium, U disk, mobile hard disk, disk, optical disk, computer memory, read-only memory, random access memory, electric carrier signal, telecommunication signal and software distribution medium.
[0151] The embodiments described above are only used to illustrate the technical solutions of the present invention, rather than to limit the same. Although the present invention has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that the technical solutions described in the aforementioned embodiments may still be modified, or some of the technical features may be replaced by equivalents. Such modifications or replacements do not deviate the essence of the corresponding technical solutions from the spirit and scope of the technical solutions of the embodiments of the present invention, and should all be included in the protection scope of the present invention.
Claims
1. A method for determining the primary frequency modulation time of a power grid system including a grid-type converter, It is characterized in that include: Construct a simulation model including a grid-connected energy storage unit, a synchronous generator and an AC load; When the simulation model is disturbed, a frequency data set is obtained; wherein the frequency data set includes a plurality of target frequency point sequences from the start of the disturbance to the first time the frequency drops to the lowest point; Inputting the target frequency point sequence into the target frequency modulation time model to obtain the calculation frequency corresponding to the target frequency point sequence; wherein the frequency modulation time model is a piecewise polynomial function containing multiple unknown coefficients, and the value of the unknown coefficient in each target frequency modulation time model is determined; Based on the frequency data set and the sum of the variances of the calculated frequencies corresponding to all the target frequency point sequences, an optimal target frequency modulation time model is determined, and a frequency modulation response time in the optimal target frequency modulation time model is determined as a frequency modulation time of the simulation model.
2. The method for determining the primary frequency modulation time of a power grid system including a grid-type converter according to claim 1, It is characterized in that The determining of the optimal target frequency modulation time model based on the frequency data set and the sum of variances of the calculated frequencies corresponding to all the target frequency point sequences comprises: Determine the sum of variances corresponding to the target frequency modulation time model based on the sum of variances of the frequencies in all the target frequency point sequences and the calculated frequencies corresponding to all the target frequency point sequences; The target frequency modulation time model corresponding to the smallest sum of variances among the sums of variances corresponding to all the target frequency modulation time models is determined as the optimal target frequency modulation time model.
3. The method for determining the primary frequency modulation time of a power grid system including a grid-type converter according to claim 1 or 2, It is characterized in that The method further comprises: The primary frequency modulation time of the simulation model is set as the control time of the primary frequency modulation after the grid-type energy storage unit performs inertial support.
4. The method for determining the primary frequency modulation time of a power grid system including a grid-type converter according to claim 1 or 2, It is characterized in that The method further comprises: Based on the primary frequency modulation time of the simulation model and integrating the relationship between the center frequency and the inertia time constant, the frequency of the simulation model during the primary frequency modulation response is obtained; The frequency f of the simulation model when the primary frequency modulation response is 1 for: Among them, t 1 is the frequency modulation time, ΔP max is the frequency disturbance of active power impulse, H sys is the inertia time constant of the simulation model, D sys is the damping coefficient in the frequency response process, f 0 is the frequency at which the disturbance occurs.
5. The method for determining the primary frequency modulation time of a power grid system including a grid-type converter according to claim 1, It is characterized in that The method further comprises: Determine the time when the frequency reaches a transient extreme value under disturbance based on the primary frequency modulation time and the primary frequency modulation rate of the simulation model; The time t when the frequency reaches the transient extreme value under disturbance 2 for: Among them, t 1 is the frequency modulation time, ΔP max is the frequency disturbance of active power impulse, R sys is the primary frequency modulation rate.
6. The method for determining the primary frequency modulation time of a power grid system including a grid-type converter according to claim 5, It is characterized in that The method further comprises: Determine the transient frequency extreme value based on the primary frequency modulation time of the simulation model and the relationship between the center frequency and the inertia time constant; Transient frequency extreme value f 2 for: Among them, t 1 is the frequency modulation time, ΔP max is the frequency disturbance of active power impulse, H sys is the inertia time constant of the simulation model, D sys is the damping coefficient in the frequency response process, f 0 is the frequency when the disturbance occurs, R sys is the primary frequency modulation rate, t 2 It is the time when the frequency reaches the transient extreme value under disturbance.
7. The method for determining the primary frequency modulation time of a power grid system including a grid-type converter according to any one of claims 1 to 6, It is characterized in that The frequency modulation time model f is: Among them, A 0 , A 1 ,t 1 , and B i are all unknown coefficients, U(t) is a step function, t 1 is the frequency modulation response time, is a high-order term, and i is a positive integer greater than or equal to 1.
8. The method for determining the primary frequency modulation time of a power grid system including a grid-type converter according to any one of claims 1 to 6, It is characterized in that Each target frequency point sequence includes a frequency and a time corresponding to the frequency.
9. A system for determining the primary frequency modulation time of a power grid system including a grid-type converter, It is characterized in that The system includes Simulink simulation system and calculation module: Construct a simulation model including a grid-connected energy storage unit, a synchronous generator and an AC load in the Simulink simulation system; Set disturbance in the Simulink simulation system, and collect multiple target frequency point sequences from the start of the disturbance to the first time the frequency drops to the lowest point based on the oscilloscope module in the Simulink simulation system. Each target frequency point sequence includes the frequency and the time corresponding to the frequency. All target frequency points constitute a frequency data set. A calculation module is used to input the target frequency point sequence into the target frequency modulation time model to obtain the calculation frequency corresponding to the target frequency point sequence; wherein the frequency modulation time model is a piecewise polynomial function containing multiple unknown coefficients, and the value of the unknown coefficient in each target frequency modulation time model is determined, The calculation module is also used to determine the optimal target frequency modulation time model based on the frequency data set and the sum of the variances of the calculated frequencies corresponding to all the target frequency point sequences, and determine the frequency modulation response time in the optimal target frequency modulation time model as the frequency modulation time of the simulation model.
10. The primary frequency modulation time determination system of a power grid system including a grid-type converter according to claim 9, It is characterized in that The frequency modulation time model f is: Among them, A 0 , A 1 ,t 1 , and B i are all unknown coefficients, U(t) is a step function, t 1 is the frequency modulation response time, is a high-order term, and i is a positive integer.
