Skip to main content

DEGADISx

DEGADISx is a Python reimplementation of the U.S. EPA DEGADIS 2.1 dense-gas dispersion model. Its public interface deliberately retains the legacy DEGADIS thermodynamic and numerical route; it is not an LH2 extension and does not contain DEGALI research modules.

Scope

DEGADISx provides the original model's ground-level steady and transient routes, pressurised-jet route, deck readers, and bridge from jet touchdown to the ground-level model. It is intended for transparent reproduction, software inspection, and research use. It is not a substitute for site-specific consequence-model selection or safety engineering review.

Install

pip install degadisx

From a checkout:

pip install .
degadisx --help

For a separately qualified LH2 pool source term, install the optional adapter:

pip install "lh2poolx @ git+https://github.com/lyullee/lh2poolx.git"

degadisx.lh2pool.source_table_from_lh2pool() converts declared LH2PoolX time-window terms into the original ground-source-table convention. It refuses confined or non-equilibrium terms; it does not add an LH2 pool or jet-impact model to the reproduced DEGADIS physics.

Reproduction evidence and data policy

The implementation was checked against the EPA DEGADIS 2.1 reference distribution and published EPA benchmark listings. The quantitative audit, its limits, and exact source locations are in docs/reproduction.md.

This repository deliberately contains no third-party Fortran source, EPA input/output decks, experimental measurements, reduced observation data, or PDFs. See docs/data-policy.md.

Source-ledger handoff

Version 0.1.2 adds degadisx.SourceLedger and SourceState, a model-neutral record for a resolved source-plane state. The adapter converts H2 contaminant rate and mass fraction into DEGADIS source-table rows while preserving area and time history. It rejects unresolved liquid fractions: flash, impact, droplet, and pool-inventory physics must be resolved upstream before the ground-layer route is started.

Directed JETPLU source handoff

Version 0.1.3 also exposes SourceLedger.to_directed_jet_initial_conditions(). It converts one resolved, single-phase gas source-plane record into the existing JETPLU initial state; callers then run the normal JETPLU driver with that state. The adapter checks the declared H2/total-flow mass balance and rejects remaining liquid. It does not modify the JETPLU equations or the historical vertical SETJET route.

The directed entry is a two-dimensional wind--vertical calculation. A yawed horizontal release or a cross-axis wind component is not converted into a three-dimensional fixed-receptor prediction by this interface.

Citation

Please cite both this software (see CITATION.cff) and the original model:

Spicer, T. O., and Havens, J. A. (1989). User’s Guide for the DEGADIS 2.1 Dense Gas Dispersion Model. U.S. Environmental Protection Agency, EPA-450/4-89-019.

License

The Python implementation is MIT licensed. DEGADIS is cited as the original model; the original Fortran distribution and source materials are not redistributed here.

Metadata

Release files for degadisx 0.1.3

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

Source distribution (sdist)

Source distribution for degadisx 0.1.3
File Size Uploaded
degadisx-0.1.3.tar.gz 117.8 kB Details

Built distribution (wheel)

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

Total release size: 251.8 kB

Release files / degadisx-0.1.3.tar.gz

Download URL degadisx-0.1.3.tar.gz
Size 117.8 kB
Tags Source
SHA-256 checksum
How to use checksums
f66d8b7a3352aa8163bbd4c3b64f08a4ccc6a3ff57dcf698e5c93b2bc8236bfa
BLAKE2b-256 checksum
How to use checksums
582fa1750f992cd86cc2a797f5d1f728b12874d8d4cc7d17b5442227db129538
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

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 Sep 12, 2026.

Transparency log

Release files / degadisx-0.1.3-py3-none-any.whl

Download URL degadisx-0.1.3-py3-none-any.whl
Size 134.0 kB
Tags Python 3
SHA-256 checksum
How to use checksums
47e823114b65d135ae1b3ba03303ac0b068a1e130ef22ce78a717a575e62df4f
BLAKE2b-256 checksum
How to use checksums
17491e91361f089458c617f47fce8d6a01efc2f92e020da7254ef6007240bec3
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

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 Sep 12, 2026.

Transparency log

Release history Release notifications | RSS feed

0.1.4

2 release files

This release

0.1.3 This release

2 release files

0.1.2

2 release files

0.1.0

2 release files

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