Skip to main content
Journal cover image

A Differentiable Hydrology Approach for Modeling With Time-Varying Parameters

Publication ,  Journal Article
Krapu, C; Borsuk, M
Published in: Water Resources Research
September 1, 2022

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

Water Resources Research

DOI

EISSN

1944-7973

ISSN

0043-1397

Publication Date

September 1, 2022

Volume

58

Issue

9

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

APA
Chicago
ICMJE
MLA
NLM
Krapu, C., & Borsuk, M. (2022). A Differentiable Hydrology Approach for Modeling With Time-Varying Parameters. Water Resources Research, 58(9). https://doi.org/10.1029/2021WR031377
Krapu, C., and M. Borsuk. “A Differentiable Hydrology Approach for Modeling With Time-Varying Parameters.” Water Resources Research 58, no. 9 (September 1, 2022). https://doi.org/10.1029/2021WR031377.
Krapu C, Borsuk M. A Differentiable Hydrology Approach for Modeling With Time-Varying Parameters. Water Resources Research. 2022 Sep 1;58(9).
Krapu, C., and M. Borsuk. “A Differentiable Hydrology Approach for Modeling With Time-Varying Parameters.” Water Resources Research, vol. 58, no. 9, Sept. 2022. Scopus, doi:10.1029/2021WR031377.
Krapu C, Borsuk M. A Differentiable Hydrology Approach for Modeling With Time-Varying Parameters. Water Resources Research. 2022 Sep 1;58(9).
Journal cover image

Published In

Water Resources Research

DOI

EISSN

1944-7973

ISSN

0043-1397

Publication Date

September 1, 2022

Volume

58

Issue

9

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