Water affair data correction method, system and device of hydropower station and medium

By performing nested corrections on hourly and daily scales on the reservoir flow data of hydropower stations, the problems of negative values ​​and abnormal fluctuations in the inlet flow data are solved, the accuracy and continuity of the data are ensured, and the effective scheduling and management of hydropower stations are supported.

CN119884577AActive Publication Date: 2025-04-25HUADIAN ELECTRIC POWER SCI INST CO LTD
View PDF 3 Cites 0 Cited by

Patent Information

Application Number
CN202411656201.7
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-11-19
Publication Date
2025-04-25
Estimated Expiration
2044-11-19

AI Technical Summary

Technical Problem

In cascade hydropower stations, the accurate calculation of incoming flow is affected by factors such as sensor error, abnormal data acquisition system and environmental interference, resulting in negative values ​​or abnormal fluctuations, affecting reservoir scheduling, power generation planning and flood control management.

Method used

By collecting reservoir flow data of hydropower stations, calculating the average flow data within the preset time period, and determining whether it is a negative value. If it is a negative value, hourly scale correction and daily scale correction are performed, and the data are gradually corrected through algorithms such as moving average method, Kalman filtering method and weighted smoothing method until a non-negative average flow data is obtained.

Benefits of technology

Reasonable correction of the water data of hydropower stations has been achieved, ensuring the accuracy and continuity of the data on different time scales, and avoiding the adverse effects of negative values ​​and abnormal fluctuations on the operation of hydropower stations.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119884577A_ABST
    Figure CN119884577A_ABST
Patent Text Reader

Abstract

The invention relates to a water affair data correction method, system and device for a hydropower station and a medium, and the method comprises the steps: collecting the reservoir flow data of the hydropower station; calculating average flow data of the hydropower station in a preset time period based on the reservoir flow data, and judging whether the average flow data is a negative value or not; if the value is a negative value, performing hour scale correction on the reservoir flow data to obtain reservoir flow data after hour scale correction; and on the basis of hour scale correction, daily scale correction is carried out on the reservoir flow data to obtain the reservoir flow data after daily scale correction. Through the method and the device, nested correction of the reservoir flow data of the hydropower station based on the hour scale and the daily scale is realized, the negative value and the abnormal fluctuation data are corrected in real time on the hour scale, the complex abnormal condition is further adjusted on the daily scale, the data accuracy and continuity on different time scales are ensured, and the accuracy and the continuity of the reservoir flow data are improved. The problem of how to reasonably correct the water affair data related to the hydropower station is solved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the technical field of hydropower generation, and in particular to a method, system, device and medium for correcting water affairs data of a hydropower station. Background Art

[0002] During the operation of cascade hydropower stations, accurate calculation of inflow is crucial for reservoir scheduling, power generation planning and flood control management.

[0003] Generally, the inflow is calculated by reverse calculation based on the outflow and reservoir water level changes. However, the inflow data in actual operation may be negative or fluctuate abnormally due to various factors (such as sensor errors, data acquisition system abnormalities, environmental interference, etc.). Errors in water data such as inflow data not only affect the dispatching decisions of hydropower stations, but also may bring potential risks to water resource utilization and equipment safety.

[0004] Currently, no effective solution has been proposed for the problem of how to reasonably correct the water data involved in the hydropower station in the relevant technology. Summary of the invention

[0005] The embodiments of the present application provide a method, system, device and medium for correcting water affairs data of a hydropower station, so as to at least solve the problem of how to reasonably correct the water affairs data involved in the hydropower station in the related art.

[0006] In a first aspect, an embodiment of the present application provides a method for correcting water affairs data of a hydropower station, the method comprising:

[0007] Collect reservoir flow data for hydropower stations;

[0008] Based on the reservoir flow data, calculate the average flow data of the hydropower station within a preset time period, and determine whether the average flow data is a negative value;

[0009] If the average flow data is a negative value, the reservoir flow data is corrected on an hourly scale to obtain reservoir flow data after hourly scale correction;

[0010] And on the basis of the hourly scale correction, the reservoir flow data is corrected on a daily scale to obtain the reservoir flow data after the daily scale correction.

[0011] In some embodiments, collecting reservoir flow data of a hydropower station includes:

[0012] Collect 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 the average flow data of the hydropower station within a preset time period includes:

[0014] Based on the reservoir inflow data, the average inflow data of the hydropower station within a preset time period is calculated by moving average method and Kalman filtering method.

