top of page

Real-time hydraulic model integration helps close the gap on digital twin capabilities for stormwater management

Updated: 14 hours ago


infinitii ai rainfall-derived inflow and infiltration (RDII) chart provides powerful quantitative view of a collection system's wet weather response
ES&E Magazine feature article: Real-time hydraulic model integration helps close the gap on digital twin capabilities for stormwater management

Municipal stormwater departments invest significantly in hydraulic models. These SWMM, InfoWorks, or MIKE models represent years of engineering effort calibrated against monitoring data, validated through design storms, and refined through successive planning studies. Yet for most utilities, these models sit dormant between projects, producing static reports that become outdated the moment they’re printed.


The problem isn’t the models themselves. It’s how we use them.


When a major storm approaches, operators check rain gauges and sensor levels, not model predictions. When green infrastructure is installed across a watershed, years pass before anyone re-runs the model to assess its impact. When a sensor fouls or drifts, it may go unnoticed until the next calibration cycle, if there is one.


Example problem solved by hydraulic integration
Example problem solved by hydraulic integration

What if these models could run continuously, automatically comparing predictions against live sensor data? What if the same interface operators use for monitoring could also show them what the model expects to happen and alert them when reality diverges from prediction?


This is no longer theoretical. A recent project in the Metro Vancouver region demonstrates that integrating hydraulic models with real-time monitoring platforms delivers practical operational benefits today, using tools accessible to utilities of any size.


Flood prediction using hydraulic model
Flood prediction using hydraulic model

From planning tool to operational asset

The Metro Vancouver project began with straightforward questions from municipal clients. The municipality had been implementing green infrastructure across a fully urbanized watershed for nearly two decades. Rain gardens, green roofs, and impervious area disconnections had been installed through both private redevelopment and public capital programs. But how could they measure whether these investments were actually working?


They also wanted to know whether a real-time model could provide alarms at ungauged locations, particularly at critical culvert crossings where capacity exceedances could cause flooding. Could the model detect when flow monitoring sensors fouled or drifted? And could it provide flow forecasts based on weather predictions?


Integrated model for gauging effectiveness of remediation work
Integrated model for gauging effectiveness of remediation work

Kerr Wood Leidal Associates Ltd. (KWL), a Vancouver-based consulting engineering firm, had maintained the watershed’s SWMM model since the 1990s. The model was well-calibrated to historical monitoring data and had been used for numerous planning studies. The question was whether it could be brought online to run continuously.


The integration was accomplished through infinitii face pro, a Python scripting engine that extends the functionality of the infinitii flowworks monitoring platform. The technical approach was straightforward: Python scripts download real-time and forecasted climate data from online sources, execute the SWMM model, and push the results back into flowworks where they appear alongside live sensor data.


The entire integration took weeks rather than months. No custom software development was required – just configuration of existing tools and adaptation of the client's calibrated model.


Operational benefits in practice

Once running, the integrated system delivered immediate operational value.

Flood forecasting became possible by feeding seven-day weather forecasts into the model. Operators could see predicted flows at any location in the drainage network, not just where sensors were installed. For a watershed with steep terrain and flashy hydrology, this advance warning proved particularly valuable.


Alarms at ungauged locations addressed a critical gap. The watershed had flow monitoring at its outlet, but several upstream culvert crossings had known capacity constraints. The model now provides continuous flow estimates at these locations, triggering alerts when predicted flows approach or exceed design capacity. This capability would traditionally require installing additional monitoring equipment, with associated capital and maintenance costs.


Sensor validation emerged as an unexpected operational benefit. When model predictions consistently diverge from sensor readings under conditions where they should agree, it often indicates sensor fouling, drift, or malfunction. Operations staff now have an automated cross-check that flags potential sensor issues for investigation, reducing the risk of decisions based on faulty data.


All of these capabilities appear within the same infinitii flowworks interface that staff already use for routine monitoring. There was no new system to learn, no additional login to manage. The model outputs simply became another data source alongside the existing sensors.


