中国农村水利水电Issue(5):18-22,29,6.DOI:10.12396/znsd.2500905
基于Transformer的水库垂向水温预测方法研究
Research On Reservoir Vertical Water Temperature Prediction Method Based On Transformer
摘要
Abstract
The distribution of water temperature in front of the reservoir dam is one of the key factors determining the effectiveness of stratified water intake through stoplogs in reservoirs.However,most methods for predicting vertical water temperature rely on numerical simulations,which are limited in practical engineering applications due to their low computational efficiency and extensive parameter settings.To quickly predict the vertical water temperature in front of the reservoir dam,this paper proposes a vertical water temperature prediction method based on the Transformer structure.By unifying the time series mean and variance within the sliding window to the same distribution type,this method addresses the issue of time series distribution skewness and improves the traditional models.Training and validation were conducted using vertical water temperature distribution data from Xiluodu Reservoir from January to May during 2020-2023.Finally,the errors of the traditional Transformer model and the improved model were compared.The research results show that the traditional Transformer model can simulate the vertical water temperature distribution trend well,but the simulation effect is slightly worse in the thermocline and deep water layers.The root mean square error(RMSE)of the vertical water temperature in the validation set is 0.286℃,and the mean absolute error(MAE)is 0.203℃.After unifying the time series mean and variance within the sliding window to the same distribution type,the RMSE of the vertical water temperature in the validation set of the improved model is 0.169℃,and the MAE is 0.107℃.The simulation accuracy has been significantly improved compared to the traditional model.This study provides a method for predicting vertical water temperature in front of the reservoir dam,offering a vertical water temperature prediction tool for the formulation of stratified water intake schemes through stoplogs in practical engineering.关键词
垂向水温/Transformer/RevIN/水温预测Key words
vertical water temperature/Transformer/RevIN/water temperature prediction分类
建筑与水利引用本文复制引用
王飞龙,唐玉川..基于Transformer的水库垂向水温预测方法研究[J].中国农村水利水电,2026,(5):18-22,29,6.基金项目
中国长江三峡集团有限公司科研项目(NBZZ202400531) (NBZZ202400531)
国家重点研发计划项目(2022YFC3002703). (2022YFC3002703)