dbpRisk 2.0 is a QGIS plugin designed to simulate and assess the formation of disinfection by-products (DBPs) in drinking water distribution networks. It performs simulation experiments using EPANET-MSX files to model chemical reactions under various conditions and uncertainties. The plugin enables users to evaluate how different parameters influence DBP formation, offering insight into water quality dynamics.
By integrating these simulations into the QGIS environment, dbpRisk 2.0 allows for spatially-informed risk analysis, helping decision-makers and researchers visualize, predict, and manage DBP-related risks more effectively.
- EPANET Integration: Load and simulate EPANET-MSX water network models
- DBP Risk Assessment: Analyze disinfection by-product formation
- Spatial Visualization: Visualize simulation results on QGIS maps
- Uncertainty Analysis: Evaluate parameter uncertainties
- Time Series Analysis: Monitor DBP levels over time
- QGIS >= 3.30
- Python 3.x
- Required Python packages:
- numpy==1.22.4
- epyt==1.2.2
- matplotlib==3.7.2
- xlsxwriter>=3.2.0
- openpyxl>=3.1.0
- pandas>=1.5.3
- Open QGIS
- Go to
Plugins→Manage and Install Plugins - Search for "dbpRisk 2.0"
- Click
Install Plugin
- Download the latest release from the releases page
- Extract the ZIP file
- Copy the
dbpRisk2folder to your QGIS plugins directory:- Linux:
~/.local/share/QGIS/QGIS3/profiles/default/python/plugins/ - Windows:
C:\Users\<username>\AppData\Roaming\QGIS\QGIS3\profiles\default\python\plugins\ - macOS:
~/Library/Application Support/QGIS/QGIS3/profiles/default/python/plugins/
- Linux:
- Restart QGIS
- Enable the plugin from
Plugins→Manage and Install Plugins
Dependencies are automatically installed when you first run the plugin. If you need to manually install them:
Linux/macOS:
cd dbpSimulatorUI/installpackages
./installpackages.shWindows:
cd dbpSimulatorUI\installpackages
installpackages.bat- Open QGIS
- Enable the plugin from the plugins menu
- Click on the dbpRisk 2.0 toolbar icon
- Load your EPANET & MSX model files
- Configure simulation parameters
- Run the simulation
- Visualize results on the map
For detailed usage instructions, please refer to the documentation.
If you want to contribute, please check out our Code of Conduct. Conduct. Everyone is welcome to contribute whether reporting a new issue, suggesting a new feature, or writing code. If you want to contribute code, you can create a new fork in the repo to your own account. Make your commits on your dev branch (based on dev) and when you are finished then you can create a pull request to test the code and discuss your changes.
GPL LICENSE v3.0. See the LICENSE file for details.
- Dimitris Papazachariou
- Ioannis Chrysostomou
- Andreas Demosthenous
- Costas Papadopoulos
- Pavlos Pavlou
- Marios Kyriakou
- Stelios Vrachimis
- Demetris Eliades
KIOS Research and Innovation Center of Excellence, University of Cyprus
For questions, issues, or support:
- We created this plugin for the IntoDBP project.
- Members of the IntoDBP project provided feedback.