Control method and apparatus for hydropower output regulation, electronic device, and storage medium

By identifying the induced oscillation period and performing phase compensation, the negative impact of hydropower output regulation on the safety and stability of the power system was resolved, and the improvement of hydropower output regulation was achieved.

WO2026000704A1PCT designated stage Publication Date: 2026-01-02HUANENG LANCANG RIVER HYDROPOWER CO LTD
View PDF 6 Cites 0 Cited by

Patent Information

Application Number
PCT/CN2024/124631
Authority / Receiving Office
WO · WO
Patent Type
Applications
Current Assignee / Owner
Priority Date
2024-06-28
Filing Date
2024-10-14
Publication Date
2026-01-02

AI Technical Summary

Technical Problem

After induced oscillations occur, the regulation of hydropower output has a negative impact on the safety and stability of the power system, and existing technologies are unable to effectively control hydropower output to improve this problem.

Method used

By acquiring the target and actual hydropower output values ​​for the current time period, the induced oscillation period is identified, and phase compensation is performed on the hydropower output regulation based on the target phase compensation value, including determining the target phase compensation value and monitoring and adjusting the phase compensation effect.

Benefits of technology

It improved the efficiency of hydropower output regulation, ensured the safety and stability of the power system, and reduced the impact of induced oscillations on the system.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN2024124631_02012026_PF_FP_ABST
    Figure CN2024124631_02012026_PF_FP_ABST
Patent Text Reader

Abstract

A control method and apparatus for hydropower output regulation, an electronic device, and a storage medium. The method comprises: acquiring a hydropower output target value and an actual hydropower output value within a current time period (101); on the basis of the hydropower output target value and the actual hydropower output value within the current time period, determining, within the current time period, a first time range during which induced oscillation occurs (102); determining a target phase compensation value on the basis of the hydropower output target value and the actual hydropower output value within the first time range (103); and performing phase compensation on hydropower output regulation on the basis of the target phase compensation value (104). In this way, when induced oscillation occurs during hydropower output regulation, the effect of hydropower output regulation is improved by means of phase compensation, thereby ensuring the safety and stability of an electric power system.
Need to check novelty before this filing date? Find Prior Art

Description

Hydropower output regulation control method and device, electronic device, and storage medium

[0001] Cross-reference to Related Applications

[0002] The present application claims priority to the Chinese patent application No. 202410856500.9, filed on June 28, 2024, and entitled "Hydropower output regulation control method and device", the whole content of which is incorporated herein by reference. TECHNICAL FIELD

[0003] The present application relates to the technical field of power control, and in particular to a hydropower output regulation control method and device, an electronic device, and a storage medium. BACKGROUND

[0004] According to the generation mechanism, the hydropower output ultra-low frequency oscillation can be divided into self-excited oscillation and induced oscillation. Among them, the induced oscillation is the oscillation of the same period or approximate period as the external oscillation induced by the adjustment mechanism. For the power system, under the action of frequency modulation delay factor, the influence of induced oscillation often superimposes and amplifies the existing influence or existing situation of external oscillation, affecting the safety and stability of the power system.

[0005] Therefore, after the occurrence of induced oscillation, how to control the hydropower output regulation to improve the effect of hydropower output regulation has become a problem to be solved at present.

[0006] SUMMARY

[0007] In order to solve the above problems, the present application provides a hydropower output regulation control method and device, an electronic device, and a storage medium.

[0008] According to a first aspect of the present application, a hydropower output regulation control method is provided, comprising:

[0009] obtaining a hydropower output target value and a hydropower output actual value in a current period;

[0010] determining a first period in which induced oscillation exists in the current period according to the hydropower output target value and the hydropower output actual value in the current period;

[0011] determining a target phase compensation value according to the hydropower output target value and the hydropower output actual value in the first period;

[0012] phase compensating the hydropower output regulation based on the target phase compensation value.

[0013] In some embodiments, determining the first period in which induced oscillation exists in the current period according to the hydropower output target value and the hydropower output actual value in the current period comprises:

[0014] divide the current time period into n continuous second time periods according to the preset segment duration; wherein n is a positive integer;

[0015] determine a change value of the hydropower output target value and a change value of the hydropower output actual value in the i th second time period according to the hydropower output target value and the hydropower output actual value in the i th second time period; wherein i is a positive integer less than or equal to n, the i th second time period is located after the i+1 th second time period in time, and the i th second time period and the i+1 th second time period are continuous;

[0016] if the change value of the hydropower output target value and the change value of the hydropower output actual value in the i th second time period are greater than or equal to a preset output change threshold, continue to determine the change value of the hydropower output target value and the change value of the hydropower output actual value in the i+1 th second time period until i=n, and determine the current time as an oscillation time period;

[0017] if the change value of the hydropower output target value and the change value of the hydropower output actual value in the i th second time period are less than the output change threshold, determine i-1 second time periods after the i th second time period in the current time period as oscillation time periods;

[0018] determine whether the hydropower output adjustment in the current time period exists induced oscillation according to the length of the oscillation time period;

[0019] if the hydropower output adjustment in the current time period exists induced oscillation, determine the oscillation time period as the first time period.

[0020] In some embodiments, determining the target phase compensation value according to the hydropower output target value and the hydropower output actual value in the first time period comprises:

[0021] determining a preset plurality of first compensation values each corresponding to a compensation feasibility estimation value according to the hydropower output target value and the hydropower output actual value in the first time period;

[0022] determining the target phase compensation value from the plurality of first compensation values according to the compensation feasibility estimation value.

[0023] In some embodiments, determining a preset plurality of first compensation values each corresponding to a compensation feasibility estimation value according to the hydropower output target value and the hydropower output actual value in the first time period comprises:

[0024] determining a first output adjustment difference between the hydropower output actual value in the first time period and the hydropower output target value compensated by each first compensation value;

[0025] determining a first self fluctuation value of the hydropower output target value in the first time period;

[0026] According to the first output adjustment difference value and the first self fluctuation value corresponding to each first compensation value, a compensation feasibility estimation value corresponding to each first compensation value is determined.

[0027] As an implementation manner, the compensation feasibility estimation value corresponding to each of the preset plurality of first compensation values is determined according to the hydropower output target value and the hydropower output actual value in the first time period, and includes:

[0028] According to the hydropower output target value and the hydropower output actual value in the first time period, an output fluctuation index value in the current time period is determined.

[0029] If the output fluctuation index value is greater than a preset threshold value, the compensation feasibility estimation value corresponding to each of the preset plurality of first compensation values is determined according to the hydropower output target value and the hydropower output actual value in the first time period.

[0030] In some embodiments, the method further includes:

[0031] The compensation effect of the phase compensation is monitored.

[0032] As an implementation manner, the compensation effect of the phase compensation is monitored, and includes:

[0033] The hydropower output target value and the hydropower output actual value after the phase compensation are obtained.

[0034] According to the hydropower output target value and the hydropower output actual value after the phase compensation, it is determined whether the hydropower output adjustment after the phase compensation still has induced oscillation.

[0035] If the hydropower output adjustment after the phase compensation does not have induced oscillation, the phase compensation of the hydropower output adjustment is terminated.

[0036] As another implementation manner, the method further includes:

[0037] If the hydropower output adjustment still has induced oscillation after the phase compensation for a preset time period, a compensation adjustment value is determined according to the hydropower output target value and the hydropower output actual value after the phase compensation.

[0038] The phase compensation of the hydropower output adjustment is adjusted according to the compensation adjustment value.

[0039] In some embodiments, the compensation adjustment value is determined according to the hydropower output target value and the hydropower output actual value after the phase compensation, and includes:

[0040] According to the hydropower output target value and the hydropower output actual value after the phase compensation, a phase compensation effect value is determined.

[0041] If the phase compensation effect value meets the first preset condition, a compensation adjustment value is determined according to the phase-compensated hydropower output target value and the hydropower output actual value.

[0042] As an example, the phase compensation effect value is determined according to the phase-compensated hydropower output target value and the hydropower output actual value, including:

[0043] A second output adjustment difference value after phase compensation is determined according to the phase-compensated hydropower output target value and the hydropower output actual value.

[0044] A second self fluctuation value of the phase-compensated hydropower output target value is determined.

[0045] The phase compensation effect value is determined according to the second output adjustment difference value and the second self fluctuation value.

[0046] In some embodiments, the compensation adjustment value is determined according to the phase-compensated hydropower output target value and the hydropower output actual value, including:

[0047] A first compensation adjustment feasibility estimation value corresponding to each compensation reduction value and a first compensation adjustment feasibility estimation value corresponding to each compensation increase value are determined according to the phase-compensated hydropower output target value and the hydropower output actual value.

[0048] A target compensation reduction value and a first compensation adjustment feasibility estimation value corresponding thereto are determined according to the first compensation adjustment feasibility estimation value corresponding to each compensation reduction value.

[0049] A target compensation increase value and a second phase compensation effect estimation value corresponding thereto are determined according to the second phase compensation effect estimation value corresponding to each compensation increase value.

[0050] The compensation adjustment value is determined according to the target compensation reduction value and the first phase compensation effect estimation value corresponding thereto, and the target compensation increase value and the second phase compensation effect estimation value corresponding thereto.

