Inspiration

Access to safe drinking water should not depend on expensive laboratory testing. We envisioned an intelligent system that could infer comprehensive water quality from just a few affordable sensor measurements. Our guiding idea was:

[ \textbf{Minimal Sensors} ;+; \textbf{AI} ;\rightarrow; \textbf{Maximum Water Intelligence} ]

What it does

AquaAI predicts 20+ health-critical water quality parameters using measurements such as pH, EC, Dissolved Oxygen, and Temperature. Instead of directly measuring every contaminant, it learns an inference function

[ f:{pH, EC, DO, T}\rightarrow{As, Pb, NO_3^-, F^-, E.coli,\ldots} ]

The predictions are validated through a Digital Twin, constrained by environmental chemistry, and translated into multilingual health advisories for citizens and government authorities.

How we built it

Our solution consists of four integrated layers:

  • IoT Sensor Layer for real-time data acquisition.
  • Physics-Constrained Ensemble AI that combines multiple machine learning models while enforcing environmental chemistry constraints.
  • Digital Twin that cross-validates predictions and improves reliability.
  • Conceptual Language Model (CLM) that converts technical outputs into simple, actionable recommendations.

The overall pipeline can be summarized as

[ \text{Sensors} \rightarrow \text{AI Inference} \rightarrow \text{Digital Twin Validation} \rightarrow \text{Health Advisory} ]

Challenges we ran into

Our primary challenges included collecting high-quality water-quality datasets, embedding scientific constraints into machine learning, and ensuring trustworthy predictions for public health applications. We also had to balance prediction accuracy with explainability and uncertainty estimation.

Accomplishments that we're proud of

  • Developed a closed-loop AI architecture combining Machine Learning, Physics, and Digital Twins.
  • Designed an inference engine capable of estimating 20+ water quality parameters from minimal sensing.
  • Integrated uncertainty-aware predictions and multilingual health advisories.
  • Built a scalable architecture compatible with existing IoT sensor infrastructure.

Our objective was to minimize prediction error while maintaining physical consistency:

[ \min_{\theta}; \mathcal{L}{prediction} +\lambda,\mathcal{L}{physics} ]

where the second term penalizes physically implausible predictions.

What we learned

This project reinforced that impactful AI requires more than high accuracy. We learned how to integrate physics-informed AI, Digital Twins, ensemble learning, uncertainty quantification, and IoT systems into a trustworthy decision-support platform capable of addressing real-world environmental challenges.

What's next for AquaAI

We plan to validate AquaAI with field deployments and laboratory testing, expand support for additional contaminants, integrate GIS-based contamination mapping, and collaborate with public agencies to enable scalable, AI-driven water quality monitoring across underserved communities.

Our long-term vision is

[ \boxed{ \text{Affordable Sensing} + \text{Trustworthy AI}

\text{Safe Water for Everyone} } ]

Built With

  • dissolved
  • ec/tds-sensor
  • git
  • github
  • jupyter
  • notebook
  • oxygen
  • plotly
  • python-sql-scikit-learn-xgboost-tensorflow/keras-pandas-&-numpy-fastapi-postgresql-microsoft-azure-esp32-ph-sensor
  • vs
Share this project:

Updates

Submission history