Wenjin Hao

Wenjin Hao

Auto-generated profile, based on publicly available information

Wenjin Hao

Department of Electronics, Information, and Bioengineering Politecnico di Milano Milan Italy

Research Focus & Metrics

Academic Career Length

7Years (2020-Present)

(Calculated once Scilit publication data is synced: current year − year of first publication + 1)

Representative Publications

View All Publications
1 December 2020 in Environmental Modelling & Software
Verified
Journal Article
Open access
SRStefania Russo
Stefania Russo
MLMoritz Lürig
Moritz Lürig
WHWenjin Hao
Wenjin Hao
BMBlake Matthews
Blake Matthews
KVKris Villez
Kris Villez

28 January 2025 in Earth's Future
Verified
Journal Article
Open access
WHWenjin Hao
Wenjin Hao
ACAndrea Cominola
Andrea Cominola
ACAndrea Castelletti
Andrea Castelletti
Gaining insights into current and future urban water demand patterns and their determinants is paramount for water utilities and policymakers to formulate water demand management strategies targeted to high water‐using groups and infrastructure planning strategies. In this paper, we explore the complex web of causality between climatic and socio‐demographic determinants, and urban water demand patterns across the Contiguous United States (CONUS). We develop a causal discovery framework based on a Neural Granger Causal (NGC) model, a machine learning approach that identifies nonlinear causal relationships between determinants and water demand, enabling comprehensive water demand determinants discovery and water demand forecasting across the CONUS. We train our convolutional NGC model using large‐scale open water demand data collected with a monthly resolution from 2010 to 2017 for 86 cities across the CONUS and three Köppen climate regions—Arid, Temperate, and Continental—utilizing this globally recognized climate classification system to ensure a robust analysis across varied environmental conditions. We discover that city‐scale urban water demand is primarily driven by short‐term memory effects. Climatic variables, particularly vapor pressure deficit and temperature, also stand out as primary determinants across all regions, and more evidently in Arid regions as they capture aridity and drought conditions. Our model achieves an average higher than 0.8 for one‐month‐ahead prediction of water demand across various cities, leveraging the Granger causal relationships in different spatial contexts. Finally, the exploration of temporal dynamics among determinants and water demand amplifies the interpretability of the model results. This enhanced interpretability facilitates discovery of urban water demand determinants and generalization of water demand forecasting.

19 July 2024 in Environmental Research: Infrastructure and Sustainability
Verified
Journal Article
Open access
WHWenjin Hao
Wenjin Hao
ACAndrea Cominola
Andrea Cominola
ACAndrea Castelletti
Andrea Castelletti
Urban water demand (UWD) forecasting is essential for water supply network optimization and management, both in business-as-usual scenarios, as well as under external climate and socio-economic stressors. Different machine learning and deep learning (DL) models have shown promising forecasting skills in various areas of application. However, their potential to forecast multi-step ahead UWD has not been fully explored. Modelling uncertain UWD patterns and accounting for variations in water demand behaviors require techniques that can extract time-varying information and multi-scale changes. In this research, we comparatively investigate different state-of-the-art machine learning- and DL-based predictive models on 1 d- and 7 d-ahead UWD forecasting, using daily demand data from the city of Milan, Italy. The contribution of this paper is two-fold. First, we compare the forecasting performance of different machine learning and DL models on single- and multi-step daily UWD forecasting. These models include an artificial neural network, a support vector regression, a light gradient boosting machine (LightGBM), and long short-term memory networks with and without an attention mechanism (LSTM and AM-LSTM). We benchmark their prediction accuracy against autoregressive time series models. Second, we investigate the potential enhancement in predictive accuracy by incorporating the wavelet transform and feature selection performed by LightGBM into these models. Results show that, overall, wavelet-enhanced feature selection improves the model predictive performance. The hybrid model combining wavelet-enhanced feature selection via LightGBM with LSTM (WT-LightGBM-(AM)-LSTM) can achieve high levels of accuracy with Nash-Sutcliffe Efficiency larger than 0.95 and Kling–Gupta Efficiency higher than 0.93 for both 1 d- and 7 d-ahead UWD forecasts. Furthermore, performance is shown to be robust under the influence of external stressors causing sudden changes in UWD.