[0051] As a possible implementation, the method further includes:

[0052] The compensation effect of the adjusted phase compensation is monitored.

[0053] According to a second aspect of the present application, a control device for hydropower output adjustment is provided, including:

[0054] A first acquisition module is configured to acquire a hydropower output target value and a hydropower output actual value in a current period.

[0055] A first determination module is configured to determine a first period in which induced oscillation exists in the current period according to the hydropower output target value and the hydropower output actual value in the current period.

[0056] a second determining module, configured to determine a target phase compensation value according to the water and electricity output target value and the water and electricity output actual value in the first time period;

[0057] a control module, configured to perform phase compensation on the water and electricity output adjustment based on the target phase compensation value.

[0058] According to a third aspect of the present application, an electronic device is provided, comprising: a processor; a memory for storing executable instructions of the processor; wherein the processor is configured to execute the instructions to implement the method of the first aspect.

[0059] According to a fourth aspect of the present application, a computer readable storage medium is provided, when the instructions in the computer readable storage medium are executed by the processor of an electronic device, the electronic device can execute the method of the first aspect.

[0060] According to a fifth aspect of the present application, a computer program product is provided, comprising a computer program which, when executed by a processor, implements the method of the first aspect.

[0061] According to the technical solution of the present application, by obtaining the water and electricity output target value and the water and electricity output actual value in the current time period, and determining the first time period in which the induced oscillation exists in the current time period according to the water and electricity output target value and the water and electricity output actual value in the current time period, and determining the target phase compensation value according to the water and electricity output target value and the water and electricity output actual value in the first time period, and performing phase compensation on the water and electricity output adjustment based on the target phase compensation value, the present application can improve the effect of water and electricity output adjustment by phase compensation when the water and electricity output adjustment induces oscillation, so as to guarantee the safety and stability of the power system.

[0062] Additional aspects and advantages of the present application will be in part apparent and in part pointed out hereinafter. BRIEF DESCRIPTION OF DRAWINGS

[0063] The above and / or additional aspects and advantages of the present application will become apparent and be readily appreciated from the following description, including the accompanying drawings, wherein:

[0064] Fig. 1 is a flowchart of a water and electricity output adjustment control method provided by an embodiment of the present application;

[0065] Fig. 2 is a flowchart of another water and electricity output adjustment control method provided by an embodiment of the present application;

[0066] Fig. 3 is a structural schematic diagram of a simulation model in an embodiment of the present application;

[0067] Fig. 4 is a simulation waveform diagram of the adjustment effect under the induction of different oscillation frequency output targets according to an embodiment of the present application;

[0068] Fig. 5 is a flow chart of another control method of water and electricity output adjustment provided by the present application;

[0069] Fig. 6 is a flow chart of another control method of water and electricity output adjustment provided by the present application;

[0070] Fig. 7 is a simulation waveform diagram of the adjustment effect without phase compensation according to an embodiment of the present application;

[0071] Fig. 8 is a simulation waveform diagram of the adjustment effect with phase compensation according to an embodiment of the present application;

[0072] Fig. 9 is a flow chart of another control method of water and electricity output adjustment provided by the present application;

[0073] Fig. 10 is a flow chart of another control method of water and electricity output adjustment provided by the present application;

[0074] Fig. 11 is a flow chart of another control method of water and electricity output adjustment provided by the present application;

[0075] Fig. 12 is a structural block diagram of a control device of water and electricity output adjustment provided by the present application;

[0076] Fig. 13 is a structural block diagram of an electronic device provided by the present application. DETAILED DESCRIPTION

[0077] The embodiments of the present application are described in detail below with reference to the accompanying drawings. The embodiments described below are examples for explaining the present application and should not be construed as limiting the present application.

[0078] It should be noted that the water and electricity output ultra-low frequency oscillation can be divided into self-excited oscillation and induced oscillation according to the generation mechanism. The induced oscillation is the oscillation with the same or approximate period as the external oscillation induced by the adjustment mechanism. For the power system, the influence of the induced oscillation often superimposes the existing influence or situation of the external oscillation and increases the influence of the external oscillation under the action of the frequency modulation delay factor, affecting the safety and stability of the power system.

[0079] Wherein, for AGC adjustment, AGC total output target is equal to total output target of hydropower station minus total actual output of non-AGC units, if total actual output of non-AGC units occurs ultra-low frequency oscillation, AGC total output target calculated under the condition that total output target of hydropower station remains unchanged will occur same frequency oscillation, and total actual output of each AGC unit will also oscillate with same frequency, and under the action of adjustment delay, the phase of oscillation waveform of output of AGC unit and that of non-AGC unit can be extremely close, as a result, the oscillation degree of total actual output of hydropower station is greatly intensified. For primary frequency regulation adjustment, primary frequency regulation target is calculated according to grid frequency, if grid frequency occurs ultra-low frequency oscillation, primary frequency regulation target calculated will occur same frequency oscillation, and actual output of unit will also oscillate with same frequency, and under the action of adjustment delay, the phase of oscillation waveform of actual output of unit and that of grid frequency can be extremely close, as a result, primary frequency regulation of unit will instead aggravate the system imbalance.

[0080] Therefore, after the induced oscillation occurs, how to control the hydropower output adjustment to improve the effect of hydropower output adjustment has become a problem to be solved at present.

[0081] In order to solve the above problems, the application provides a hydropower output adjustment control method and device.

[0082] FIG. 1 is a flow chart of a hydropower output adjustment control method provided by an embodiment of the application. It should be noted that the hydropower output adjustment control method in the embodiment of the application can be applied to the hydropower output adjustment control device of the embodiment of the application, and the device can be applied to an electronic device. As shown in FIG. 1, the method can include the following steps:

[0083] Step 101, obtaining a hydropower output target value and a hydropower output actual value in a current period.

[0084] Wherein, the current period can include multiple time points, such as collecting the hydropower output target value and the hydropower output actual value according to a fixed period, and the current period can include multiple collection time points. The fixed period can be 1s, that is, the time interval of each collection time point is 1s. The current period can include the current collection time point and multiple collection time points before the current time point. That is, the hydropower output target value and the hydropower output actual value in the current period are the hydropower output target value and the hydropower output actual value of each time point in the multiple time points included in the current period.

[0085] Step 102, determining a first period in which induced oscillation exists in the current period according to the hydropower output target value and the hydropower output actual value in the current period.

[0086] In some embodiments of the present application, whether the induced oscillation exists at present can be determined according to the water and electricity output target value and the water and electricity output actual value in the current period, and if the induced oscillation exists at present, the first period in which the induced oscillation exists in the current period is determined. It should be noted that the first period is a period of time in the current period, the first period can include multiple time points, and the first period includes the current time point in the current period. That is, the first period is the closest continuous period of time in which the induced oscillation exists from the current time point.

[0087] As an implementation manner, the fluctuation of the water and electricity output target value and the fluctuation of the water and electricity output actual value in the current period can be calculated according to the water and electricity output target value and the water and electricity output actual value in the current period, and the duration of the continuous oscillation can be determined according to the fluctuation of the water and electricity output target value and the fluctuation of the water and electricity output actual value in the current period, whether the induced oscillation exists in the current period can be determined according to the duration of the continuous oscillation, and if the induced oscillation exists in the current period, the period in which the continuous oscillation exists is determined as the first period.

[0088] In step 103, the target phase compensation value is determined according to the water and electricity output target value and the water and electricity output actual value in the first period.

[0089] The target phase compensation value is the phase compensation value with the optimal phase compensation estimation effect, and the water and electricity output adjustment is phase compensated based on the target phase compensation value, so as to improve the effect of the water and electricity output adjustment and reduce the influence of the induced oscillation on the water and electricity output adjustment and the stability of the water and electricity system.

[0090] In some embodiments of the present application, the difference between the water and electricity output target value at the i+w time point in the first period and the water and electricity output actual value at the i time point can be determined based on each preset compensation value w, the water and electricity output difference corresponding to each compensation value can be obtained by averaging the difference values at each time point, and the compensation value with the minimum water and electricity output difference is determined as the target phase compensation value.

[0091] In step 104, the water and electricity output adjustment is phase compensated based on the target phase compensation value.

[0092] In some embodiments of the present application, the water and electricity output target value can be delayed according to the target phase compensation value, so as to realize the phase compensation of the water and electricity output adjustment. For example, the target phase compensation value is n, and the water and electricity output target value input into the output adjustment mechanism at the current m time point is replaced by the water and electricity output target value at the m-n time point.

[0093] That is, the effect of the water and electricity output adjustment when the induced oscillation occurs is improved through phase compensation, so as to guarantee the stability and safety of the power system.

[0094] According to the control method for water and electricity output adjustment provided in the embodiments of the present application, the water and electricity output target value and the water and electricity output actual value in the current period are obtained, and the first period in which induced oscillation exists in the current period is determined according to the water and electricity output target value and the water and electricity output actual value in the current period. The target phase compensation value is determined according to the water and electricity output target value and the water and electricity output actual value in the first period, and the phase compensation is performed on the water and electricity output adjustment based on the target phase compensation value. In the present scheme, when the water and electricity output adjustment induces oscillation, the effect of the water and electricity output adjustment is improved through the phase compensation, so that the safety and stability of the power system can be ensured.

