Preprints
https://doi.org/10.5194/egusphere-2022-1262
https://doi.org/10.5194/egusphere-2022-1262
12 Dec 2022
 | 12 Dec 2022

mesas.py v1.0: A flexible Python package for modeling solute transport and transit times using StorAge Selection functions

Ciaran Harman and Esther Xu Fei

Abstract. StorAge Selection transport theory has recently emerged as a framework for representing material transport through a control volume. It can be seen as a generalization of transit time theories and lumped parameter models to allow for arbitrary time-variability of the rate of material flow in and out of the control volume, and in the transport dynamics. SAS is currently the state-of-the-art approach to interpreting tracer transport. Here we present mesas.py, a Python package implementing the SAS framework. mesas.py allows SAS functions to be specified using several built-in common distributions, as a piecewise-linear CDF, or as a weighted sum of any number of such distributions. The distribution parameters and weights used to combine them can be allowed to vary in time, allowing SAS functions of arbitrary complexity to be specified. mesas.py simulates tracer transport using a novel mass tracking scheme and can account for first order reactions and fractionation. We present a number of analytical solutions to the governing equations and use these to validate the code. For a benchmark problem the timestep-averaging approach of the mesas.py implementation provides a 15 × reduction in mass balance errors compared to a previous implementation of SAS.

Publisher's note: Copernicus Publications remains neutral with regard to jurisdictional claims made in the text, published maps, institutional affiliations, or any other geographical representation in this preprint. The responsibility to include appropriate place names lies with the authors.

Journal article(s) based on this preprint

19 Jan 2024
mesas.py v1.0: a flexible Python package for modeling solute transport and transit times using StorAge Selection functions
Ciaran J. Harman and Esther Xu Fei
Geosci. Model Dev., 17, 477–495, https://doi.org/10.5194/gmd-17-477-2024,https://doi.org/10.5194/gmd-17-477-2024, 2024
Short summary
Ciaran Harman and Esther Xu Fei

Interactive discussion

Status: closed

Comment types: AC – author | RC – referee | CC – community | EC – editor | CEC – chief editor | : Report abuse
  • RC1: 'Comment on egusphere-2022-1262', Paolo Benettin, 19 Jan 2023
  • RC2: 'Comment on egusphere-2022-1262', Anonymous Referee #2, 03 Mar 2023
  • AC1: 'Response to reviewers', Ciaran Harman, 30 Jul 2023

Interactive discussion

Status: closed

Comment types: AC – author | RC – referee | CC – community | EC – editor | CEC – chief editor | : Report abuse
  • RC1: 'Comment on egusphere-2022-1262', Paolo Benettin, 19 Jan 2023
  • RC2: 'Comment on egusphere-2022-1262', Anonymous Referee #2, 03 Mar 2023
  • AC1: 'Response to reviewers', Ciaran Harman, 30 Jul 2023

Peer review completion

AR: Author's response | RR: Referee report | ED: Editor decision | EF: Editorial file upload
AR by Ciaran Harman on behalf of the Authors (22 Aug 2023)  Author's response   Author's tracked changes   Manuscript 
ED: Publish as is (01 Sep 2023) by Carlos Sierra
AR by Ciaran Harman on behalf of the Authors (11 Sep 2023)

Journal article(s) based on this preprint

19 Jan 2024
mesas.py v1.0: a flexible Python package for modeling solute transport and transit times using StorAge Selection functions
Ciaran J. Harman and Esther Xu Fei
Geosci. Model Dev., 17, 477–495, https://doi.org/10.5194/gmd-17-477-2024,https://doi.org/10.5194/gmd-17-477-2024, 2024
Short summary
Ciaran Harman and Esther Xu Fei
Ciaran Harman and Esther Xu Fei

Viewed

Total article views: 785 (including HTML, PDF, and XML)
HTML PDF XML Total BibTeX EndNote
521 237 27 785 14 16
  • HTML: 521
  • PDF: 237
  • XML: 27
  • Total: 785
  • BibTeX: 14
  • EndNote: 16
Views and downloads (calculated since 12 Dec 2022)
Cumulative views and downloads (calculated since 12 Dec 2022)

Viewed (geographical distribution)

Total article views: 740 (including HTML, PDF, and XML) Thereof 740 with geography defined and 0 with unknown origin.
Country # Views %
  • 1
1
 
 
 
 
Latest update: 03 Sep 2024
Download

The requested preprint has a corresponding peer-reviewed final revised paper. You are encouraged to refer to the final revised version.

Short summary
Over the last 10 years scientists have developed a new way of modeling how material is transported through complex systems, called StorAge Selection. Here we present some new code implementing this method that is easy to use, but also flexible and very accurate. We show that for cases where we know exactly what the answer should be, our code gets the right answer. We also show that our code is closer than some other people's code to the right answer in an important way: it conserves mass.