Developed Models

Open-source hydrologic, hydraulic, and stormwater tools

Selected models and code from my research workflow

These tools connect numerical modeling, green infrastructure design, flood routing, digital twins, and decision support. Most are research codes developed around published studies, teaching material, or ongoing collaborations.

Full-momentum 1D hydraulics

HydroHP-1D

HydroHP-1D solves the one-dimensional full momentum de Saint-Venant equations for multiple channel shapes and boundary-condition combinations.

  • Rectangular, triangular, trapezoidal, parabolic, circular, irregular, and composite cross-sections
  • Flexible Manning roughness conceptualizations
  • Inflow, Nash, tidal outlet, stage hydrographs, and combined boundary conditions
HydroHP-1D unsteady-state simulation
State evolution in an unsteady-state simulation.

Infiltration-based LID modeling

DRAIN-LID

DRAIN-LID is a mixed-form Richards equation solver for one-dimensional saturated and unsaturated flow in low-impact development systems, designed for continuous high-resolution simulations over long periods.

DRAIN-LID conceptual framework
DRAIN-LID conceptual framework.

Rainfall extremes and IDF curves

GRIDF-BR

GRIDF-BR is a set of Python and MATLAB tools for processing rasterized rainfall products, extracting extremes, bias-correcting satellite datasets, and computing intensity-duration-frequency curves for Brazil.

GRIDF-BR toolbox
GRIDF-BR toolbox interface and outputs.

DEM conditioning and bathymetry preparation

HydroBathyDEM

HydroBathyDEM is a Python toolbox for adapting existing digital elevation models into hydrologic-hydrodynamic conditioned DEMs. It supports workflows where terrain data need to be prepared for flood, river, and surface-flow modeling applications.

  • Hydrologic-hydrodynamic DEM conditioning workflow
  • River-aware terrain and bathymetry preparation
  • Python-based tooling for preprocessing model-ready elevation data

Control-oriented stormwater modeling

RTC-Stormwater

RTC-Stormwater linearizes hydrologic and hydrodynamic equations for catchments, reservoirs, and channels, providing a state-space modeling framework for reactive and predictive control algorithms.

  • Kinematic and diffusive-wave routing components
  • Model predictive control, linear quadratic regulators, and linear quadratic integrators
  • Reservoir mass and energy conservation equations
RTC-Stormwater conceptual framework
RTC-Stormwater control framework.

Bioretention analysis and design

TC-Hydro

TC-Hydro supports bioretention design, routing, sensitivity analysis, calibration, Monte Carlo simulation, and cost-aware design optimization using Excel-VBA and MATLAB implementations.

TC-Hydro conceptual model
TC-Hydro conceptual model.

Lot-scale LID reservoir design

LotScaleReservoir

LotScaleReservoir contains the software developed for the study on accounting for spatial runoff variability in LID design for urban catchments. The tool supports lot-scale reservoir and low-impact development design where runoff contribution varies across urban parcels.

  • Catchment-aware lot-scale reservoir sizing
  • Software companion to the spatial runoff variability LID design paper
  • Design workflow for urban catchment mitigation and adaptation studies

Detention pond design

MODOBR

MODOBR is an Excel-VBA retention pond design algorithm focused on hydrologic routing, maximum ponding depth, and clogged-device design conditions.

MODOBR model workflow

Hydraulic networks and structural sizing

X-WHAT

X-WHAT solves hydraulic network flow while optimizing tanks using pipeline, reservoir, and foundation costs with lateral wind stress assumptions.

X-WHAT algorithm

Numerical shallow-water equations

SWE-Solver

A simple, well-balanced, conservative shallow-water equations solver for visualizing two-dimensional fluid dynamics problems using a four-point explicit numerical scheme.

SWE-Solver instantaneous dam-break propagation

Hillslope-storage Boussinesq modeling

1D hsB Model

A finite-volume implementation of a one-dimensional Hillslope-Storage-Boussinesq model for saturated flow in porous media under hillslope-width controls.

1D hillslope-storage Boussinesq model

Coupled surface-subsurface hillslope modeling

Coupled hsB-SM Model

The hsB-SM model links atmosphere, soil water, groundwater, lateral baseflow, and routed surface runoff in a parsimonious hillslope framework. This tool is currently under development.

Coupled hsB-SM model framework