[0015] In some embodiments, if the average flow data is a negative value, performing hourly scale correction on the reservoir flow data includes:

[0016] If the average inflow flow data is a negative value, the time window of the moving average method is gradually expanded in units of hours, and the average inflow flow data of the hydropower station within the time window is recalculated until the average inflow flow data is a non-negative value, and the reservoir inflow flow data is corrected to the non-negative average inflow flow data.

[0017] In some embodiments, if the average flow data is a negative value, performing hourly scale correction on the reservoir flow data further includes:

[0018] Calculating the reservoir interval flow data of the hydropower station based on the reservoir outflow data and the hourly scale corrected reservoir inflow data;

[0019] Based on the reservoir interval flow data, the average interval flow data of the hydropower station within a preset time period is calculated by moving average method and Kalman filter method;

[0020] If the average interval flow data is a negative value, the time window of the moving average method is gradually expanded in hours, and the average interval flow data of the hydropower station within the time window is recalculated until the average interval flow data is a non-negative value, and the reservoir interval flow data is corrected to the non-negative average interval flow data.

[0021] In some embodiments, based on the hourly scale correction, performing daily scale correction on the reservoir flow data includes:

[0022] Obtain the reservoir inflow flow data after the hourly scale correction of the previous day, and gradually determine 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, no daily scale correction is required. If the reservoir inflow flow data is a negative value, the reservoir inflow flow data is corrected on a daily scale.

[0023] In some embodiments, if the reservoir inflow data is a negative value, performing a daily scale correction on the reservoir inflow data includes:

[0024] If the reservoir inflow data is a negative value, the reservoir interval flow data corrected on the hourly scale of the previous day 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 flow data is a negative value, then based on the reservoir interval flow data, the reservoir interval flow data is recalculated by a weighted smoothing method, and the reservoir inflow flow data is calculated again until the reservoir inflow flow data is a non-negative value;

[0026] 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.

[0027] In a second aspect, an embodiment of the present application provides a water data correction system for a hydropower station, the system being used to execute the method described in the first aspect above, the system comprising a data acquisition module, a negative value detection module and a negative value repair module;

[0028] The data acquisition module is used to collect reservoir flow data of the hydropower station;

[0029] The negative value detection module is used to calculate the average flow data of the hydropower station within a preset time period according to the reservoir flow data, and determine whether the average flow data is a negative value;

[0030] The negative value repair module is used to perform hourly scale correction on the reservoir flow data if the average flow data is a negative value, so as to obtain hourly scale corrected reservoir flow data;

[0031] The negative value repair module is used to perform daily scale correction on the reservoir flow data based on the hourly scale correction to obtain the reservoir flow data after daily scale correction.

[0032] In a third aspect, an embodiment of the present application provides an electronic device, comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor implements the method described in the first aspect when executing the computer program.

[0033] In a fourth aspect, an embodiment of the present application provides a computer-readable storage medium having a computer program stored thereon, which, when executed by a processor, implements the method described in the first aspect above.

[0034] Compared with the related art, the embodiment of the present application provides a method, system, device and medium for correcting water affairs data of a hydropower station, wherein the method collects reservoir flow data of the hydropower station; based on the reservoir flow data, calculates the average flow data of the hydropower station within a preset time period, and determines whether the average flow data is a negative value; if the average flow data is a negative value, the reservoir flow data is corrected on an hourly scale to obtain reservoir flow data after hourly scale correction; and on the basis of the hourly scale correction, the reservoir flow data is corrected on a daily scale to obtain reservoir flow data after daily scale correction, thereby realizing a nested correction of the reservoir flow data of the hydropower station based on the hourly scale and the daily scale, correcting negative values ​​and abnormal fluctuation data in real time on the hourly scale, and further adjusting complex abnormal situations on the daily scale, thereby ensuring the accuracy and continuity of data on different time scales, and solving the problem of how to reasonably correct the water affairs data involved in the hydropower station. BRIEF DESCRIPTION OF THE DRAWINGS

[0035] The drawings described herein are used to provide a further understanding of the present application and constitute a part of the present application. The illustrative embodiments of the present application and their descriptions are used to explain the present application and do not constitute an improper limitation on the present application. In the drawings:

[0036] Figure 1 is a flowchart of the steps of the method for correcting water affairs data of a hydropower station according to an embodiment of the present application;