[0095] Next, the implementation manner of determining the first period in which induced oscillation exists in the current period according to the water and electricity output target value and the water and electricity output actual value in the current period will be described in detail.

[0096] FIG. 2 is a flowchart of another control method for water and electricity output adjustment provided in the embodiments of the present application. As shown in FIG. 2, based on the above-mentioned embodiments, the implementation manner of step 102 in FIG. 1 can include the following steps:

[0097] In step 201, the current period is divided into n continuous second periods according to a preset segmentation length, where n is a positive integer.

[0098] In each second period, a plurality of collection time points can be included, that is, the water and electricity output target value and the water and electricity output actual value in each second period can include the water and electricity output target value and the water and electricity output actual value at a plurality of collection time points.

[0099] The inventors of the present application simulate different oscillation frequencies through the simulation model shown in FIG. 3, and obtain the simulation results shown in FIG. 4. It can be found that the adjustment effect of the water and electricity output under the induction of relatively high-frequency oscillation is completely opposite to the adjustment effect of the water and electricity output under the induction of relatively low-frequency oscillation. The inventors of the present application conclude that when the oscillation frequency of the water and electricity output target value and the water and electricity output actual value is low, the induced oscillation plays a positive role in the stability of the power system. As shown in FIG. 3, Ty in the model is the response time constant of the servomotor; Tw is the flow inertia time constant; Ta is the inertia time constant of the unit (load); Tf is the adjustment feedback delay, reflecting the synchronization delay of the output power and the PID adjustment signal, mainly including the measurement, transmission time and PID operation time of the output power; en is the static frequency self-adjustment (characteristic) coefficient of the unit (load), and the parameters of the two adjustment mechanisms in the simulation model are completely consistent except the oscillation frequency of the output target.

[0100] That is, in the identification of induced oscillation, only high frequency oscillation needs to be identified, and low frequency oscillation can be processed without processing, so when the second period is divided, the preset segmentation duration needs to be close to the period of high frequency oscillation, and the period of high frequency oscillation can be preset based on actual needs.

[0101] In step 202, the change value of the hydropower output target value and the change value of the hydropower output actual value in the i th second period are determined according to the hydropower output target value and the hydropower output actual value in the i th second period; wherein i is a positive integer less than or equal to n, the i th second period is located before the i+1 th second period in time, and the i th second period and the i+1 th second period are continuous.

[0102] The change value of the hydropower output target value in the i th second period can be the difference between the maximum value and the minimum value of the hydropower output target value at multiple time points in the i th second period. The change value of the hydropower output actual value in the i th second period can be the difference between the maximum value and the minimum value of the hydropower output actual value at multiple time points in the i th second period.

[0103] For example, the current time is 8:10:00, the collection period is 1s, and the duration of the current period is 60s, so the current period includes 8:09:01-8:10:00 at each collection time. If the duration of the second period is 3s, the first second period is 8:09:58-8:10:00, the second second period is 8:09:55-8:09:57, and the third second period is 8:09:52-8:09:54, and so on.

[0104] In step 203, if the change value of the hydropower output target value and the change value of the hydropower output actual value in the i th second period are greater than or equal to the preset output change threshold, the change value of the hydropower output target value and the change value of the hydropower output actual value in the i+1 th second period are determined, and the current period is determined as an oscillation period when i=n.

[0105] In step 204, if the change value of the hydropower output target value and the change value of the hydropower output actual value in the i th second period are less than the output change threshold, the i-1 th second period after the i th second period in the current period is determined as an oscillation period.

[0106] In step 205, whether the hydropower output adjustment in the current period exists induced oscillation is determined according to the duration of the oscillation period.

[0107] In some embodiments of the present application, the length of the oscillation period can be directly compared with the preset length threshold value. If the length of the oscillation period is greater than or equal to the length threshold value, it is determined that the water and electricity output adjustment in the current period induces oscillation. If the length of the oscillation period is less than the preset length threshold value, it is determined that the oscillation frequency of the water and electricity output target value and the water and electricity output actual value in the current period is low, or the power system does not form a sustained stable oscillation, and there is no need to improve the effect of the water and electricity output adjustment.

[0108] In step 206, if the water and electricity output adjustment in the current period induces oscillation, the oscillation period is determined as the first period.

[0109] As an example, the above steps 201-206 can be implemented in the form of a matrix, as follows:

[0110] (1) Two n-row m-column matrices P1 and P2 are preset, and the number of elements in the P1 and P2 matrices is consistent with the number of collection time points included in the current period, and the size of m is consistent with the number of collection time points included in the preset length in step 201; the water and electricity output target value collected at each time point is written into the P1 matrix in the form of sequential backward assignment, and the water and electricity output actual value collected at each time point is written into the P2 matrix in the form of sequential backward assignment; the current P1 matrix includes the water and electricity output target value of each collection time point at the multiple collection time points in the current period, and the current P2 matrix includes the water and electricity output actual value of each collection time point at the multiple collection time points in the current period. In this example, the fixed collection period is 1s.

[0111] (2) According to the matrices P1 and P2, the induced oscillation detection is performed, and the n-row m-column matrices Q1 and Q2 are set, and the values in the current P1 and P2 matrices are respectively copied to the Q1 and Q2 matrices according to the one-to-one correspondence of the elements.

[0112] (3) judging the peak-valley difference of each row of the matrix Q1 and Q2, and processing the matrix Q1 and Q2 based on the judging result, including: step S1, selecting the first row of the matrix Q1 and Q2 as the selected row respectively; step S2, calculating the difference between the maximum element value and the minimum element value in the selected row of the matrix Q1 and Q2 respectively; step S3, if the two calculation results obtained in step S2 are both greater than or equal to the peak-valley threshold α, and the selected row is not the last row of the matrix Q1 and Q2, then the next row of the selected row of the matrix Q1 and Q2 is selected as the selected row respectively, and jumping to step S2; step S4, if the two calculation results obtained in step S2 are both greater than or equal to the peak-valley threshold α, and the selected row is the last row of the matrix Q1 and Q2, then the processing flow of the matrix is ended; step S5, if the two calculation results obtained in step S2, at least one of which is less than the peak-valley threshold α, then all elements contained in the selected row and all rows after the selected row of the matrix Q1 and Q2 are assigned as 0, and the processing flow of the matrix Q1 and Q2 is ended.

[0113] For example, taking the matrix Q1 as and the matrix Q2 as For example, first selecting the first row as the selected row, then the selected rows are [100 1 3], [100 1 3] respectively, the difference between the maximum element value and the minimum element value in the selected row is 100-3=97, assuming that the peak-valley threshold α is 40 MW, 97 is greater than or equal to the peak-valley threshold 40 MW, and the selected row is not the last row of the matrix, therefore the second row of the matrix is selected as the selected row, then the selected rows are [5 2 4], [7 2 50] respectively, the difference between the maximum element value and the minimum element value in the selected row is 5-2=3, 50-2=48 respectively, wherein 3 is less than the peak-valley threshold 40 MW, therefore all elements contained in the selected row and all rows after the selected row of the two matrices are assigned as 0, then the matrix Q1 becomes and the matrix Q2 becomes

[0114] (4) counting the number of elements with a value not equal to 0 in the matrix Q1 and Q2, including: if the number of elements with a value not equal to 0 in the matrix Q1 and Q2 is both greater than or equal to β, then it is determined that there is induced oscillation in the current period, and the time period composed of the collection time corresponding to the non-zero elements in the matrix Q1 and Q2 is determined as the first time period, wherein β is an artificial setting parameter; if the number of elements with a value not equal to 0 in the matrix Q1 or Q2 is less than β, then there is no need to adjust the phase compensation of the water and electricity output, and the next period is directly determined.

[0115] Next, the implementation process of determining the target phase compensation value according to the water and electricity output target value and the water and electricity output actual value in the first time period will be described in detail.

[0116] FIG. 5 is a flowchart of another method for adjusting water and electricity output according to an embodiment of the present application. As shown in FIG. 5, based on the above embodiments, the implementation process of step 103 in FIG. 1 can include the following steps:

[0117] Step 501: Determine the compensation feasibility estimation value corresponding to each of the preset plurality of first compensation values according to the water and electricity output target value and the water and electricity output actual value in the first time period.

[0118] The plurality of preset first compensation values can be set based on implementation requirements. Each first compensation value is the time length of water and electricity output adjustment.

[0119] In some embodiments of the present application, the water and electricity output actual value at the corresponding time can be processed by time delay based on each first compensation value, and the oscillation between the water and electricity output target value at each collection time and the water and electricity output actual value after time delay in the first time period is determined, and the compensation feasibility estimation value corresponding to each first compensation value is determined according to the oscillation.

[0120] That is, the compensation feasibility estimation value of each first compensation value can be determined according to the difference of water and electricity output after phase compensation of the water and electricity output target value and the water and electricity output actual value in the first time period according to the corresponding first compensation value. The greater the difference of water and electricity output, the greater the compensation feasibility estimation value, and the worse the compensation effect.

