Extraction of ensemble flood control dispatching rules for reservoirs by coupling physical mechanisms with machine learning
摘要
以轻量级梯度提升机(LightGBM)、极端梯度提升机(XGBoost)和长短期记忆网络(LSTM)3种机器学习算法为基准模型,在损失函数中引入水量平衡、水库水位及下泄流量约束,并结合卡尔曼滤波进行实时修正,构建了 KP-LightGBM、KP-LSTM、KP-XGBoost 模型,进而提出了物理机制耦合机器学习的水库防洪集合调度规则提取方法,并基于最好最差法、熵权法的组合赋权与 TOPSIS排序方法,筛选出不同水库调度方案.在始丰溪流域的应用结果表明:筛选出均衡防洪、偏上游防洪、偏下游防洪3 种调度情景;与LightGBM、XGBoost 模型相比,LSTM 模型的模拟精度最高,模拟结果的纳什效率系数(NSE)均在0.94 以上;引入物理约束和卡尔曼滤波实时修正,提升了防洪调度规则的可解释性和结构合理性,其中偏上游防洪情景下,KP-LSTM 模型水量平衡指数偏差降低约为0.17,KP-XGBoost 模型的负值流量百分比降低了0.05%,有效减少了水量失衡与流量负值现象;集合模型的综合表现优于单一模型,在不同防洪情景下 NSE 均超过 0.97,且其 90%置信区间覆盖率高、宽度合理.
Three machine learning algorithms,namely LightGBM,XGBoost,and LSTM,were used as benchmark models.Water balance,reservoir water level,and discharge flow constraints were introduced into the loss function,and Kalman filtering was used for real-time correction.KP-LightGBM,KP-LSTM,and KP-XGBoost models were constructed,and a physical mechanism coupled machine learning method for extracting reservoir flood control ensemble dispatching rules was proposed.Based on the combined weighting of best and worst method,entropy weight method,and TOPSIS ranking method,different reservoir scheduling schemes are screened.The application results in the Shifengxi River Basin show that three scheduling scenarios have been selected,including balanced flood control,upstream-oriented flood control,and downstream-oriented flood control.Compared with LightGBM and XGBoost models,the LSTM model has the highest simulation accuracy,and the Nash efficiency coefficient(NSE)of the simulation result is above 0.94.The introduction of physical constraints and Kalman filtering for real-time correction has improved the interpretability and structural rationality of flood control dispatch rules.In the upstream-oriented flood control scenario,the deviation of the KP-LSTM model's water balance index decreased by about 0.17,and the negative flow percentage of the KP-XGBoost model decreased by 0.05%,effectively reducing the phenomenon of water imbalance and negative flow.The comprehensive performance of the ensemble model is better than that of the single model.Under different flood control scenarios,the NSE exceeds 0.97,and its 90%confidence interval has high coverage and reasonable width.