[0037] Figure 2 It is a schematic diagram of a flow chart of hourly scale correction of water affairs data of a hydropower station according to an embodiment of the present application;

[0038] Figure 3 It is a schematic diagram of the process of daily scale correction of water affairs data of a hydropower station according to an embodiment of the present application;

[0039] Figure 4 is a structural block diagram of a hydropower station water affairs data correction system according to an embodiment of the present application;

[0040] Figure 5 It is a schematic diagram of the internal structure of an electronic device according to an embodiment of the present application. DETAILED DESCRIPTION

[0041] In order to make the purpose, technical solutions and advantages of the present application clearer, the present application is described and illustrated below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present application and are not intended to limit the present application. Based on the embodiments provided 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.

[0042] Obviously, the drawings described below are only some examples or embodiments of the present application. For ordinary technicians in this field, the present application can also be applied to other similar scenarios based on these drawings without creative work. In addition, it can also be understood that although the efforts made in this development process may be complicated and lengthy, for ordinary technicians in this field related to the content disclosed in this application, some changes in design, manufacturing or production based on the technical content disclosed in this application are just conventional technical means, and should not be understood as insufficient content disclosed in this application.

[0043] Reference to "embodiments" in this application means that a particular feature, structure, or characteristic described in conjunction with the embodiments may be included in at least one embodiment of the present application. The appearance of the phrase in various locations in the specification does not necessarily refer to the same embodiment, nor is it an independent or alternative embodiment that is mutually exclusive with other embodiments. It is explicitly and implicitly understood by those of ordinary skill in the art that the embodiments described in this application may be combined with other embodiments without conflict.

[0044] Unless otherwise defined, the technical terms or scientific terms involved in this application should be understood by people with ordinary skills in the technical field to which this application belongs. The words "one", "a", "a", "the" and the like involved in this application do not indicate a quantitative limitation, and may represent the singular or plural. The terms "include", "comprise", "have" and any of their variations involved in this application are intended to cover non-exclusive inclusions; for example, a process, method, system, product or device that includes a series of steps or modules (units) is not limited to the listed steps or units, but may also include steps or units that are not listed, or may also include other steps or units inherent to these processes, methods, products or devices. The words "connect", "connected", "coupled" and the like involved in this application are not limited to physical or mechanical connections, but may include electrical connections, whether direct or indirect. The "multiple" involved in this application refers to two or more. "And / or" describes the association relationship of associated objects, indicating that there may be three relationships, for example, "A and / or B" can represent: A exists alone, A and B exist at the same time, and B exists alone. The character " / " generally indicates that the objects before and after are in an "or" relationship. The terms "first", "second", "third", etc. involved in this application are only used to distinguish similar objects and do not represent a specific ordering of the objects.

[0045] First of all, it should be noted that the time period inflow or interval inflow of cascade power stations calculated by the water calculation program often has negative values, especially in the hourly water calculation, which is more frequent. The calculated inflow process often presents a "sawtooth shape", which is inconsistent with the facts, causing a series of problems for forecasting, dispatching and dispatching evaluation. The error of inflow mainly comes from the time period storage tolerance and outflow.

[0046] Period reservoir tolerance error: The period reservoir tolerance is determined by the initial water level of the period, the final water level of the period, and the reservoir capacity curve. The initial water level of the period and the final water level of the period are measured by the water level gauge. Improving the water level measurement accuracy and correcting the reservoir capacity curve will reduce the period reservoir tolerance calculation error. Float-type water level gauges are often used to measure water levels at work, and the resolution of water level measurement is 1cm. Taking a power station as an example, in the reservoir water level range close to the normal high, the water level deviation is 1cm, and the 1h reservoir tolerance converted flow will have an error of 125 to 150 cubic meters per second or even greater. When the hourly outflow is 0 or only a few dozen flows, the 1h inflow calculated by this method will most likely be negative.

[0047] Outflow error: The outflow consists of power generation flow, flood discharge flow and other flows. When the average load and average head of a single power generation flow are known, the negative NHQ relationship curve is usually used to find out, and it can also be measured by an ultrasonic flow meter. When there are multiple states of power generation, no-load and shutdown in the calculation period, the error is large, and different states should be calculated separately to reduce the error. When the gate opening and opening time are known, the flood discharge flow is usually calculated by interpolation of the discharge curve. When the gate is opened, it takes several minutes to more than twenty minutes for the gate to open from 0 opening to full opening, and the same is true for closing. It is usually believed that the gate is opened and closed instantly, and the gradual flow during the opening and closing process is ignored, which will produce certain errors. In addition, the algorithm of checking the flood discharge flow and then averaging it using the initial and final water levels will also produce certain errors.

