Predictive modelling for water systems
When does a data-driven model add enough value to justify replacing or complementing an engineering model we already understand?
My take
Mechanistic models carry decades of process understanding and simplify reality on purpose. Data-driven models capture patterns that are hard to write down and tend to struggle once conditions move outside their training data. Neither is the default answer.
Most of my work sits in the combination: using physical knowledge to structure or constrain learning, using data to fill gaps in the mechanistic picture, and building soft sensors and forecasts for states that are difficult or expensive to measure directly. In water systems, where good data is often scarce, that pairing matters more than model choice.
Accuracy is the easy part to report. What decides whether a model is usable is whether it can say when it is outside its comfort zone — so uncertainty and interpretability are requirements here, not refinements.
Built from it
The metric trap: does your calibration score lie?
InteractiveFive models of the same data, all with a near-identical R² — yet wildly different. Pick a metric (R², NSE, RMSE, MAE, PBIAS…) and watch the verdicts flip. An eye-opener on why one goodness-of-fit number is never enough.
How machine learning fits data
InteractiveA hands-on intuition builder for engineers new to ML. Generate data of any complexity, then watch simple and flexible models underfit, fit, or overfit — with a held-out test set that makes overfitting visible.
Fit the Monod equation
InteractiveGenerate lab-style (substrate, growth-rate) data, then fit μmax and Ks by hand — or hit Best fit to minimise the error. Live guide lines show what each parameter means, with a revealable true curve to check against.
Work
Applied ML research for wastewater monitoring
2025–presentSoft sensors, predictive modelling, uncertainty quantification, interpretable ML, and hybrid models — built for the data scarcity and operating constraints of real treatment plants rather than benchmark conditions.
N₂O emissions modelling for wastewater treatment
2019–2024Doctoral research building mechanistic and interpretable machine-learning models — with feature selection and uncertainty analysis — to predict and help mitigate N₂O emissions at full and pilot scale.
Reverse-osmosis forecasting & control
2024–2025Postdoctoral work developing deep-learning forecasting models and control-oriented data pipelines for RO membrane-fouling prediction and recovery optimization.
Worth your time
Scientific Explanation
Article · Stanford Encyclopedia of PhilosophyWhere I first met Hempel's covering-law model and the flagpole counterexample — you can calculate a flagpole's height from its shadow, which makes the shadow an excellent predictor and a terrible explanation. That gap between predicting something and explaining it is the whole problem with modern machine learning stated cleanly, decades before the models existed.
StatQuest
Video · Josh StarmerThe clearest explanations of ML and statistics concepts anywhere. Worth watching even for things you think you already understand — the explanations tend to expose the bit you were actually fuzzy on.
Mastering Chess and Shogi by Self-Play
Paper · Silver et al., DeepMindWorth reading against the usual story that machines handle tactics and humans handle strategy. AlphaZero learned its own evaluation of positions and played in ways commentators described in the language we reserve for human judgment — long-term positioning, unusual sacrifices. It doesn't weaken the case for human-machine complementarity so much as move where the human contribution has to sit.
Research
Machine learning in wastewater: opportunities and challenges — 'not everything is a nail!'
2025 · ReviewCurrent Opinion in Biotechnology
Uncovering unknown dynamics in water resource recovery facilities with neural differential equations and Shapley value analysis
2025 · JournalJournal of Water Process Engineering
Advances in greenhouse-gas emissions modelling for WRRFs: from state-of-the-art methods to full-scale applications
2024 · ReviewChemical Engineering Journal
Modelling nitrous oxide emissions from nitritation–denitritation IFAS-SBR treating sidestream wastewater
2024 · JournalJournal of Environmental Chemical Engineering
An integrated feature selection and hyperparameter optimization algorithm for balanced machine-learning models predicting N₂O emissions from WWTPs
2024 · JournalJournal of Water Process Engineering
Machine learning for modeling N₂O emissions from wastewater treatment plants: aligning model performance, complexity, and interpretability
2023 · JournalWater Research