[0121] As an implementation manner, determining the compensation feasibility estimation value corresponding to each of the preset plurality of first compensation values according to the water and electricity output target value and the water and electricity output actual value in the first time period can include: determining a first output adjustment difference between the water and electricity output actual value in the first time period and the water and electricity output target value processed by compensation with each first compensation value; determining a first self fluctuation value of the water and electricity output target value in the first time period; and determining the compensation feasibility estimation value according to the first output adjustment difference and the first self fluctuation value corresponding to each first compensation value.

[0122] The implementation process of determining the first output adjustment difference of each first compensation value can include: for the first compensation value w, delaying the water and electricity output target value at each collection time in the first time period, i.e., the water and electricity output target value at the i th time is changed to the water and electricity output target value at the i+w th time, and so on, to obtain the water and electricity output target value after delay processing corresponding to each first compensation value; for each first compensation value, subtracting the water and electricity output target value after delay processing at each collection time corresponding to the first compensation value from the water and electricity output actual value at the corresponding collection time to obtain the water and electricity output difference value corresponding to each collection time, and averaging the water and electricity output difference values at each collection time to obtain the first output adjustment difference corresponding to the first compensation value.

[0123] As an example, the compensation feasibility estimation value of each first compensation value can be determined based on a matrix calculation method, as follows:

[0124] (1) Set n rows and m columns of matrices R1, R2, R3, R4, and copy the values of the processed matrices Q1 and Q2 in the example in the above embodiment to the matrices R1 and R2 according to a one-to-one correspondence of elements. That is, the processed water and electricity output target value in the current period is in R1, and the processed water and electricity output actual value in the current period is in R2.

[0125] (2) The elements in matrix R1 are sequentially assigned values, and x times are executed, where x corresponds to the first compensation value, and the initial value is 1;

[0126] (3) Process the matrix R1, including: calculating the element values of the processed matrix R1, taking the element R1(i,j) in the i-th row and j-th column of matrix R1 as an example, the processed R1(i,j) = |R1(i,j) × sgn[R1(i,j)] × sgn[R2(i,j)]|, where i is the i-th row in R1, and j is the j-th column in R1;

[0127] (4) Process the element values in matrix R2, taking the element R2(i,j) in the i-th row and j-th column of matrix R2 as an example, the processed R2(i,j) = |R2(i,j) × sgn[R1(i,j)] × sgn[R2(i,j)]|;

[0128] (5) Calculate the element values in matrix R3, taking the element R3(i,j) in the i-th row and j-th column of matrix R3 as an example, then the calculation rule is R3(i,j) = |R1(i,j) - R2(i,j)|;

[0129] (6) Determine the effective average value r1 of the processed matrix R1, and determine the effective average value r3 of R3, which is equivalent to the first output adjustment difference value of the first compensation value x;

[0130] (7) Calculate the element values in matrix R4, taking the element R4(i,j) in the i-th row and j-th column of matrix R4 as an example, then the calculation rule is R4(i,j) = |[R1(i,j) - r1] × sgn[R1(i,j)]|, where sgn is a sign function, and outputs 0, 1, and -1 according to the positive and negative values;

[0131] (8) Determine the effective average value r4 of matrix R4, which is equivalent to the first self fluctuation value of the water and electricity output target value in the first period.

[0132] (9) Calculate the compensation feasibility estimation value of the first compensation value x as Z(x) = r3 ÷ r4

[0133] (10) Set x as x+1, return to step (2) until the compensation feasibility estimation value of all the first compensation values has been calculated.

[0134] Step 502, determine the target phase compensation value from the multiple first compensation values according to the compensation feasibility estimation values.

[0135] In some embodiments, the first compensation value with the minimum compensation feasibility estimation value can be determined from the multiple first compensation values, and the first compensation value with the minimum compensation feasibility estimation value is determined as the target phase compensation value.

[0136] In other embodiments, the minimum compensation feasibility estimation value of the multiple first compensation values can be compared with a preset compensation feasibility threshold value, if the minimum compensation feasibility estimation value is less than or equal to the compensation feasibility threshold value, the first compensation value corresponding to the minimum compensation feasibility estimation value is determined as the target phase compensation value, if the minimum compensation feasibility estimation value is greater than the compensation feasibility threshold value, it indicates that the phase compensation feasibility is poor, and even if the phase compensation is performed, the effect of the hydroelectric power output adjustment cannot be improved, in which case the hydroelectric power output adjustment does not need to be phase compensated.

[0137] According to the control method of the hydroelectric power output adjustment provided in the embodiments of the present application, the preset multiple first compensation values each correspond to a compensation feasibility estimation value according to the hydroelectric power output target value and the hydroelectric power output actual value in the first time period, and then the target phase compensation value is determined from the multiple first compensation values according to the compensation feasibility estimation values. The present scheme can determine the optimal phase compensation value as the target phase compensation value from the multiple compensation values based on the calculation of the compensation feasibility estimation value, and perform phase compensation with the target phase compensation value, which can improve the effect of phase compensation and guarantee the stability and safety of the power system.

[0138] In order to further improve the effect of phase compensation, the present application further provides another embodiment.

[0139] FIG. 6 is a flowchart of another control method of hydroelectric power output adjustment provided in the embodiments of the present application. As shown in FIG. 6, based on the above-mentioned embodiments, the implementation process of step 103 in FIG. 1 can include:

[0140] Step 601, determine the output fluctuation index value in the current time period according to the hydroelectric power output target value and the hydroelectric power output actual value in the first time period.

[0141] That is, the output fluctuation index value in the current period can be calculated, and whether to perform phase compensation is determined according to the output fluctuation index value. If the fluctuation degree of the hydropower output is small although induced oscillation occurs in the current period, phase compensation is not needed, and if the fluctuation degree of the hydropower output is large in the current period, the target phase compensation value is determined to perform phase compensation.

[0142] The output fluctuation index value is a value for representing the fluctuation of the difference between the hydropower output target value and the hydropower output actual value at each time in the current period.

[0143] In step 602, if the output fluctuation index value is greater than the preset threshold value, the preset plurality of first compensation values each correspond to a compensation feasibility estimation value according to the hydropower output target value and the hydropower output actual value in the first period.

[0144] In step 603, the target phase compensation value is determined from the plurality of first compensation values according to the compensation feasibility estimation value.

[0145] Next, the implementation process of steps 601 and 602 is introduced in the form of an example:

[0146] (1) Determine the processed Q1 and Q2 in the above example;

[0147] (2) Set a matrix Q3 of n rows and m columns;

[0148] (3) Calculate the element values in the matrix Q3. Taking the element Q3(i,j) in the i-th row and j-th column of the matrix Q3 as an example, the calculation rule is Q3(i,j)=|Q1(i,j)-Q2(i,j)|. Assuming that the processed Q1 is The processed Q2 is Q3 is equal to

[0149] (4) Calculate the effective average values of Q1, Q2 and Q3, which are q1, q2 and q3 respectively. According to the example in (3), q1, q2 and q3 are 174 / 9, 174 / 9 and 96 / 4 respectively.

[0150] (5) Set a matrix Q4 of n rows and m columns, and calculate the element values in the matrix Q4. Taking the element Q4(i,j) in the i-th row and j-th column of the matrix Q4 as an example, the calculation rule is Q4(i,j)=|[Q1(i,j)-q1]×sgn[Q1(i,j)]|, where sgn is a sign function, and outputs 0, 1 and negative 1 according to the positive and negative of the value. Assuming that Q1 is q1 is equal to 24, and Q4 is equal to

[0151] (6) Calculate the effective average value of the matrix Q4 to obtain q4;

[0152] (7) Calculate the first output fluctuation index value q3 ÷ |q1-q2| and judge its size:

[0153] (8) If the first output fluctuation index value is greater than or equal to k1, continue to perform (9), wherein k1 is a parameter artificially set to be much greater than 1, and the embodiment assumes that k1 is 20; if the first output fluctuation index value is less than k1, no phase compensation is needed, and the next period is continued to be judged;

[0154] (9) Calculate the second output fluctuation index value q3 ÷ q4 and judge its size:

[0155] (10) If the second output fluctuation index value is greater than or equal to k2, continue to perform the step of determining the compensation feasibility estimation value corresponding to each of the preset plurality of first compensation values according to the water and electricity output target value and the water and electricity output actual value in the first period, wherein k2 is a parameter artificially set to be greater than 1, and the embodiment sets k2 to be 1.2; if the second output fluctuation index value is less than k2, no phase compensation is needed, and the next period is continued to be judged.

[0156] According to the water and electricity output adjustment control method of the embodiment of the present application, the output fluctuation index value in the current period is determined according to the water and electricity output target value and the water and electricity output actual value in the first period, if the output fluctuation index value is greater than the preset threshold value, the compensation feasibility estimation value corresponding to each of the preset plurality of first compensation values is determined according to the water and electricity output target value and the water and electricity output actual value in the first period, and the target phase compensation value is determined from the plurality of first compensation values according to the compensation feasibility estimation value. The scheme can first calculate the necessity of phase compensation, and when the output fluctuation index value is greater than the threshold value, the target phase compensation value is determined, otherwise no phase compensation is performed, which not only makes the effect of phase compensation controllable, but also improves the calculation efficiency.