[0048] Therefore, this application proposes a method for correcting water data of a hydropower station, which combines hourly scale and daily scale for nested correction, can effectively deal with negative values ​​and abnormal fluctuations in the inflow flow, and avoids the limitations of single-scale correction in the prior art. Through the multi-scale correction process, the accuracy and continuity of the data in a short period of time (hourly level) and a long period of time (daily level) are ensured.

[0049] The present application embodiment provides a method for correcting water affairs data of a hydropower station. Figure 1 is a flowchart of the steps of the method for correcting water affairs data of a hydropower station according to an embodiment of the present application, such as Figure 1 As shown, the method comprises the following steps:

[0050] Step S102, collecting reservoir flow data of the hydropower station;

[0051] Specifically, step S102 collects reservoir flow data of the hydropower station, wherein the reservoir flow data includes reservoir inflow data and reservoir outflow data.

[0052] Step S104, based on the reservoir flow data, calculating the average flow data of the hydropower station within a preset time period, and determining whether the average flow data is a negative value;

[0053] Specifically, in step S104, the reservoir flow data includes reservoir inflow data and reservoir outflow data. Based on the reservoir inflow data, the average inflow data of the hydropower station within a preset time period is calculated by moving average method and Kalman filter method.

[0054] It should be noted that the Moving Average Method is a technology used for data analysis, mainly used to smooth time series data to identify trends and eliminate the impact of short-term fluctuations; its basic principle is to calculate the average value of data in a selected time window. As new data is added, the data in the window will also be updated accordingly, which can reduce random fluctuations in the time series and show the trend of the data. The Kalman Filter is an algorithm for estimating the state of a system. It combines the dynamic model of the system and the observed data to estimate the state of the system in a recursive manner; its basic principle is to predict the state at the next moment based on the dynamic model (state transfer equation), and use the observed data to correct the predicted state to obtain a more accurate state estimate. Therefore, step S104 of this embodiment is combined with the subsequent step S106. In the hourly scale correction, the average inflow flow data is calculated by combining the moving average method and the Kalman filter, so as to quickly identify negative values ​​and abnormal fluctuations, and can handle complex flow anomalies in a short time, ensuring the real-time and accuracy of the data.

[0055] Step S106, if the average flow data is a negative value, the reservoir flow data is corrected on an hourly scale to obtain the reservoir flow data after the hourly scale correction;

[0056] Step S106 specifically includes the following steps:

[0057] Step S1061, if the average inflow flow data is a negative value, gradually expand the time window of the moving average method in units of hours, recalculate the average inflow flow data of the hydropower station within the time window, until the average inflow flow data is a non-negative value, and correct the reservoir inflow flow data to a non-negative average inflow flow data.

[0058] Step S1062, calculating the reservoir interval flow data of the hydropower station based on the reservoir outflow data and the reservoir inflow data corrected on an hourly scale;

[0059] Step S1063: Based on the reservoir reach flow data, calculate the average reach flow data of the hydropower station within a preset time period through the moving average method and the Kalman filtering method.

[0060] Step S1064: If the average reach flow data is negative, gradually expand the time window of the moving average method in hours, and recalculate the average reach flow data of the hydropower station within the time window until the average reach flow data is non - negative. Then, correct the reservoir reach flow data to the non - negative average reach flow data.

[0061] It should be noted by way of example that Figure 2 is a schematic diagram of the hourly - scale correction process of the hydropower station water service data according to the embodiments of the present 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 hours (1h), and maxH is the set maximum number of antecedent periods.

[0062] If the average inflow Qr within the time window calculated by the moving average method and the Kalman filtering method is negative, then gradually expand the time window of the moving average method in hours (X = X + 1), recalculate the average inflow Qr, and the time window cannot exceed the initial hour hh of the day or the set maximum historical period maxH, that is, X < MIN(hh, maxH); if the average inflow Qr is non - negative, record the current correction parameter T = X, and correct the reservoir inflow within the previous T periods to the average inflow Qr.

