DMSTAr: A reproducible R framework for network-based simulation of hydrology and phosphorus dynamics in treatment wetlands
This paper introduces DMSTAr, an open-source R framework that faithfully reproduces the legacy DMSTA spreadsheet model for simulating hydrology and phosphorus dynamics in treatment wetlands, thereby enhancing transparency, reproducibility, and integration into modern scientific workflows.