[0157] To illustrate the effect of the above embodiment, simulation is performed by constructing a simulation model, wherein the external oscillation frequency changes from 0.12 Hz to 0.02 Hz within 400 seconds, and the induced oscillation adjustment effect without phase compensation is shown in FIG. 7. Assuming that the sizes of the matrices Q1 and Q2 are both 10x6, whether phase compensation is needed is determined according to S2000 at the 60th second, and the calculated q1, q2, q3, q4, q3÷|q1-q2|, q3÷q4 are 1.26, 2.6, 103.52, 64.34, 77.52, 1.61 respectively, and the target phase compensation value is calculated according to the above embodiment, and still assuming that the length of the array Z is 5, the calculated values of the elements in the array Z are 1.46, 1.15, 0.74, 0.42, 0.61 in turn, and thus phase compensation with a 4-second delay is performed. Assuming that phase compensation with a 4-second delay is started at the 60th second and is maintained all the time, the adjustment effect is shown in FIG. 8. As can be seen from the comparison between FIG. 8 and FIG. 7, at the initial stage of phase compensation, the adjustment effect of induced oscillation is obviously improved, but due to the change of the external oscillation frequency, the phase compensation gradually changes from positive effect to negative effect as time goes on.

[0158] To ensure the compensation effect of phase compensation, the application further provides another embodiment.

[0159] FIG. 9 is a flowchart of another control method for water and electricity output adjustment provided by the application. As shown in FIG. 7, based on the above embodiment, the method further comprises:

[0160] S901, monitoring the compensation effect of phase compensation.

[0161] In some embodiments, the water and electricity output target value and the water and electricity output actual value after phase compensation are collected, and whether induced oscillation still exists after phase compensation is determined according to the water and electricity output target value and the water and electricity output actual value before and after phase compensation, so as to determine the compensation effect of phase compensation.

[0162] In some embodiments of the application, as shown in FIG. 10, the implementation process of S901 can comprise:

[0163] S1001, obtaining the water and electricity output target value and the water and electricity output actual value after phase compensation.

[0164] That is, the water and electricity output target value and the water and electricity output actual value at each collection time after phase compensation are obtained in real time.

[0165] S1002, determining whether induced oscillation still exists in water and electricity output adjustment after phase compensation according to the water and electricity output target value and the water and electricity output actual value after phase compensation.

[0166] It should be noted that since the phase compensation is continuously performed, when determining the induced oscillation, the water and electricity output target value and the water and electricity output actual value in the current period are determined, and the water and electricity output target value and the water and electricity output actual value before the phase compensation are also involved in the calculation. The implementation process of determining whether the water and electricity output adjustment after the phase compensation has the induced oscillation is consistent with the implementation process of determining whether the induced oscillation exists in the current period in the above embodiment, and will not be described here.

[0167] In step 1003, if the water and electricity output adjustment after the phase compensation does not have the induced oscillation, the phase compensation for the water and electricity output adjustment is terminated.

[0168] In combination with the above example, in order to improve the effect of the phase compensation, if the result after the step 902 is executed at a certain time after the phase compensation is that the induced oscillation does not exist, the phase compensation for the water and electricity output adjustment is terminated.

[0169] In the simulation adjustment effect of FIG. 8, it is assumed that the peak-valley threshold value a is 70 MW, the detection period of the induced oscillation is 1 second, and the sizes of the matrices Q1 and Q2 are both 10x6. The number of elements in the matrices Q1 and Q2 that are not equal to 0 changes from 70 seconds to 310 seconds, as shown in FIG. 9. Then it is assumed that the threshold value b of the non-0 element is 30. According to the scheme of the embodiment of the present application, the phase compensation needs to be terminated at the 150th second, and the corresponding adjustment effect is shown in FIG. 10. It can be seen that the termination of the phase compensation can improve the output adjustment effect in the middle and late stages to a certain extent.

[0170] In some embodiments of the present application, the effect of the water and electricity output adjustment in the phase compensation process is gradually changed. If the phase compensation is always performed according to the target phase compensation value, the induced oscillation may exist due to the fact that the compensation value does not conform to the actual situation. In order to solve this problem, the method can further include:

[0171] In step 1004, if the water and electricity output adjustment still has the induced oscillation after the phase compensation for the preset time length, a compensation adjustment value is determined according to the water and electricity output target value and the water and electricity output actual value after the phase compensation.

[0172] As an implementation manner, after the phase compensation is started, a first timer can be started. After it is determined each time whether the induced oscillation exists, if the induced oscillation exists, it is determined whether the time length of the first timer reaches the preset time length. If the preset time length is reached, the step 1004 is executed, otherwise the step 1002 is continuously executed.

[0173] That is, if the induced oscillation still exists after the preset phase compensation duration, the compensation value of the phase compensation is adjusted according to the hydropower output target value after the phase compensation and the hydropower output actual value.

[0174] In some embodiments, the implementation process of determining the compensation adjustment value according to the hydropower output target value after the phase compensation and the hydropower output actual value can include: determining a first compensation adjustment feasibility estimation value corresponding to each compensation reduction value and a second compensation adjustment feasibility estimation value corresponding to each compensation increase value according to the hydropower output target value after the phase compensation and the hydropower output actual value; determining a target compensation reduction value and a first compensation adjustment feasibility estimation value corresponding to the target compensation reduction value according to the first compensation adjustment feasibility estimation value corresponding to each compensation reduction value; determining a target compensation increase value and a second compensation adjustment feasibility estimation value corresponding to the target compensation increase value according to the second compensation adjustment feasibility estimation value corresponding to each compensation increase value; and determining the compensation adjustment value according to the target compensation reduction value and the first compensation adjustment feasibility estimation value corresponding to the target compensation reduction value, and the target compensation increase value and the second compensation adjustment feasibility estimation value corresponding to the target compensation increase value.

[0175] The maximum compensation reduction value is the target phase compensation value, for example, if the target phase compensation value is 4s and the collection period is 1s, the compensation reduction value can be 1s, 2s, 3s or 4s. The compensation increase value can be determined according to the actual demand, for example, the compensation increase value can be 1s, 2s, 3s or 4s.

[0176] That is, the compensation adjustment feasibility estimation values corresponding to the compensation increase value and the compensation reduction value are determined according to the hydropower output target value after the phase compensation and the hydropower output actual value, and then a most feasible compensation adjustment value is determined from the multiple compensation increase values and the multiple compensation reduction values.

[0177] In step 1005, the phase compensation of the hydropower output adjustment is adjusted according to the compensation adjustment value.

[0178] In some embodiments of the present application, after the phase compensation is adjusted, the compensation effect of the adjusted phase compensation can also be monitored. The implementation manner of monitoring the compensation effect of the adjusted phase compensation is consistent with the implementation manner in the above embodiments, which will not be described here.

[0179] According to the control method of the hydropower output adjustment provided in the embodiments of the present application, the phase compensation can be terminated in time and the compensation value can be adjusted in time by monitoring the compensation effect of the phase compensation, so that the effect of the hydropower output adjustment can be further improved.

[0180] FIG. 11 is a flowchart of another method for adjusting water power output according to an embodiment of the present application. As shown in FIG. 11, based on the above embodiments, the process of determining the compensation adjustment value according to the phase-compensated water power output target value and the water power output actual value in step 1004 of FIG. 10 includes:

[0181] In step 1101, a phase compensation effect value is determined according to the phase-compensated water power output target value and the water power output actual value.

[0182] In some embodiments of the present application, the process of determining the phase compensation effect value according to the phase-compensated water power output target value and the water power output actual value can include: determining a second phase-compensated output adjustment difference value according to the phase-compensated water power output target value and the water power output actual value; determining a second self fluctuation value of the phase-compensated water power output target value; and determining the phase compensation effect value according to the second output adjustment difference value and the second self fluctuation value.

[0183] In some embodiments of the present application, the process of determining the phase compensation effect value according to the phase-compensated water power output target value and the water power output actual value can include: determining a second phase-compensated output adjustment difference value according to the phase-compensated water power output target value and the water power output actual value; determining a second self fluctuation value of the phase-compensated water power output target value; and determining the phase compensation effect value according to the second output adjustment difference value and the second self fluctuation value.

[0184] As an example, the ratio of the second output adjustment difference value to the second self fluctuation value can be determined as the phase compensation effect value.

[0185] In step 1102, if the phase compensation effect value satisfies a first preset condition, a compensation adjustment value is determined according to the phase-compensated water power output target value and the water power output actual value.

[0186] That is, the phase compensation effect value is used to determine whether to adjust the phase compensation. It can be understood that if the phase compensation effect is poor, it means that the influence of the induced oscillation on the water power output adjustment effect cannot be improved by the phase compensation, and in this case, the output adjustment can be stopped. If the phase compensation effect is good, although the induced oscillation still exists after the preset time period after the phase compensation, the phase compensation can be continued according to the original target phase compensation value without adjusting the phase compensation. If the phase compensation effect is good but needs to be improved, the compensation value of the phase compensation can be adjusted to further improve the effect of the water power output adjustment.

