HydroRaVENS Documentation
A simple, flexible reservoir-based hydrological model for water balance simulation and streamflow prediction.
HydroRaVENS (Rain and Variable Evapotranspiration, Nieve, and Streamflow) is a conceptual daily-timestep model that routes precipitation through an optional snowpack and a cascade of linear reservoirs. Ideal for ungauged basins, climate impact studies, and educational applications.
Key Features
Optional snowpack module – positive-degree-day melt with rain-on-snow sensible heat
Optional frozen ground module – Molnau & Bissell FGI blocks deep infiltration
Cascading linear reservoirs – stack multiple reservoirs from soil to groundwater
Flexible ET – read from data or compute with the Thornthwaite–Chang equation
Exact annual water balance – ET scaled so P - Q - ET = 0 over each water year
Calibration module – KGE, NSE, and log-KGE scoring; AIC; baseflow index; flow duration curve; Nash-cascade channel routing; decadal chaining
Python API and command-line interface
Lightweight – minimal dependencies (NumPy, Pandas, Matplotlib, PyYAML)
Getting Started
User Guide
- Configuration Reference
- Model Description
- Theory & Mathematical Formulation
- Daily Water Balance
- Optional Process Modules
- Snowpack Module (Optional)
- Frozen Ground Module (Optional)
- Regional Groundwater Import (Optional)
- Direct Runoff Bypass (Optional)
- Linear Reservoir Cascade
- Nonlinear (Power-Law) Recession (Optional)
- Saturation-Excess Runoff (PDM, Optional)
- Suggested Model Structures
- Evapotranspiration
- Model Skill Evaluation
- Model Assumptions & Limitations
Quick Example
Python API:
import hydroravens
model = hydroravens.Buckets()
model.initialize('config.yml')
model.run()
nse = model.compute_NSE(verbose=True)
model.plot()
Command-line:
hydroravens -y config.yml
Getting Help
Report bugs: GitHub Issues
Discuss: GitHub Discussions
Learn more: CSDMS Model Page
About
HydroRaVENS is developed and maintained by the MNiMORPH group. It is published under the GNU General Public License v3.0.
Citation:
If you use HydroRaVENS in your research, please cite it using the information in
CITATION.cff at the repository root, or via the Zenodo DOI badge above.