Water Quality Model
1. Overviewβ
HydroPol2D simulates pollutant transport using a build-up and wash-off formulation coupled to the hydrodynamic model.
The model tracks:
- pollutant mass stored on the surface,
- pollutant removal due to flow (wash-off),
- redistribution between neighboring cells,
- export through outlet boundaries.
The governing variable is:
where:
- = pollutant mass per cell
The model is fully mass conservative and dynamically coupled to flow routing.
The current Phase 1 validation focuses on the mass-based wash-off mode
(flag_wq_model = 0). The validation uses SWMM-style buildup parameter scales
for total suspended solids, but the truth source is an analytical mass-balance
solution rather than a SWMM numerical run or a calibrated field pollutograph.
2. Pollutant storageβ
Each cell stores a pollutant mass:
The corresponding areal concentration is:
where:
- = cell area
Minimum and maximum thresholds are defined:
- β minimum active pollutant mass
- β saturation limit
Below a threshold:
3. Hydrodynamic couplingβ
The water quality model uses hydrodynamic outflows:
with units:
These are converted internally to volumetric flow:
4. Wash-off formulationβ
Two wash-off formulations are implemented.
4.1 Rating-curve wash-off modelβ
When flag_wq_model = 1, the wash-off is:
where:
- = pollutant mass flux
- = empirical coefficients
- = flow rate
The storage correction factor is:
where:
- = residual pollutant mass threshold
This formulation ensures that:
- wash-off increases with flow,
- wash-off increases with available pollutant mass.
4.2 Mass-based wash-off modelβ
When flag_wq_model = 0, the formulation becomes:
This formulation assumes:
- wash-off is proportional to available pollutant mass,
- transport increases with flow magnitude.
5. Directional pollutant fluxesβ
Pollutant fluxes are computed for each direction:
- left
- right
- up
- down
- outlet
The total pollutant outflow from a cell is:
Incoming pollutant fluxes are computed from neighboring cells:
6. Net pollutant balanceβ
The net pollutant rate is:
The mass balance equation is:
This formulation accounts for:
- pollutant removal due to wash-off,
- pollutant redistribution across the grid.
7. Adaptive time stepping (critical feature)β
To ensure stability and avoid negative mass, HydroPol2D computes a minimum admissible time step:
where:
- only cells losing mass are considered,
- very small values are excluded.
If:
the model splits the time step into sub-steps:
and updates pollutant mass iteratively:
This ensures:
- no negative pollutant mass,
- numerical stability,
- accurate mass conservation.
8. Mass conservation and correctionsβ
After updating:
- negative values are removed:
- rounding is applied to avoid numerical noise.
Mass lost due to numerical corrections is tracked:
9. Pollutant concentrationβ
Pollutant concentration is computed as:
where:
- = total water outflow
10. Outlet concentrationβ
The outlet concentration is computed as:
11. Total washed massβ
The cumulative washed pollutant mass is:
12. Numerical constraintsβ
The model enforces:
- minimum pollutant threshold:
- minimum flow threshold:
to avoid numerical instability.
Summaryβ
The HydroPol2D water quality model:
- tracks pollutant mass per cell,
- computes wash-off as a function of flow and storage,
- redistributes pollutants across the domain,
- ensures strict mass conservation,
- uses adaptive time stepping to maintain stability.
It provides a robust and flexible framework for simulating pollutant transport coupled with hydrologic and hydrodynamic processes. Current validation evidence supports controlled buildup/washoff mass-balance behavior; site-specific pollutant prediction still requires local pollutant parameters, observations, and calibration.