Automatic power generation control method, device and equipment for small and medium-sized units of hydropower station
By obtaining and fitting the unit historical data of small and medium-sized hydropower stations, and performing effective modeling and solving constraints, the problems of high hardware costs and lack of data in the existing technology are solved, and the convenience and economicality of automatic power generation control are realized. In small and medium-sized hydropower stations.
Patent Information
- Application Number
- CN202411421221.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-10-12
- Publication Date
- 2024-12-17
AI Technical Summary
The existing automatic power generation control technology is not suitable for small and medium-sized hydropower stations. The hardware equipment costs are high, the materials are numerous, and the data is missing. The algorithm matching is low, making it difficult to achieve precise control.
By obtaining the historical data sets of each unit, fitting the unit characteristic curve, performing effective modeling and solving constraints, obtaining active allocation values, realizing automatic power generation control, reducing hardware equipment requirements, and suitable for factory stations that have been put into operation and lack of data. .
It realizes the convenience and economy of automatic power generation control of small and medium-sized hydropower stations, reduces costs, does not require too much material, and improves the accuracy and applicability of control.
Smart Images

Figure CN119154402A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the technical field of hydropower generation, and in particular to a method, device, equipment and computer-readable storage medium for automatic power generation control of small and medium-sized units in a hydropower station. Background Art
[0002] With the implementation of large power grids and the increasing proportion of renewable energy in existing power grids, the requirements for precise control of traditional power are becoming increasingly higher, so as to achieve both the absorption of renewable energy and the safety and reliability of the power grid. The Automatic Generation Control (AGC) of small and medium-sized hydropower is gaining more and more attention.
[0003] At present, automatic power generation control generally takes medium and large units as the control object, and needs to install flow meters, oscillation meters and other equipment for precise measurement, requires complete unit characteristic relationship and other data, and considers frequency regulation and peak regulation and other functions. There are many hardware equipment required, and the investment cost is too high for small units. The algorithms are mostly based on medium and large or giant units, which is inconsistent with the functions of small units in the power grid. The matching degree between the algorithm and the unit is low, and it is not suitable for small and medium-sized hydropower stations. The required data of turbines is too much, which is not suitable for plants that have been put into operation and lack data.
[0004] To sum up, how to effectively solve the problems of large amount of hardware equipment required, high investment cost, algorithm not applicable to small and medium-sized hydropower stations, large amount of materials required, unsuitable for plants and stations that have been put into operation and lack of data, etc., is an urgent problem that technical personnel in this field need to solve. Summary of the invention
[0005] The purpose of this application is to provide a method for automatic power generation control of small and medium-sized units in a hydropower station. The method does not require excessive hardware equipment, reduces costs, does not require excessive materials, and improves the convenience of automatic power generation control of small and medium-sized units in a hydropower station; another purpose of the present application is to provide an automatic power generation control device, equipment and computer-readable storage medium for small and medium-sized units in a hydropower station.
[0006] In order to solve the above technical problems, this application provides the following technical solutions:
[0007] A method for automatic power generation control of small and medium-sized units in a hydropower station, comprising:
[0008] Obtain the historical data sets corresponding to each unit;
[0009] Fitting the unit characteristic curves according to each historical data set to obtain the initial unit characteristic curves corresponding to each unit;
[0010] When the total active power to be distributed is received, the active power modeling of the unit is performed to obtain the total water consumption function;
[0011] Obtaining various constraints that the total water consumption function needs to satisfy;
[0012] The total water consumption function is solved according to the total active power, the characteristic curves of each initial unit and each constraint condition to obtain the active power distribution value corresponding to each unit, so as to automatically control the power generation of each unit according to each active power distribution value.
[0013] In a specific implementation of the present application, unit characteristic curve fitting is performed according to each historical data set to obtain the initial unit characteristic curve corresponding to each unit, including:
[0014] Perform data cleaning on each historical data set to obtain each cleaned historical data set;
[0015] The pre-built prediction model is trained using each cleaned historical data set to fit the initial unit characteristic curve corresponding to each unit.
[0016] In a specific implementation of the present application, automatic power generation control is performed on each unit according to each active power distribution value, including:
[0017] Each active power distribution value is sent to the dispatching automation system of each unit so that each dispatching automation system can automatically control the power generation of each unit.
[0018] In a specific implementation of the present application, after obtaining the initial unit characteristic curves corresponding to each unit, the method further includes:
[0019] Get the data set for the current running time period;
[0020] When there is real data corresponding to the predicted data area in the initial unit characteristic curve in the data set, the initial unit characteristic curve is corrected according to the data set containing the real data to obtain a corrected unit characteristic curve;
[0021] Accordingly, solving the total water consumption function according to the total active power, the characteristic curves of each initial unit, and each constraint condition includes:
[0022] The total water consumption function is solved according to the total active power, the characteristic curves of each corrected unit, and each constraint condition.
[0023] In a specific implementation of the present application, solving the total water consumption function according to the total active power, each initial unit characteristic curve, and each constraint condition includes:
[0024] Converting the inequality constraints in each constraint condition into equality constraints by introducing slack variables into the inequality constraints;
[0025] Obtain a first constraint condition set including the converted equality constraints and the original equality constraints;
[0026] The total water consumption function is solved according to the total active power, the characteristic curves of each initial unit, and the first set of constraints.
[0027] In a specific implementation of the present application, solving the total water consumption function according to the total active power, each initial unit characteristic curve, and each constraint condition includes:
[0028] The augmented Lagrangian function is constructed by introducing a quadratic penalty function into the value range constraints contained in each constraint condition;
[0029] Obtaining a second constraint condition set including the augmented Lagrangian function and original non-value range constraint conditions;
[0030] The total water consumption function is solved according to the total active power, the characteristic curves of each initial unit, and the second constraint condition set.
[0031] In a specific implementation of the present application, after obtaining the active power distribution values corresponding to each unit, the method further includes:
[0032] When the active power allocation value is a decimal or a fraction, the active power allocation value is rounded according to a preset rounding rule to obtain an approximate integer optimal active power allocation value.
[0033] An automatic power generation control device for small and medium-sized units in a hydropower station, comprising:
[0034] A historical data set acquisition module is used to acquire historical data sets corresponding to each unit;
[0035] An initial curve acquisition module is used to perform unit characteristic curve fitting according to each historical data set to obtain the initial unit characteristic curve corresponding to each unit;
[0036] A total water consumption function acquisition module is used to perform active power modeling of the unit and obtain a total water consumption function when receiving the total active power to be allocated;
[0037] A constraint condition acquisition module, used to acquire various constraint conditions that the total water consumption function needs to satisfy;
[0038] The automatic power generation control module is used to solve the total water consumption function according to the total active power, the characteristic curves of each initial unit, and each constraint condition, and obtain the active power distribution value corresponding to each unit, so as to automatically control the power generation of each unit according to each active power distribution value.
[0039] An automatic power generation control device for small and medium-sized units in a hydropower station, comprising:
[0040] Memory for storing computer programs;
[0041] The processor is used to implement the steps of the automatic power generation control method for small and medium-sized units in a hydropower station as described above when executing the computer program.
[0042] A computer-readable storage medium stores a computer program, which, when executed by a processor, implements the steps of the automatic power generation control method for small and medium-sized units in a hydropower station as described above.
[0043] The automatic power generation control method for small and medium-sized units in a hydropower station provided in the present application obtains historical data sets corresponding to each unit; performs unit characteristic curve fitting according to each historical data set to obtain an initial unit characteristic curve corresponding to each unit; when the total active power to be allocated is received, the unit active power modeling is performed to obtain a total water consumption function; various constraints that the total water consumption function needs to satisfy are obtained; the total water consumption function is solved according to the total active power, the initial unit characteristic curves, and the constraints to obtain the active power allocation value corresponding to each unit, so as to perform automatic power generation control on each unit according to each active power allocation value.
[0044] It can be seen from the above technical solution that by obtaining the historical data sets corresponding to each unit, the unit characteristic curve is fitted according to each historical data set, so that small and medium-sized units or units with missing data can obtain the unit characteristic curve and achieve economic optimization operation. The total water consumption function is obtained by modeling the unit's active power, and the constraints that the total water consumption function must satisfy are obtained. The total water consumption function is solved according to the total active power, the initial unit characteristic curves, and the constraints, so that each unit is automatically controlled for power generation according to the active power distribution values obtained. The entire automatic power generation control process does not require too much hardware equipment, reduces costs, does not require too much material, is suitable for plants and stations that have been put into operation and lack data, and improves the convenience of automatic power generation control of small and medium-sized units in hydropower stations.
[0045] Correspondingly, the present application also provides automatic power generation control devices, equipment and computer-readable storage media for small and medium-sized units in hydropower stations corresponding to the above-mentioned automatic power generation control method for small and medium-sized units in hydropower stations, which have the above-mentioned technical effects and will not be repeated here. BRIEF DESCRIPTION OF THE DRAWINGS
[0046] In order to more clearly illustrate the technical solutions in the embodiments of the present application or the related technologies, the drawings required for use in the embodiments or the related technical descriptions are briefly introduced below. Obviously, the drawings described below are only some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.
[0047] FIG1 is a flowchart of an implementation method of automatic power generation control for small and medium-sized units in a hydropower station according to an embodiment of the present application;
[0048] FIG2 is a flowchart of another method for automatically controlling power generation of small and medium-sized units in a hydropower station according to an embodiment of the present application;
[0049] FIG3 is a structural block diagram of an automatic power generation control device for small and medium-sized units in a hydropower station according to an embodiment of the present application;
[0050] FIG4 is a structural block diagram of an automatic power generation control device for small and medium-sized units in a hydropower station according to an embodiment of the present application;
[0051] Figure 5 A schematic diagram of the specific structure of an automatic power generation control device for small and medium-sized units in a hydropower station provided in an embodiment of the present application. DETAILED DESCRIPTION
[0052] In order to enable those skilled in the art to better understand the present application, the present application is further described in detail below in conjunction with the accompanying drawings and specific implementation methods. Obviously, the described embodiments are only part of the embodiments of the present application, rather than all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in the field without making creative work are within the scope of protection of the present application.
[0053] Referring to FIG. 1 , FIG. 1 is a flowchart of an implementation method of an automatic power generation control method for small and medium-sized units in a hydropower station in an embodiment of the present application. The method may include the following steps:
[0054] S101: Obtain the historical data sets corresponding to each unit.
[0055] When automatic power generation control of small and medium-sized units in a hydropower station is required, the historical data sets corresponding to each unit are obtained.
[0056] The historical data set may include the historical flow rate, historical storage capacity, etc. corresponding to each unit.
[0057] S102: Fitting the unit characteristic curves according to each historical data set to obtain initial unit characteristic curves corresponding to each unit.
[0058] After obtaining the historical data sets corresponding to each unit, the unit characteristic curves are fitted according to each historical data set to obtain the initial unit characteristic curves corresponding to each unit.
[0059] In a specific implementation of the present application, step S102 may include the following steps:
[0060] Step 1: Perform data cleaning on each historical data set to obtain each cleaned historical data set;
[0061] The pre-built prediction model is trained using each cleaned historical data set to fit the initial unit characteristic curve corresponding to each unit.
[0062] For the convenience of description, the above two steps can be combined for explanation.
[0063] After obtaining the historical data sets corresponding to each unit, each historical data set is cleaned to obtain each cleaned historical data set, and the pre-built prediction model is trained using each cleaned historical data set to fit the initial unit characteristic curve corresponding to each unit. For example, a prediction model can be built in advance and trained. The historical data sets corresponding to each unit may have data missing areas. The prediction model is used to predict the data missing areas to obtain the predicted values. The initial unit characteristic curves corresponding to each unit are fitted according to the predicted values and each historical data set to obtain the initial unit characteristic curves corresponding to each unit, thereby achieving unit characteristic curve fitting based on machine learning and prediction. By pre-cleaning the historical data sets, the interference of irrelevant data is avoided, and the accuracy of the fitted unit characteristic curve is improved.
[0064] S103: When the total active power to be allocated is received, active power modeling of the unit is performed to obtain a total water consumption function.
[0065] When it is necessary to distribute the total active power to each unit for automatic power generation control of each unit, the total active power to be distributed is sent to the unit automatic power generation control center. When the unit automatic power generation control center receives the total active power to be distributed, it models the unit active power and obtains the total water consumption function. The total water consumption function contains the corresponding relationship between the total water consumption and the unit active power corresponding to each unit.
[0066] S104: Obtain various constraints that the total water consumption function needs to satisfy.
[0067] The total water consumption function needs to meet multiple constraints. After the unit active power modeling is performed to obtain the total water consumption function, the constraints that the total water consumption function needs to meet are obtained.
[0068] S105: Solving the total water consumption function according to the total active power, the characteristic curves of each initial unit, and each constraint condition to obtain the active power distribution value corresponding to each unit, so as to automatically control the power generation of each unit according to each active power distribution value.
[0069] After obtaining the constraints that the total water consumption function needs to satisfy, the total water consumption function is solved according to the total active power, the characteristic curves of each initial unit, and the constraints, and the active power distribution value corresponding to each unit is obtained, so as to automatically control the power generation of each unit according to the active power distribution value. According to the initial unit characteristic curve corresponding to each unit, the optimal active power interval corresponding to each unit can be determined, so as to solve the total water consumption function in combination with the optimal active power interval corresponding to each unit, the total active power, and the constraints, and obtain the active power distribution value corresponding to each unit.
[0070] It can be seen from the above technical solution that by obtaining the historical data sets corresponding to each unit, the unit characteristic curve is fitted according to each historical data set, so that small and medium-sized units or units with missing data can obtain the unit characteristic curve and achieve economic optimization operation. The total water consumption function is obtained by modeling the unit's active power, and the constraints that the total water consumption function must satisfy are obtained. The total water consumption function is solved according to the total active power, the initial unit characteristic curves, and the constraints, so that each unit is automatically controlled for power generation according to the active power distribution values obtained. The entire automatic power generation control process does not require too much hardware equipment, reduces costs, does not require too much material, is suitable for plants and stations that have been put into operation and lack data, and improves the convenience of automatic power generation control of small and medium-sized units in hydropower stations.
[0071] It should be noted that, based on the above embodiments, the embodiments of the present application also provide corresponding improved solutions. In the subsequent embodiments, the same steps or corresponding steps as those in the above embodiments can be referenced to each other, and the corresponding beneficial effects can also be referenced to each other, which will not be repeated one by one in the following improved embodiments.
[0072] Referring to FIG. 2 , FIG. 2 is a flowchart of another method for automatically controlling power generation of small and medium-sized units in a hydropower station according to an embodiment of the present application. The method may include the following steps:
[0073] S201: Obtain the historical data sets corresponding to each unit.
[0074] S202: Fitting the unit characteristic curves according to each historical data set to obtain initial unit characteristic curves corresponding to each unit.
[0075] S203: Acquire a data set of the current running time period.
[0076] Due to the aging of equipment during long-term operation of the unit, the unit characteristic curve may change. Therefore, the unit characteristic curve needs to be calibrated regularly during operation, such as quarterly. Get the data set of the current operation time period. The data set of the current operation time period is the data set generated from the last completion of the unit characteristic curve calibration to the present.
[0077] S204: When there is real data corresponding to the predicted data area in the initial unit characteristic curve in the data set, the initial unit characteristic curve is corrected according to the data set containing the real data to obtain a corrected unit characteristic curve.
[0078] After obtaining the data set of the current operation time period, when there is real data corresponding to the predicted data area in the initial unit characteristic curve in the data set, the initial unit characteristic curve is corrected according to the data set containing the real data to obtain the corrected unit characteristic curve, thereby realizing the correction of the unit characteristic curve based on machine self-learning. In this way, the original data missing area can be filled with real data, ensuring the authenticity of the fitted curve, and by using the recent data set to correct the unit characteristic curve, the inaccurate unit active power caused by the characteristic deviation of the long-term operating condition change of the unit is avoided, ensuring the matching degree between the fitted unit characteristic curve and the actual performance and operating status of the unit, and improving the accuracy of the unit characteristic curve.
[0079] S205: When the total active power to be allocated is received, active power modeling of the unit is performed to obtain a total water consumption function.
[0080] S206: Obtain various constraints that the total water consumption function needs to satisfy.
[0081] S207: Solving the total water consumption function according to the total active power, the characteristic curves of each corrected unit, and each constraint condition to obtain the active power distribution value corresponding to each unit, so as to automatically control the power generation of each unit according to each active power distribution value.
[0082] After obtaining the corrected unit characteristic curve, the total water consumption function is solved according to the total active power, the corrected unit characteristic curves, and the constraints to obtain the active power distribution value corresponding to each unit, so as to automatically control the power generation of each unit according to the active power distribution value. By using the corrected unit characteristic curve to calculate the active power distribution value corresponding to each unit, the accuracy of the calculated active power distribution value corresponding to each unit is further improved.
[0083] In a specific implementation of the present application, the automatic power generation control of each unit according to each active power distribution value may include the following steps:
[0084] Each active power distribution value is sent to the dispatching automation system of each unit so that each dispatching automation system can automatically control the power generation of each unit.
[0085] After solving the active power distribution values corresponding to each unit, each active power distribution value is sent to the dispatching automation system (Load Control Unit for Hydropower Units, LCU) of each unit, and then each dispatching automation system automatically controls the power generation of each unit. By sending the solved active power distribution values to the dispatching automation system of each unit, efficient automatic power generation control of each unit is achieved.
[0086] In a specific implementation of the present application, performing active modeling of the unit to obtain a total water consumption function may include the following steps:
[0087] The active power model of the unit is built through the formula to obtain the total water consumption function:
[0088] ;
[0089] Among them, W is the total water consumption, T is the number of time periods, and K is the number of units in the hydropower station. is the working water head of unit k in period t Unit active power The power generation flow rate is For the time period, is the working status identifier of unit k during period t, =0 means the unit is shut down, =1 means the unit is started, Indicates the working status of the unit during the t-1 period. It indicates the number of crossing vibration zones caused by the output change of unit k from period t-1 to period t. Indicates the amount of water equivalent to the wear of the unit during startup. Indicates the amount of water equivalent to the wear of the unit during shutdown. Indicates the amount of water equivalent to the wear of the unit passing through the vibration zone.
[0090] The above formula is used to model the active power of the unit and obtain the total water consumption function, thereby establishing the corresponding relationship between the total water consumption and the active power of each unit. By finding the minimum value of the total water consumption function, taking the minimum water consumption as the objective function, and taking the active power to be generated, the head, the pq characteristics of the unit, the vibration zone and the mechanical characteristics as constraints, the equation can be solved to obtain the optimal unit active power currently allocated to each unit. The entire solution process does not require too much hardware equipment, reduces costs, and does not require too much material. It only needs to obtain the commonly used parameters in each unit to achieve the solution of the optimal unit active power corresponding to each unit. It is suitable for plants that have been put into operation and lack data, improves the convenience of automatic power generation control of small and medium-sized units in hydropower stations, and realizes the economic optimization operation of automatic power generation control of small and medium-sized units in hydropower stations.
[0091] In a specific implementation of the present application, solving the total water consumption function according to the total active power, each initial unit characteristic curve, and each constraint condition may include the following steps:
[0092] According to the total active power, the characteristic curves of each initial unit, the active power balance constraint, the maximum and minimum output constraints, the reservoir capacity constraint, the discharge flow constraint, the water balance constraint, the unit start and stop constraint, the unit expected output constraint, the vibration zone constraint, the combined operational zone output constraint, the unit optimal output constraint, and the constraint on the minimum number of unit adjustments, the total water consumption function is solved;
[0093] Among them, the formula corresponding to the active balance constraint is:
[0094] ;
[0095] The formula corresponding to the maximum and minimum output constraints is:
[0096] ;
[0097] The formula corresponding to the reservoir capacity constraint is:
[0098] ;
[0099] The formula corresponding to the downstream flow constraint is:
[0100] ;
[0101] The formula corresponding to the water balance constraint is:
[0102] ;
[0103] The formula corresponding to the unit start-stop constraint is:
[0104] ;
[0105] The formula corresponding to the unit expected output constraint is:
[0106] ;
[0107] The formula corresponding to the vibration zone constraint is:
[0108] ;
[0109] The formula corresponding to the combined operational area output constraint is:
[0110] ;
[0111] The formula corresponding to the optimal output constraint of the unit is:
[0112] ;
[0113] The formula corresponding to the constraint of minimum number of unit adjustments is:
[0114] ;
[0115] is the active power required to be generated in time period t, The lower limit of the active power allocated to unit k, The upper limit of the active power allocated to unit k, is the expected unit active power of unit k in time period t, is the active power of unit k in period t, represents the water level of the upstream reservoir, represents the minimum control water level in the upstream period t, Indicates the maximum controlled water level in the upstream period t, is the minimum discharge flow of the reservoir during period t, is the maximum discharge flow of the reservoir during period t, represents the inflow flow during period t, Indicates the minimum startup time of unit k, represents the minimum downtime of unit k, represents the upper limit of vibration zone j of unit k, Indicates the lower limit of vibration zone j of unit k, Indicates that unit k is in output combination The load of the next unit, Indicates that unit k is in output combination The load of the next unit is offline. Indicates that unit k is in output combination The load of the next unit is online. It represents the lower limit of the optimal active power range of unit k under water head h, It represents the upper limit of the optimal active power range of unit k under water head h, Indicates that the current unit is distributing active Whether adjustments are needed afterwards.
[0116] After the total water consumption function is constructed, the total water consumption function needs to satisfy the above-listed active power balance constraints, maximum and minimum output constraints, reservoir capacity constraints, downstream flow constraints, water balance constraints, unit start and stop constraints, unit expected output constraints, vibration zone constraints, combined operational zone output constraints, unit optimal output constraints, and minimum unit adjustment times constraints. By setting the above constraints, the solution scope is further narrowed, the solution speed is accelerated, and the accuracy of the active power values to be allocated to each unit is improved.
[0117] In a specific implementation of the present application, solving the total water consumption function according to the total active power, each initial unit characteristic curve, and each constraint condition may include the following steps:
[0118] Step 1: Convert the inequality constraints into equality constraints by introducing slack variables into the inequality constraints in each constraint condition;
[0119] Step 2: Obtain a first constraint condition set including the converted equality constraints and the original equality constraints;
[0120] Step 3: Solve the total water consumption function based on the total active power, the characteristic curves of each initial unit, and the first constraint condition set.
[0121] For the convenience of description, the above three steps can be combined for explanation.
[0122] When solving the total water consumption function, the inequality constraints are converted into equality constraints by introducing slack variables into the inequality constraints in each constraint condition, and a first constraint condition set including the converted equality constraints and the original equality constraints is obtained. The total water consumption function is solved according to the total active power, the characteristic curves of each initial unit, and the first constraint condition set. The inequality constraints are converted into equality constraints by introducing slack variables into the inequality constraints in each constraint condition, which simplifies the solution process and improves the solution speed.
[0123] In a specific implementation of the present application, solving the total water consumption function according to the total active power, each initial unit characteristic curve, and each constraint condition may include the following steps:
[0124] Step 1: construct an augmented Lagrangian function by introducing a quadratic penalty function into the value range constraints contained in each constraint condition;
[0125] Step 2: Obtain a second constraint condition set including the augmented Lagrangian function and the original non-value range constraint conditions;
[0126] Step 3: Solve the total water consumption function based on the total active power, the characteristic curves of each initial unit, and the second constraint condition set.
[0127] For the convenience of description, the above three steps can be combined for explanation.
[0128] When solving the total water consumption function, the multipliers are given in the m iteration process. and penalty factor , by introducing the quadratic penalty function p(x,s) into the constraints of the value range contained in each constraint condition, the augmented Lagrangian function is constructed, and the second constraint condition set containing the augmented Lagrangian function and the original non-value range constraints is obtained. The total water consumption function is solved according to the total active power, the characteristic curves of each initial unit, and the second constraint condition set. The optimization allocation algorithm based on the augmented Lagrangian method realizes the weakening of the inequality constraints. When the automatic power generation control program receives the control instruction, the total active power and the current head data are brought into the solution to obtain the relative optimal load distribution result of each unit. It solves the problems of long calculation time, many iterations, and large hardware resources required based on linear programming, and solves the data dimensionality disaster caused by the large number of arrays and constraints. Multiple constraints with value ranges can be merged to reduce the number of constraints, and the simplicity of equation solving is fully utilized to improve the solution speed.
[0129] In practical engineering applications, the number of iterations m is generally not greater than 6 to ensure calculation speed.
[0130] In a specific implementation of the present application, after obtaining the active power distribution values corresponding to each unit, the method may further include the following steps:
[0131] When the active power distribution value is a decimal or a fraction, the active power distribution value is rounded according to a preset rounding rule to obtain an approximate integer optimal active power distribution value.
[0132] After obtaining the active power distribution value corresponding to each unit, the active power distribution value corresponding to each unit may be a decimal or fraction, which does not meet the actual needs of the project. When the active power distribution value is a decimal or fraction, the active power distribution value is rounded according to the preset rounding rule to obtain an approximate integer optimal active power distribution value. When the active power distribution value is a decimal or fraction, the active power distribution value is rounded according to the preset rounding rule to obtain an approximate integer optimal active power distribution value, which ensures that the optimal active power distribution value obtained by solving is an integer value, and ensures that the optimal active power distribution value finally obtained meets the actual needs of the project.
[0133] Corresponding to the above method embodiments, the present application also provides an automatic power generation control device for small and medium-sized units in a hydropower station. The automatic power generation control device for small and medium-sized units in a hydropower station described below and the automatic power generation control method for small and medium-sized units in a hydropower station described above can be referenced to each other.
[0134] Referring to FIG. 3 , FIG. 3 is a structural block diagram of an automatic power generation control device for small and medium-sized units in a hydropower station according to an embodiment of the present application. The device may include:
[0135] A historical data set acquisition module 31 is used to acquire historical data sets corresponding to each unit;
[0136] The initial curve acquisition module 32 is used to perform unit characteristic curve fitting according to each historical data set to obtain the initial unit characteristic curve corresponding to each unit;
[0137] The total water consumption function obtaining module 33 is used to perform active power modeling of the unit and obtain the total water consumption function when receiving the total active power to be allocated;
[0138] A constraint condition acquisition module 34 is used to acquire various constraint conditions that the total water consumption function needs to satisfy;
[0139] The automatic power generation control module 35 is used to solve the total water consumption function according to the total active power, the characteristic curves of each initial unit and each constraint condition, and obtain the active power distribution value corresponding to each unit, so as to perform automatic power generation control on each unit according to each active power distribution value.
[0140] It can be seen from the above technical solution that by obtaining the historical data sets corresponding to each unit, the unit characteristic curve is fitted according to each historical data set, so that small and medium-sized units or units with missing data can obtain the unit characteristic curve and achieve economic optimization operation. The total water consumption function is obtained by modeling the unit's active power, and the constraints that the total water consumption function must satisfy are obtained. The total water consumption function is solved according to the total active power, the initial unit characteristic curves, and the constraints, so that each unit is automatically controlled for power generation according to the active power distribution values obtained. The entire automatic power generation control process does not require too much hardware equipment, reduces costs, does not require too much material, is suitable for plants and stations that have been put into operation and lack data, and improves the convenience of automatic power generation control of small and medium-sized units in hydropower stations.
[0141] In a specific implementation of the present application, the initial curve acquisition module 32 includes:
[0142] The data cleaning submodule is used to clean each historical data set to obtain each cleaned historical data set;
[0143] The initial curve acquisition submodule is used to train the pre-built prediction model using each cleaned historical data set to fit the initial unit characteristic curve corresponding to each unit.
[0144] In a specific implementation of the present application, the automatic power generation control module 35 is specifically a module that sends each active power distribution value to the dispatching automation system of each unit, so that each dispatching automation system performs automatic power generation control on each unit.
[0145] In a specific embodiment of the present application, the device may further include:
[0146] A data set acquisition module is used to acquire the data set of the current operation time period after obtaining the initial unit characteristic curves corresponding to each unit;
[0147] A curve correction module, used for correcting the initial unit characteristic curve according to the data set containing the real data to obtain a corrected unit characteristic curve when there is real data corresponding to the predicted data area in the initial unit characteristic curve in the data set;
[0148] The total water consumption function obtaining module 33 is specifically used to solve the total water consumption function according to the total active power, the characteristic curves of each corrected unit, and each constraint condition.
[0149] In a specific implementation of the present application, the total water consumption function obtaining module 33 includes:
[0150] An equality constraint conversion submodule, used for converting inequality constraints into equality constraints by introducing slack variables into inequality constraints in each constraint condition;
[0151] A first constraint condition set acquisition submodule, used to acquire a first constraint condition set including the converted equality constraints and the original equality constraints;
[0152] The first total water consumption function solving submodule is used to solve the total water consumption function according to the total active power, the characteristic curves of each initial unit, and the first constraint condition set.
[0153] In a specific implementation of the present application, the total water consumption function obtaining module 33 includes:
[0154] An augmented Lagrangian function construction submodule, used to construct an augmented Lagrangian function by introducing a quadratic penalty function into the value range constraints contained in each constraint condition;
[0155] A second constraint condition set acquisition submodule, used to acquire a second constraint condition set including an augmented Lagrangian function and original non-value range constraints;
[0156] The second total water consumption function solving submodule is used to solve the total water consumption function according to the total active power, the characteristic curves of each initial unit, and the second constraint condition set.
[0157] In a specific embodiment of the present application, the device may further include:
[0158] The data rounding module is used to round off the active power distribution value corresponding to each unit according to the preset rounding rule after obtaining the active power distribution value corresponding to each unit, when the active power distribution value is a decimal or fraction, to obtain an approximate integer optimal active power distribution value.
[0159] Corresponding to the above method embodiment, referring to FIG. 4 , FIG. 4 is a schematic diagram of an automatic power generation control device for small and medium-sized units in a hydropower station provided by the present application, and the device may include:
[0160] A memory 332, for storing computer programs;
[0161] The processor 322 is used to implement the steps of the method for automatic power generation control of small and medium-sized units in a hydropower station in the above method embodiment when executing a computer program.
[0162] For details, please refer to Figure 5 , Figure 5 A specific structural diagram of an automatic power generation control device for small and medium-sized units of a hydropower station provided in this embodiment, the automatic power generation control device for small and medium-sized units of a hydropower station may have relatively large differences due to different configurations or performances, and may include a processor (central processing units, CPU) 322 (for example, one or more processors) and a memory 332, and the memory 332 stores one or more computer programs 342 or data 344. Among them, the memory 332 can be a temporary storage or a permanent storage. The program stored in the memory 332 may include one or more modules (not shown in the figure), and each module may include a series of instruction operations in the data processing device. Furthermore, the processor 322 can be configured to communicate with the memory 332, and execute a series of instruction operations in the memory 332 on the automatic power generation control device 301 for small and medium-sized units of a hydropower station.
[0163] The automatic power generation control device 301 for small and medium-sized units in a hydropower station may also include one or more power supplies 326 , one or more wired or wireless network interfaces 350 , one or more input and output interfaces 358 , and / or one or more operating systems 341 .
[0164] The steps in the above-described method for automatic power generation control of small and medium-sized units in a hydropower station can be implemented by the structure of an automatic power generation control device for small and medium-sized units in a hydropower station.
[0165] Corresponding to the above method embodiment, the present application further provides a computer-readable storage medium, on which a computer program is stored. When the computer program is executed by a processor, the following steps can be implemented:
[0166] Obtain historical data sets corresponding to each unit; perform unit characteristic curve fitting according to each historical data set to obtain the initial unit characteristic curve corresponding to each unit; when the total active power to be allocated is received, perform unit active power modeling to obtain the total water consumption function; obtain the constraints that the total water consumption function must satisfy; solve the total water consumption function according to the total active power, the initial unit characteristic curves, and the constraints to obtain the active power allocation value corresponding to each unit, so as to perform automatic power generation control on each unit according to the active power allocation value.
[0167] The computer-readable storage medium may include: a USB flash drive, a mobile hard disk, a read-only memory (ROM), a random access memory (RAM), a magnetic disk or an optical disk, and other media that can store program codes.
[0168] For an introduction to the computer-readable storage medium provided in this application, please refer to the above method embodiment, and this application will not go into details here.
[0169] In this specification, each embodiment is described in a progressive manner, and each embodiment focuses on the differences from other embodiments. The same or similar parts between the embodiments can be referred to each other. For the devices, equipment and computer-readable storage media disclosed in the embodiments, since they correspond to the methods disclosed in the embodiments, the description is relatively simple, and the relevant parts can be referred to the method part description.
[0170] Specific examples are used herein to illustrate the principles and implementation methods of the present application, and the description of the above embodiments is only used to help understand the technical solution and core ideas of the present application. It should be pointed out that for ordinary technicians in this technical field, without departing from the principles of the present application, several improvements and modifications can be made to the present application, and these improvements and modifications also fall within the scope of protection of the present application.
Claims
1. A method for automatic power generation control of small and medium-sized units in a hydropower station, It is characterized in that include: Obtain the historical data sets corresponding to each unit; Fitting the unit characteristic curves according to each historical data set to obtain the initial unit characteristic curves corresponding to each unit; When the total active power to be distributed is received, the active power modeling of the unit is performed to obtain the total water consumption function; Obtaining various constraints that the total water consumption function needs to satisfy; The total water consumption function is solved according to the total active power, the characteristic curves of each initial unit and each constraint condition to obtain the active power distribution value corresponding to each unit, so as to automatically control the power generation of each unit according to each active power distribution value.
2. The automatic power generation control method for small and medium-sized units in a hydropower station according to claim 1, It is characterized in that The unit characteristic curves are fitted according to each historical data set to obtain the initial unit characteristic curves corresponding to each unit, including: Perform data cleaning on each historical data set to obtain each cleaned historical data set; The pre-built prediction model is trained using each cleaned historical data set to fit the initial unit characteristic curve corresponding to each unit.
3. The automatic power generation control method for small and medium-sized units in a hydropower station according to claim 1, It is characterized in that To automatically control the power generation of each unit according to the active power distribution value, including: Each active power distribution value is sent to the dispatching automation system of each unit so that each dispatching automation system can automatically control the power generation of each unit.
4. The automatic power generation control method for small and medium-sized units in a hydropower station according to claim 1, It is characterized in that After obtaining the initial unit characteristic curves corresponding to each unit, it also includes: Get the data set for the current running time period; When there is real data corresponding to the predicted data area in the initial unit characteristic curve in the data set, the initial unit characteristic curve is corrected according to the data set containing the real data to obtain a corrected unit characteristic curve; Accordingly, solving the total water consumption function according to the total active power, the characteristic curves of each initial unit, and each constraint condition includes: The total water consumption function is solved according to the total active power, the characteristic curves of each corrected unit, and each constraint condition.
5. The automatic power generation control method for small and medium-sized units in a hydropower station according to any one of claims 1 to 4, It is characterized in that Solving the total water consumption function according to the total active power, the characteristic curves of each initial unit, and each constraint condition includes: Converting the inequality constraints in each constraint condition into equality constraints by introducing slack variables into the inequality constraints; Obtain a first constraint condition set including the converted equality constraints and the original equality constraints; The total water consumption function is solved according to the total active power, the characteristic curves of each initial unit, and the first constraint condition set.
6. The automatic power generation control method for small and medium-sized units in a hydropower station according to any one of claims 1 to 4, It is characterized in that Solving the total water consumption function according to the total active power, the characteristic curves of each initial unit, and each constraint condition includes: The augmented Lagrangian function is constructed by introducing a quadratic penalty function into the value range constraints contained in each constraint condition; Obtaining a second constraint condition set including the augmented Lagrangian function and original non-value range constraint conditions; The total water consumption function is solved according to the total active power, the characteristic curves of each initial unit, and the second constraint condition set.
7. The automatic power generation control method for small and medium-sized units in a hydropower station according to claim 1, It is characterized in that After obtaining the active power distribution values corresponding to each unit, it also includes: When the active power allocation value is a decimal or a fraction, the active power allocation value is rounded according to a preset rounding rule to obtain an approximate integer optimal active power allocation value.
8. An automatic power generation control device for small and medium-sized units in a hydropower station, It is characterized in that include: A historical data set acquisition module is used to acquire the historical data sets corresponding to each unit; An initial curve acquisition module is used to perform unit characteristic curve fitting according to each historical data set to obtain the initial unit characteristic curve corresponding to each unit; A total water consumption function acquisition module is used to perform unit active power modeling and obtain a total water consumption function when receiving the total active power to be allocated; A constraint condition acquisition module, used to acquire various constraint conditions that the total water consumption function needs to satisfy; The automatic power generation control module is used to solve the total water consumption function according to the total active power, the characteristic curves of each initial unit, and each constraint condition, and obtain the active power distribution value corresponding to each unit, so as to automatically control the power generation of each unit according to each active power distribution value.
9. An automatic power generation control device for small and medium-sized units in a hydropower station. It is characterized in that include: Memory for storing computer programs; A processor is used to implement the steps of the automatic power generation control method for small and medium-sized units in a hydropower station as claimed in any one of claims 1 to 7 when executing the computer program.
10. A computer-readable storage medium, It is characterized in that The computer-readable storage medium stores a computer program, which, when executed by a processor, implements the steps of the method for automatic power generation control of small and medium-sized units in a hydropower station as claimed in any one of claims 1 to 7.