[0063] According to the corrected reservoir inflow and reservoir outflow within the previous T periods, recalculate the reservoir reach flow (reservoir reach flow = reservoir inflow - reservoir outflow). Then, through the moving average method and the Kalman filtering method, calculate the average reach flow Qq. If the average reach flow Qq is negative, then also gradually expand the time window of the moving average method in hours (X = X + 1), recalculate the average reach flow Qq, and the time window cannot exceed the initial hour hh of the day or the set maximum historical period maxH, that is, X < MIN(hh, maxH); if the average reach flow Qq is non - negative, record the current correction parameter T = X, and correct the reservoir reach flow within the previous T periods to the average reach flow Qq.

[0064] In addition, after the correction is completed, store the corrected flow data Qr and Qq for further processing of the daily - scale correction. At the same time, feedback the correction result to the real - time water service calculation system to ensure that the correction algorithm in the next cycle can be adaptively adjusted according to the latest correction result.

[0065] Step S108, based on the hourly scale correction, the reservoir flow data is corrected on a daily scale to obtain the reservoir flow data after the daily scale correction.

[0066] Step S108 specifically includes the following steps:

[0067] Step S1081, obtaining the reservoir inflow data after hourly scale correction on the previous day, and gradually determining whether the reservoir inflow data is a negative value in units of hours. If the reservoir inflow data is a non-negative value, no daily scale correction is required;

[0068] Step S1082: if the reservoir inflow data is a negative value, the reservoir interval flow data corrected on the hourly scale of the previous day is obtained, and the reservoir inflow data is recalculated based on the reservoir interval flow data and the reservoir outflow data;

[0069] Step S1083, if the recalculated reservoir inflow flow data is a negative value, then based on the reservoir interval flow data, the reservoir interval flow data is recalculated by a weighted smoothing method, 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 an average interval flow data of a non-negative value.

[0071] Through the embodiments of the present application, a dual correction mechanism for inflow flow and interval flow is proposed. The interval flow is the inflow flow of the reservoir minus the upstream outflow flow. The fundamental reason for its abnormal data lies in the abnormal inflow of the reservoir, so the hierarchical and step-by-step correction of these two types of flows is achieved; a variety of exception handling algorithms (such as moving average method, Kalman filtering, weighted water level smoothing method) are combined to form a powerful data processing toolset, which can effectively eliminate abnormal fluctuations in flow data and ensure the long-term consistency of flow and water level.

[0072] In some of the embodiments, the daily scale correction is a further adjustment based on the hourly scale correction, with the purpose of comprehensively correcting the daily-level traffic data to ensure the accuracy and continuity of the traffic data over a long period of time, especially for complex abnormal situations that cannot be handled at the hourly scale. It is mainly for the situation where the forward time period smoothing still cannot handle negative values, and correction is made by smoothing the subsequent time period data.

[0073] For the daily scale correction in step S108, preferably, Figure 3 : is a schematic diagram of a process for daily scale correction of water affairs data of a hydropower station according to an embodiment of the present application, such as Figure 3As shown in the figure, the inflow Qr, hourly water level Z, and outflow Qc of all time periods after the hourly scale correction of the previous day are obtained, the initial parameter h=1 is set, and calculation is started from h=1 for each time period to determine whether the inflow Qr(h) of the current time period is a negative value. If Qr(h) is a non-negative value, no correction is required, and the h value is increased to continue processing the inflow Qr(h) of the next time period, and h<24; if Qr(h) is a negative value, the inflow of the time period is corrected, and the inflow Qrx(h) of the time period is recalculated and the negative value is replaced. The specific recalculation process includes:

[0074] The corrected hourly 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), where Z(h) is the hourly water level of the current period, Z(h-1) is the hourly water level of the previous period, and Z(h+1) is the hourly water level of the next period. A, B, and C are preset weights. Then, based on the corrected hourly water level Zx(h), the reservoir interval flow is obtained. According to the outflow flow Qc obtained above, the inflow flow Qrx(h) is recalculated through the reservoir interval flow = reservoir inflow - reservoir outflow. If the inflow flow Qrx(h) is a negative value, the inflow flow Qrx(h) of this period is recalculated, and the weight of the larger value of the three hourly water levels is increased according to the preset step size until the recalculated Qrx(h) is non-negative; if Qrx(h) is a non-negative value, 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 in the accompanying drawings can be executed in a computer system such as a set of computer executable instructions, and although a logical order is shown in the flowchart, in some cases, the steps shown or described can be executed in an order different from that shown here.

