Skip to main content

Hydrogen Plus Other Alternative Fuels Risk Assessment Models Python Package

Project description

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.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

hyram-5.1.1.tar.gz (296.1 kB view details)

Uploaded Source

Built Distribution

hyram-5.1.1-py3-none-any.whl (139.6 kB view details)

Uploaded Python 3

File details

Details for the file hyram-5.1.1.tar.gz.

File metadata

  • Download URL: hyram-5.1.1.tar.gz
  • Upload date:
  • Size: 296.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.11.5

File hashes

Hashes for hyram-5.1.1.tar.gz
Algorithm Hash digest
SHA256 2865f9acb3d6a5eaa549f48f2b50db16e680c5a714bcad51bf4117da10a1e215
MD5 2aa37b62de6a264a1fb72c316c3e4aa2
BLAKE2b-256 04f6aff211bd76fb9a85ffcc4344852660b15786697a5f6d8291f1593170221b

See more details on using hashes here.

File details

Details for the file hyram-5.1.1-py3-none-any.whl.

File metadata

  • Download URL: hyram-5.1.1-py3-none-any.whl
  • Upload date:
  • Size: 139.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.11.5

File hashes

Hashes for hyram-5.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 a3cc41ae655bf4dd309c6c35e76dfc72df33fc43cc4fb65d2f16b2b3b11dadfe
MD5 acba66a51ad43aaa1747aa983f9351b5
BLAKE2b-256 141f046e7881f3b195221777990609e52bf895c0645e38fc8ea87b82bfd7ca6d

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page