Journal of environmental management

Pooled accuracy does not transfer: validating kinetic and machine-learning models of wetland ammonium removal for design and compliance.

Reza Moghaddam, Rupert Craggs, Sukhjit Singh, Chris Tanner

Earth Sciences New Zealand, Gate 10 Silverdale Road, Hillcrest, Hamilton, 3216, New Zealand. Electronic address: reza.moghaddam@earthsciences.nz. · Earth Sciences New Zealand, Gate 10 Silverdale Road, Hillcrest, Hamilton, 3216, New Zealand.

Key points

From the paper's conclusion
  • At one treatment plant, we compared a first-order kinetic model and a Random Forest, given identical inputs, for effluent ammonium from three partially saturated vertical-flow wetland configurations (zeolite, gravel or woodchip upper layer; triplicate units; 16 dates in 2023).

Abstract

Models of nitrogen removal guide the design and consenting of treatment wetlands, and machine-learning studies often report R2 above 0.9. These usually come from random splits of pooled records, which test interpolation, not forecasting or transfer to new systems. At one treatment plant, we compared a first-order kinetic model and a Random Forest, given identical inputs, for effluent ammonium from three partially saturated vertical-flow wetland configurations (zeolite, gravel or woodchip upper layer; triplicate units; 16 dates in 2023). As dose volume rose from 2.75 to 11 mm and in-bed temperature fell from about 22 to 10°C, gravel and woodchip effluent ammonium rose 13- to 16-fold. In pooled random splits the Random Forest explained 63% of the variance when told each record's system, 16% when not. Forecasting later dates, the kinetic model with a dose term erred least of four model variants in every system, clearly for gravel (1.14 against 3.24 mg L-1 for the Random Forest), extrapolating to an unseen dose. Carrying the last observation forward matched or beat the Random Forest everywhere, and the kinetic model for woodchip. For a system left out of training, the kinetic model erred least of the four for gravel and woodchip; no model predicted the zeolite system better than a constant. Without dose, the fitted temperature coefficient (gravel and woodchip) rose from 0.99-1.02 to 1.07-1.08, crediting cold with an effect that came with the dose increase. Validation should match the decision a model supports, and operating variables belong in wetland models.

Read the paper

Discussion

Science Skim's AI key points, plus readers' public thoughts

Readers' thoughts

No reader thoughts yet.

Related papers