Skip to content
This repository was archived by the owner on Apr 17, 2025. It is now read-only.
/ FuelLib Public archive

Archived. FuelLib is a library that utilizes the group contribution method (GCM) for calculating thermodynamic properties of hydro-carbon jet fuels. This repository was used for the initial development of the FuelLib tool, which is now hosted by NREL at https://www.github.com/NREL/FuelLib.

Notifications You must be signed in to change notification settings

dmontgomeryNREL/FuelLib

Repository files navigation

FuelLib

This repository has been archived. It was used for the initial development of the FuelLib tool, which is now hosted by NREL at https://www.github.com/NREL/FuelLib. Please direct all questions and comments to the NREL/FuelLib/discussions page.

The Fuel Library for advanced research on evaporation (FuelLib) utilizes the tables and functions of the Group Contribution Method (GCM) as proposed by Constantinou and Gani (1994) and Constantinou, Gani and O'Connel (1995), with additional physical properties discussed in Govindaraju & Ihme (2016). The code is based on Pavan B. Govindaraju's Matlab implementation of the GCM, and has been expanded to include additional thermodynamic properties and mixture properties. The fuel library contains gas chromatography (GC x GC) data for a variety of fuels ranging from simple single component fuels to complex jet fuels. The GC x GC data for POSF jet fuels comes from Edwards (2020).

Python Environment

The following conda environment is required to run this code:

conda create --name fuellib-env ipython matplotlib pandas scipy openpyxl

Running the code

This repository includes an example ex-mixtureProperties.py that calculates a given mixture's density, viscosity and vapor pressure from GC x GC data of the mixture. The results are plotted against data from NIST and Edwards (2020).

Contributing

New contributions are always welcome. If you have an idea for a new feature follow these steps:

  1. Fork the main repository
  2. Create a newFeature branch that contains your changes
  3. Update the sphinx documentation in newFeature
  4. Open a Pull Request (PR) from newFeature on your fork to branch main GCM-Python repository.

Sphinx Documentation

This repository uses Sphinx to generate documentation. This requires the following Conda environment:

conda create --name sphinx-env
conda activate sphinx-env
conda install python
conda install anaconda::sphinx
conda install conda-forge::sphinx_rtd_theme 
conda install conda-forge::sphinxcontrib-bibtex

To view the documentation locally, build the html using the following:

cd FuelLib/docs/
sphinx-build -M html . _build/

You should now be able to view the html by opening FuelLib/docs/_build/html/index.html in a web browser.

About

Archived. FuelLib is a library that utilizes the group contribution method (GCM) for calculating thermodynamic properties of hydro-carbon jet fuels. This repository was used for the initial development of the FuelLib tool, which is now hosted by NREL at https://www.github.com/NREL/FuelLib.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages