Skip to main content

HyRAM+ Python Package

The Hydrogen Plus Other Alternative Fuels Risk Assessment Models (HyRAM+) Python package contains modules for the calculation of physical release and risk for alternative fuels.

Installation

To install HyRAM+ from the Python Package Index, use the command:

pip install hyram

More instructions on installing Python packages with pip can be found here.

To install HyRAM+ from Conda-Forge, use the command:

conda install -c conda-forge hyram

More instructions on installing Python packages with conda can be found here.

Usage

The HyRAM+ package can be utilized after installation using a standard Python import:

import hyram

Specific models can be accessed within the HyRAM+ package. The main calculations for the physics models can be accessed using hyram.phys.api. This includes models such as:

  • create_fluid
  • compute_mass_flow
  • compute_tank_mass_param
  • compute_thermo_param
  • compute_equivalent_tnt_mass
  • analyze_jet_plume
  • analyze_accumulation
  • jet_flame_analysis
  • compute_overpressure

The following are the main model objects that can be accessed using hyram.phys:

  • Fluid
  • Orifice
  • Jet
  • Flame
  • Source
  • Enclosure
  • Vent
  • IndoorRelease
  • BST_method
  • TNT_method
  • Bauwens_method
  • FuelProperties

The main risk calculations are located in hyram.qra.analysis.conduct_analysis.

More information about the specific models and the inputs/outputs for each one can be found in the specific modules themselves.

Documentation

The models and equations used in the HyRAM+ Python package are described in the Technical Reference Manual, located on the HyRAM+ website.

Development/Modifications

To make changes to the source code, either for a specific need or to contribute to HyRAM+, please follow the instructions in the CONTRIBUTING file for the HyRAM+ Python package.

Metadata

Release files for hyram 6.1

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

Source distribution (sdist)

Source distribution for hyram 6.1
File Size Uploaded
hyram-6.1.tar.gz 320.6 kB Details

Built distribution (wheel)

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

Total release size: 470.2 kB

Release files / hyram-6.1.tar.gz

Download URL hyram-6.1.tar.gz
Size 320.6 kB
Tags Source
SHA-256 checksum
How to use checksums
80ec93279763319082e9709c62cbe8b821e222fb1f915215254a385bd0e37423
BLAKE2b-256 checksum
How to use checksums
2a662e0c5b1d288e3b36224a06260e9f9fd49ad35569473197f6e4cfac631969
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.11.5

Release files / hyram-6.1-py3-none-any.whl

Download URL hyram-6.1-py3-none-any.whl
Size 149.7 kB
Tags Python 3
SHA-256 checksum
How to use checksums
823838bea388f3a5778469a2cc8ae1cb77d4893b7bb2993c563c4c507bcae576
BLAKE2b-256 checksum
How to use checksums
e1a8b7268114860f7d8cb855cd53a1467442d80a72fede7a2465b6f85d5ad883
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.11.5

Release history Release notifications | RSS feed

This release

6.1 This release

2 release files

6.0

2 release files

5.1.1

2 release files

5.1.0

2 release files

5.0.0

2 release files

4.1.1

1 release file

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