Predictive analytics is being used more widely by wastewater facilities to predict the risk of sanitary sewer overflows. Using CCTV inspection data, rainfall, maintenance history, asset condition and past SSO events, these models can help predict SSO risk before an event occurs.
While this tool can be beneficial, there is a potential management pitfall. Because these models can be highly accurate, there can be overconfidence in the model output over the actual quality of the data used.
An asset with an SSO risk rating of 87 out of 100 immediately draws attention, but if that risk rating is derived using incomplete attribute data, outdated inspection data or overgeneralized asset information, then the level of certainty in that rating is misleading. For facility managers, the question isn’t just how accurate the model is.
Another important question is how much confidence can be placed in the data used for the prediction.
The baseline
Many interconnected factors cause sewer overflows. System capacity, blockages, maintenance frequency, pipe material, I&I, wet-weather performance, system deterioration and system response all contribute to the risk of overflow. Predictive modeling looks for patterns in these factors, but the strength of these patterns depends on the accuracy of the input data representing the actual conditions.
For example, pipe age depends on the installation date. For portions of a collection system where installation dates are unknown, estimates are used as default values. A risk score can be calculated, but the baseline error present in the default values will persist.
Condition data also exhibits this issue. CCTV footage from a recent inspection cannot be used interchangeably with inspection data from 10 years ago. Historical SSO data can only reflect what was recorded at the time. Fluctuations in historical data recording affect the failure baseline.
Masking uncertainty
Analytics provides simplification. Executive dashboards can represent thousands of network assets in easily digestible green, yellow and red risk levels. This aids in the distribution of a limited amount of operational resources. Unfortunately, this simplification can hide an important difference between predicted risk and confidence in that risk.
Imagine two collection pipes that are both predicted to be high risk:
- Pipe A: Supported by verified historical flow data, complete maintenance records, recent CCTV inspection and verified GIS data
- Pipe B: Supported by 15-year-old inspection records, incomplete maintenance information, estimated installation dates and sparse event data
The model rates both pipes as high priority, but the confidence in these ratings differs significantly. Making a decision regarding cleaning, rehabilitation or monitoring for these pipes assuming they are equivalent creates unnecessary risk.
Five dangers
There are several data quality problems that commonly affect SSO risk prediction.
- Incomplete Data: Missing pipe attributes such as age, slope, diameter and material cause the model to use systemic mean values.
- Outdated Data: Pipes are dynamic systems. They degrade, may experience localized maintenance such as flushing that is not recorded, or are modified in some way, rendering past inspection data outdated.
- Inconsistent Data: As data recording procedures evolve, the same spill or maintenance event may be recorded in different ways over time.
- Sparse Failure Data: SSOs are rare events. While datasets may contain many records of normal pipe operation, there are relatively few records of overflow events, which can lead to problems with machine-learning predictions.
- Misaligned Time Stamps: Rainfall data, inspection data and event data may be combined using mismatched time stamps, creating baselines that do not represent the state of the system during a particular rainfall event.
Perfect data is not necessary for predictive analytics to yield value. Rather, we can focus on understanding the effects that data uncertainty has on priority.
Accuracy and confidence
Model performance metrics measure how well a model performs against historical or validation data. These metrics are important for understanding model performance, but do not ensure the quality of data for every asset in every sub-basin. A model may perform well across a collection network, but may fail in areas that are poorly observed or completely unmeasured. Model performance should not be equated with data confidence.
One way to address this shortcoming is to evaluate data confidence alongside predicted risk. This confidence does not need to come from a complex calculation. Instead, confidence can be assessed using simple data attributes including data recency, number of observations, data source reliability, attribute completeness and so on.
Using this two-tier system there are now four distinct actions that can be taken:
- High Risk Plus High Confidence (Immediate Engineering Attention): There is strong data to support the risk level. The asset merits immediate engineering attention, either through preventive cleaning, rehabilitation or closer inspection.
- High Risk Plus Low Confidence (Targeted Monitoring): There is high risk, but uncertainty in the data. The asset merits targeted monitoring using CCTV or temporary flow measurements prior to making significant capital investment.
- Low Risk Plus High Confidence (Low Priority): There is strong data to support a low risk level. The asset can be managed within the existing maintenance regime.
- Low Risk Plus Low Confidence (Hidden Risk): This is the problematic category. Due to poor data, there is the potential for false safety. An asset can appear to be low risk due to the absence of data hiding existing problems.
While utilities will pay attention to high-risk assets that are flagged, they should also be aware of conditions where a lack of data can mask the actual condition of an asset.
Data gaps
Uncertainty in the data does not negate the use of predictive tools. Rather, it changes the way data gaps are handled. Rather than trying to fill all data gaps prior to using a predictive tool, utilities can use confidence assessment to focus data collection on the data that will have the greatest impact on decision making.
For example, if low confidence results from outdated condition data in a high-consequence area, send CCTV to that area first. If gaps in flow data limit wet-weather analysis, temporary flow monitoring may be appropriate. In this way, the predictive tool can be used for identifying the risk to infrastructure as well as identifying data gaps.
Algorithm tuning
When predictions seem suspect, the conventional reaction is to enhance the algorithm — adding variables, tuning parameters or using more complex algorithms.
Before tuning code, first determine if the algorithm itself is the issue:
Are key structural and spatial variables present?
Is condition data up to date?
Are there adequate wet-weather failure data in the dataset?
Would using materially different baseline data change the priority of assets?
If having access to updated baseline data changes the list of asset priorities, then investing in improving data quality may yield more value than investing in tuning the algorithm code.
Measure confidence
Having the ability to understand uncertainty increases the value of utility analytics. A dashboard that only displays risk values can indicate the areas of predicted problems. A dashboard that displays both risk and data confidence can indicate the areas in which decisions can be defended and the areas that require additional analysis.
The value of predictive analytics is not in doubting the results, but in creating transparent, defensible and robust decision-making. In situations of limited resources and public health protection, the value that may be most important on your dashboard may not be the amount of risk, but rather the confidence you can have in that risk value.
Before launching a predictive SSO pilot, utilities should review the existing GIS and CCTV data that will be used to build the model. A targeted review of data completeness, timeliness and known gaps can help ensure the pilot starts with information that is reliable enough to support informed decisions.
Hari Vamsi Krishna Nukala is a deputy project manager at EJES Inc. and a specialist in wastewater infrastructure analytics with expertise in GIS, spatial-temporal analytics and decision-making for municipal infrastructure systems.
Continue reading for free


















