Clean river flow Approaching standard Exceeds standard
drag to pan · scroll to zoom

Effluent Discharge Compliance Monitor — 2D

This simulator turns the abstract language of environmental standards — Maximum Allowable Concentrations (MAC / ГДК), mixing zones, and cumulative Hazard Index rules — into a river you can watch mix in real time, seen from directly above. A discharge pipe releases treated effluent carrying two regulated pollutants, ammonia-nitrogen and phosphate-phosphorus, into a flowing river. A mass-balance dilution model computes how the two streams merge, and a mixing-length model shows the plume relaxing from near-outfall concentration toward the fully-mixed value as it travels downstream. Four controls — river flow, effluent flow, and the two pollutant loads — drive live concentration readouts at a fixed 200 m regulatory monitoring point, each compared against its own MAC, and summed into a cumulative Hazard Index exactly the way real water-quality permits define compliance: HI ≤ 1. A top-down channel view (drag to pan, scroll to zoom) and a live concentration-vs-distance strip chart both recolor and redraw as you push the discharge past what the standard allows.