The present invention relates to the technical field of hydrological forecast, and in particular to a method for forecasting runoff under the influence of an upstream reservoir group by utilizing forecasting errors.
Accurate hydrological forecast is a prerequisite for flood prevention and drought relief and promotion of positive effects and scheduling, and has high economic and social values. With the continuous advancement of human science and technology, human beings have become more and more powerful in transforming nature. Building reservoirs to supply water to cities and using hydro-power resources to generate electricity is a manifestation of transforming and utilizing nature by human beings.
At present, China has more than 100,000 reservoir projects and is the country with the largest number of reservoirs in the world. A large number of reservoirs have brought convenience to China's economic development, but they have also drastically changed the hydrological laws of river basin and turned a natural runoff process into a runoff process under the influence of human activities, which brings difficulties to the hydrological forecasting. This is mainly because the reservoir project group has an ability to change the time allocation of runoff, and can store incoming water in a certain time period (incoming amount is greater than outgoing amount), or it can release in a certain time period the water stored in the reservoir (the outgoing amount is greater than the incoming amount), which breaks natural hydrological laws of precipitation, runoff producing, confluence, and river evolution, and severely reduces the accuracy of traditional regulation and storage influence quantity estimation models.
At present, the problem of low accuracy of downstream runoff forecast caused by upstream reservoir group storage and release is mainly solved by obtaining the upstream reservoir group's storage and release plan in real time and superimposing the results of an interval hydrological forecast on this basis. The application prerequisite for this method is to be able to obtain information on the storage and release plan of the upstream reservoir group, but the actual situation is that the upstream reservoir does not directly share or provide such information in most cases (due to commercial secrets, etc.), and the number of reservoir groups in upstream of a forecast section is often unusually large. As a result, in most cases, it is impossible to obtain information on the storage and release plan of the reservoir group in the upstream of the forecast section. Therefore, the influence of the upstream reservoir group causes the problem that the traditional hydrological forecast model to have a low accuracy, and the application conditions of the existing solutions are too harsh and are not practical.
The purpose of the present invention is to provide a method for forecasting runoff under the influence of an upstream reservoir group by utilizing forecasting errors, thereby solving the aforementioned problems in the prior art.
In order to achieve the above purpose, technical solutions adopted by the present invention are as follows:
A method for forecasting runoff under the influence of an upstream reservoir group by utilizing forecasting errors, wherein the method comprises the following steps:
S1, collecting data;
S2, establishing a regulation and storage influence quantity estimation model by utilizing a known hydrological model and a KNN model according to the collected data;
S3, driving the hydrological model by combining the collected data to predict a future
runoff volume;
S4, obtaining a forecast error in a previous time period;
S5, obtaining a future regulation and storage influence quantity estimated value according to the forecast error in the previous time period in combination with the regulation and storage influence quantity estimation model;
S6, superposing the future runoff volume and the future regulation and storage influence quantity estimated value to obtain a runoff forecast value in a future time period.
Preferably, the data collected in step S1 specifically comprises precipitation data and runoff data, and the precipitation data is precipitation data during a time period from the time when the upstream reservoirs begin to significantly affect a downstream runoff process to the current time; the runoff data is precipitation data during a time period from the time when the upstream reservoirs begin to significantly affect the downstream runoff process to the current time.
Preferably, step S2 specifically comprises the following contents:
S21, based on a premise that a main source of the forecast errors is a natural runoff change caused by upstream reservoir regulation and storage, obtaining a forecast error calculation formula,
ω=δ+ϵ
wherein ω is a total forecast error; δ is a forecast error caused by the upstream reservoir regulation and storage; ϵ is other forecast error; ω≈δ;
S22, generalizing a mechanism of the runoff change caused by the reservoir regulation and storage as
δi=T(statei−1)
wherein statei−1 is a state of the reservoir at the initial moment, that is, a state of the reservoir at the end of the previous time period, and δi is a runoff forecast error at the current moment, that is, a runoff change volume caused by the reservoir regulation and storage; then the reservoir state at the current moment is calculated as
statei=statei−1−86400×δi;
S23, establishing the regulation and storage influence quantity estimation model by utilizing the known hydrological model and the KNN model, where the regulation and storage influence quantity estimation model is a relationship between the forecast error in the current time period and the runoff change volume caused by the reservoir regulation and storage in the next time period.
Preferably, the known hydrological model is a Xinanjiang model.
Preferably, step S23 specifically comprises the following contents:
S231, inputting the precipitation data and the runoff data into the hydrological model, and obtaining a runoff forecast sequence {F1, F2, F3, . . . Fn} output by the hydrological model, where the runoff forecast sequence comprises the runoff volume in each time period;
S232, according to the runoff forecast sequence output by the hydrological model and in combination with the runoff data in the same time period, obtaining a data set {δj, Δqj+1} composed of the forecast error δj in the time period j and the runoff change volume Δqj+1 caused by the reservoir regulation and storage in the time period j+1; where jε(0,n];
S233, combining the data set in step S232 and setting the hyper-parameter in the KNN model as k=5 to obtain the regulation and storage influence quantity estimation model which is the relationship between the forecast error in the current time period and the runoff change volume caused by the reservoir regulation and storage in the next time period.
Preferably, step S3 specifically comprises selecting a date to be forecast, combining the precipitation data and the runoff data to drive the hydrological model and obtain the runoff volume of the date to be forecast, so as to realize the forecast of the future runoff volume.
Preferably, step S4 specifically comprises that a forecast time period is i+1, then the previous time period is i, and the forecast error in the time period i is obtained by subtracting the runoff forecast value in the time period i from the runoff data in the time period i and can be expressed as,
δi=Qi−Fi
wherein δi is the forecast error in the time period i; Qi is the runoff data in the time period i; Fi is the runoff forecast value in the time period i.
Preferably, step S5 specifically comprises: inputting the forecast error in time period i into the regulation and storage influence quantity estimation model to obtain the distance ⊕δi−δj| between the forecast error in the time period i and the forecast error in each period j in the data set {δj, Δqj+1}, extracting runoff change volumes Δqj+1 corresponding to five forecast errors in time period j having the smallest distances, and calculating an average value of the five runoff change volumes Δqj+1 to obtain the estimated value Δqi+1 of the regulation and storage influence quantity in the time period i+1.
Preferably, step S6 is specifically calculated by the following formula:
F′
i+1
=F
i+1
+Δq
i+1
wherein, F′i+1 is the runoff forecast value in the future time period i+1; Fi+1 is the runoff volume in the time period i+1 output by the regulation and storage influence quantity estimation model; Δqi+1 is the estimated value of the regulation and storage influence quantity in the time period i+1.
The beneficial effects of the present invention are that: 1. in the method provided by the present invention, by utilizing the rule that reservoir group storage and discharge conditions can be indirectly reflected by the forecast error at the previous moment, a correlation between the forecast error and the change volume (influence volume) of the runoff due to the reservoir storage and discharge is established, and a forecast result of the regulation and storage influence quantity estimation model is corrected, thereby achieving the purpose of forecasting the runoff under the influence of the reservoir group without directly obtaining a storage and discharge plan of the upstream reservoir group. 2. by using the method of the present invention to carry out the runoff forecast under the influence of the upstream reservoir group, since the influence of the upstream reservoir group on the runoff is considered in the forecasting process, a higher accuracy than traditional hydrological forecasting methods is obtained. 3. by obtaining a scheduling plan of the upstream reservoir group in advance, the accuracy of the runoff forecast under the influence of the reservoir group can be significantly improved. This is the traditional method and means to carry out the runoff forecast under the influence of the upstream reservoir group. The application prerequisite of the traditional method is that the scheduling plan of the upstream reservoir group can be obtained, but such data is actually difficult to be obtained. Therefore, the application condition of the traditional method is more stringent. Compared with the traditional method, the method of the present invention is used to carry out the runoff forecast under the influence of the upstream reservoir group. Due to the correlation between the forecast error and the runoff of the reservoir group regulation and storage is established, it is no longer necessary to collect the scheduling plans of a large number of upstream reservoir groups, and the required data is easier to be obtained.
In order to make the purpose, technical solutions and advantages of the present invention clearer, the present invention will be further described in detail below with reference to the accompanying drawings. It should be understood that the specific implementations described herein are only used to explain the present invention, and not to limit the present invention.
As shown in
S1, collecting data;
S2, establishing a regulation and storage influence quantity estimation model by utilizing a known hydrological model and a KNN model according to the collected data;
S3, driving the hydrological model by combining the collected data to predict a future
runoff volume;
S4, obtaining a forecast error in a previous time period;
S5, obtaining a future regulation and storage influence quantity estimated value according to the forecast error in the previous time period in combination with the regulation and storage influence quantity estimation model;
S6, superposing the future runoff volume and the future regulation and storage influence quantity estimated value to obtain a runoff forecast value in a future time period.
In this embodiment, the application prerequisite of the method provided by the present invention is that there is already a hydrological model that can forecast a forecast section; hydrological model parameters are calibrated by using the precipitation and runoff data in the time period when an upstream reservoir is not built or the influence of the reservoir is small; the main error of the runoff forecast of this section comes from the regulation and storage of the upstream reservoir. Under the condition that the above prerequisite is established, the present invention mainly comprises four steps: collecting the data; establishing the regulation and storage influence quantity estimation model to forecast the future runoff volume; obtaining the forecast error in the previous time period, and obtaining the future regulation and storage influence quantity estimated value; and, superposing a forecast value of the future runoff volume and the future regulation and storage influence quantity estimated value.
In this embodiment, the data collected in step Si specifically comprises precipitation data and runoff data, and the precipitation data is precipitation data during a time period from the time when the upstream reservoirs begin to significantly affect a downstream runoff process to the current time; the runoff data is precipitation data during a time period from the time when the upstream reservoirs begin to significantly affect the downstream runoff process to the current time. The specific data to be collected is as the following table.
In the present embodiment, step S2 specifically comprises the following contents:
S21, taking a daily-scale forecast with a forecast period of 1 day as an example, according to the application prerequisite of the method in the present invention that a main source of the forecast errors is a natural runoff change caused by upstream reservoir regulation and storage. Therefore, the forecast error can be expressed as:
ω=δ+ϵ
wherein, ω is a total forecast error; δ is a forecast error caused by the upstream reservoir regulation and storage; ϵ is other forecast error; ω≈δ; (Unit: m3/s).
S22, because the forecast error is mainly caused by the upstream reservoir regulation and storage, and the amount of the error is a runoff change volume caused by the regulation and storage, and the reservoir regulation and storage is based on the state of the reservoir at the initial moment, comprising water storage, water level, etc. Therefore, the mechanism of runoff change caused by the reservoir regulation and storage can be generalized as
δi'T(statei−1)
wherein statei−1 is a state of the reservoir at the initial moment, that is, a state of the reservoir at the end of the previous time period, and δi is a runoff forecast error at the current moment, that is, the runoff change volume caused by the reservoir regulation and storage; because the current state of the reservoir is the state at the previous moment plus regulation and storage quantity of the reservoir (contrary to the sign of impact on the runoff, and, if the reservoir increases the storage capacity, the runoff volume will decrease), the state of the reservoir at the current moment is calculated as
statei=statei−1−86400×δi;
It can be seen from the formula for calculating the state of the reservoir at the current moment that since the state of the reservoir at the previous moment is known, the current state of the reservoir is linearly related to the current forecast error, and the current state of the reservoir has an impact on the runoff process in the next time period, and in turn determines the forecast error of the next time period, that is, the current forecast error is related to the runoff change caused by the reservoir regulation and storage in the next time period.
Based on the above conclusions, the known forecast error in the current time period can be used to forecast the runoff change volume caused by the reservoir regulation and storage in a future time period. In the present invention, the KNN model is selected as the known hydrological model to establish relationship between the forecast error in the current time period and the runoff change volume caused by the reservoir regulation and storage in the next time period. According to the mechanism of the KNN model, it is necessary to establish a data set {δi, Δqi+1} of the forecast error Si during the time period i and the runoff change volume Δqi+1 caused by the reservoir regulation and storage during the time period i+1; that is, the contents of step S23,
S23, establishing the regulation and storage influence quantity estimation model by utilizing the known hydrological model, where the regulation and storage influence quantity estimation model is a relationship between the forecast error in the current time period and the runoff change volume caused by the reservoir regulation and storage in the next time period. The known hydrological model is a Xinanjiang model.
In the present embodiment, step S23 specifically comprises the following contents:
S231, inputting the precipitation data and the runoff data into the KNN model, and obtaining a runoff forecast sequence {F1, F2, F3, . . . Fn} output by the KNN model, where the runoff forecast sequence comprises the runoff volume in each time period;
S232, according to the runoff simulation sequence, obtaining a data set {δj, Δqj+1} composed of the forecast error δj in the time period j and the runoff change volume Δqj+1 caused by the reservoir regulation and storage in the time period j+1; where jε(0,n];
S233, combining the data set in step S232 and setting the hyper-parameter in the KNN model as k=5 to obtain the regulation and storage influence quantity estimation model which is the relationship between the forecast error in the current time period and the runoff change volume caused by the reservoir regulation and storage in the next time period.
In summary, the main process of step S23 is:
1. Using the precipitation and other data to drive the hydrological model;
2. Obtaining runoff simulation (forecast) sequence {F1, F2, F3, . . . Fn};
3. Obtaining the data set {δj, Δqj+1} composed of the forecast error δj in the time period j and the runoff change volume Δqj+1 caused by the reservoir regulation and storage in the time period j+1; where jε(0,n].
In this embodiment, step S3 specifically comprises selecting a date to be forecast, combining the precipitation data and the runoff data to drive the hydrological model and obtain the runoff volume of the date to be forecast, so as to realize the forecast of the future runoff volume.
Step S3 is to complete the construction of the data set, and according to the operating mechanism of a KNN algorithm, set the hyper-parameter in the KNN as k=5, in the actual forecasting process, and drive the hydrological model according to the obtained precipitation and other data to achieve the runoff change volume caused by the reservoir regulation and storage at the next moment, that is to realize the prediction of the future runoff volume. Since the present invention is aimed at the daily-scale runoff forecast with the forecast period of 1 day, the forecast future runoff volume here is the runoff volume of “tomorrow” or “a second time period”, and the unit is m3/s.
In the present embodiment, step S4 specifically comprises that a forecast time period is i+1, then the previous time period is i, and the forecast error in the time period i is obtained by subtracting the runoff forecast value in the time period i from the runoff data in the time period i and can be expressed as,
δi=Qi−Fi
wherein, δi is the forecast error in the time period i; Qi is the runoff data in the time period i; Fi is the runoff forecast value in the time period i.
In this embodiment, step S5 specifically comprises inputting the forecast error in the time period i into the regulation and storage influence quantity estimation model to obtain the distance |δi−δj| between the forecast error in time period i and the forecast error in each period j in the data set {δj, Δqj+1}, extracting runoff change volumes Δqj+1 corresponding to five forecast errors in time period j having the smallest distances, and calculating an average value of the five runoff change volumes Δqj+1 to obtain the estimated value Δqi+1 of the regulation and storage influence quantity in the time period i+1.
In the present embodiment, step S6 is specifically calculated by the following formula:
′
i+1
=F
i+1
+Δq
i+1
wherein, F′i+1 is the runoff forecast value in the future time period i+1, where the unit is m3/s; Fi+1 is the runoff volume in the time period i+1 output by the regulation and storage influence quantity estimation model, where the unit is m3/s; Δqi+1 is the estimated value of the regulation and storage influence quantity (estimation value) in the time period i+1, where the unit is m3/s.
In this embodiment, the Danjiangkou Reservoir is selected as a research object, and a forecast effect verification time period is from Jul. 1, 2016 to Jul. 31, 2016. The forecast purpose is to obtain daily-scale runoff with a forecast period of 1 day, so as to explain in detail the implementation process of the method provided in the present invention.
1. Collecting data; the data to be collected is shown in the following table (due to too much data, only part of the data is shown):
2. Establishing a regulation and storage influence quantity estimation model;
Since the selected forecast effect verification time is from Jul. 1, 2016 to Jul. 31, 2016, the precipitation data from Jan. 1, 2009 to Jun. 30, 2016 is selected to drive a hydrological model so as to obtain historical forecast information, and runoff data from Jan. 1, 2009 to Jun. 30, 2016 is combined to jointly establish the regulation and storage influence quantity estimation model. The specific steps of the embodiment are as follows:
(1). Using the precipitation and other data to drive the hydrological model
The hydrological model selected in this embodiment is a Xinanjiang model that has been applied in the Danjiangkou Reservoir. This model is calibrated by using the precipitation and runoff data before 2009, and the calibrated Nash efficiency coefficient reaches 0.97, while the number of reservoirs in the basin above the Danjiangkou reservoir before 2009 is relatively small, and the capacity for regulation and storage is limited. The impact on the Danjiangkou Reservoir's incoming is small, and it can be considered as a natural runoff process. Inputting daily-scale precipitation data from Jan. 1, 2009 to Jun. 30, 2016 into the Xinanjiang model to obtain daily-scale runoff forecast data Fi for the corresponding time period, and combining runoff observation data Qi at the same time period to calculate forecast error information Si and a runoff change volume Δqi+1 in the next time period, as described in the following table (due to too much data, only part of the data is shown).
(2). Obtaining runoff simulation (forecast) sequence {F1, F2, F3, . . . Fn};
The “Forecast Flow (Fi)” listed in the above table is the obtained runoff simulation (forecast) sequence.
(3). Obtaining a data set {δj, Δqj+1} composed of the forecast error δj in the time period j and the runoff change volume Δqj+1 caused by the reservoir regulation and storage in the time period j+1; where jε(0,n];
The combination of column “prediction error (δj)” and column “runoff change volume (Δqj+1) in the next time period” in the above table is the “data set {δj, Δqj+1}”.
After the construction of the above data set is completed, according to the operating mechanism of a KNN algorithm, a hyper-parameter in a KNN model is set as k=5, and the establishment of the regulation and storage influence quantity estimation model is completed.
3. Forecasting future runoff volumes
The forecast verification time period selected in this embodiment is from Jul. 2, 2016 to Jul. 31, 2016, where the runoff volumes include a total of 30 days of daily runoff forecast values. Since the Xinanjiang model used in this embodiment can only forecast the runoff volume in the next day, in order to better illustrate the effectiveness of the present invention, the daily accumulated precipitation from Jun. 1, 2016 to Jun. 30, 2016 is used to drive a hydrological model for preheating. Based on the preheating, using 31 pieces of precipitation data from Jul. 1, 2016 to Jul. 31, 2016 to drive the hydrological model, run 31 times, and obtain 31 forecast results, which are listed in the table below.
4. Obtaining a forecast error in the previous time period
The forecast error is obtained by subtracting the forecast runoff with the Xinanjiang model from the measured runoff in the above table (relative to the forecast time period, the forecast error is the forecast error in the previous time period), as shown in the last column of the following table.
As can be seen from the above table, the upstream reservoirs intercepted runoff to varying degrees in July, which resulted in the generally higher forecast results of the Xinanjiang model.
5. Obtaining the estimated values of the future regulation and storage influence quantity.
According to the method introduced in the first embodiment, the estimated values of the regulation and storage influence in the forecast time period (the estimated values of the future regulation and storage influence quantity) are obtained, as shown in the last column of the following table:
6. Superimposing the forecast value of the future runoff volume and the estimated value of the regulation and storage influence quantity
After superimposing the forecast value of the future runoff volume and the estimated value of the regulation and storage influence quantity, a final forecast result is obtained, as shown in the last column of the following table:
A Nash efficiency coefficient is used to quantitatively evaluate the accuracy of the runoff forecast in the present invention and the Xinanjiang model. It can be seen that the Nash efficiency coefficient NS=0.88 of the runoff forecast in the present invention is higher than the Nash efficiency coefficient NS=0.66 directly forecasted by the Xinanjiang model. Moreover, the present invention increases the forecast accuracy from 0.66 to 0.88 without using the upstream reservoir group scheduling plan, which has less data requirements than traditional methods. The calculation formula of the Nash efficiency coefficient is as follows:
Among them, Qo refers to an observed value, Qm refers to a simulated value, Qt (superscript) refers to a certain value at time t, and Qo (upper horizontal line) refers to a total average of the observed values. E is the Nash efficiency coefficient, and the value thereof is from negative infinity to 1. If E close to 1, indicating that the model is of good quality and high model credibility. If E close to 0, indicating that the simulation result is close to the average level of the observed values, that is, the overall result is credible, but the process simulation error is large. If E is much smaller than 0, the model is not credible.
By adopting the above-mentioned technical solutions disclosed by the present invention, the following beneficial effects are obtained:
Provided in the present invention is a method for forecasting runoff under the influence of an upstream reservoir group by utilizing forecasting errors. In the method, by utilizing the rule that reservoir group storage and discharge conditions can be indirectly reflected by the forecast error at the previous moment, a correlation between the forecast error and the change amount (influence volume) of the runoff due to the reservoir storage and discharge is established, and a forecast result of the regulation and storage influence quantity estimation model is corrected, thereby achieving the purpose of forecasting the runoff under the influence of the reservoir group without directly obtaining a storage and discharge plan of the upstream reservoir group. The method of the present invention is used to carry out the runoff forecast under the influence of the upstream reservoir group. Since the influence of the upstream reservoir group on the runoff is considered in the forecasting process, a higher accuracy than the traditional hydrological forecasting methods is obtained. By obtaining the scheduling plan of the upstream reservoir group in advance, the accuracy of the runoff forecast under the influence of the reservoir group can be significantly improved. This is the traditional method and means to carry out the runoff forecast under the influence of the upstream reservoir group. The application prerequisite of the traditional method is that the scheduling plan of the upstream reservoir group can be obtained, but such data is actually difficult to be obtained. Therefore, the application condition of the traditional method is more stringent. Compared with the traditional method, the method of the present invention is used to carry out the runoff forecast under the influence of the upstream reservoir group. Due to the correlation between the forecast error and the runoff of the reservoir group regulation and storage is established, it is no longer necessary to collect the scheduling plans of a large number of upstream reservoir groups, and the required data is easier to be obtained.
The above are only the preferred implementations of the present invention. It should be pointed out that for those of ordinary skill in the art, without departing from the principle of the present invention, several improvements and modifications can be made, and these improvements and modifications are also considered as in the protection scope of the present invention.
Number | Date | Country | Kind |
---|---|---|---|
202010349743.5 | Apr 2020 | CN | national |
This Application is a national stage application of PCT/CN2021/078364. This application claims priorities from PCT Application No.PCT/CN2021/080782, filed Mar. 15, 2021, and from the Chinese patent application 202010349743.5 filed Apr. 28, 2020, the contents of which are incorporated herein in the entirety by reference
Filing Document | Filing Date | Country | Kind |
---|---|---|---|
PCT/CN2021/080782 | 3/15/2021 | WO |