Forecasting municipal water demand requires predictive frameworks capable of tracking both meteorological variation and dynamic human behavior. Traditional operational models maintained by municipal water utilities rely heavily on weather records, treating consumer habits and population numbers as largely static baselines over seasonal planning horizons. However, sudden shifts in collective activity caused by community events, holiday travel, wildfire occurrences, and acute heat waves can rapidly alter municipal consumption patterns. By combining meteorological datasets with aggregated mobility movement records from Meta and internet search frequency series from Google Trends, the authors demonstrated that integrating human activity proxies into predictive models notably improves short-term daily water demand forecasts, raising the coefficient of determination from 0.79 under a climate-only configuration to 0.85 when all behavioral indicators were incorporated.
Operational water utilities face persistent challenges in anticipating daily flow fluctuations to properly manage storage reservoirs, schedule pumping operations, and run treatment facilities with minimal operational risk. Historically, short-term utility predictions were developed using classical time-series techniques and deterministic equations centered on temperature, precipitation, and potential evapotranspiration. While these physical drivers establish the primary seasonal baseline for municipal water consumption, they frequently overlook rapid, day-to-day behavioral adaptations and transient demographic shifts. Socio-hydrological research demonstrates that public perception, environmental awareness, institutional regulations, and collective responses introduce nonlinear feedbacks that traditional demand models cannot capture. As urbanization accelerates and lifestyle diversification deepens across modern communities, municipal water consumption is driven by a complex interplay of physical, infrastructural, and behavioral determinants operating across varying spatial and temporal scales. To bridge this persistent operational gap, the investigators sought to integrate real-time digital proxies into data-driven machine learning algorithms, allowing municipal water utilities to anticipate socially driven deviations that meteorological observations alone cannot explain.
The study was situated in the North Okanagan region of British Columbia, Canada, a territory operated by the Regional District of North Okanagan water utility. The study domain lies within the Okanagan Valley, an area characterized by a semi-arid continental climate featuring cold winters and hot, dry summers that produce dramatic seasonal swings in municipal water requirements. The surrounding geographical landscape comprises forested hills, agricultural lands, and prominent freshwater lakes, interspersed with rapidly developing suburban centers and outdoor recreational parks. Because the North Okanagan serves as a major destination for regional tourism and seasonal recreation, the district experiences substantial influxes of temporary visitors during warmer months. This transient population, coupled with intensive commercial agricultural irrigation, private landscape watering, and periodic wildfire smoke episodes during the summer fire season, creates a demanding setting for water distribution management. The primary municipal drinking water supply for the service area is drawn from the Duteau Creek Reservoir, which feeds the Duteau Water Treatment Plant before clean water enters an extensive gravity-driven pipeline network serving agricultural, industrial, commercial, and residential consumers.
To assemble the empirical foundation for their predictive framework, the researchers gathered daily water demand records spanning from 2023 through 2025 directly from the Regional District of North Okanagan. The operational data were recorded by the supervisory control and data acquisition system at the outlet of the Duteau Water Treatment Plant, measuring finished production volume flowing into the primary distribution system. While finished plant output serves as a functional proxy for municipal consumption, the authors noted that utility storage reservoirs and inter-zone transfers between supply systems can introduce minor smoothing effects or short temporal offsets relative to end-user taps. Data quality protocols involved screening out corrupted sensor readings and performing linear interpolation over small data gaps shorter than six hours, with approximately eight operational maintenance days per year excluded during low-demand winter baseline periods. The resulting clean time series reflected the integrated volumetric demand of the service territory, establishing an empirical benchmark against which physical and digital predictors could be aligned and evaluated on a unified daily timescale.
To represent real-time public awareness, community concerns, and outdoor intentions, the investigative team harvested query frequency data from Google Trends across British Columbia for the identical three-year period. Google Trends tracks normalized search activity indices ranging from zero to one hundred, reflecting the relative regional popularity of specified search terms relative to total search volume over time. The researchers evaluated candidate search queries linked to seasonal outdoor living, domestic cooling, and local environmental hazards, retaining terms exhibiting meaningful temporal variation across the calendar year. The finalized behavioral query list incorporated terms such as wildfire, smoke, fireMap, fireBan, evacuation, heatWave, HeatWarning, howToCoolDown, AC, patio, Sprinkler, Camping, parksBritishColumbia, festival, canadaDay, forecast, airQuality, UV, and wind. The authors highlighted that online search volume serves as a near-real-time sensor of collective attention, capturing preventative community actions, recreational planning, and domestic cooling demands before or concurrently with observable changes in utility water consumption.
In parallel with online attention metrics, the framework incorporated physical mobility indicators derived from Meta’s Data for Good Movement Distribution Maps to capture physical population displacement. Meta aggregates anonymized location data from mobile application users who opt into device-level positioning services, calculating percentage changes in movement intensity relative to a pre-pandemic baseline from February 2020. The platform infers an anonymous habitual home tile measuring 600 meters by 600 meters for each user based on nighttime location records and stratifies subsequent travel into four distinct displacement bands: within 1 kilometer, between 1 and 10 kilometers, between 10 and 100 kilometers, and exceeding 100 kilometers from the inferred residence. Daily mobility indicators for the North Okanagan service territory were aligned with the municipal water records to capture localized neighborhood activity, intra-urban commuting, and inter-regional travel. Although based on a sample of mobile application users rather than a full census, these mobility distributions offer a privacy-preserving proxy for transient population shifts, tourism inflows, and emergency evacuation movements that alter consumer density across the service area.
To account for external physical forcing, daily climate records were obtained from an Environment and Climate Change Canada meteorological station located within the North Okanagan study boundary via the NASA POWER Data Access Viewer. The atmospheric dataset incorporated observations of daily mean surface air temperature, dew point temperature, relative humidity, wind speed, global solar radiation, and cumulative daily precipitation. All continuous weather predictors were standardized alongside the digital search indices and mobility variables using Z-score normalization to ensure balanced feature weighting during machine learning model training. To explore nonlinear physical and behavioral behaviors prior to multi-variable modeling, the authors performed two-segment piecewise linear regression between daily water demand and individual explanatory features. This segmented correlation approach identified specific numerical split points where the sensitivity of municipal water consumption abruptly shifts, revealing operational thresholds where baseline human and climatic relationships give way to accelerated consumption regimes.
The exploratory threshold analyses uncovered pronounced structural breakpoints across climatic, behavioral, and mobility dimensions. Among meteorological drivers, mean air temperature demonstrated the strongest individual explanatory power with a coefficient of determination of 0.83, revealing a distinct transition breakpoint near 16 degrees Celsius above which daily municipal water consumption rises sharply due to outdoor garden irrigation and commercial agricultural watering. Solar radiation similarly displayed a positive association with an R2 of 0.56, while relative humidity demonstrated an inverse relationship with an R2 of 0.46, indicating that dry atmospheric conditions accelerate evaporative losses and outdoor water application. Conversely, precipitation exhibited only a weak association with an R2 of 0.09, and wind speed showed a negligible correlation of 0.02 at the daily temporal scale. The authors observed that when daily temperatures surpass 16 degrees Celsius and incoming solar radiation exceeds 500 watts per square meter, the likelihood of peak municipal demand days escalates substantially, providing actionable environmental criteria for treatment plant operators.
Segmented regression applied to digital behavioral indicators confirmed that online search activity corresponds closely with water consumption, displaying nonlinear coefficients of determination ranging from 0.53 to 0.78 that rival the explanatory power of key climate drivers. Search interest for wildfire, smoke, and camping exhibited particularly strong correlations with daily water demand, yielding R2 values of approximately 0.75 to 0.78. Fitted segmented curves identified operational breakpoints at search index values of approximately 12 for wildfire, 23 for smoke, and 55 for camping, beyond which municipal water demand expanded rapidly. Search queries for domestic air conditioning and provincial park visits likewise demonstrated robust correlations of 0.69 and 0.71, while queries regarding lawn sprinklers, ultraviolet radiation, and outdoor festivals showed moderate explanatory values between 0.53 and 0.61. In contrast, Meta mobility metrics yielded modest individual explanatory values ranging from 0.04 to 0.31, with local travel displaying minimal correlation, whereas regional displacement over 100 kilometers showed an R2 of 0.31, leveling off beyond a displacement index of 0.015 as seasonal tourism and highway transit peaked.
Following threshold identification, the research team trained a diverse suite of multivariate machine learning regression algorithms using MATLAB’s Regression Learner App, utilizing empirical observations from 2023 and 2024 for training and cross-validation while reserving complete 2025 records for out-of-sample testing. The evaluated model families included linear regression, support vector machines, Gaussian process regression, artificial neural networks, decision trees, and ensemble methods, all tuned via automated hyperparameter optimization under five-fold cross-validation. Ensembles of boosted regression trees and Gaussian process regression emerged as the top-performing architectures, achieving validation coefficients of determination of 0.95 and testing scores of 0.85 and 0.74 on unseen 2025 data, respectively. Linear regression models performed moderately well with a validation R2 of 0.79 and a test R2 of 0.73, but lacked the mathematical flexibility to accommodate the sharp threshold responses identified in the empirical breakpoint analysis. The boosted tree ensemble was subsequently selected as the representative forecasting model due to its superior generalization, balanced predictive precision, and computational stability across disparate data inputs.
To quantify the incremental value of behavioral signals, the authors conducted a structured ablation experiment on the independent 2025 test dataset, evaluating four progressively enriched modeling configurations. A naive benchmark comparing 2025 demand directly against 2024 calendar dates without dynamic predictors yielded an R2 of only 0.47, illustrating that historical repetition fails to account for interannual variability in weather and population habits. A behavioral-only model relying exclusively on Meta mobility and Google Trends predictors achieved an R2 of 0.70, proving that digital footprints alone explain a substantial portion of short-term demand variance. A third model trained strictly on meteorological variables reached an R2 of 0.79, confirming that climatic forcing provides the foundational seasonal baseline for water consumption.
To inspect the inner decision-making mechanics of the boosted tree learner, the researchers implemented post-hoc explainability techniques using Shapley Additive Explanations and Partial Dependence Plots. The SHAP summary analysis demonstrated that Google Trends metrics exerted dominant predictive influence, representing eight of the ten and sixteen of the twenty most influential features in the complete ensemble model. Search terms including fireMap, Camping, Sprinkler, and smoke generated the largest positive contributions to predicted municipal flow, corroborating the heavy influence of heat waves, outdoor recreation, and community wildfire readiness. Air temperature, solar radiation, and dew point contributed positive adjustments among meteorological features, whereas high relative humidity and rainfall events suppressed water consumption. Medium-range mobility between 10 and 100 kilometers contributed modest positive predictive value during peak summer tourist periods, though mobility features ranked below online search indicators in overall importance, likely reflecting the aggregated spatial scale and voluntary user opt-in nature of device mobility metrics.
The Partial Dependence Plots further validated the nonlinear threshold dynamics across isolated predictors, illustrating model sensitivities that aligned closely with the segmented regression findings. Model-predicted water demand remained relatively stable below 12 degrees Celsius, climbed steadily between 12 and 23 degrees Celsius, and accelerated steeply at higher daily temperatures. Mobility over medium distances between 10 and 100 kilometers showed minimal marginal effect below an index value of 0.047, followed by a gradual increase to 0.055 and a sharp surge thereafter, capturing regional transit surges. For search-based predictors, camping interest spurred a steep rise in predicted demand near an index value of 40 that continued up to 70 before plateauing, while wildfire search interest drove consumption gains up to an index value of roughly 8 before leveling off. The consistency between empirical piecewise breakpoints and machine learning partial dependence functions confirms that the model internalizes realistic behavioral and physical thresholds rather than operating as an unconstrained black-box predictor.
Despite its high predictive accuracy, the researchers delineated several operational boundaries and data constraints inherent to the framework. During independent validation on 2025 records, the model did not fully reproduce anomalous demand surges observed in mid-June and early July, which likely stemmed from short-lived agricultural pumping schedules, localized system operational adjustments, or untracked behavioral anomalies. Furthermore, the approach relies on platform-dependent data sources, raising questions regarding the long-term continuity, algorithmic changes, and spatial representativeness of proprietary mobility feeds and search indices. The authors emphasized that the methodology provides the greatest operational advantage in regions characterized by volatile climates, outdoor water consumption, seasonal tourism, and episodic environmental hazards such as wildfires. In urban systems with uniform year-round populations and minimal outdoor water use, the marginal performance gain over classical climate models may prove more modest. Nonetheless, the modular design allows municipal water utilities to incorporate alternative behavioral sensors as digital telemetry advances, providing an adaptive, socially aware foundation for resilient municipal water resource management.
Subject of Research: Behaviorally informed machine learning modeling of daily urban water demand using climate, mobility, and search activity data
Article Title: Behaviorally informed modeling of daily urban water demand: integrating environmental drivers, mobility, and online search activity
Article References: Zeidan, M., & Peleato, N. (2026). Behaviorally informed modeling of daily urban water demand: integrating environmental drivers, mobility, and online search activity. Urban Lifeline, 4(1), Article 21. https://doi.org/10.1007/s44285-026-00076-5
Image Credits: AI Generated
DOI: 10.1007/s44285-026-00076-5
Keywords: urban water demand, water demand forecasting, machine learning, Google Trends, Meta Data for Good, mobility distribution, North Okanagan Valley, British Columbia, boosted tree ensembles, explainable AI, SHAP analysis, partial dependence plots, hydroinformatics, water resource management, piecewise regression, environmental drivers, Duteau Water Treatment Plant
Cite Scienmag News
Teresa Odom. (November 23, 2026). Adding Search and Mobility Data Boosts Urban Water Demand Forecast Accuracy. Scienmag. https://scienmag.com/adding-search-and-mobility-data-boosts-urban-water-demand-forecast-accuracy/
Teresa Odom. "Adding Search and Mobility Data Boosts Urban Water Demand Forecast Accuracy." Scienmag, 23 November 2026, https://scienmag.com/adding-search-and-mobility-data-boosts-urban-water-demand-forecast-accuracy/. Accessed 28 November 2026.
Teresa Odom. "Adding Search and Mobility Data Boosts Urban Water Demand Forecast Accuracy." Scienmag. November 23, 2026. https://scienmag.com/adding-search-and-mobility-data-boosts-urban-water-demand-forecast-accuracy/