[0187] As an example, if the phase compensation effect value is greater than or equal to 1, the output is stopped; if the phase compensation effect value is less than or equal to a preset effect threshold, no adjustment of the phase compensation is needed; if the phase compensation effect value is greater than the effect threshold and less than 1, a compensation adjustment value is determined according to the water and electricity output target value after phase compensation and the water and electricity output actual value, so as to adjust the phase compensation.

[0188] According to the water and electricity output adjustment control method of the embodiment of the present application, the phase compensation effect value is determined according to the water and electricity output target value after phase compensation and the water and electricity output actual value, and when the phase compensation effect value meets the first preset condition, the compensation adjustment value is determined according to the water and electricity output target value after phase compensation and the water and electricity output actual value, so as to adjust the phase compensation, thereby further improving the effect of water and electricity output adjustment.

[0189] For the convenience of understanding, the specific implementation process of determining the compensation adjustment value according to the water and electricity output target value after phase compensation and the water and electricity output actual value, and adjusting the phase compensation of water and electricity output adjustment according to the compensation adjustment value in the above embodiment is introduced in the form of an example as follows:

[0190] (1) The first counter is started after the phase compensation starts, and if the time length of the first counter is greater than or equal to a preset time length, the number of intercepts λ is calculated, the value of λ is the downward integer of the result of the first timer time divided by the fixed collection period T1, and when λ is greater than or equal to λ max , λ is set to λ max , and when λ is less than λ max , λ is set to λ max .

[0191] (2) An array G1 and G2 containing λ elements are set;

[0192] (3) The numerical values of the elements in the array G1 are sequentially taken as the numerical values of the first λ elements of the matrix P1 in the above embodiment, and the first λ elements of the matrix P1 refer to the first λ elements obtained by sorting the elements in the matrix P1 according to the rule of first row and then column;

[0193] (4) The numerical values of the elements in the array G2 are sequentially taken as the numerical values of the first λ elements of the matrix P2, and the first λ elements of the matrix P2 refer to the first λ elements obtained by sorting the elements in the matrix P2 according to the rule of first row and then column.

[0194] (5) An array G3 and G4 containing λ elements are set;

[0195] (6) The numerical values of the elements in the array G3 are calculated, and the calculation rule is G3(i) = |G1(i)-G2(i)|, taking the i th element G3(i) in the array G3 as an example.

[0196] (7) Calculate the average value of the array G1, G3, respectively g1, g3, wherein g3 corresponds to the second output adjustment difference value after phase compensation;

[0197] (8) Calculate the element value in the array G4, for example, the i-th element G4(i) in the array G4, the calculation rule is G4(i) = |G1(i)-g1|;

[0198] (9) Calculate the average value of the array G4, and obtain g4, which is the second self fluctuation value of the water and electricity output target value after phase compensation;

[0199] (1) Calculate the phase compensation effect value g3÷g4, and judge the size thereof:

[0200] (11) If the phase compensation effect value is greater than or equal to 1, stop the output adjustment, that is, replace the output target input into the output adjustment mechanism with the output target calculated in real time according to the conventional mode, and exit the output closed-loop adjustment function, and no longer adjust the actual output.

[0201] (12) If the phase compensation effect value is less than or equal to k4, no adjustment of phase compensation is needed, and the phase compensation is continued according to the target phase compensation value, and the compensation is continued to be monitored in real time, wherein k4 is a parameter set artificially, and the embodiment of the application sets k4 as 0.9;

[0202] (13) If the phase compensation effect value is less than 1 and greater than k4, continue to the subsequent steps to adjust the compensation value of the phase compensation;

[0203] (14) Set the arrays A1, A2, B1, B2 containing λ elements, wherein the arrays A1, B1 are obtained by copying the array G1, and the arrays A2, B2 are obtained by copying the array G2;

[0204] (15) performing the effect evaluation calculation of reducing phase compensation, including: step S1, setting variables u1, v1 and w, wherein the initial value of w is 1, u1 corresponds to the compensation reduction value, the initial value of u1 is 0, and the initial value of v1 is the result of (10) phase compensation effect value g3 ÷ g4; step S2, deleting the first element of A1 and the last element of A2 to form new arrays A1 and A2 with a length of λ-w; step S3, setting arrays A3 and A4 containing λ-w elements; calculating the element values in array A3, taking the i-th element A3(i) in array A3 as an example, the calculation rule is A3(i) = |A1(i)-A2(i)|; step S4, calculating the average values of arrays A1 and A3, which are a1 and a3 respectively; calculating the element values in array A4, taking the i-th element A4(i) in array A4 as an example, the calculation rule is A4(i) = |A1(i)-a1|; step S5, calculating the average value of array A4 to obtain a4; step S6, calculating the first compensation adjustment feasibility estimate of the compensation reduction value u1 as a3 ÷ a4, if the first compensation adjustment feasibility estimate of the compensation reduction value u1 is greater than or equal to v1, then continue to execute step S7, if the first compensation adjustment feasibility estimate of the compensation reduction value u1 is less than v1, then assign the first compensation adjustment feasibility estimate of the compensation reduction value u1 obtained in step S6 to variable v1, assign w to variable u1, and continue to execute step S7; step S7, if w is less than the target phase compensation value η, then add 1 to the value of variable w, and then jump back to step S1 to continue the effect evaluation calculation of reducing phase compensation, if w is greater than or equal to η, then terminate the effect evaluation calculation of reducing phase compensation, and the final u1 is the target compensation reduction value.

[0205] (16) the effect evaluation calculation of the phase compensation increase includes: step T1, setting variables u2 and v2, u2 is equivalent to the compensation increase value, and the initial value of u2 is 1, and the initial value of v2 is the result of g3 ÷ g4 obtained in step (10); step T2, deleting the last element of B1 and the first element of B2 to form new arrays B1 and B2 with a length of λ-u2; step T3, setting arrays B3 and B4 containing λ-u2 elements; step T4, calculating the element values in array B3, for example, the i th element B3(i) in array B3, the calculation rule is B3(i) = |B1(i)-B2(i)|; step T5, calculating the average values of arrays B1 and B3, which are b1 and b3, respectively; step T6, calculating the element values in array B4, for example, the i th element B4(i) in array B4, the calculation rule is B4(i) = |B1(i)-b1|; step T7, calculating the average value of array B4 to obtain b4; step T8, calculating the second compensation adjustment feasibility estimation value b3 ÷ b4 of u2; step T9, if the result obtained in step T8 is greater than or equal to v2, then the target compensation reduction value of variable u2 is obtained by reducing 1, and then the effect evaluation calculation of the phase compensation increase is terminated; step T10, if the result obtained in step T8 is less than v2, then the result b3 ÷ b4 calculated in step T8 is assigned to variable v2, and step T11 is continued to be executed; step T11, if u2 is less than ε, then the value of variable u2 is increased by 1, and then the effect evaluation calculation of the phase compensation increase is continued to be performed by jumping back to step T2; if u2 is greater than or equal to ε, then the effect evaluation calculation of the phase compensation increase is terminated, and the target compensation increase value u2 and the corresponding second compensation adjustment feasibility estimation value are output, where ε is a preset parameter, and in this example, ε = 5.

[0206] To achieve the above-mentioned embodiments, the application further provides a control device for water and electricity output adjustment.

[0207] FIG. 12 is a structural block diagram of a control device for water and electricity output adjustment provided by an embodiment of the application. As shown in FIG. 12, the device includes:

[0208] A first acquisition module 1201 is configured to acquire a water and electricity output target value and a water and electricity output actual value in a current period;

[0209] A first determination module 1202 is configured to determine a first period in which induced oscillation exists in the current period according to the water and electricity output target value and the water and electricity output actual value in the current period.

[0210] A second determination module 1203 is configured to determine a target phase compensation value according to the water and electricity output target value and the water and electricity output actual value in the first period.

[0211] A control module 1204 is configured to perform phase compensation on water and electricity output adjustment based on the target phase compensation value.

[0212] In some embodiments, the first determining module 1202 is specifically configured to:

[0213] divide the current period into n continuous second periods according to a preset segment duration; wherein n is a positive integer;

[0214] determine a change value of the hydropower output target value and a change value of the hydropower output actual value in the i th second period according to the hydropower output target value and the hydropower output actual value in the i th second period; wherein i is a positive integer less than or equal to n, the i th second period is located after the i+1 th second period in time, and the i th second period and the i+1 th second period are continuous;

[0215] if the change value of the hydropower output target value and the change value of the hydropower output actual value in the i th second period are greater than or equal to a preset output change threshold, continue to determine the change value of the hydropower output target value and the change value of the hydropower output actual value in the i+1 th second period until i=n;

[0216] if the change value of the hydropower output target value and the change value of the hydropower output actual value in the i th second period are less than the output change threshold, determine i-1 second periods located after the i th second period in time in the current period as oscillation periods;

[0217] determine whether the hydropower output adjustment in the current period exists induced oscillation according to the length of the oscillation period;

[0218] if the hydropower output adjustment in the current period exists induced oscillation, determine the oscillation period as the first period.

[0219] In some embodiments, the second determining module 1203 is specifically configured to:

[0220] determine a compensation feasibility estimation value corresponding to each of a plurality of first compensation values according to the hydropower output target value and the hydropower output actual value in the first period;

[0221] determine a target phase compensation value from the plurality of first compensation values according to the compensation feasibility estimation value.

[0222] As an implementation manner, the second determining module 1203 is further configured to:

[0223] determine a first output adjustment difference between the hydropower output actual value in the first period and the hydropower output target value compensated by each of the first compensation values;

[0224] determine a first self fluctuation value of the hydropower output target value in the first period;

[0225] According to the first output adjustment difference value and the first self fluctuation value corresponding to each first compensation value, a compensation feasibility estimation value corresponding to each first compensation value is determined.

[0226] As another implementation manner, the second determination module 1203 is further configured to:

[0227] According to the hydropower output target value and the hydropower output actual value in the first time period, an output fluctuation index value in the current time period is determined.

[0228] If the output fluctuation index value is greater than a preset threshold value, according to the hydropower output target value and the hydropower output actual value in the first time period, a compensation feasibility estimation value corresponding to each of the preset plurality of first compensation values is determined.

[0229] In an embodiment, the apparatus further comprises:

[0230] The first monitoring module 1205 is configured to monitor the compensation effect of the phase compensation.

[0231] As an implementation manner, the first monitoring module 1205 is specifically configured to:

[0232] The hydropower output target value and the hydropower output actual value after the phase compensation are obtained.

[0233] According to the hydropower output target value and the hydropower output actual value after the phase compensation, it is determined whether the hydropower output adjustment after the phase compensation still has induced oscillation.

[0234] If the hydropower output adjustment after the phase compensation does not have induced oscillation, the phase compensation of the hydropower output adjustment is terminated.

[0235] In some embodiments, the first monitoring module 1205 is further configured to:

[0236] If the hydropower output adjustment still has induced oscillation after the phase compensation for a preset time period, a compensation adjustment value is determined according to the hydropower output target value and the hydropower output actual value after the phase compensation.

[0237] The phase compensation of the hydropower output adjustment is adjusted according to the compensation adjustment value.

[0238] In other embodiments, the first monitoring module 1205 is further configured to:

[0239] According to the hydropower output target value and the hydropower output actual value after the phase compensation, a phase compensation effect value is determined.

[0240] If the phase compensation effect value satisfies a first preset condition, a compensation adjustment value is determined according to the hydropower output target value and the hydropower output actual value after the phase compensation.

[0241] As an example, the first monitoring module 1205 is further configured to:

[0242] According to the phase-compensated hydropower output target value and the hydropower output actual value, a second output adjustment difference value after phase compensation is determined.

[0243] A second self fluctuation value of the phase-compensated hydropower output target value is determined.

[0244] According to the second output adjustment difference value and the second self fluctuation value, a phase compensation effect value is determined.

[0245] In some embodiments, the first monitoring module 1205 is further configured to:

[0246] According to the phase-compensated hydropower output target value and the hydropower output actual value, a first compensation adjustment feasibility estimation value corresponding to each compensation reduction value and a second compensation adjustment feasibility estimation value corresponding to each compensation increase value are determined.

[0247] According to the first compensation adjustment feasibility estimation value corresponding to each compensation reduction value, a target compensation reduction value and a first compensation adjustment feasibility estimation value corresponding thereto are determined.

[0248] According to the second phase compensation effect estimation value corresponding to each compensation increase value, a target compensation increase value and a second compensation adjustment feasibility estimation value corresponding thereto are determined.

[0249] According to the target compensation reduction value and the first compensation adjustment feasibility estimation value corresponding thereto, and the target compensation increase value and the second compensation adjustment feasibility estimation value corresponding thereto, a compensation adjustment value is determined.

[0250] In some other embodiments, the apparatus further comprises:

[0251] The second monitoring module 1206 is configured to monitor the compensation effect of the adjusted phase compensation.

[0252] It should be noted that the above-mentioned explanation and description of the control method embodiment of the hydropower output adjustment also applies to the control device of the hydropower output adjustment of this embodiment, which will not be described here.

[0253] According to the embodiments of the present application, the present application further provides an electronic device and a readable storage medium.

[0254] As shown in FIG. 13, it is a block diagram of an electronic device according to the control method of water and electricity output adjustment of embodiments of the present application. The electronic device is intended to represent various forms of digital computers, such as laptops, desktops, tablets, personal digital assistants, servers, blade servers, mainframes, and other appropriate computers. The electronic device can also represent various forms of mobile devices, such as personal digital processors, cellular telephones, smart phones, wearable devices, and other similar computing devices. The components shown here, their connections and relationships, and their functions, are meant to be examples only, and are not intended to limit the implementations of the present application described and / or claimed in this document.

[0255] As shown in FIG. 13, the electronic device includes one or more processors 1301, memory 1302, and interfaces for connecting the components, including high-speed interfaces and low-speed interfaces. The various components are interconnected using different buses, and can be mounted on a common motherboard or otherwise installed as required. The processor can process instructions for execution within the electronic device, including instructions stored in the memory or on the memory to display graphical information for a GUI on an external input / output device, such as a display device coupled to the interface. In other implementations, multiple processors and / or multiple buses can be employed as required to utilize the benefits of the present application, and each of the processors can be implemented using one or more processors. Similarly, the memory can be implemented using one or more memories and / or memory modules, although only one of each is shown in FIG. 13. The processor 1301 can be implemented using a general purpose or other programmable processor, or using a controller, a microcontroller, an application specific integrated circuit, an artificial neural network, a field programmable gate array, or other changeable machine that can store digital information and execute it to perform various functions. The memory 1302 is non-transitory computer-readable storage medium provided by the present application. The memory stores instructions executable by at least one processor to cause the at least one processor to perform the control method of water and electricity output adjustment provided by the present application. The non-transitory computer-readable storage medium of the present application stores computer instructions for causing a computer to perform the control method of water and electricity output adjustment provided by the present application.

[0256] The memory 1302 is a non-transitory computer-readable storage medium, which can be used to store non-transitory software programs, non-transitory computer-executable programs and modules, such as program instructions / modules corresponding to the control method of water and electricity output adjustment of embodiments of the present application. The processor 1301 performs various functional applications and data processing of the server by running the non-transitory software programs, instructions and modules stored in the memory 1302, i.e. implements the control method of water and electricity output adjustment in the method embodiments.

[0257] The memory 1302 is a non-transitory computer-readable storage medium, which can be used to store non-transitory software programs, non-transitory computer-executable programs and modules, such as program instructions / modules corresponding to the control method of water and electricity output adjustment of embodiments of the present application. The processor 1301 performs various functional applications and data processing of the server by running the non-transitory software programs, instructions and modules stored in the memory 1302, i.e. implements the control method of water and electricity output adjustment in the method embodiments.

[0258] The memory 1302 can include a program region that can store an operating system, an application required for at least one function, and a data region that can store data created by use of the electronic device according to the control method of the water and power output adjustment, etc. In addition, the memory 1302 can include a high-speed random access memory, and can further include a non-transitory memory such as at least one of a magnetic disk storage device, a flash memory device, or other non-transitory solid state storage device. In some embodiments, the memory 1302 can optionally include a memory disposed remotely with respect to the processor 1301, and these remote memories can be connected to the electronic device through a network. Examples of the network include, but are not limited to, the Internet, an intranet, a local area network, a mobile communication network, and a combination thereof.

[0259] The electronic device can further include an input device 1303 and an output device 1304. The processor 1301, the memory 1302, the input device 1303, and the output device 1304 can be connected through a bus or other means, and are connected through the bus in FIG. 13 as an example.

[0260] The input device 1303 can receive input digital or character information, and generate key signal input related to user settings and function control of the electronic device, such as a touch screen, a keypad, a mouse, a trackpad, a touchpad, a pointing stick, one or more mouse buttons, a trackball, a joystick, etc. The output device 1304 can include a display device, an auxiliary lighting device (e.g., an LED), a haptic feedback device (e.g., a vibration motor), etc. The display device can include, but is not limited to, a liquid crystal display (LCD), a light emitting diode (LED) display, and a plasma display. In some embodiments, the display device can be a touch screen.

[0261] Various embodiments of the systems and techniques described here can be realized in digital electronic circuitry, integrated circuitry, specially designed ASICs (application specific integrated circuits), computer hardware, firmware, software, and / or combinations thereof. These various embodiments can include implementation in one or more computer programs that are executable and / or interpretable on a programmable system including at least one programmable processor, which can be special or general purpose, coupled to receive data and instructions from, and to transmit data and instructions to, a storage system, at least one input device, and at least one output device.

[0262] These computer programs (also known as programs, software, software applications or code) include machine instructions for a programmable processor, and can be implemented in a high-level procedural and / or object-oriented programming language, and / or in assembly / machine language. As used herein, the terms "machine-readable medium" "computer-readable medium" refers to any computer program product, apparatus and / or device (e.g., magnetic discs, optical disks, memory, Programmable Logic Devices (PLDs)) used to provide machine instructions and / or data to a programmable processor, including a machine-readable medium that receives machine instructions as a machine-readable signal. The term "machine-readable signal" refers to any signal used to provide machine instructions and / or data to a programmable processor.

