A method, system, device and medium for correcting water data of a hydropower station
By combining the moving average method and the Kalman filter method in hydropower stations to perform nested corrections on reservoir flow data at hourly and daily scales, the problems of negative values and abnormal fluctuations in water data were solved, the accuracy and continuity of data were achieved, and the scheduling and equipment safety of hydropower stations were improved.
Patent Information
- Application Number
- CN202411656201.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-11-19
- Publication Date
- 2025-12-05
- Estimated Expiration
- 2044-11-19
AI Technical Summary
In existing technologies, water management data for hydropower stations, especially inflow data, are prone to negative values or abnormal fluctuations, which affect the scheduling decisions and equipment safety of hydropower stations, and there is a lack of effective correction methods.
A method combining moving average and Kalman filtering was used to perform nested corrections on reservoir flow data at hourly and daily scales. Negative values and abnormal fluctuations were handled by gradually expanding the time window and using weighted smoothing to ensure the accuracy and continuity of the data.
It effectively eliminated abnormal fluctuations in hydropower station water data, ensured the accuracy and continuity of data at different time scales, and improved the scheduling decisions and equipment safety of hydropower stations.
Smart Images

Figure CN119884577B_ABST
Abstract
Description
TECHNICAL FIELD
[0001] The present application relates to the technical field of hydropower generation, and in particular to a water affair data correction method, system, device and medium for a hydropower station. BACKGROUND
[0002] In the operation process of a cascade hydropower station, accurate calculation of inflow is crucial for reservoir regulation, power generation planning and flood control management.
[0003] Generally, inflow is calculated by back calculation based on outflow and reservoir water level changes. However, actual inflow data may be negative or abnormally fluctuating due to various factors such as sensor errors, data acquisition system abnormalities, environmental interference, etc. Errors in water affair data such as inflow data not only affect the scheduling decisions of the hydropower station, but also may pose potential risks to water resource utilization and equipment safety.
[0004] At present, there is no effective solution to the problem of how to reasonably correct the water affair data related to the hydropower station in the related art. SUMMARY
[0005] The embodiments of the present application provide a water affair data correction method, system, device and medium for a hydropower station to at least solve the problem of how to reasonably correct the water affair data related to the hydropower station in the related art.
[0006] In a first aspect, the embodiments of the present application provide a water affair data correction method for a hydropower station, comprising:
[0007] acquiring reservoir flow data of the hydropower station;
[0008] based on the reservoir flow data, calculating average flow data of the hydropower station in a preset time period, and determining whether the average flow data is negative;
[0009] if the average flow data is negative, performing hour-scale correction on the reservoir flow data to obtain hour-scale corrected reservoir flow data;
[0010] and on the basis of the hour-scale correction, performing day-scale correction on the reservoir flow data to obtain day-scale corrected reservoir flow data.
[0011] In some embodiments, acquiring reservoir flow data of the hydropower station comprises:
[0012] acquiring reservoir flow data of the hydropower station, wherein the reservoir flow data includes reservoir inflow data and reservoir outflow data.
[0013] In some embodiments, based on the reservoir flow data, calculating average flow data of the hydropower station in a preset time period comprises:
[0014] Based on the reservoir inflow data, the average inflow data of the hydropower station in a preset time period is calculated by moving average method and Kalman filtering method.
[0015] In some embodiments, if the average flow data is negative, the hour-scale correction of the reservoir flow data comprises:
[0016] If the average inflow data is negative, the time window of the moving average method is gradually expanded in hours, the average inflow data of the hydropower station in the time window is recalculated until the average inflow data is non-negative, and the reservoir inflow data is corrected to the non-negative average inflow data.
[0017] In some embodiments, if the average flow data is negative, the hour-scale correction of the reservoir flow data further comprises:
[0018] Based on the reservoir outflow data and the hour-scale corrected reservoir inflow data, the reservoir interval flow data of the hydropower station is calculated;
[0019] Based on the reservoir interval flow data, the average interval flow data of the hydropower station in a preset time period is calculated by moving average method and Kalman filtering method;
[0020] If the average interval flow data is negative, the time window of the moving average method is gradually expanded in hours, the average interval flow data of the hydropower station in the time window is recalculated until the average interval flow data is non-negative, and the reservoir interval flow data is corrected to the non-negative average interval flow data.
[0021] In some embodiments, on the basis of the hour-scale correction, the day-scale correction of the reservoir flow data comprises:
[0022] The hour-scale corrected reservoir inflow data of the previous day is obtained, and whether the reservoir inflow data is negative is gradually determined in hours. If the reservoir inflow data is non-negative, no day-scale correction is needed, and if the reservoir inflow data is negative, the day-scale correction of the reservoir inflow data is performed.
[0023] In some embodiments, if the reservoir inflow data is negative, the day-scale correction of the reservoir inflow data comprises:
[0024] If the reservoir inflow data is negative, the previous day's hour-scale corrected reservoir interval flow data is obtained, and the reservoir inflow data is recalculated based on the reservoir interval flow data and the reservoir outflow data;
[0025] If the recalculated reservoir inflow data is negative, the reservoir interval flow data is recalculated by a weighted smoothing method based on the reservoir interval flow data, and the reservoir inflow data is calculated again until the reservoir inflow data is non-negative.
[0026] If the recalculated reservoir inflow data is non-negative, the reservoir inflow data is corrected to the average interval flow data of the non-negative value.
[0027] In a second aspect, the embodiments of the present application provide a water data correction system of a hydropower station, which is used to execute the method of the first aspect, and the system comprises a data acquisition module, a negative value detection module and a negative value repair module.
[0028] The data acquisition module is configured to acquire reservoir flow data of the hydropower station.
[0029] The negative value detection module is configured to calculate average flow data of the hydropower station in a preset time period according to the reservoir flow data, and determine whether the average flow data is negative.
[0030] The negative value repair module is configured to perform hour-scale correction on the reservoir flow data if the average flow data is negative, to obtain hour-scale corrected reservoir flow data.
[0031] The negative value repair module is configured to perform day-scale correction on the reservoir flow data based on the hour-scale correction, to obtain day-scale corrected reservoir flow data.
[0032] In a third aspect, the embodiments of the present application provide an electronic device, which comprises a memory, a processor and a computer program stored in the memory and executable on the processor, and the processor executes the computer program to implement the method of the first aspect.
[0033] In a fourth aspect, the embodiments of the present application provide a computer readable storage medium, which stores a computer program executable by a processor to implement the method of the first aspect.
[0034] Compared with the related art, the water conservancy data correction method, system, device and medium of a hydropower station provided by the embodiments of the present application, wherein the method collects reservoir flow data of the hydropower station; based on the reservoir flow data, average flow data of the hydropower station in a preset time period is calculated, and it is judged whether the average flow data is a negative value; if the average flow data is a negative value, the reservoir flow data is corrected in an hourly scale to obtain the reservoir flow data corrected in the hourly scale; and on the basis of the hourly scale correction, the reservoir flow data is corrected in a daily scale to obtain the reservoir flow data corrected in the daily scale, realizing the nested correction of the reservoir flow data of the hydropower station based on the hourly scale and the daily scale, correcting the negative value and abnormal fluctuation data in real time in the hourly scale, and further adjusting the complex abnormal situation in the daily scale, ensuring the data accuracy and continuity in different time scales, and solving the problem of how to reasonably correct the water conservancy data related to the hydropower station. BRIEF DESCRIPTION OF DRAWINGS
[0035] The accompanying drawings, which are included to provide a further understanding of the present application, constitute a part of this application and help to explain the present application, but do not limit the present application in any way. In the drawings:
[0036] Figure 1 is a step flow chart of the water conservancy data correction method of a hydropower station according to the embodiments of the present application;
[0037] Figure 2 is a flowchart of the hourly scale correction of the water conservancy data of a hydropower station according to the embodiments of the present application;
[0038] Figure 3 is a flowchart of the daily scale correction of the water conservancy data of a hydropower station according to the embodiments of the present application;
[0039] Figure 4 is a structural block diagram of the water conservancy data correction system of a hydropower station according to the embodiments of the present application;
[0040] Figure 5 is a schematic diagram of the internal structure of an electronic device according to the embodiments of the present application. DETAILED DESCRIPTION
[0041] In order to make the purpose, technical solutions and advantages of the present application more clear, the present application is described and explained below in combination with the drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present application, and do not limit the present application. Based on the embodiments provided by the present application, all other embodiments obtained by those of ordinary skill in the art without creative labor fall within the scope of the present application.
[0042] It is apparent that the drawings in the following description merely show some examples or embodiments of the present application, and the present application can be applied to other similar situations without creative labor by those skilled in the art based on these drawings. In addition, it can be understood that, although the efforts made in the development process can be complex and lengthy, some modifications, such as design, manufacture or production, etc. based on the technical content disclosed in the present application, are only routine technical means for those skilled in the art related to the content disclosed in the present application, and should not be understood as insufficient disclosure of the content disclosed in the present application.
[0043] Reference to "an embodiment" in this application means that a particular feature, structure, or characteristic described in connection with the embodiment can be included in at least one embodiment of the application. The appearances of the phrase in various places in the specification are not necessarily all referring to the same embodiment, nor are they necessarily mutually exclusive of one another. It is explicitly contemplated that embodiments described herein can be combined with other embodiments in a non- conflicting manner.
[0044] Unless otherwise defined, technical terms or scientific terms used in the present application shall have the ordinary meaning understood by one of ordinary skill in the art to which the present application pertains. The terms "a", "an", "one", "this", and similar terms as used in the present application are not limited to the singular form but include plural forms unless otherwise defined. The terms "include", "comprise", "have", and any variations thereof as used in the present application are intended to cover a non-exclusive inclusion; for example, a process, method, system, product, or device including a list of steps or modules (units) is not limited to the listed steps or units, but can further include other steps or units not listed or can further include other steps or units inherent to such a process, method, product, or device. The terms "connect", "connected", "coupled", and similar terms as used in the present application are not limited to physical or mechanical connections, but can include electrical connections, whether direct or indirect. The term "multiple" as used in the present application means two or more. The term "and / or" describes the association relationship of the associated objects, which means that there can be three relationships, for example, "A and / or B" can mean that A exists alone, A and B exist together, and B exists alone. The character " / " generally represents an "or" relationship between the associated objects. The terms "first", "second", "third", and the like as used in the present application are merely to distinguish similar objects, and do not represent a specific order for the objects.
[0045] First of all, it needs to be pointed out that the period of water conservancy calculation program calculated into the reservoir flow or the interval of cascade power station often appears negative value, especially in the water conservancy calculation of hour period, the calculated reservoir inflow process often presents "sawtooth shape", which is not consistent with the fact, and brings a series of problems to the prediction, dispatching and dispatching evaluation work. The error of reservoir inflow mainly comes from the period of reservoir storage difference and reservoir outflow.
[0046] The error of period of reservoir storage difference: the period of reservoir storage difference is determined by the initial water level of period, the final water level of period and the reservoir storage curve. The initial water level of period and the final water level of period are measured by water level meter. Improving the accuracy of water level measurement and correcting the reservoir storage curve can reduce the calculation error of period of reservoir storage difference. In the work, the water level is usually measured by float type water level meter, and the resolution of water level measurement is 1cm. Taking a power station as an example, in the range of reservoir water level close to normal high, the water level deviation is 1cm, and the 1h reservoir storage difference equivalent flow will have an error of 125-150 cubic meters per second or even more. When the hourly outflow is 0 or only a few flows, the 1h reservoir inflow calculated by this method will have a high probability of negative value.
[0047] The error of reservoir outflow: the reservoir outflow is composed of power generation flow, flood discharge flow and other flow. When the average load and average water head of single machine power generation flow in the period are known, the negative NHQ relationship curve is usually used to find out, or the ultrasonic flowmeter is used to measure. When the calculation period is mixed with power generation, no load and shutdown in different states, the error is larger, and different states should be calculated separately to reduce the error. When the gate opening and opening time are known, the discharge curve is usually used for interpolation calculation. When the gate is opened, the time from 0 gate opening to the opening position is several minutes to twenty minutes, and the closing is the same. It is generally believed that the gate is instantaneously opened and closed to the position, and the gradually changing flow in the opening and closing process is ignored, which will produce a certain error. In addition, the algorithm of using initial and final water level to find the flood discharge flow and then averaging will also produce a certain error.
[0048] Therefore, the present application proposes a water conservancy data correction method for hydropower station, which combines hour scale and day scale for nested correction, can effectively deal with the negative value and abnormal fluctuation problem in reservoir inflow, and avoids the limitation brought by single scale correction in the prior art. Through the multi-scale correction process, the accuracy and continuity of the data in a short time (hour level) and a long period (day level) are ensured.
[0049] The embodiment of the present application provides a water conservancy data correction method for hydropower station, Figure 1 is a step flow chart of the water conservancy data correction method for hydropower station according to the embodiment of the present application, as Figure 1 shown, the method comprises the following steps:
[0050] Step S102, collecting reservoir flow data of the hydropower station;
[0051] In step S102, the reservoir flow data of the hydropower station is collected, wherein the reservoir flow data includes reservoir inflow data and reservoir outflow data.
[0052] In step S104, the average flow data of the hydropower station in a preset time period is calculated based on the reservoir flow data, and it is determined whether the average flow data is negative.
[0053] In step S104, the reservoir flow data includes reservoir inflow data and reservoir outflow data, and the average inflow data of the hydropower station in a preset time period is calculated based on the reservoir inflow data by using the moving average method and the Kalman filter method.
[0054] It should be noted that the moving average method is a technique for data analysis, mainly used for smoothing time series data to identify trends and eliminate the effects of short-term fluctuations; its basic principle is to calculate the average value of data within a selected time window, and as new data is added, the data in the window will also be updated accordingly, which can reduce random fluctuations in time series and show the trend of data. The Kalman filter method is an algorithm for estimating the state of a system, which combines the dynamic model of the system and the observation data to estimate the state of the system by recursion; its basic principle is to predict the state at the next time according to the dynamic model (state transition equation), and correct the predicted state using observation data to obtain more accurate state estimation. Therefore, in step S104 of the embodiment, the average inflow data is calculated by combining the moving average method and the Kalman filter in the hourly scale correction, which realizes the rapid identification of negative values and abnormal fluctuations, can handle complex flow anomalies in a short time, and ensures the real-time and accuracy of the data.
[0055] In step S106, if the average flow data is negative, the reservoir flow data is corrected in the hourly scale to obtain the hourly scale corrected reservoir flow data.
[0056] Step S106 specifically includes the following steps:
[0057] In step S1061, if the average inflow data is negative, the time window of the moving average method is gradually expanded in hours, the average inflow data of the hydropower station in the time window is recalculated, and the average inflow data is non-negative until the average inflow data is non-negative. The reservoir inflow data is corrected to the non-negative average inflow data.
[0058] In step S1062, the reservoir interval flow data of the hydropower station is calculated based on the reservoir outflow data and the hourly scale corrected reservoir inflow data.
[0059] Step S1063, based on the reservoir interval flow data, the average interval flow data of the hydropower station in the preset time period is calculated by moving average method and Kalman filtering method;
[0060] Step S1064, if the average interval flow data is negative, the time window of the moving average method is gradually expanded in units of hours, the average interval flow data of the hydropower station in the time window is recalculated, until the average interval flow data is non-negative, and the reservoir interval flow data is corrected to the average interval flow data with non-negative value.
[0061] It is necessary to illustrate that, Figure 2 is the flow diagram of the water power data hour scale correction of the hydropower station according to the embodiment of the application, as Figure 2 shown, the initial period X is 1, it is set to gradually expand the time window of the moving average method in units of hours (1h), and maxH is the set maximum backtracking period number.
[0062] If the average inflow Qr in the time window calculated by the moving average method and Kalman filtering method is negative, the time window of the moving average method is gradually expanded in units of hours (X=X+1), the average inflow Qr is recalculated, and the time window cannot exceed the initial hh or the set maximum historical period maxH, that is, X<MIN(hh,maxH); if the average inflow Qr is non-negative, the current correction parameter T=X is recorded, and the reservoir inflow in the previous T period is corrected to the average inflow Qr.
[0063] According to the corrected reservoir inflow and reservoir outflow of the previous T period, the reservoir interval flow (reservoir interval flow= reservoir inflow-reservoir outflow) is recalculated, and then the average interval flow Qq is calculated by the moving average method and Kalman filtering method, if the average interval flow Qq is negative, the time window of the moving average method is gradually expanded in units of hours (X=X+1), the average interval flow Qq is recalculated, and the time window cannot exceed the initial hh or the set maximum historical period maxH, that is, X<MIN(hh,maxH); if the average interval flow Qq is non-negative, the current correction parameter T=X is recorded, and the reservoir interval flow in the previous T period is corrected to the average interval flow Qq.
[0064] In addition, after the correction is completed, the corrected flow data Qr and Qq are stored for further processing of subsequent day scale correction. At the same time, the correction result is fed back to the real-time water management calculation system to ensure that the correction algorithm of the next period can be adjusted adaptively according to the latest correction result.
[0065] Step S108, and on the basis of the hourly scale correction, the reservoir flow data is corrected in a daily scale to obtain the reservoir flow data corrected in a daily scale.
[0066] Step S108 specifically includes the following steps:
[0067] Step S1081, the reservoir inflow flow data corrected in the hourly scale of the previous day is acquired, and it is determined step by step whether the reservoir inflow flow data is a negative value in units of hours, if the reservoir inflow flow data is a non-negative value, daily scale correction is not needed;
[0068] Step S1082, if the reservoir inflow flow data is a negative value, the reservoir interval flow data corrected in the hourly scale of the previous day is acquired, and the reservoir inflow flow data is recalculated based on the reservoir interval flow data and the reservoir outflow flow data;
[0069] Step S1083, if the recalculated reservoir inflow flow data is a negative value, the reservoir interval flow data is recalculated by a weighted smoothing method based on the reservoir interval flow data, and the reservoir inflow flow data is calculated again until the reservoir inflow flow data is a non-negative value;
[0070] Step S1084, if the recalculated reservoir inflow flow data is a non-negative value, the reservoir inflow flow data is corrected to the average interval flow data of the non-negative value.
[0071] Through the embodiments of the present application, a double correction mechanism of inflow flow and interval flow is proposed, the interval flow is the reservoir inflow flow minus the upstream outflow flow, and the root cause of the abnormal data is the abnormality of the reservoir inflow flow, so that hierarchical and step-by-step correction of the two types of flow is realized; combined with a variety of abnormal processing algorithms (such as moving average method, Kalman filter, weighted water level smoothing method), a powerful data processing tool set is formed, which can effectively eliminate abnormal fluctuations in flow data and ensure the long-term consistency of flow and water level.
[0072] In some embodiments, the daily scale correction is a further adjustment on the basis of the hourly scale correction, and the purpose is to comprehensively correct the flow data in a daily scale to ensure the accuracy and continuity of the flow data in a long time period, especially for complex abnormal situations that cannot be handled in the hourly scale, mainly for the situation that the smoothing of the previous period cannot handle negative values, and the data of the subsequent period is corrected by smoothing.
[0073] For the daily scale correction in the above step S108, preferably, Figure 3 is a flow diagram of daily scale correction of water power station water data according to the embodiments of the present application, such as Figure 3As shown, all the periods of the previous day's hourly scale correction are obtained, the inflow Qr, the whole point water level Z, the outflow Qc, the initial parameter h is set to 1, the calculation is started from h = 1, it is judged whether the inflow Qr(h) of the current period is negative, if Qr(h) is non-negative, no correction is needed, the h value is incremented, the inflow Qr(h) of the next period is processed, and h < 24; if Qr(h) is negative, the inflow of the period is corrected, the inflow Qrx(h) of the period is recalculated and the negative value is replaced, and the specific recalculation process includes:
[0074] The corrected whole point water level Zx(h) is calculated by the weighted smoothing method Zx(h) = (A*Z(h-1) + B*Z(h) + C*Z(h+1)) / sum(A+B+C), wherein Z(h) is the whole point water level of the current period, Z(h-1) is the whole point water level of the previous period, Z(h+1) is the whole point water level of the next period, A, B and C are preset weights. Based on the corrected whole point water level Zx(h), the reservoir interval flow is obtained, according to the above obtained outflow Qc, the inflow Qrx(h) is recalculated by reservoir interval flow = reservoir inflow - reservoir outflow, if the inflow Qrx(h) is negative, the inflow Qrx(h) of the period is recalculated, the weight of the larger value of the three whole point water levels is increased by a preset step, until the recalculated Qrx(h) is non-negative; if Qrx(h) is non-negative, the corrected Qrx(h) and the corresponding Zx(h) are recorded.
[0075] It should be noted that the steps shown in the above process or the flowchart of the accompanying drawings can be executed in a computer system such as a group of computer executable instructions, and although the logical order is shown in the flowchart, in some cases, the steps shown or described can be executed in an order different from here.
[0076] The embodiment of the present application provides a water data correction system of a hydropower station, Figure 4 is a structural block diagram of the water data correction system of the hydropower station according to the embodiment of the present application, as Figure 4 As shown, the system comprises a data acquisition module, a negative value detection module and a negative value repair module;
[0077] The data acquisition module is used for acquiring the reservoir flow data of the hydropower station;
[0078] The negative value detection module is used for calculating the average flow data of the hydropower station in a preset time period according to the reservoir flow data, and judging whether the average flow data is negative;
[0079] The negative value repairing module is configured to correct the reservoir flow data at an hourly scale if the average flow data is negative, to obtain hourly scale corrected reservoir flow data.
[0080] The negative value repairing module is configured to correct the reservoir flow data at a daily scale on the basis of the hourly scale correction, to obtain daily scale corrected reservoir flow data.
[0081] Through the data acquisition module, the negative value detecting module and the negative value repairing module in the embodiments of the present application, nested correction of the hydropower station reservoir flow data based on the hourly scale and the daily scale is realized, negative values and abnormal fluctuation data are corrected in real time at the hourly scale, and complex abnormal conditions are further adjusted at the daily scale, so as to ensure the accuracy and continuity of the data at different time scales, and solve the problem of how to reasonably correct the water affairs data related to the hydropower station.
[0082] It should be noted that each of the above modules can be a functional module or a program module, and can be implemented by software or hardware. For the modules implemented by hardware, each of the above modules can be located in the same processor, or each of the above modules can be located in different processors in any combination.
[0083] The embodiments also provide an electronic device including a memory and a processor, the memory storing a computer program, and the processor being configured to execute the computer program to perform the steps in any of the method embodiments.
[0084] Optionally, the electronic device can further include a transmission device and an input / output device, wherein the transmission device is connected with the processor, and the input / output device is connected with the processor.
[0085] It should be noted that the specific examples in the embodiments can refer to the examples described in the above embodiments and optional implementation manners, and the embodiments will not be described here.
[0086] In addition, in combination with the water affairs data correction method of the hydropower station in the above embodiments, the embodiments of the present application can provide a storage medium for implementation. The storage medium stores a computer program; when the computer program is executed by a processor, any of the water affairs data correction methods of the hydropower station in the above embodiments is implemented.
[0087] In one embodiment, a computer device is provided, which can be a terminal. The computer device comprises a processor, a memory, a network interface, a display screen and an input device connected through a system bus. The processor of the computer device is configured to provide computing and control capabilities. The memory of the computer device comprises a non-volatile storage medium and an internal memory. The non-volatile storage medium stores an operating system and a computer program. The internal memory provides an environment for running the operating system and the computer program in the non-volatile storage medium. The network interface of the computer device is configured to communicate with an external terminal through a network connection. The computer program is executed by the processor to implement a method for correcting water affair data of a hydropower station. The display screen of the computer device can be a liquid crystal display screen or an electronic ink display screen. The input device of the computer device can be a touch layer overlaid on the display screen, or a key, trackball or touchpad arranged on the shell of the computer device, or an external keyboard, touchpad or mouse, etc.
[0088] In one embodiment, Figure 5 is a schematic diagram of the internal structure of an electronic device according to an embodiment of the present application. As shown in Figure 5 , an electronic device is provided, which can be a server, and a schematic diagram of the internal structure of the electronic device can be as shown in Figure 5 . The electronic device comprises a processor, a network interface, an internal memory and a non-volatile memory connected through an internal bus, wherein the non-volatile memory stores an operating system, a computer program and a database. The processor is configured to provide computing and control capabilities, the network interface is configured to communicate with an external terminal through a network connection, the internal memory is configured to provide an environment for running the operating system and the computer program, the computer program is executed by the processor to implement a method for correcting water affair data of a hydropower station, and the database is configured to store data.
[0089] Those skilled in the art can understand that Figure 5 the structure shown in the above embodiment is only a block diagram of part of the structure related to the scheme of the present application, and does not constitute a limitation on the electronic device to which the scheme of the present application is applied. Specifically, the electronic device can comprise more or fewer components than those shown in the diagram, or some components can be combined, or have a different arrangement of components.
[0090] Those skilled in the art can understand that all or part of the processes in the above-mentioned embodiment methods can be completed by instructing the relevant hardware through a computer program, and the computer program can be stored in a non-volatile computer readable storage medium. When the computer program is executed, it can include the processes of the above-mentioned embodiment methods. Any reference to memory, storage, database or other medium used in the embodiments provided in the present application can include non-volatile and / or volatile memory. Non-volatile memory can include read-only memory (ROM), programmable ROM (PROM), electrically programmable ROM (EPROM), electrically erasable programmable ROM (EEPROM) or flash memory. Volatile memory can include random access memory (RAM) or external cache memory. As an illustration but not limitation, RAM is available in various forms, such as static RAM (SRAM), dynamic RAM (DRAM), synchronous DRAM (SDRAM), double data rate SDRAM (DDR SDRAM), enhanced SDRAM (ESDRAM), synchronous link (Synchlink) DRAM (SLDRAM), memory bus (Rambus) direct RAM (RDRAM), direct memory bus dynamic RAM (DRDRAM), and memory bus dynamic RAM (RDRAM), etc.
[0091] Those skilled in the art should understand that each technical feature of the above-mentioned embodiments can be combined arbitrarily, and in order to make the description simple, not all possible combinations of each technical feature in the above-mentioned embodiments are described, however, as long as the combination of these technical features does not exist contradictory, it should be considered as the scope of the present application.
[0092] The above-mentioned embodiments only express several implementation manners of the present application, and the description is more specific and detailed, but it should not be understood as a limitation on the scope of the patent. It should be pointed out that for ordinary skilled in the art, without departing from the concept of the present application, a number of modifications and improvements can be made, which are all within the scope of the present application. Therefore, the scope of protection of the patent of the present application should be subject to the appended claims.
Claims
1. A method of correcting water management data of a hydroelectric power plant, characterized by, The method comprises: collecting reservoir flow data of a hydropower station, wherein the reservoir flow data comprises reservoir inflow data and reservoir outflow data; based on the reservoir flow data, calculating average flow data of the hydropower station in a preset time period, and determining whether the average flow data is negative, comprising: based on the reservoir inflow data, calculating average inflow data of the hydropower station in a preset time period by moving average method and Kalman filtering method; if the average flow data is negative, performing hour-scale correction on the reservoir flow data to obtain hour-scale corrected reservoir flow data, comprising: if the average inflow data is negative, gradually expanding the time window of the moving average method in units of hours, recalculating the average inflow data of the hydropower station in the time window, until the average inflow data is non-negative, and correcting the reservoir inflow data in the time window to the average inflow data of the non-negative value; based on the reservoir outflow data and the hour-scale corrected reservoir inflow data, calculating reservoir interval flow data of the hydropower station, reservoir interval flow = reservoir inflow - reservoir outflow; based on the reservoir interval flow data, calculating average interval flow data of the hydropower station in a preset time period by moving average method and Kalman filtering method; if the average interval flow data is negative, gradually expanding the time window of the moving average method in units of hours, recalculating the average interval flow data of the hydropower station in the time window, until the average interval flow data is non-negative, and correcting the reservoir interval flow data in the time window to the average interval flow data of the non-negative value; on the basis of the hour-scale correction, performing day-scale correction on the reservoir flow data to obtain day-scale corrected reservoir flow data, comprising: obtaining the hour-scale corrected reservoir inflow data of the previous day, gradually judging whether the reservoir inflow data is negative in units of hours, if the reservoir inflow data is non-negative, no day-scale correction is needed, if the reservoir inflow data is negative, performing day-scale correction on the reservoir inflow data; wherein, if the reservoir inflow data is negative, performing day-scale correction on the reservoir inflow data comprises: if the reservoir inflow data is negative, obtaining the hour-scale corrected reservoir interval flow data of the previous day, and recalculating the reservoir inflow data based on the reservoir interval flow data and the reservoir outflow data; if the recalculated reservoir inflow data is negative, recalculating the reservoir interval flow data by weighted smoothing method based on the reservoir interval flow data, and recalculating the reservoir inflow data again until the reservoir inflow data is non-negative; if the recalculated reservoir inflow data is non-negative, correcting the negative reservoir inflow data to the average interval flow data of the non-negative value.
2. A water data correction system for a hydroelectric power plant, characterized by, The system is used for executing the method in claim 1, and comprises a data collection module, a negative value detection module and a negative value repairing module. The data collection module is used for collecting reservoir flow data of a hydropower station. The negative value detection module is used for calculating average flow data of the hydropower station in a preset time period according to the reservoir flow data, and judging whether the average flow data is negative. The negative value repairing module is used for performing hour-scale correction on the reservoir flow data if the average flow data is negative, to obtain hour-scale corrected reservoir flow data. The negative value repairing module is used for performing day-scale correction on the reservoir flow data on the basis of the hour-scale correction, to obtain day-scale corrected reservoir flow data. 3.An electronic device comprising a memory and a processor, the electronic device characterized by, The memory stores a computer program, and the processor is configured to run the computer program to execute the method in claim 1.
4. A computer-readable storage medium having stored thereon a computer program, characterized in that, The program is executed by the processor to implement the method in claim 1.
Citation Information
Patent Citations
Warehousing flow backstepping method based on real-time error control
CN114385968A
Reservoir capacity curve correction method and device, storage medium and electronic equipment
CN115423357A