Modelled predicted actual discharge
Modelled predicted actual discharge

Measuring green infrastructure effectiveness

The most compelling outcome of this project was not planned as an operational feature. It emerged from the decision to keep the model calibrated to historical conditions rather than updating it to reflect current watershed characteristics.


KWL had calibrated the model to flow monitoring data from 2010, before most of the green infrastructure had been implemented. When the model was brought online and began running against current sensor data, a clear pattern emerged.


During winter storms, when soils are saturated and green infrastructure provides minimal benefit, the model predictions matched observed flows closely. The calibration remained valid.


During spring and summer storms, however, the model consistently over-predicted flows. The same model parameters that accurately predicted winter runoff were producing estimates higher than what sensors recorded during drier conditions.

This divergence was not a calibration failure. It was evidence that the green infrastructure was working.


When soils are dry, rain gardens and disconnected impervious areas absorb and infiltrate rainfall that would previously have run off directly to the storm system. The model, still representing the historical watershed, predicted what flows would have been without these improvements. The difference between prediction and observation quantified the runoff reduction achieved.


This approach, using calibration drift as a measurement tool, provides something that green infrastructure programs often struggle to demonstrate – empirical, continuous evidence of performance. Rather than relying solely on design calculations or periodic studies, the municipality can now observe the cumulative effect of their investments in near real-time.


The engineering team has since begun updating the model calibration to match current conditions, systematically increasing impervious disconnection parameters until predictions align with observations. Early results suggest the effective impervious area has dropped from approximately 50% to mid-20%, a substantial reduction attributable to two decades of green infrastructure implementation.

Closing the gap on expensive digital twin capability

Projects like this would traditionally require significant custom development, specialized real-time modelling software, or expensive digital twin platforms marketed primarily to large utilities. The tools used here – an existing SWMM model, a standard monitoring platform, and a Python scripting engine – represent a fraction of that cost and complexity.


This accessibility matters. Most Canadian municipalities are not large enough to justify enterprise-scale digital twin investments. But they do have hydraulic models developed through master planning studies. They do have monitoring data flowing into operational platforms. The gap between these assets is narrower than many realize.


The Python scripting capability within infinitii face pro proved essential to this project’s success. It allowed the engineering team to write custom code handling data retrieval, model execution, and results processing—without requiring changes to the core monitoring platform. Similar integrations have since been completed using other modelling tools, including UBC's Raven watershed model and the Soil and Water Assessment Tool (SWAT) platform.


Implications for practice


This project suggests a shift in how utilities might think about their hydraulic models. Rather than assets that produce periodic reports, models become continuous operational tools that generate value daily.


The benefits extend beyond the specific applications demonstrated here. A model running continuously against live data will reveal calibration issues faster than periodic studies. It will identify locations where actual system behaviour differs from design assumptions. It will provide a framework for evaluating the performance of any intervention – whether green infrastructure, pipe rehabilitation, or operational changes.


Perhaps most importantly, it makes the model’s predictions visible and testable. When operators can see model outputs alongside sensor data every day, they develop intuition about where the model performs well and where it needs refinement. The model becomes a living tool rather than a static artifact.


For utilities considering this approach, the technical barriers are lower than they may appear. The critical requirements are a calibrated model, a monitoring platform capable of hosting custom scripts, and engineering expertise to configure and validate the integration. The project described here required no proprietary real-time modelling software, no specialized hardware, and no multi-year implementation timeline.


The question is no longer whether hydraulic models can be integrated with real-time monitoring. It’s whether utilities can afford not to.


Greg Johnston is President of infinitii ai inc., developer of the infinitii flowworks monitoring platform.


Acknowledgment: The hydraulic model integration described in this article was designed and implemented by Kerr Wood Leidal Associates Ltd. (KWL), with Jeff Marvin, M.A.Sc., P.Eng. serving as project lead.

 
 
 

Comments


Commenting on this post isn't available anymore. Contact the site owner for more info.
bottom of page