Skip to main content

Blending Pipeline Analysis Tool for Hydrogen

Project description

Blending Pipeline Analysis Tool for Hydrogen

DOI 10.11578/dc.20240216.1 DOI 10.11578/dc.20240216.1 License Python

Black isort

Welcome to the Blending Pipeline Analysis Tool for Hydrogen (BlendPATH) SWR-24-10.

User Manual

Please refer to the BlendPATH User Manual for in-depth documentation. The file is also available in the repository linked here.

Installation

This is a Python-based tool. The instructions below assumes that the user possesses background knowledge in Python and has Anaconda installed. Below is a quick-start guide:

The BlendPATH repository can by cloned to your local computer using:

git clone https://github.com/natlabrockies/BlendPATH.git

Create environment

A conda environoment can useful for satisfying the Python requirement. First, open an anaconda powershell. Within the powershell, we will first create a conda environment to install BlendPATH in. This command below creates a conda environment called BlendPATH_env. The second argument is the Python version. The BlendPATH team recommends Python 3.10 or 3.11. Note: you may swap BlendPATH_env with whatever you would like to name the environment

conda create -n BlendPATH_env python=3.10

Within the same powershell, enter into the conda environment using

conda activate BlendPATH_env

Installation

BlendPATH is built as a Python package that can be installed with pip. Once the conda environment is activated, navigate the directory where the BlendPATH repository was cloned. In most cases this will be in a designated GitHub folder.

cd \Users\MY_USERNAME\Documents\GitHub\BlendPATH

Then install BlendPATH using the command below. Be sure to include the period at the end.

pip install .

VS Code setup

We recommend using VS Code for your Python IDE. Within VS Code, open your working directory for BlendPATH.

Within VS Code you will need to activate the conda environment that was created earlier. This can be achieved by pressing Ctrl + Shift + P which brings up a menu window. Here type and select Python: Select Interpreter

This will bring up a list of your available environments. Select the environment that was just created. Check the file path matches what you expect.

Quick-Start guide

BlendPATH can be run in a Python script by importing the package. There is also an example script to show usage in the examples directory. Within this directory is a template.py file. This uses the data files in the wangetal2018 directory,

License terms - ProFAST

By downloading and using BlendPATH, the user also agrees to the BlendPATH license terms as well as the license terms of ProFAST.

NOTE:

BlendPATH continues to see active development and maintenance. If you observe issues with the code, please inform the authors of said issues for continuous improvement. Lastly, please include version number when referencing or citing BlendPATH.

Citation

   @techreport{kee2024BlendPATH,
     title = {{BlendPATH (Blending Pipeline Analysis Tool for Hydrogen) [SWR-24-10]}},
     author = {Kee, Jamie and Reznicek, Evan and Chung, Mark and Topolski, Kevin},
     year = {2024},
     month = jan,
     number = {BlendPATH},
     institution = {{National Renewable Energy Laboratory (NREL), Golden, CO (United States)}},
     doi = {10.11578/dc.20240216.1},
     url = {https://www.osti.gov/biblio/2309692},
    }

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

blendpath-2.1.1.tar.gz (107.9 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

blendpath-2.1.1-py3-none-any.whl (131.3 kB view details)

Uploaded Python 3

File details

Details for the file blendpath-2.1.1.tar.gz.

File metadata

  • Download URL: blendpath-2.1.1.tar.gz
  • Upload date:
  • Size: 107.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for blendpath-2.1.1.tar.gz
Algorithm Hash digest
SHA256 d47f6e4db3d1f3bf21e7eacb3afcdc47bcf48cc60566031e4614da6e4bc1860c
MD5 7bdc840776de904e97f91aa7215c9c7f
BLAKE2b-256 85e69c55f0c76ee53784da8d63c3a3b79e9b25e84d3c7539a40c6a173231bda5

See more details on using hashes here.

Provenance

The following attestation bundles were made for blendpath-2.1.1.tar.gz:

Publisher: publish-to-pypi.yml on NatLabRockies/BlendPATH

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file blendpath-2.1.1-py3-none-any.whl.

File metadata

  • Download URL: blendpath-2.1.1-py3-none-any.whl
  • Upload date:
  • Size: 131.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for blendpath-2.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 b4f8bf6a52de887677e29c48070a00cf94c636bbce1639d8c71e4d506ef4e18f
MD5 c4974f716dbdbea03c5b2f6b83b994ce
BLAKE2b-256 2adf880da38b7b5537cf830fd82337abfc69e78e2fc5310c7b9a2ae88cf3f6d9

See more details on using hashes here.

Provenance

The following attestation bundles were made for blendpath-2.1.1-py3-none-any.whl:

Publisher: publish-to-pypi.yml on NatLabRockies/BlendPATH

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

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