Skip to main content

H&H Ensemble Modeling Toolkit, hhemt

PyPI version Documentation Status DOI

hhemt orchestrates coupled TRITON-SWMM flood-ensemble simulations from a single Python interface, on a local workstation and on HPC with NVIDIA and AMD GPUs.

  • Lifecycle. The workflow covers preprocessing, compilation, execution, processing, consolidation, and reporting.
  • Workflow engine. Snakemake drives the workflow, with a SLURM executor for cluster execution.
  • Interactive analysis report plus a portable render-bundle so results travel without the source tree.

Installation

The full toolkit, including SWMM hydrology execution, is validated only against the conda environment shipped in this repo, and that environment is the supported install. Installation gives the commands, states why both --no-deps steps are required inside a conda environment, and covers the pip-only route.

Usage

hhemt --help                                              # every command
hhemt run --system-config CFG_SYS --analysis-config CFG_ANA --dry-run

An analysis is driven by a system config and an analysis config. --dry-run checks both before anything runs. The CLI reference describes the flag.

Pick the row that matches the job:

You want to Start at
Get something running Quickstart
Run simulations and explore results in Python Running a simulation interactively in Python
Look up a config field Configuration schema
Look up a command CLI reference
Read the contents of the outputs Output data model
Work out why an analysis failed Diagnosing a failed analysis
Know where the toolkit stops Limitations
Contribute a change Contributing

Citation

If you use this software, cite the software through the Zenodo DOI. Citation metadata is maintained in CITATION.cff, and GitHub's "Cite this repository" button reads that file.

Cite the version you ran. The Citation section of the documentation explains the concept DOI and the version DOI.

Cite the solver and the engine

Work that runs TRITON or SWMM through hhemt should also cite the solver and engine works in the following blocks.

Morales-Hernández, M., Sharif, M. B., Kalyanapu, A., Ghafoor, S. K., Dullo, T. T.,
Gangrade, S., Kao, S.-C., Norman, M. R., & Evans, K. J. (2021). TRITON: A multi-GPU
open source 2D hydrodynamic flood model. Environmental Modelling & Software, 141,
105034. https://doi.org/10.1016/j.envsoft.2021.105034
@article{morales2021triton,
  author  = {Morales-Hern{\'a}ndez, M. and Sharif, M. B. and Kalyanapu, A. and Ghafoor, S. K. and Dullo, T. T. and Gangrade, S. and Kao, S.-C. and Norman, M. R. and Evans, K. J.},
  title   = {{TRITON}: A multi-{GPU} open source {2D} hydrodynamic flood model},
  journal = {Environmental Modelling \& Software},
  volume  = {141},
  pages   = {105034},
  year    = {2021},
  doi     = {10.1016/j.envsoft.2021.105034}
}
Rossman, L. A., & Simon, M. (2022). Storm Water Management Model user's manual
version 5.2 (EPA/600/R-22/030). U.S. Environmental Protection Agency.
@manual{rossman2022swmm,
  author       = {Rossman, L. A. and Simon, M.},
  title        = {Storm Water Management Model User's Manual Version 5.2},
  organization = {U.S. Environmental Protection Agency},
  number       = {EPA/600/R-22/030},
  year         = {2022}
}

Metadata

Release files for hhemt 0.3.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for hhemt 0.3.0
File Size Uploaded Provenance Actions
hhemt-0.3.0.tar.gz 8.6 MB With provenance Details for hhemt-0.3.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for hhemt 0.3.0
File Interpreter ABI Platform Actions
hhemt-0.3.0-py3-none-any.whl Python 3 none any Details for hhemt-0.3.0-py3-none-any.whl

Total release size: 11.3 MB

Release files / hhemt-0.3.0.tar.gz

Download URL hhemt-0.3.0.tar.gz
Size 8.6 MB
Tags Source
SHA-256 checksum
How to use checksums
d21d700bd5d3420927cf58251d3706bf9beeff87d993d496b5fbccfe0ba5a985
BLAKE2b-256 checksum
How to use checksums
1e5ab563f2c8d7e3872b0208b0a798717e1121367364da8e6745032027846d25
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 30, 2026.

Transparency log

Release files / hhemt-0.3.0-py3-none-any.whl

Download URL hhemt-0.3.0-py3-none-any.whl
Size 2.7 MB
Tags Python 3
SHA-256 checksum
How to use checksums
75cadae8118bd43651b635b52f3cfe5b4f83547d303617542f243896ba913a24
BLAKE2b-256 checksum
How to use checksums
966e5adf1a7a6f51deb5fd2d7ec98bbacccd27f72603a2d1936e00a8d50b9af1
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 30, 2026.

Transparency log

Security for hhemt 0.3.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

Full provenance

Both files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for hhemt-0.3.0.tar.gz

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 30, 2026.

Transparency log

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page