PyOTIS: an open-source Python package for stream solute transport with transient storage
Xuchen Ying, Binbin Wang
Key points
From the paper's conclusion- These results support implementation consistency for the tested cases without establishing unique parameter estimates or validating every reaction pathway.
Abstract
OTIS and OTIS-P provide transient-storage transport and parameter estimation, whereas E-OTIS adds coupled water-quality reactions in a separate MATLAB implementation. PyOTIS brings these workflows into an open-source Python package with legacy OTIS input support. Its contribution is software integration: a scriptable interface, structured simulation outputs, Jacobian-based parameter uncertainty, sensitivity analysis, and selectable transport schemes. A browser-based graphical user interface (GUI) provides example loading, custom parameter entry, breakthrough-curve and storage-zone plots, reference overlays, and calibration of supplied cases with confidence intervals. The package retains the OTIS Crank--Nicolson formulation and the E-OTIS reaction network; these are inherited model components rather than new process formulations. Evaluation distinguishes code comparisons, analytical convergence, and fits to observations. For the six OTIS manual examples, the comparisons distinguish model outputs from field observations and include agreement to seven significant figures for the steady-state iron profile. The nine-species E-OTIS comparison reports maximum absolute differences of order $10^{-14}$\,mg\,L$^{-1}$ against MATLAB. The conservative analytical benchmark shows approximately second-order convergence. For Clackamas River calibration, residual sums of squares differ from OTIS-P by 3.65--5.12\%, although individual parameter estimates differ by up to 39.1\%. These results support implementation consistency for the tested cases without establishing unique parameter estimates or validating every reaction pathway. Source code, example inputs, and verification scripts accompany the package.
Read the paper
Discussion
Science Skim's AI key points, plus readers' public thoughts
Readers' thoughts
No reader thoughts yet.
Related papers
- On the Advantage of Combining Radon and Chloride to Estimate River Corridor ExchangeHydrological Processes · 2026
- Data‐Driven Discovery of Classical and Anomalous Transport Models From Sparse Breakthrough Curves in Heterogeneous Porous Media via Symbolic RegressionJournal of Geophysical Research: Machine Learning and Computation · 2026
- LIB4RT: Automated generation of reactive-transport formulations from PHREEQC databases for implementation in multiphysics platformsEnvironmental Earth Sciences · 2026
- Response-calibrated SWAT process information for daily total nitrogen prediction in a gate-controlled shallow lake.Environmental monitoring and assessment · 2026
- Spatiotemporal Variability of Water Transit Time Distribution Across an Alpine Stream NetworkWater Resources Research · 2026
- AI-Aquatica-RS: A Modular Python Framework for Reproducible Fusion of Remote-Sensing-Derived Spectral Indices and In Situ Water-Quality Observations.Sensors (Basel, Switzerland) · 2026