[0263] To provide for interaction with a user, the systems and techniques described here can be implemented on a computer having a display device (e.g., a CRT (cathode ray tube) or LCD (liquid crystal display) monitor) for displaying information to the user and a keyboard and a pointing device (e.g., a mouse or a trackball) by which the user can provide input to the computer. Other kinds of devices can be used to provide for interaction with a user as well; for example, feedback provided to the user can be any form of sensory feedback (e.g., visual feedback, auditory feedback, or tactile feedback); and input from the user can be received in any form, including acoustic, speech, or tactile input.

[0264] The systems and techniques described here can be implemented in a computing system that includes a back end component (e.g., as a data server), or that includes a middleware component (e.g., an application server), or that includes a front end component (e.g., a user computer having a graphical user interface or a Web browser through which a user can interact with an implementation of the systems and techniques described here), or any combination of such back end, middleware, or front end components. The components of the system can be interconnected by any form or medium of digital data communication (e.g., a communication network). Examples of communication networks include a local area network (LAN), a wide area network (WAN), the Internet, and a blockchain network.

[0265] The computer system can include clients and servers. A client and server are generally remote from each other and typically interact through a communication network. The relationship of client and server arises by virtue of computer programs running on the respective computers and having a client-server relationship to each other. The server can be a cloud server, also known as a cloud computing server or cloud host, which is a host product in the cloud computing service system, to solve the defects of large management difficulty and weak business scalability in traditional physical host and VPS service ("Virtual Private Server", or simply "VPS"). The server can also be a server of a distributed system, or a server combined with a blockchain.

[0266] It should be understood that the steps shown in the above forms can be reordered, added or deleted. For example, the steps described in the present application can be executed in parallel, sequentially or in different orders, as long as the desired results of the technical solutions disclosed in the present application can be achieved, and the present application does not limit herein.

[0267] Although the embodiments of the present application have been shown and described above, it should be understood that the above embodiments are exemplary and should not be construed as limiting the present application, and those skilled in the art can make changes, modifications, replacements and variations to the above embodiments within the scope of the present application.

Claims

1. A control method for regulating hydropower output, characterized in that, include: Obtain the target value and actual value of hydropower output for the current time period; Based on the target value and actual value of hydropower output in the current time period, a first period of induced oscillation is determined within the current time period; The target phase compensation value is determined based on the target value and actual value of hydropower output during the first time period. Phase compensation is performed on the hydropower output regulation based on the target phase compensation value.

2. The method according to claim 1, characterized in that, The step of determining the first period of induced oscillation within the current time period based on the target value and actual value of hydropower output within the current time period includes: According to the preset segment duration, the current time period is divided into n consecutive second time periods; where n is a positive integer; Based on the target value and actual value of hydropower output in the i-th second time period, determine the change value of the target value and the change value of the actual value of hydropower output in the i-th second time period; where i is a positive integer less than or equal to n, the i-th second time period is after the (i+1)-th second time period in time, and the i-th second time period and the (i+1)-th second time period are continuous; If the change in the target value of hydropower output and the change in the actual value of hydropower output are greater than or equal to the preset output change threshold during the i-th second time period, the change in the target value of hydropower output and the change in the actual value of hydropower output will continue to be determined during the (i+1)-th second time period until i = n, at which point the current time period will be determined as the oscillation period. If the change in the target value of hydropower output and the change in the actual value of hydropower output during the i-th second time period are less than the output change threshold, the i-1 second time periods that are time-wise after the i-th second time period in the current time period are determined as oscillation periods. Based on the duration of the oscillation period, determine whether there is induced oscillation in the hydropower output regulation during the current period; If the hydropower output regulation during the current time period is subject to induced oscillation, the oscillation period is determined as the first time period.

3. The method according to claim 1, characterized in that, The step of determining the target phase compensation value based on the target hydropower output value and the actual hydropower output value within the first time period includes: Based on the target value and actual value of hydropower output during the first time period, determine the estimated value of compensation feasibility corresponding to each of the preset first compensation values; Based on the estimated feasibility of the compensation, the target phase compensation value is determined from the plurality of first compensation values.

4. The method according to claim 3, characterized in that, The step of determining the estimated compensation feasibility value corresponding to each of the preset multiple first compensation values ​​based on the target value and actual value of hydropower output during the first time period includes: Determine the first output adjustment difference between the actual hydropower output value within the first time period and the target hydropower output value compensated by each of the first compensation values; Determine the first self-fluctuation value of the target hydropower output value within the first time period; Based on the first output adjustment difference corresponding to each of the first compensation values ​​and the first self-fluctuation value, determine the estimated value of compensation feasibility corresponding to each of the first compensation values.

5. The method according to claim 3, characterized in that, The step of determining the estimated compensation feasibility value corresponding to each of the preset multiple first compensation values ​​based on the target value and actual value of hydropower output during the first time period includes: Based on the target value and actual value of hydropower output in the first time period, determine the output fluctuation index value in the current time period; If the output fluctuation index value is greater than the preset threshold, the estimated value of compensation feasibility corresponding to each of the preset first compensation values ​​is determined based on the target value of hydropower output and the actual value of hydropower output in the first time period.

6. The method according to claim 1, characterized in that, Also includes: The compensation effect of phase compensation is monitored.

7. The method according to claim 6, characterized in that, The monitoring of the phase compensation effect includes: Obtain the target value and actual value of hydropower output after phase compensation; Based on the target value and actual value of hydropower output after phase compensation, determine whether induced oscillations still exist in the hydropower output regulation after phase compensation; If no induced oscillation occurs in the hydropower output regulation after phase compensation, the phase compensation for hydropower output regulation is terminated.

8. The method according to claim 7, characterized in that, Also includes: If induced oscillations still exist in the hydropower output regulation after the phase compensation preset time, the compensation adjustment value shall be determined based on the target value of hydropower output after phase compensation and the actual value of hydropower output. The phase compensation for hydropower output regulation is adjusted according to the aforementioned compensation adjustment value.

9. The method according to claim 8, characterized in that, The determination of the compensation adjustment value based on the phase-compensated target hydropower output and the actual hydropower output includes: The phase compensation effect value is determined based on the target value of hydropower output after phase compensation and the actual value of hydropower output. If the phase compensation effect value meets the first preset condition, the compensation adjustment value is determined based on the target value of hydropower output after phase compensation and the actual value of hydropower output.

10. The method according to claim 9, characterized in that, The determination of the phase compensation effect value based on the target value of hydropower output after phase compensation and the actual value of hydropower output includes: The second output adjustment difference after phase compensation is determined based on the target value of hydropower output after phase compensation and the actual value of hydropower output. Determine the second self-fluctuation value of the target value of hydropower output after phase compensation; The phase compensation effect value is determined based on the second output adjustment difference and the second self-fluctuation value.

11. The method according to claim 8, characterized in that, The determination of the compensation adjustment value based on the phase-compensated target hydropower output and the actual hydropower output includes: Based on the target value of hydropower output after phase compensation and the actual value of hydropower output, determine the first feasibility estimate of compensation adjustment corresponding to each compensation reduction value, and the second feasibility estimate of compensation adjustment corresponding to each compensation increase value; Based on the first compensation adjustment feasibility estimate corresponding to each compensation reduction value, determine the target compensation reduction value and its corresponding first compensation adjustment feasibility estimate. Based on the estimated value of the second phase compensation effect corresponding to each compensation increase value, determine the target compensation increase value and its corresponding estimated value of the feasibility of the second compensation adjustment; The compensation adjustment value is determined based on the target compensation reduction value and its corresponding first compensation adjustment feasibility estimate, and the target compensation increase value and its corresponding second compensation adjustment feasibility estimate.

12. The method according to claim 8, characterized in that, Also includes: The compensation effect of the adjusted phase compensation is monitored.

13. A control device for regulating hydropower output, characterized in that, include: The first acquisition module is used to acquire the target value of hydropower output and the actual value of hydropower output in the current time period. The first determining module is used to determine, based on the target value of hydropower output and the actual value of hydropower output in the current time period, the first time period in which induced oscillation exists. The second determining module is used to determine the target phase compensation value based on the target value of hydropower output and the actual value of hydropower output during the first time period. The control module is used to perform phase compensation on the hydropower output regulation based on the target phase compensation value.

14. An electronic device, characterized in that, include: processor; A memory for storing executable instructions of the processor; wherein the processor is configured to implement the method of any one of claims 1-12 when executing the instructions.

15. A computer-readable storage medium, characterized in that, When the instructions in the computer-readable storage medium are executed by a processor, the method of any one of claims 1-12 is implemented.

Citation Information

Patent Citations

  • Parameter setting method and device of additional damping controller of speed regulation system of hydro-power generating units

    CN109301815A

  • Method for preventing ultra-low frequency oscillation of hydropower generating set during active power regulation

    CN109494790A

  • Method for ultralow frequency oscillation suppression by GPSS based on phase compensation principle

    CN109861243A

  • New energy grid connection method applied to new energy power generation system

    CN111416381A

  • Power oscillation area self-damping control method and system based on delay actual measurement

    CN117239718A