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).
The following conda environment is required to run this code:
conda create --name fuellib-env ipython matplotlib pandas scipy openpyxl
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).
New contributions are always welcome. If you have an idea for a new feature follow these steps:
- Fork the main repository
- Create a
newFeature
branch that contains your changes - Update the sphinx documentation in
newFeature
- Open a Pull Request (PR) from
newFeature
on your fork to branchmain
GCM-Python repository.
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.