[0076] The present application embodiment provides a water affairs data correction system for a hydropower station. Figure 4 is a structural block diagram of a hydropower station water affairs data correction system according to an embodiment of the present application, such as Figure 4 As shown, the system includes a data acquisition module, a negative value detection module and a negative value repair module;

[0077] Data acquisition module, used to collect reservoir flow data of hydropower stations;

[0078] A negative value detection module is used to calculate the average flow data of the hydropower station within a preset time period based on the reservoir flow data, and determine whether the average flow data is a negative value;

[0079] A negative value repair module is used to correct the reservoir flow data on an hourly scale if the average flow data is a negative value, so as to obtain the reservoir flow data after the hourly scale correction;

[0080] The negative value repair module is used to perform daily scale correction on the reservoir flow data based on the hourly scale correction to obtain the reservoir flow data after daily scale correction.

[0081] Through the data acquisition module, negative value detection module and negative value repair module in the embodiments of the present application, a nested correction of the reservoir flow data of the hydropower station based on the hourly scale and the daily scale is realized, negative values ​​and abnormal fluctuation data are corrected in real time on the hourly scale, and complex abnormal situations are further adjusted on the daily scale, ensuring the accuracy and continuity of data on different time scales, and solving the problem of how to reasonably correct the water data involved in the hydropower station.

[0082] It should be noted that the above modules can be functional modules or program modules, and can be implemented by software or hardware. For modules implemented by hardware, the above modules can be located in the same processor; or the above modules can be located in different processors in any combination.

[0083] This embodiment further provides an electronic device, including a memory and a processor, wherein the memory stores a computer program, and the processor is configured to run the computer program to execute the steps in any one of the above method embodiments.

[0084] Optionally, the electronic device may further include a transmission device and an input / output device, wherein the transmission device is connected to the processor, and the input / output device is connected to the processor.

[0085] It should be noted that the specific examples in this embodiment can refer to the examples described in the above embodiments and optional implementation modes, and this embodiment will not be described in detail here.

[0086] In addition, in combination with the water affairs data correction method of the hydropower station in the above embodiment, the embodiment 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 the processor, any of the water affairs data correction methods of the hydropower station in the above embodiment is implemented.

[0087] In one embodiment, a computer device is provided, which may be a terminal. The computer device includes a processor, a memory, a network interface, a display screen, and an input device connected via a system bus. The processor of the computer device is used to provide computing and control capabilities. The memory of the computer device includes 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 the operation of the operating system and the computer program in the non-volatile storage medium. The network interface of the computer device is used to communicate with an external terminal via a network connection. When the computer program is executed by the processor, a method for correcting water data of a hydropower station is implemented. The display screen of the computer device may be a liquid crystal display screen or an electronic ink display screen, and the input device of the computer device may be a touch layer covered on the display screen, or a key, trackball, or touchpad provided on the housing 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, such as Figure 5 As shown, an electronic device is provided, which may be a server, and its internal structure diagram may be as shown in Figure 5 As shown. The electronic device includes 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 used to provide computing and control capabilities, the network interface is used to communicate with an external terminal through a network connection, the internal memory is used to provide an environment for the operation of the operating system and the computer program, the computer program is executed by the processor to implement a water affairs data correction method for a hydropower station, and the database is used to store data.

[0089] Those skilled in the art will understand that Figure 5 The structure shown in the figure is merely a block diagram of a partial 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. The specific electronic device may include more or fewer components than shown in the figure, or combine certain components, 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 embodiments of the above-mentioned methods. Among them, any reference to memory, storage, database or other media used in the embodiments provided in this application can include non-volatile and / or volatile memory. Non-volatile memory may include read-only memory (ROM), programmable ROM (PROM), electrically programmable ROM (EPROM), electrically erasable programmable ROM (EEPROM) or flash memory. Volatile memory may include random access memory (RAM) or external cache memory. As an illustration and not limitation, RAM is available in many forms, such as static RAM (SRAM), dynamic RAM (DRAM), synchronous DRAM (SDRAM), double data rate SDRAM (DDRSDRAM), 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).

[0091] Those skilled in the art should understand that the technical features of the above-described embodiments may be arbitrarily combined. To make the description concise, not all possible combinations of the technical features in the above-described embodiments are described. However, as long as there is no contradiction in the combination of these technical features, they should be considered to be within the scope of this specification.

