Ecosystem · Components

Components for the whole water cycle

The OpenSWMM engine, which now computes 2D overland flow, groundwater, heat and multi-species transport itself, and FVQual for rivers, lakes and estuaries, both published as couplable components, with the tools for composing them.

The vision

One composition, the entire water cycle

Each ring below is a set of processes that exchange fluxes with the sewer and stream network SWMM simulates. The engine now computes several of them itself: 2D overland flow, groundwater, snowmelt, heat and multi-species transport. The rest couple to it through the HydroCouple interfaces as separate components or platform services in a single composition.

FLAGSHIP Open-Source SWMM 6.0 (SWMM2D) 1D · 2D · groundwater heat · multi-species Groundwater mesh aquifers in the engine Snow & Climate forcing · melt · PET in the engine Rivers & Estuaries temperature · solutes FVQual Watershed 2D overland runoff in the engine Lakes & Reservoirs FVQual 3D hydro · quality Smart Control RTC · forecasting Calibration & UQ ensembles · optimization uncertainty
Fluxes, states, and controls exchanged through standard interfaces. Dashed orange rings are processes the engine now computes itself; the solid rings couple to it as separate components or platform services, existing or planned, without custom glue code.
Available today

Two models, published as components

Development centers on two models: the OpenSWMM engine and FVQual. The engine now computes the processes that separate components once supplied (2D overland flow, groundwater, heat and multi-species transport) and publishes itself as HydroCouple components, so those processes still take part in a composition. Each card says where the process runs and what crosses a component boundary today.

Available

OpenSWMM Engine Component

Published as org.hydrocouple.openswmm.engine. It runs a complete model or a network only, or splits one model into network and surface instances that exchange water through a versioned phase contract. Qualified on the CPU; restarting a whole composition is still open.

Component contract →

Available

2D Overland Flow & Groundwater

The engine component's integrated2d role runs the 2D surface and mesh groundwater as their own component beside a network instance. They exchange node and surface water, groundwater seepage at nodes and conduits, and joint Richards columns. Water only, and surface and groundwater stay one integrated component.

Water phase contract →

In the engine

Heat Transport

A process component, org.hydrocouple.openswmm.heat, switched on in [PROCESS_COMPONENTS] with its own configuration file and computed inside the engine's time step. Heat crosses a component boundary as sensible enthalpy at outfalls.

In the engine

Multi-species Reactions (MSX) & Transport

MSX is part of the engine: multi-species reactions in EPANET-MSX conventions act in network, surface, LID and groundwater transport, beside Eulerian advection–reaction–dispersion transport and water age, with species written to the native output. Outfall transfers to other components carry conventional pollutants; MSX species do not cross a component boundary yet.

Available

Outfall Interval Transfer

hydrocouple.interval-transfer/1 moves water, pollutant mass and sensible heat from SWMM outfalls to one receiving component, conserved over each exchange interval. It is the path from the sewer network into a receiving-water model such as FVQual.

Transfer profile →

Pre-alpha

FVQual

A three-dimensional unstructured finite-volume hydrodynamic and water-quality model for rivers, lakes, reservoirs and estuaries, built as a HydroCouple component and the successor to CE-QUAL-W2. Its coupling to SWMM outfalls is qualified through Composer on synthetic heat and species cases and a Bellinge storm event; hydraulic feedback to SWMM is still open.

Source →

Earlier components, no longer developed. The first-generation components are deprecated: the EPA SWMM 5 wrapper, the finite-volume hydrologic model, the groundwater component, channel solute and heat transport, hyporheic transient storage, the CE-QUAL-W2 wrapper, and the loop-driven workflow and temporal adapters. Their repositories stay online for the published studies that used them.

Roadmap

What comes next for the engine and FVQual

Development directions recorded in the engine roadmap and the FVQual status. Planned means planned: designs are studied and sequenced in the open before they are built, and priorities respond to community and utility needs.

In progress

Heat, MSX, Transport & Water Age as Components

These processes run inside the engine today. Each is being converted into a HydroCouple component in its own right, with its own identity, typed exchange items and state. They stay in the engine library and run embedded with unchanged results; the reactions component will also be usable beside another model such as FVQual.

In progress

2D Surface Water & Groundwater Component

Today they run as one integrated role that exchanges water with an OpenSWMM network. That role is being built out as a full component of its own, still solving surface and groundwater together, with general exchange items for depths, heads, flows, species and heat so it can couple to other models.

Planned

Sediment Transport

Overland erosion and detachment, suspended and bedload routing by particle size, deposition and re-entrainment, and the constituents carried on sediment, validated against flume and field data.

In progress

1D Routing and FVQual on GPUs

The 2D surface already runs on Kokkos OpenMP, CUDA, HIP and SYCL plugins. Device backends for 1D routing are being implemented and qualified, and FVQual's Kokkos kernels still need GPU qualification.

In progress

Uncertainty Quantification Sidecar

Spectral and 1D network reduced-order models, spatial random fields and cross-layer coupling for propagating parameter and forcing uncertainty at practical cost. Under development on a feature branch, with a paper in preparation.

Planned

Two-way Coupling & Composition Restart

Hydraulic feedback from FVQual's receiving water to SWMM outfalls, and coordinated checkpoint and restart of a whole composition. Each model restarts natively today; a graph of components does not yet.

Community components are yours to add. The interface definitions are open: wrap your model, and it couples with the engine and FVQual. Start here →

Composition tools

Composer and SDK

HydroCouple Composer

A graphical environment for assembling coupled compositions: drag components onto a canvas, wire their exchange items, and execute.

Source → · Installers →

HydroCouple SDK

The C++ software development kit for building conforming components, with base implementations of the interface definitions so wrapping a model starts from working code.

Source →