Skip to content

Active tools

HydroLegion-HLM

v0.3.0

A GPU-accelerated Hillslope Link Model solver that runs hundreds to thousands of river-network simulations at once for calibration and ensemble flood analysis.

Quick start

git clone https://github.com/Perez-HydroSystems/HydroLegion-HLM.git
hydrolegion run examples/cli/r1_single_run_real.json

GitHub for HydroLegion-HLM

HydroLegion-HLM solves whole ensembles of river-network streamflow simulations on one GPU.
HydroLegion-HLM solves whole ensembles of river-network streamflow simulations on one GPU.
Version
v0.3.0
Released
16 Jul 2026
Language
Python · CUDA
Licence
MIT
Led by
Gabriel Perez

Coming

Version 1.0: the HydroLegion suite

HydroLegion is growing from one solver into a complete suite for ensemble flood modeling on the GPU, from raw data to results. Version 1.0 is complete and in use in our group. The repositories are private for now and will be made public.

  1. HydroLegion-HLM

    The models: a family of hillslope-link hydrological models solved on the GPU. Version 1.0 is faster in both the solver and data reading, fixes known bugs, and adds reservoir operation and snowmelt to the model family.

    v0.3 public · v1.0 ready, private

  2. HydroLegion-Lab

    The experiments: ready-made ensemble recipes for model calibration, initial conditions, and rainfall-runoff simulation with stochastic storm transposition.

    Ready · private until release

  3. HydroLegion-Forge

    The data: tools to download and prepare all the input data the models need.

    Ready · private until release

Interested in early access or collaboration? Write to us.

storm-motion-analyzer

v1.1.0

Finds and tracks storms in hourly gridded rainfall, then classifies how each one moves: travel, stall, turn or meander.

Quick start

conda env create -f environment.yml
conda activate storm-motion-analyzer
pip install -e .

GitHub for storm-motion-analyzer

Four extreme U.S. storms at the same scale. One travels; three linger. The stalled storm is Hurricane Harvey.
Version
v1.1.0
Released
24 Nov 2026
Language
Python
Licence
MIT
Led by
Diego Osorio-Giraldo, Gabriel Perez
Hurricane Harvey tracked for 153 hours, 25–31 August 2017. Colour shows hourly rainfall.
Tracking one storm in three steps: rain in motion, the identified storm, and its track.
One storm, two motions: the rain features move east while the rain mass drifts southwest (9 June 2008).

SewerTris

v1.0.0

Generates synthetic cities and their sanitary sewer networks from Tetris-style blocks, then simulates them in EPA-SWMM for controlled benchmarking.

Quick start

conda env create -f environment_sewertris.yml
conda activate sewertris
pip install -e .

GitHub for SewerTris

A synthetic neighbourhood assembles itself: blocks, roads, manholes, then a gravity sewer network.
Version
v1.0.0
Released
03 Jul 2026
Language
Python
Licence
MIT
Led by
Kevin Blanco-Silva, Gabriel Perez
The SewerTris modeling workflow, from city layout to simulated sewer flows.
The SewerTris modeling workflow, from city layout to simulated sewer flows.

StormSync

v0.1.0

A hydrology arcade game for the classroom: steer moving storms over a watershed and score from the flood wave at the outlet.

Quick start

pip install -r requirements.txt
streamlit run stormsync_app/app.py

GitHub for StormSync

StormSync: steer a storm over a watershed and watch the flood wave respond.
StormSync: steer a storm over a watershed and watch the flood wave respond.
Version
v0.1.0
Released
15 Jul 2026
Language
Python · Streamlit
Licence
Apache-2.0
Led by
Gabriel Perez

Directional-UH

Python version under development

A rainfall-runoff model that adds storm direction and speed to the classic unit hydrograph.

Developed at Vanderbilt University with the Gomez-Velez Lab.

GitHub for Directional-UHPaper describing Directional-UH

The Directional Unit Hydrograph: a rectangular storm moves across a basin at a set speed and angle.
The Directional Unit Hydrograph: a rectangular storm moves across a basin at a set speed and angle.
Year
2023
Language
MATLAB
Led by
Gabriel Perez, Jesus D. Gomez-Velez
The same storm from different directions produces different flood peaks at the outlet.
The same storm from different directions produces different flood peaks at the outlet.

SS-WFIUH

Python version under development

The Sanitary Sewer Width Function Instantaneous Unit Hydrograph: sewer flow from the geometry of the network.

Developed at Vanderbilt University with the Gomez-Velez Lab.

GitHub for SS-WFIUHPaper describing SS-WFIUH

Sewer connectivity and residential users, the two ingredients of the sanitary sewer unit hydrograph.
Sewer connectivity and residential users, the two ingredients of the sanitary sewer unit hydrograph.
Year
2023
Language
MATLAB
Led by
Gabriel Perez, Jesus D. Gomez-Velez
Modeled sewage flow split into base wastewater flow, groundwater infiltration and rainfall-derived inflow.
Modeled sewage flow split into base wastewater flow, groundwater infiltration and rainfall-derived inflow.

Collaborations on other GitHub projects

Our work built upon other groups' open projects. All credit for the original tools belongs to their developers; please cite them and use their official repositories.

RainyDay_fast

v1.0.0

A modified version of RainyDay that adds multi-duration runs, record-length confidence intervals and faster frequency calculations.

Built upon RainyDay by Daniel B. Wright and the Hydroclimate Extremes Group. Please cite RainyDay and use its official repository.

RainyDay_fast on GitHub for RainyDay_fastOfficial RainyDay repository

Version
v1.0.0
Released
19 Nov 2026
Language
Python
Licence
MIT
Led by
Gabriel Perez

Earlier tools (no active support)

SA-MGS

Spectral Analysis of Multiscale Groundwater Systems: three-dimensional groundwater fluxes from a few parameters.

Developed at Vanderbilt University with the Gomez-Velez Lab.

Zenodo for SA-MGSPaper describing SA-MGS

Year
2021
Language
MATLAB
Led by
Gabriel Perez, Jesus D. Gomez-Velez

FLOODEM

Flooded areas from a digital elevation model alone, using Height Above Nearest Drainage.

From Gabriel’s M.Sc. thesis at Universidad Nacional de Colombia, Medellín.

GitHub for FLOODEM

Year
2013
Language
MATLAB
Led by
Gabriel Perez

Browse every repository in the group’s GitHub organization.

Perez-HydroSystems on GitHub