A new energy generator set active primary frequency regulation test method and system
By setting the frequency deviation in the new energy generator set and recording the response speed, analyzing the attenuation function to predict maintenance time, the deviation problem caused by passive data analysis in the prior art is solved, and a more accurate and efficient frequency modulation test is achieved.
Patent Information
- Application Number
- CN202411109347.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-08-13
- Publication Date
- 2025-05-13
- Estimated Expiration
- 2044-08-13
AI Technical Summary
The existing primary frequency modulation test technology uses passive primary frequency modulation data for analysis, resulting in a large deviation from the actual results of the analysis results, and it is impossible to accurately predict the maintenance time of the primary frequency modulation system of the new energy generator set.
By obtaining the frequency change threshold, setting the frequency deviation, starting the new energy generator set and adjusting it to the active primary frequency modulation mode, recording the initial frequency and response speed, analyzing the response attenuation function and callback attenuation function, and predicting the maintenance time of the primary frequency modulation system.
Ensure that the frequency deviation of active frequency regulation is consistent, provide a reliable data basis, improve the accuracy and effectiveness of the frequency regulation test results, and reduce maintenance costs.
Smart Images

Figure CN119001438B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of primary frequency modulation testing, and in particular to a method and system for testing active primary frequency modulation of a new energy generator set. Background Art
[0002] Primary frequency regulation testing technology refers to a test method used to evaluate the response performance of generator sets or power equipment to frequency changes in the power system. This test usually involves introducing frequency changes in the system and monitoring the response of the equipment to these changes to evaluate its frequency regulation performance or perform preventive maintenance on the primary frequency regulation system.
[0003] When the existing primary frequency modulation test technology is applied in preventive maintenance, it is usually analyzed based on the overall process of the primary frequency modulation process, and most of them use passive primary frequency modulation data. However, the passive primary frequency modulation data cannot be set in a standard. If the deviation of the power grid frequency is large, it will take a long time to adjust the power grid frequency through primary frequency modulation and stabilize it. If the deviation of the power grid frequency is large, the time taken is short. Therefore, it cannot be used as accurate reference data. It is necessary to perform active primary frequency modulation on it and test the primary frequency modulation system with the same frequency modulation parameters to obtain accurate reference data, providing a reliable data basis for subsequent analysis. For example, in the publication number CN Patent application No. 112383069A discloses a method for dynamically predicting the primary frequency regulation compensation capability of a generator set. The method is based on the compensation result obtained by analyzing the historical data of the primary frequency regulation test of the generator set. The historical data usually defaults to the primary frequency regulation data generated when there is a large frequency deviation in the power grid, rather than the test of the primary frequency regulation with an artificially introduced deviation. Since the historical data cannot unify the deviation value of the power grid frequency, the data obtained by analysis has a large deviation from the actual value. The existing primary frequency regulation test technology also uses passive primary frequency regulation data as the basis for analysis, resulting in the problem that the analysis result has a large deviation from the actual result. Summary of the invention
[0004] The present invention aims to solve one of the technical problems in the prior art to at least a certain extent, by obtaining a frequency change threshold, setting a frequency deviation according to the frequency change threshold, starting a new energy generator set, making it start to generate electricity and connect to the power grid, adjusting the generator set to an active primary frequency modulation mode, and then recording the initial frequency. The frequency deviation is introduced by adjusting the output power of the generator set, and then the response speed of the new energy generator set to the frequency deviation is recorded. At the same time, the frequency callback time of the system after the frequency deviation is introduced is recorded, and then the response speed of the generator set is analyzed, and a response attenuation function of the response speed is calculated. The frequency callback time of the generator set is analyzed, and a callback attenuation function of the frequency callback time is calculated. Finally, based on the response attenuation function and the callback attenuation function, the maintenance time of the primary frequency modulation system of the new energy generator set is predicted, so as to solve the problem that the existing primary frequency modulation test technology still uses passive primary frequency modulation data as the basis for analysis, resulting in a large deviation between the analysis result and the actual result.
[0005] To achieve the above objectives, in a first aspect, the present application provides a method for testing active primary frequency regulation of a new energy generator set, comprising the following steps:
[0006] Obtain a frequency change threshold, and set a frequency deviation according to the frequency change threshold;
[0007] Start the new energy generator set, make it start generating electricity and connect to the power grid, and adjust the generator set to the active primary frequency regulation mode;
[0008] Record the initial frequency and introduce frequency deviation by adjusting the output power of the generator set;
[0009] Record the response speed of the new energy generator set to the frequency deviation, and record the frequency change of the system after the frequency deviation is introduced;
[0010] Based on the analysis of recorded data and observations, the maintenance time of the primary frequency regulation system of the renewable energy generator set is predicted.
[0011] Furthermore, obtaining a frequency change threshold and setting a frequency deviation according to the frequency change threshold includes the following sub-steps:
[0012] Obtain the rated frequency change threshold of the power grid;
[0013] The frequency change threshold is multiplied by the first amplification threshold to obtain the frequency deviation.
[0014] Furthermore, the new energy generator set is started to generate electricity and connect to the power grid, and the generator set is adjusted to the active primary frequency regulation mode. The active primary frequency regulation mode is a control mode of the new energy power station, which is used to test the response of the new energy generator set to the primary frequency regulation of the power grid.
[0015] Further, recording the initial frequency and introducing the frequency deviation by adjusting the output power of the generator set includes the following sub-steps:
[0016] Record the current grid frequency and mark it as the initial frequency;
[0017] Calculate 50Hz minus the initial frequency, and mark the result as the deviation direction. If the deviation direction is negative, the output frequency increase signal is output; if the deviation direction is non-negative, the output frequency decrease signal is output;
[0018] If the output frequency increases, calculate FD-|DD| and mark the result as the deviation difference, where FD is the frequency deviation and DD is the deviation direction;
[0019] If the output frequency decreases, -(FD-DD) is calculated and the result is marked as the deviation difference;
[0020] The deviation difference is not zero. If the deviation difference is positive, the output power of the generator set is adjusted so that the grid frequency increases by the deviation difference; if the deviation difference is negative, the output power of the generator set is adjusted so that the grid frequency decreases by the absolute value of the deviation difference.
[0021] Furthermore, recording the response speed of the new energy generator set to the frequency deviation and recording the frequency change of the system after the frequency deviation is introduced includes the following sub-steps:
[0022] Monitor the grid frequency in real time, mark it as the real-time frequency, calculate the real-time frequency minus 50Hz, and mark the absolute value of the calculation result as the real-time change frequency;
[0023] The real-time change frequency is compared with the frequency change threshold. If the real-time change frequency is less than or equal to the frequency change threshold, a deviation safety signal is output; if the real-time change frequency is greater than the frequency change threshold, a deviation unsafe signal is output;
[0024] If the output deviation is an unsafe signal, the timing starts, and at the same time, it is monitored whether the generator set performs a frequency adjustment. If not, the timing continues. If yes, the timing stops and the timing result is marked as the response speed;
[0025] When the generator set performs a frequency regulation, the timing starts again;
[0026] Monitor the difference between the grid frequency and 50Hz in real time, mark it as the real-time difference, compare the real-time difference with the frequency change threshold, if the real-time difference is less than or equal to the frequency change threshold, output a frequency stability signal; if the real-time difference is greater than the frequency change threshold, output a frequency instability signal;
[0027] If the output frequency is unstable, the timing will continue; if the output frequency is stable, the timing will stop and the timing result will be marked as the frequency callback duration.
[0028] Further, based on the analysis of the recorded data and observation results, the maintenance time of the primary frequency regulation system of the renewable energy generator set is predicted, which includes the following sub-steps:
[0029] Analyze the response speed of the generator set and calculate the response attenuation function of the response speed;
[0030] Analyze the frequency callback duration of the generator set and calculate the callback attenuation function of the frequency callback duration;
[0031] Based on the response attenuation function and the callback attenuation function, the maintenance time of the primary frequency regulation system of the renewable energy generator set is predicted.
[0032] Furthermore, the response speed of the generator set is analyzed, and the response attenuation function of the response speed is calculated, including the following sub-steps:
[0033] At the beginning of the establishment of the generator set, the power grid is actively frequency-regulated once by the generator set, and the number of frequency-regulated times of the generator set is recorded and marked as the frequency-regulated times, and the active frequency-regulated times are counted in the frequency-regulated times;
[0034] A plane rectangular coordinate system is established with the frequency modulation number as the X-axis and the response speed as the Y-axis, which is named the response prediction coordinate system. The frequency modulation number of the active primary frequency modulation and the response speed of the active primary frequency modulation are entered into the response prediction coordinate system.
[0035] Linear regression is performed on the response prediction coordinate system to obtain a response attenuation function, the format of which is Y1=a×X+b, where Y1 is the response speed, X is the frequency modulation number, and a and b are fixed constants of the response attenuation function.
[0036] Furthermore, the frequency callback duration of the generator set is analyzed, and the callback attenuation function of the frequency callback duration is calculated, including the following sub-steps:
[0037] A plane rectangular coordinate system is established with the frequency modulation times as the horizontal axis and the frequency callback duration as the vertical axis, which is named the callback prediction coordinate system. The frequency modulation times of the active frequency modulation and the frequency callback duration of the active frequency modulation are entered into the callback prediction coordinate system.
[0038] Perform linear regression on the callback prediction coordinate system to obtain the callback initial function, the format of which is Y2=c×X+d, where Y2 is the frequency callback duration, and c and d are both fixed constants of the callback initial function;
[0039] Find the frequency callback duration corresponding to the maximum value of the difference between the frequency callback duration in a frequency modulation that has been executed and the frequency of the initial callback function at the same frequency, mark it as the maximum frequency callback duration, mark the frequency modulation number corresponding to the maximum frequency callback duration as the maximum change value, let Y2 = maximum frequency callback duration, X = maximum change value, c remains unchanged, substitute Y2, X and c into the initial callback function, update d, and get h;
[0040] The function Y2=c×X+h is named as callback decay function.
[0041] Furthermore, based on the response attenuation function and the callback attenuation function, predicting the maintenance time of the primary frequency regulation system of the new energy generator set includes the following sub-steps:
[0042] Obtain a maximum processing time of a frequency modulation, the maximum processing time being the maximum value allowed by the sum of the response time and the frequency callback time, and the maximum processing time is represented by the symbol T;
[0043] Let Y1+Y2=T, that is, a×X+b+c×X+h=T, solve for X, and name the solved X as the maximum frequency modulation number;
[0044] A first error ratio is set, and the maximum frequency modulation times are reduced by the first error ratio to obtain the frequency modulation maintenance times. The frequency modulation maintenance times are when the frequency modulation times reach the frequency modulation maintenance times, and the primary frequency modulation system of the generator set needs to be maintained.
[0045] In a second aspect, the present application provides an active primary frequency modulation test system for a new energy generator set, including a deviation setting module, an active primary frequency modulation module, a deviation introduction module, a frequency modulation data recording module, and a frequency modulation data analysis module; the deviation setting module, the active primary frequency modulation module, the deviation introduction module, and the frequency modulation data recording module are respectively data-connected to the frequency modulation data analysis module;
[0046] The deviation setting module is used to obtain a frequency change threshold and set a frequency deviation according to the frequency change threshold;
[0047] The active primary frequency modulation module is used to start the new energy generator set, so that it starts to generate electricity and connects to the power grid, and adjusts the generator set to the active primary frequency modulation mode;
[0048] The deviation introduction module is used to record the initial frequency and introduce the frequency deviation by adjusting the output power of the generator set;
[0049] The frequency modulation data recording module is used to record the response speed of the new energy generator set to the frequency deviation, and also to record the frequency change of the system after the frequency deviation is introduced;
[0050] The frequency regulation data analysis module is used to analyze the recorded data and observation results to predict the maintenance time of the primary frequency regulation system of the new energy generator set.
[0051] Beneficial effects of the present invention: The present invention obtains the frequency deviation through the existing frequency change threshold analysis, then records the initial frequency, and introduces the frequency deviation by adjusting the output power of the generator set. The advantage is that it can ensure that the frequency deviation of each active primary frequency modulation is the same. Combined with the number of frequency modulations, the response speed of the primary frequency modulation system and the change trend of the frequency callback time as the number of frequency modulations increases can be analyzed, which provides a reliable data basis for subsequent analysis and improves the accuracy and effectiveness of the primary frequency modulation test results.
[0052] The present invention records the response speed of the new energy generator set to the frequency deviation, and records the frequency callback time of the system after the frequency deviation is introduced, then analyzes the response speed of the generator set, calculates the response attenuation function of the response speed, analyzes the frequency callback time of the generator set, calculates the callback attenuation function of the frequency callback time, and finally predicts the maintenance time of the primary frequency modulation system of the new energy generator set based on the response attenuation function and the callback attenuation function. The advantage is that the response speed reflects the reaction time of the generator set to the abnormal event of the grid frequency change, and the frequency callback time reflects the time required for the generator set to stabilize the grid frequency through the primary frequency modulation. The sum of the two is the total time required for the generator set to stabilize the grid frequency through the primary frequency modulation when the grid frequency changes abnormally. After long-term use, the signal transmission and control accuracy of the generator set will decrease, and regular maintenance is required. By analyzing the response speed and the frequency callback time, the performance of the primary frequency modulation of the generator set can be predicted, so as to find the time node for maintenance, improve the accuracy of the primary frequency modulation test result and reduce the cost of maintaining the primary frequency modulation system. BRIEF DESCRIPTION OF THE DRAWINGS
[0053] Figure 1 is a functional block diagram of the system of the present invention;
[0054] Figure 2 is the response prediction coordinate system of the present invention;
[0055] Figure 3 The callback prediction coordinate system of the present invention;
[0056] Figure 4 The figure is a flow chart of the steps of the method of the present invention. DETAILED DESCRIPTION
[0057] The following will be combined with the drawings in the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.
[0058] Example 1, please refer to Figure 1 As shown, the present application provides an active primary frequency modulation test system for a new energy generator set, including a deviation setting module, an active primary frequency modulation module, a deviation introduction module, a frequency modulation data recording module and a frequency modulation data analysis module; the deviation setting module, the active primary frequency modulation module, the deviation introduction module and the frequency modulation data recording module are respectively data-connected to the frequency modulation data analysis module;
[0059] The deviation setting module is used to obtain the frequency change threshold and set the frequency deviation according to the frequency change threshold;
[0060] The deviation setting module is configured with a deviation setting strategy, which includes: obtaining a rated frequency change threshold of the power grid; multiplying the frequency change threshold by a first increase threshold to obtain a frequency deviation;
[0061] In practical applications, the frequency change threshold varies based on the region or power grid system. In this embodiment, the frequency change threshold is 0.2 Hz. The first increase threshold is set only to make the frequency deviation greater than the frequency change threshold and is a fixed value, which has no practical significance. However, the calculated frequency deviation is usually not greater than 0.4 Hz. In this embodiment, the first increase threshold is set to 1.1, and the calculated frequency deviation is 0.22 Hz.
[0062] The active primary frequency modulation module is used to start the new energy generator set, so that it starts to generate electricity and connects to the power grid, and adjusts the generator set to the active primary frequency modulation mode; the active primary frequency modulation mode is a control mode provided by the new energy power station, which is used to test the response of the new energy generator set to the primary frequency modulation of the power grid;
[0063] In practical applications, the generator sets of new energy power stations are all equipped with a primary frequency regulation system, which usually supports active primary frequency regulation testing, that is, active primary frequency regulation mode.
[0064] The deviation introduction module is used to record the initial frequency and introduce the frequency deviation by adjusting the output power of the generator set;
[0065] The deviation introduction module is configured with a deviation introduction strategy, which includes: recording the current grid frequency and marking it as the initial frequency;
[0066] Calculate 50Hz minus the initial frequency, and mark the result as the deviation direction. If the deviation direction is negative, the output frequency increase signal is output; if the deviation direction is non-negative, the output frequency decrease signal is output;
[0067] If the output frequency increases, calculate FD-|DD| and mark the result as the deviation difference, where FD is the frequency deviation and DD is the deviation direction;
[0068] If the output frequency decreases, -(FD-DD) is calculated and the result is marked as the deviation difference;
[0069] The deviation difference is not zero. If the deviation difference is a positive number, the output power of the generator set is adjusted so that the grid frequency increases by the deviation difference; if the deviation difference is a negative number, the output power of the generator set is adjusted so that the grid frequency decreases by the absolute value of the deviation difference;
[0070] In practical applications, since the power system must maintain stability at around 50 Hz, it is necessary to calculate the deviation based on 50 Hz. The initial frequency is 49.9 Hz, and the deviation direction is calculated to be 0.1 Hz. The deviation direction is a non-negative number, and the output frequency reduction signal is obtained. The deviation difference is calculated to be -(0.22-0.1)=-0.12 Hz. If the deviation difference is a negative number, the output power of the generator set is adjusted to reduce the grid frequency by 0.12 Hz.
[0071] The frequency modulation data recording module is used to record the response speed of the new energy generator set to the frequency deviation, and also to record the frequency change of the system after the frequency deviation is introduced;
[0072] The FM data recording module is configured with a FM data recording strategy, which includes:
[0073] Monitor the grid frequency in real time, mark it as the real-time frequency, calculate the real-time frequency minus 50Hz, and mark the absolute value of the calculation result as the real-time change frequency;
[0074] The real-time change frequency is compared with the frequency change threshold. If the real-time change frequency is less than or equal to the frequency change threshold, a deviation safety signal is output; if the real-time change frequency is greater than the frequency change threshold, a deviation unsafe signal is output;
[0075] If the output deviation is an unsafe signal, the timing starts, and at the same time, it is monitored whether the generator set performs a frequency adjustment. If not, the timing continues. If yes, the timing stops and the timing result is marked as the response speed;
[0076] In actual application, the real-time frequency is monitored to be 49.78Hz, and the real-time change frequency is calculated to be |49.78Hz-50Hz|=0.22Hz. By comparison, it is found that the real-time change frequency is greater than the frequency change threshold, and an unsafe deviation signal is output to start timing. When the generator set of the new energy power station is monitored to perform a frequency adjustment, the timing is stopped, and the response speed is 1.3s.
[0077] When the generator set performs a frequency regulation, the timing starts again;
[0078] Monitor the difference between the grid frequency and 50Hz in real time, mark it as the real-time difference, compare the real-time difference with the frequency change threshold, if the real-time difference is less than or equal to the frequency change threshold, output a frequency stability signal; if the real-time difference is greater than the frequency change threshold, output a frequency instability signal;
[0079] If the output frequency is unstable, the timing will continue; if the output frequency is stable, the timing will stop and the timing result will be marked as the frequency callback duration;
[0080] In actual applications, the generator set starts timing when it starts to perform a frequency modulation. The real-time monitoring shows that the grid frequency is 49.82Hz. The real-time difference |49.82Hz-50Hz| is calculated to be 0.18Hz. By comparison, the real-time difference is less than the frequency change threshold, and the frequency stable signal is output. The timing is stopped, and the frequency callback duration is 4.9s.
[0081] The frequency modulation data analysis module is used to analyze the recorded data and observation results to predict the maintenance time of the primary frequency modulation system of the new energy generator set; the frequency modulation data analysis module includes a response attenuation analysis unit, a callback attenuation analysis unit and a maintenance prediction analysis unit;
[0082] The response attenuation analysis unit is used to analyze the response speed of the generator set and calculate the response attenuation function of the response speed;
[0083] The response decay analysis unit is configured with a response decay analysis strategy, which includes:
[0084] At the beginning of the establishment of the generator set, the power grid is actively frequency-regulated once through the generator set, and the number of frequency-regulated times of the generator set is recorded and marked as the frequency-regulated times. The active frequency-regulated times are counted in the frequency-regulated times.
[0085] In practical applications, at the beginning of the establishment of the generator set, the power grid is actively frequency-regulated once through the generator set, so that the frequency regulation when the frequency regulation number is 1 is the active frequency regulation, and the number of times the generator set performs the frequency regulation is recorded. When the second active frequency regulation test is performed, the recorded frequency regulation number is 50, and the frequency regulation number of the second active frequency regulation is 51. When analyzing the response attenuation function and the callback attenuation function, only the data of the active frequency regulation is used, which can ensure that the frequency deviation of the power grid is a fixed value during the primary frequency regulation, making the response attenuation function and the callback attenuation function more accurate;
[0086] See also Figure 2 As shown, a plane rectangular coordinate system is established with the frequency modulation number as the X-axis and the response speed as the Y-axis, which is named the response prediction coordinate system. The frequency modulation number of the active primary frequency modulation and the response speed of the active primary frequency modulation are entered into the response prediction coordinate system;
[0087] Linear regression is performed on the response prediction coordinate system to obtain the response attenuation function. The format of the response attenuation function is Y1=a×X+b, where Y1 is the response speed, X is the frequency modulation number, and a and b are fixed constants of the response attenuation function;
[0088] In practical applications, the response prediction coordinate system is constructed as Figure 2 As shown, the response attenuation function obtained by linear regression is, Y1 = 0.0064 × X + 1.2736, where a = 0.0064, b = 1.2736;
[0089] The callback attenuation analysis unit is used to analyze the frequency callback duration of the generator set and calculate the callback attenuation function of the frequency callback duration;
[0090] The callback attenuation analysis unit is configured with a callback attenuation analysis strategy, which includes:
[0091] See also Figure 3 As shown, a plane rectangular coordinate system is established with the frequency modulation times as the horizontal axis and the frequency callback duration as the vertical axis, which is named as the callback prediction coordinate system. The frequency modulation times of the active frequency modulation and the frequency callback duration of the active frequency modulation are entered into the callback prediction coordinate system.
[0092] Perform linear regression on the callback prediction coordinate system to obtain the callback initial function. The format of the callback initial function is Y2=c×X+d, where Y2 is the frequency callback duration, and c and d are fixed constants of the callback initial function.
[0093] Find the frequency callback duration corresponding to the maximum value of the difference between the frequency callback duration in a frequency modulation that has been executed and the frequency of the initial callback function at the same frequency, mark it as the maximum frequency callback duration, mark the frequency modulation number corresponding to the maximum frequency callback duration as the maximum change value, let Y2 = maximum frequency callback duration, X = maximum change value, c remains unchanged, substitute Y2, X and c into the initial callback function, update d, and get h;
[0094] The function Y2=c×X+h is named as callback decay function;
[0095] In practical applications, the callback prediction coordinate system is constructed as follows Figure 3 As shown, the callback initial function obtained by linear regression is Y2=0.013×X+4.847, where c=0.013 and d=4.847. The maximum value of the difference between the frequency callback duration in a frequency modulation that has been executed and the callback initial function at the same frequency number is found, including active frequency modulation and passive frequency modulation. Since the callback initial function reflects the increase in the frequency callback duration as the frequency modulation number increases at the same frequency deviation, and the frequency deviation in this embodiment is small and cannot cover all actual situations, it is necessary to find the difference between the frequency callback duration in a frequency modulation that has been executed and the callback initial function at the same frequency number to find the limit value in the actual situation. For example, in the historical records, the frequency modulation When the frequency is 52, the frequency callback duration is 7.8, which is much greater than the frequency callback duration of 5.5 for active frequency modulation when the frequency is 51. This is usually caused by the frequency deviation of 52 times being greater than the frequency deviation of 51 times. Substituting X=52 into Y2=0.013×X+4.847, the calculation result is 5.523. Calculating 7.8-5.523, the difference is 2.277. Calculate the difference corresponding to each frequency number, find the maximum value, and get the maximum frequency callback duration of 10.52. The corresponding frequency modulation number is 125. Then let Y2=10.52, substitute 10.52=0.013×125+h, solve for h to get 8.895, and finally get the callback attenuation function of Y2=0.013×X+8.895.
[0096] The maintenance prediction analysis unit is used to predict the maintenance time of the primary frequency regulation system of the new energy generator set based on the response attenuation function and the callback attenuation function;
[0097] The maintenance prediction analysis unit is configured with a maintenance prediction analysis strategy, which includes:
[0098] Get the maximum processing time of a frequency modulation. The maximum processing time is the maximum value allowed by the sum of the response time and the frequency callback time. The symbol T represents the maximum processing time.
[0099] Let Y1+Y2=T, that is, a×X+b+c×X+h=T, solve for X, and name the solved X as the maximum frequency modulation number;
[0100] Set a first error ratio, reduce the maximum frequency modulation times by the first error ratio, and obtain the frequency modulation maintenance times. The frequency modulation maintenance times are when the frequency modulation times reach the frequency modulation maintenance times, and the primary frequency modulation system of the generator set needs to be maintained;
[0101] In practical applications, the maximum processing time is the maximum limit allowed by the time required for a frequency modulation to stabilize the frequency deviation of the power grid. The maximum processing time T is obtained to be 15s, a×X+b+c×X+h=T is substituted into the value of 0.0064×X+1.2736+0.013×X+8.895=15, and X is solved to be 249. The calculation result retains the integer digit instead of rounding, and the maximum number of frequency modulations is 249. The first error ratio is set to prevent sudden situations from causing excessive frequency deviations, which further causes the primary frequency modulation to be unable to stabilize the power grid frequency in time; in this embodiment, the first error ratio is set to 5%, and the maximum number of frequency modulations is reduced by the first error ratio, and the number of frequency modulation maintenance is 95%×249=236. The calculation result retains the integer digit instead of rounding. When the number of frequency modulations reaches 236, the primary frequency modulation system of the generator set is maintained, the number of frequency modulations is cleared and accumulated again.
[0102] Example 2, please refer to Figure 4 As shown, the present application provides a method for testing active primary frequency regulation of a new energy generator set, comprising the following steps:
[0103] Step S1, obtaining a frequency change threshold, and setting a frequency deviation according to the frequency change threshold; Step S1 includes the following sub-steps:
[0104] Step S101, obtaining a rated frequency change threshold of the power grid;
[0105] Step S102, multiplying the frequency change threshold by the first increase threshold to obtain a frequency deviation;
[0106] Step S2, start the new energy generator set, make it start generating electricity and connect to the power grid, and adjust the generator set to the active primary frequency modulation mode; the active primary frequency modulation mode is a control mode provided by the new energy power station, which is used to test the response of the new energy generator set to the primary frequency modulation of the power grid;
[0107] Step S3, recording the initial frequency, and introducing the frequency deviation by adjusting the output power of the generator set; Step S3 includes the following sub-steps:
[0108] Step S301, record the current grid frequency and mark it as the initial frequency;
[0109] Step S302, calculate 50 Hz minus the initial frequency, mark the calculation result as the deviation direction, if the deviation direction is a negative number, output a frequency increase signal; if the deviation direction is a non-negative number, output a frequency decrease signal;
[0110] Step S303, if the frequency increase signal is output, FD-|DD| is calculated, and the calculation result is marked as the deviation difference, where FD is the frequency deviation and DD is the deviation direction;
[0111] Step S304, if the frequency reduction signal is output, then -(FD-DD) is calculated, and the calculation result is marked as the deviation difference;
[0112] Step S305, if the deviation difference is not zero, if the deviation difference is positive, then adjust the output power of the generator set so that the grid frequency increases by the deviation difference; if the deviation difference is negative, then adjust the output power of the generator set so that the grid frequency decreases by the absolute value of the deviation difference;
[0113] Step S4, recording the response speed of the new energy generator set to the frequency deviation, and recording the frequency change of the system after the frequency deviation is introduced; Step S4 includes the following sub-steps:
[0114] Step S401, real-time monitoring of the grid frequency, marking it as the real-time frequency, calculating the real-time frequency minus 50 Hz, and marking the absolute value of the calculation result as the real-time change frequency;
[0115] Step S402, comparing the real-time change frequency with the frequency change threshold, if the real-time change frequency is less than or equal to the frequency change threshold, outputting a deviation safety signal; if the real-time change frequency is greater than the frequency change threshold, outputting a deviation unsafe signal;
[0116] Step S403, if the output deviation is an unsafe signal, start timing, and monitor whether the generator set performs a frequency modulation. If not, continue timing, and if yes, stop timing, and mark the timing result as the response speed;
[0117] Step S404, when the generator set performs a frequency modulation, the timing starts again;
[0118] Step S405, real-time monitoring of the difference between the grid frequency and 50 Hz, marked as the real-time difference, the real-time difference is compared with the frequency change threshold, if the real-time difference is less than or equal to the frequency change threshold, a frequency stability signal is output; if the real-time difference is greater than the frequency change threshold, a frequency instability signal is output;
[0119] Step S406, if the frequency is unstable, the timing continues; if the frequency is stable, the timing stops and the timing result is marked as the frequency callback duration;
[0120] Step S5, analyzing the recorded data and observation results to predict the maintenance time of the primary frequency regulation system of the new energy generator set; Step S5 includes the following sub-steps:
[0121] Step S501, analyzing the response speed of the generator set and calculating the response attenuation function of the response speed;
[0122] Step S501 includes the following sub-steps:
[0123] Step S5011, when the generator set is initially established, the power grid is actively frequency-regulated once by the generator set, and the number of frequency-regulated times of the generator set is recorded, marked as the frequency-regulated times, and the active frequency-regulated times are counted in the frequency-regulated times;
[0124] Step S5012, establishing a plane rectangular coordinate system with the frequency modulation number as the X-axis and the response speed as the Y-axis, named the response prediction coordinate system, and entering the frequency modulation number of the active primary frequency modulation and the response speed of the active primary frequency modulation into the response prediction coordinate system;
[0125] Step S5013, performing linear regression on the response prediction coordinate system to obtain a response attenuation function, the format of the response attenuation function is Y1=a×X+b, where Y1 is the response speed, X is the frequency modulation number, and a and b are fixed constants of the response attenuation function;
[0126] Step S502, analyzing the frequency callback duration of the generator set and calculating a callback attenuation function of the frequency callback duration;
[0127] Step S502 includes the following sub-steps:
[0128] Step S5021, establishing a plane rectangular coordinate system with the frequency modulation times as the horizontal axis and the frequency callback duration as the vertical axis, named as the callback prediction coordinate system, and entering the frequency modulation times of the active frequency modulation and the frequency callback duration of the active frequency modulation into the callback prediction coordinate system;
[0129] Step S5022, performing linear regression on the callback prediction coordinate system to obtain a callback initial function, the format of which is Y2=c×X+d, where Y2 is the frequency callback duration, and c and d are both fixed constants of the callback initial function;
[0130] Step S5023, find the frequency callback duration corresponding to the maximum value of the difference between the frequency callback duration in a frequency modulation that has been executed and the frequency of the initial callback function at the same frequency number, mark it as the maximum frequency callback duration, mark the frequency modulation number corresponding to the maximum frequency callback duration as the maximum change value, let Y2 = maximum frequency callback duration, X = maximum change value, c remains unchanged, substitute Y2, X and c into the initial callback function, update d, and obtain h;
[0131] Step S5024, naming the function Y2=c×X+h as a callback attenuation function;
[0132] Step S503, predicting the maintenance time of the primary frequency regulation system of the new energy generator set based on the response attenuation function and the callback attenuation function;
[0133] Step S503 includes the following sub-steps:
[0134] Step S5031, obtaining a maximum processing time of a frequency modulation, the maximum processing time being the maximum value allowed by the sum of the response time and the frequency callback time, and the maximum processing time is represented by the symbol T;
[0135] Step S5032, let Y1+Y2=T, that is, a×X+b+c×X+h=T, solve for X, and name the solved X as the maximum frequency modulation number;
[0136] Step S5033, setting a first error ratio, reducing the maximum frequency modulation times by the first error ratio, and obtaining the frequency modulation maintenance times. The frequency modulation maintenance times are when the frequency modulation times reach the frequency modulation maintenance times, and the primary frequency modulation system of the generator set needs to be maintained.
[0137] Embodiment 3, the present application provides an electronic device, which may include: a processor, a communication interface, a memory and a communication bus, wherein the processor, the communication interface and the memory communicate with each other through the communication bus. The memory stores computer-readable instructions, and the processor can call the instructions in the memory. When the computer-readable instructions are executed by the processor, the steps in a method for testing the active primary frequency regulation of a new energy generator set are executed to achieve the following functions: obtaining a frequency change threshold, setting a frequency deviation according to the frequency change threshold; adjusting the generator set to an active primary frequency regulation mode; recording the initial frequency, and introducing a frequency deviation by adjusting the output power of the generator set; recording the response speed of the new energy generator set to the frequency deviation, and recording the frequency change of the system after the frequency deviation is introduced; analyzing the recorded data and observation results to predict the maintenance time of the primary frequency regulation system of the new energy generator set.
[0138] In addition, the logic instructions in the above-mentioned memory can be implemented in the form of software functional units and can be stored in a computer-readable storage medium when sold or used as an independent product. Based on this understanding, the technical solution of the present application can be essentially or partly embodied in the form of a software product that contributes to the prior art, and the computer software product is stored in a storage medium, including several instructions to enable a computer device (which can be a personal computer, a server, or a network device, etc.) to perform all or part of the steps of the method described in each embodiment of the present application. The aforementioned storage medium includes: various media that can store program codes, such as a USB flash drive, a mobile hard disk, a read-only memory (ROM), a random access memory (RAM), a disk or an optical disk.
[0139] Embodiment 4, the present application also provides a computer-readable storage medium, the present application provides a storage medium, on which a computer program is stored. When the computer program is executed by a processor, the steps in the above-mentioned active primary frequency regulation test method of a new energy generator set are executed to achieve the following functions: obtain a frequency change threshold, and set a frequency deviation according to the frequency change threshold; adjust the generator set to an active primary frequency regulation mode; record the initial frequency, and introduce a frequency deviation by adjusting the output power of the generator set; record the response speed of the new energy generator set to the frequency deviation, and at the same time record the frequency change of the system after the frequency deviation is introduced; analyze the recorded data and observation results to predict the maintenance time of the primary frequency regulation system of the new energy generator set.
[0140] Through the description of the above implementation methods, the embodiments of the present invention can be provided as methods, systems or computer program products. Based on such an understanding, the above technical solutions can be essentially or partly contributed to the prior art in the form of software products, which can be stored in a computer-readable storage medium, such as ROM / RAM, a magnetic disk, an optical disk, etc., and include several instructions for enabling a computer device (which can be a personal computer, a server, or a network device, etc.) to execute the methods described in each embodiment or some parts of the embodiments.
[0141] In the embodiments provided in the present application, it should be understood that the disclosed system or method can be implemented in other ways. The embodiments described above are merely schematic. For example, the division of modules or units is only a logical function division. There may be other division methods in actual implementation. For example, multiple modules or units can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some communication interfaces, and the indirect coupling or communication connection of systems, modules and units can be electrical, mechanical or other forms.
[0142] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present application, rather than to limit it. Although the present application has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that they can still modify the technical solutions described in the aforementioned embodiments, or make equivalent replacements for some of the technical features therein. However, these 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 application.
Claims
1. A method for testing active primary frequency regulation of a new energy generator set, characterized in that: The steps include: Obtain a frequency change threshold, and set a frequency deviation according to the frequency change threshold; Start the new energy generator set, make it start generating electricity and connect to the power grid, and adjust the generator set to the active primary frequency regulation mode; Record the initial frequency and introduce frequency deviation by adjusting the output power of the generator set; Recording the initial frequency and introducing the frequency deviation by adjusting the output power of the generator set includes the following sub-steps: Record the current grid frequency and mark it as the initial frequency; Calculate 50Hz minus the initial frequency, and mark the result as the deviation direction. If the deviation direction is negative, the output frequency increase signal is output; if the deviation direction is non-negative, the output frequency decrease signal is output; If the output frequency increases, calculate FD-|DD| and mark the result as the deviation difference, where FD is the frequency deviation and DD is the deviation direction; If the output frequency decreases, -(FD-DD) is calculated and the result is marked as the deviation difference; The deviation difference is not zero. If the deviation difference is a positive number, the output power of the generator set is adjusted so that the grid frequency increases by the deviation difference; if the deviation difference is a negative number, the output power of the generator set is adjusted so that the grid frequency decreases by the absolute value of the deviation difference; Record the response speed of the new energy generator set to the frequency deviation, and record the frequency change of the system after the frequency deviation is introduced; Based on the analysis of recorded data and observations, the maintenance time of the primary frequency regulation system of the renewable energy generator set is predicted.
2. The method for testing active primary frequency modulation of a new energy generator set according to claim 1 is characterized in that: Obtaining the frequency change threshold and setting the frequency deviation according to the frequency change threshold includes the following sub-steps: Obtain the rated frequency change threshold of the power grid; The frequency change threshold is multiplied by the first amplification threshold to obtain the frequency deviation.
3. A new energy generator set active primary frequency modulation test method according to claim 2, characterized in that: Start the new energy generator set to start generating electricity and connect to the power grid, and adjust the generator set to the active primary frequency modulation mode. The active primary frequency modulation mode is a control mode provided by the new energy power station, which is used to test the response of the new energy generator set to the primary frequency modulation of the power grid.
4. A new energy generator set active primary frequency modulation test method according to claim 3, characterized in that: Recording the response speed of the new energy generator set to the frequency deviation and recording the frequency change of the system after the frequency deviation is introduced includes the following sub-steps: Monitor the grid frequency in real time, mark it as the real-time frequency, calculate the real-time frequency minus 50Hz, and mark the absolute value of the calculation result as the real-time change frequency; The real-time change frequency is compared with the frequency change threshold. If the real-time change frequency is less than or equal to the frequency change threshold, a deviation safety signal is output; if the real-time change frequency is greater than the frequency change threshold, a deviation unsafe signal is output; If the output deviation is an unsafe signal, the timing starts, and at the same time, it is monitored whether the generator set performs a frequency adjustment. If not, the timing continues. If yes, the timing stops and the timing result is marked as the response speed; When the generator set performs a frequency regulation, the timing starts again; Monitor the difference between the grid frequency and 50Hz in real time, mark it as the real-time difference, compare the real-time difference with the frequency change threshold, if the real-time difference is less than or equal to the frequency change threshold, output a frequency stability signal; if the real-time difference is greater than the frequency change threshold, output a frequency instability signal; If the output frequency is unstable, the timing will continue; if the output frequency is stable, the timing will stop and the timing result will be marked as the frequency callback duration.
5. The method for testing active primary frequency modulation of a new energy generator set according to claim 4 is characterized in that: Based on the analysis of the recorded data and observations, the maintenance time of the primary frequency regulation system of the renewable energy generator set is predicted, which includes the following sub-steps: Analyze the response speed of the generator set and calculate the response attenuation function of the response speed; Analyze the frequency callback duration of the generator set and calculate the callback attenuation function of the frequency callback duration; Based on the response attenuation function and the callback attenuation function, the maintenance time of the primary frequency regulation system of the renewable energy generator set is predicted.
6. A new energy generator set active primary frequency modulation test method according to claim 5, characterized in that: Analyzing the response speed of the generator set and calculating the response attenuation function of the response speed include the following sub-steps: At the beginning of the establishment of the generator set, the power grid is actively frequency-regulated once by the generator set, and the number of frequency-regulated times of the generator set is recorded and marked as the frequency-regulated times, and the active frequency-regulated times are counted in the frequency-regulated times; A plane rectangular coordinate system is established with the frequency modulation number as the X-axis and the response speed as the Y-axis, which is named the response prediction coordinate system. The frequency modulation number of the active primary frequency modulation and the response speed of the active primary frequency modulation are entered into the response prediction coordinate system. Linear regression is performed on the response prediction coordinate system to obtain a response attenuation function, the format of which is Y1=a×X+b, where Y1 is the response speed, X is the frequency modulation number, and a and b are fixed constants of the response attenuation function.
7. A method for testing active primary frequency modulation of a new energy generator set according to claim 6, characterized in that: The frequency callback duration of the generator set is analyzed, and the callback attenuation function for calculating the frequency callback duration includes the following sub-steps: A plane rectangular coordinate system is established with the frequency modulation times as the horizontal axis and the frequency callback duration as the vertical axis, which is named the callback prediction coordinate system. The frequency modulation times of the active frequency modulation and the frequency callback duration of the active frequency modulation are entered into the callback prediction coordinate system. Perform linear regression on the callback prediction coordinate system to obtain the callback initial function, the format of which is Y2=c×X+d, where Y2 is the frequency callback duration, and c and d are both fixed constants of the callback initial function; Find the frequency callback duration corresponding to the maximum value of the difference between the frequency callback duration in a frequency modulation that has been executed and the frequency of the initial callback function at the same frequency, mark it as the maximum frequency callback duration, mark the frequency modulation number corresponding to the maximum frequency callback duration as the maximum change value, let Y2 = maximum frequency callback duration, X = maximum change value, c remains unchanged, substitute Y2, X and c into the initial callback function, update d, and get h; The function Y2=c×X+h is named as callback decay function.
8. The method for testing active primary frequency modulation of a new energy generator set according to claim 7 is characterized in that: Based on the response attenuation function and the callback attenuation function, the maintenance time of the primary frequency regulation system of the new energy generator set is predicted, which includes the following sub-steps: Obtain a maximum processing time of a frequency modulation, the maximum processing time being the maximum value allowed by the sum of the response time and the frequency callback time, and the maximum processing time is represented by the symbol T; Let Y1+Y2=T, that is, a×X+b+c×X+h=T, solve for X, and name the solved X as the maximum frequency modulation number; A first error ratio is set, and the maximum frequency modulation times are reduced by the first error ratio to obtain the frequency modulation maintenance times. The frequency modulation maintenance times are when the frequency modulation times reach the frequency modulation maintenance times, and the primary frequency modulation system of the generator set needs to be maintained.
9. A new energy generator set active primary frequency modulation test system, used to implement a new energy generator set active primary frequency modulation test method according to any one of claims 1 to 8, characterized in that: It includes a deviation setting module, an active primary frequency modulation module, a deviation introduction module, a frequency modulation data recording module and a frequency modulation data analysis module; the deviation setting module, the active primary frequency modulation module, the deviation introduction module and the frequency modulation data recording module are respectively connected to the frequency modulation data analysis module; The deviation setting module is used to obtain a frequency change threshold and set a frequency deviation according to the frequency change threshold; The active primary frequency modulation module is used to start the new energy generator set, so that it starts to generate electricity and connects to the power grid, and adjusts the generator set to the active primary frequency modulation mode; The deviation introduction module is used to record the initial frequency and introduce the frequency deviation by adjusting the output power of the generator set; The frequency modulation data recording module is used to record the response speed of the new energy generator set to the frequency deviation, and also to record the frequency change of the system after the frequency deviation is introduced; The frequency regulation data analysis module is used to analyze the recorded data and observation results to predict the maintenance time of the primary frequency regulation system of the new energy generator set.
Citation Information
Patent Citations
Generator set primary frequency modulation compensation capability dynamic prediction method
CN112383069A
Unit primary frequency modulation online test method based on wide-area measurement information
CN107976592A
Fault intelligent monitoring and control system of electric power communication line
CN118249518A