Sustainable and effective management of urban water supply is a key challenge for the well-being and security of current society. Urban water supply systems have to deal with a huge amount of data, and it is difficult to develop efficient intervention mechanisms by relying on the human experience. Deep learning methods make it possible to predict water demand in real-time; however, deep learning methods have a large number of hyperparameters, and the selection of hyperparameters can easily affect the accuracy of prediction. Within this context, a novel framework of short-term water demand forecast is proposed, in which a forecasting method clouded leopard algorithm based on multiple adaptive mechanisms—long short-term memory networks (MACLA-LSTM)—is developed to improve the accuracy of water demand predictions. Specifically, LSTM networks are used to predict water demand and the MACLA is utilized to optimize the input parameters of the LSTM. The MACLA-LSTM model is evaluated on a real dataset sampled from water distribution systems. In comparison with other methods, the MACLA-LSTM achieved MAE values of 1.12, 0.89, and 1.09; MSE values of 2.22, 1.21, and 2.38; and R2 values of 99.51%, 99.44%, and 99.01%. The results show the potential of the MACLA-LSTM model for water demand forecasting tasks and also demonstrate the positive effect of the MACLA on forecasting tasks by comparing results with LSTM variant models. The proposed MACLA-LSTM can provide a resilient, sustainable, and low-cost management strategy for water supply systems.
Accurate and reliable wind direction prediction is important not only for enhancing the efficiency of wind power conversion and ensuring safe operation, but also for promoting sustainable development. Wind direction forecasting is a challenging task due to the random, intermittent and unstable nature of wind direction. This paper proposes a short-term wind direction prediction model based on quadratic decomposition and long short-term memory (LSTM) to improve the accuracy and efficiency of wind direction prediction. Firstly, the model adopts a seasonal-trend decomposition procedure based on the loess (STL) method to divide the wind direction series into three subsequences: trend, seasonality and the remainder, which reduces the impact of the original sequence’s complexity and non-stationarity on the prediction performance. Then, the remainder subsequence is decomposed by the optimal variational mode decomposition (OVMD) method to further explore the potential characteristics of the wind direction sequence. Next, all the subsequences are separately input into the LSTM model, and the prediction results of each subsequence from the model are superimposed to obtain the predicted value. The practical wind direction data from a wind farm were used to evaluate the model. The experimental results indicate that the proposed model has superior performance in the accuracy and stability of wind direction prediction, which also provides support for the efficient operation of wind turbines. By developing advanced wind prediction technologies and methods, we can not only enhance the efficiency of wind power conversion, but also ensure a sustainable and reliable supply of renewable energy.
A method that uses the ultraviolet-visible (UV-Vis) spectrum to detect organic contamination events in water distribution systems exhibits the advantages of rapid detection, low cost, and no need for reagents. The speed, accuracy, and comprehensive analysis of such a method meet the requirements for online water quality monitoring. However, the UV-Vis spectrum is easily disturbed by environmental factors that cause fluctuations of the spectrum and result in false alarms. This study proposes an adaptive method for detecting organic contamination events in water distribution systems that uses the UV-Vis spectrum based on a semi-supervised learning model. This method modifies the baseline using dynamic orthogonal projection correction and adjusts the support vector regression model in real time. Thus, an adaptive online anomaly detection model that maximizes the use of unlabeled data is obtained. Experimental results demonstrate that the proposed method is adaptive to baseline drift and exhibits good performance in detecting organic contamination events in water distribution systems.