[0092] The above-mentioned embodiments only express several implementation methods of the present application, and the descriptions thereof are relatively specific and detailed, but they cannot be understood as limiting the scope of the invention patent. It should be pointed out that, for a person of ordinary skill in the art, several variations and improvements can be made without departing from the concept of the present application, and these all belong to the protection scope of the present application. Therefore, the protection scope of the patent of the present application shall be subject to the attached claims.

Claims

1. A method for correcting water affairs data of a hydropower station, characterized in that: The method comprises: Collect reservoir flow data for hydropower stations; Based on the reservoir flow data, calculate the average flow data of the hydropower station within a preset time period, and determine whether the average flow data is a negative value; If the average flow data is a negative value, the reservoir flow data is corrected on an hourly scale to obtain reservoir flow data after hourly scale correction; And on the basis of the hourly scale correction, the reservoir flow data is corrected on a daily scale to obtain the reservoir flow data after the daily scale correction.

2. The method according to claim 1, characterized in that The reservoir flow data collected for hydropower stations include: Collect reservoir flow data of the hydropower station, wherein the reservoir flow data includes reservoir inflow data and reservoir outflow data.

3. The method according to claim 2, characterized in that Based on the reservoir flow data, calculating the average flow data of the hydropower station within a preset time period includes: Based on the reservoir inflow data, the average inflow data of the hydropower station within a preset time period is calculated by moving average method and Kalman filtering method.

4. The method according to claim 3, characterized in that If the average flow data is a negative value, the hourly scale correction of the reservoir flow data includes: If the average inflow flow data is a negative value, the time window of the moving average method is gradually expanded in units of hours, and the average inflow flow data of the hydropower station within the time window is recalculated until the average inflow flow data is a non-negative value, and the reservoir inflow flow data is corrected to the non-negative average inflow flow data.

5. The method according to claim 4, characterized in that If the average flow data is a negative value, the hourly scale correction of the reservoir flow data also includes: Calculating the reservoir interval flow data of the hydropower station based on the reservoir outflow data and the hourly scale corrected reservoir inflow data; Based on the reservoir interval flow data, the average interval flow data of the hydropower station within a preset time period is calculated by moving average method and Kalman filter method; If the average interval flow data is a negative value, the time window of the moving average method is gradually expanded in hours, and the average interval flow data of the hydropower station within the time window is recalculated until the average interval flow data is a non-negative value, and the reservoir interval flow data is corrected to the non-negative average interval flow data.

6. The method according to claim 4, characterized in that Based on the hourly scale correction, the reservoir flow data is corrected on a daily scale, including: Obtain the reservoir inflow flow data after the hourly scale correction of the previous day, and gradually determine 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, no daily scale correction is required. If the reservoir inflow flow data is a negative value, the reservoir inflow flow data is corrected on a daily scale.

7. The method according to claim 6, characterized in that If the reservoir inflow data is a negative value, the daily scale correction of the reservoir inflow data includes: If the reservoir inflow data is a negative value, the reservoir interval flow data corrected on the hourly scale of the previous day is obtained, and the reservoir inflow data is recalculated based on the reservoir interval flow data and the reservoir outflow data; If the recalculated reservoir inflow flow data is a negative value, then based on the reservoir interval flow data, the reservoir interval flow data is recalculated by a weighted smoothing method, and the reservoir inflow flow data is calculated again until the reservoir inflow flow data is a non-negative value; 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.

8. A water affairs data correction system for a hydropower station, characterized in that: The system is used to perform the method according to any one of claims 1 to 7, and the system comprises a data acquisition module, a negative value detection module and a negative value repair module; The data acquisition module is used to collect reservoir flow data of the hydropower station; The negative value detection module is used to calculate the average flow data of the hydropower station within a preset time period according to the reservoir flow data, and determine whether the average flow data is a negative value; The negative value repair module is used to perform hourly scale correction on the reservoir flow data if the average flow data is a negative value, so as to obtain hourly scale corrected reservoir flow data; The negative value repair module is used to perform daily scale correction on the reservoir flow data based on the hourly scale correction to obtain the reservoir flow data after daily scale correction.

9. An electronic device comprising a memory and a processor, characterized in that: A computer program is stored in the memory, and the processor is configured to run the computer program to perform the method according to any one of claims 1 to 7.

10. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the program is executed by a processor, the method according to any one of claims 1 to 7 is implemented.

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

  • Data processing method and device, and storage medium

    WO2021023053A1