
A Differentiable Hydrology Approach for Modeling With Time-Varying Parameters
In the analysis of observational data with mathematical models, it is often desirable to let one or more model parameters vary with time to account for changing environmental conditions or to offer more flexibility. A standard approach for dynamic models is to allow for the number of parameters to grow as a function of time, leading to a high-dimensional inference problem for long data records. We propose using Hamiltonian Monte Carlo, a gradient-based Markov chain Monte Carlo (MCMC) method, to perform Bayesian inference for time-varying parameters (TVP) in hydrology models. As derivatives of model error functions with regard to parameters are not available in closed form, we implemented the GR4J rainfall-runoff models in Theano/PyMC3, and Jax/NumPyro, allowing for the application of automatic differentiation techniques. A simulation experiment assessing the viability of these methods for recovering underlying temporal variation in parameters indicates that a discrete Gaussian random walk-based prior appears to be best suited across a range of scenarios while the continuous-time Gaussian process compares relatively poorly. In an analysis of 20 years of daily real-world streamflow records from the Model Parameter Estimation Experiment (MOPEX) hydrology data set with increasing data sparsity and at multiple temporal resolutions, we find that TVP inference with gradient-based MCMC is a flexible and reliable approach for analyzing hydrology models with dynamic parameter sets.
Duke Scholars
Published In
DOI
EISSN
ISSN
Publication Date
Volume
Issue
Related Subject Headings
- Environmental Engineering
- 4011 Environmental engineering
- 4005 Civil engineering
- 3707 Hydrology
- 0907 Environmental Engineering
- 0905 Civil Engineering
- 0406 Physical Geography and Environmental Geoscience
Citation

Published In
DOI
EISSN
ISSN
Publication Date
Volume
Issue
Related Subject Headings
- Environmental Engineering
- 4011 Environmental engineering
- 4005 Civil engineering
- 3707 Hydrology
- 0907 Environmental Engineering
- 0905 Civil Engineering
- 0406 Physical Geography and Environmental Geoscience