15 May 2023
Verified
Conference Paper
Open access
WHWenjin Hao
Wenjin Hao
ACAndrea Cominola
Andrea Cominola
ACAndrea Castelletti
Andrea Castelletti
Urban water demands vary across spatio-temporal scales, driven by multiple socio-demographic, climatic, and urban form factors. Identifying influential drivers, along with their individual and compound effects on urban water consumption, is essential to forecasting future water demand, addressing urban water security, and informing water governance. Model-free and model-based Input Variable Selection (IVS) has been extensively applied to investigate important predictors of urban water demands. However, most IVS methods identify correlations and mutual information between variables, which do not imply causation. More recently, causal discovery has developed as an active area of research in many research fields, including, e.g., neuroscience, finance, and climate science. Causal discovery improves IVS by identifying causally meaningful relationships between variables, distinguishing indirect from direct dependencies, and recognising relevant drivers among multiple variables.In this work, we investigate predictive and causal factors of urban water use across the Contiguous United States (CONUS). We rely on open data of monthly municipal water consumption from 126 cities in the US for the period 2010-2017 and data on candidate socio-demographic, climatic, and built environment predictors from multiple sources, including the U.S. Census Bureau, the American Community Survey, and the PRISM climate data set. We first test the state-of-the-art W-QEISS wrapper method to identify equally-informative subsets of predictive factors for urban water demands. These subsets are the solutions of a four-objectives optimisation problem that maximises the predictive accuracy of a data-driven model and feature relevance while minimising the number of selected predictors and their redundancy. Results show that historical water consumption is the most relevant factor to predict future demands, followed by some socio-demographics, climatic factors, and building characteristics, including the median number of rooms in housing units, unemployment rate, Palmer Drought Severity Index (PDSI), and building construction years. Preliminary results for individual climate regions also highlight local effects, with PDSI becoming more relevant for arid regions than the continental-scale results. Second, we extend our analysis to causal discovery by applying a neural Granger model to interpret non-linear Granger causality and temporal structures within time series. Granger causality describes whether past values of a time series xt could predict future values of another series yt, assuming causal effects are ordered in time (i.e., cause before effect). This allows for finding the specific causes of urban water demands in our case (in a Granger’s sense). We finally compare the causality results with the results of IVS to illustrate the different interpretations of urban water demand drivers.

28 March 2022
Verified
Conference Paper
Open access
WHWenjin Hao
Wenjin Hao
ACAndrea Cominola
Andrea Cominola
ACAndrea Castelletti
Andrea Castelletti
Urban water demands vary across multiple spatio-temporal scales, driven by population growth, climate change, and urbanization. Demand-side management emerged as an important complementary measure to supply-side interventions to address urban water scarcity, foster water conservation, and inform water governance. Moreover, rapid development and deployment of Advanced Metering Infrastructure (AMI) and so-called digitalization in the water sector unfold new opportunities to uncover water demand patterns and model water demands at increasingly high spatial and temporal scales. However, challenges to modelling water demands arise from the uncertainties of water demands under abrupt environmental and societal change. The current Covid-19 Pandemic with the Stay-at-Home order is an example of such sources of uncertainty because it rapidly and unexpectedly changed people’s working patterns and lifestyles. Understanding and modelling water demands across spatial and temporal scales considering an uncertain world is, thus, key to designing robust demand management strategies.In this work, we investigate urban water demand changes at multiple spatio-temporal scales in Milan (Italy). We combine different state-of-art data-driven models (i.e., Ruptures breakpoint detection framework, LightGBM, Hierarchical clustering, and Recurrent Neural Networks) to extract water demand characteristics from heterogeneous data sources, including historical time series of water consumption recorded with AMI, drinking water volumes pumped in the water distribution network, and socio-demographic characteristics of different urban districts. At the city scale, we found that a significant declining trend in water consumption occurred in 2017-2020, especially during the Pandemic and the first lockdown measures. At the sub-city scale, we explored the relationships between water demand and different socio-demographic, economic, and urban form features with data from 2004 to 2020. Finally, we analyzed AMI data collected at the water account level in 2019-2021 to assess the effect of Pandemic on demand pattern change and cross-correlate it with spatial heterogeneity of neighborhood features. While the investigation of historical demand pattern change gives insights to design long-term demand management strategies, accurate prediction of future demand can help improve short-term operational efficiency for water utilities. In this regard, in the last phase of this work, we compare state-of-art predictive models to explore how accurately machine learning/deep learning models can predict water demand at city and sub-city scales. Preliminary prediction results show that advanced models like Long Short Term Memory networks (LSTM) with wavelet transform technique can attain model accuracies (R2) of 0.80 to 0.95 for 1-day ahead prediction. 

5 November 2026 in Results in Engineering
Verified
Journal Article
Open access
YU LIYU LI
YU LI
WHWenjin Hao
Wenjin Hao
LWLu Wang
Lu Wang
WKWolfgang Kinzelbach
Wolfgang Kinzelbach