Source Code
This page provides an overview of the source code available at github.com/NREL/FuelLib.
FuelLib File Organization
docs: directory containing the documentation source files
- fuelData:
gcData: directory containing a collection of GCxGC compositional data by weight percentages
groupDecompositionData: directory containing a collection of functional group decompositions
propertiesData: directory containing measurement or predicted data for validation (see fuelData/dataReferences.md)
gcmTableData: directory that contains the pre-tabulated group contributions
source: directory containing the main source code files
Export4Converge.py
: script that exports mixture properties over a range of user specified temperatures for use in Converge simulations.Export4Pele.py
: script that exports critical properties and initial mass fraction data for use in Pele simulations.FuelLib.py
: class for enabling GCM predictions
tests: directory containing CI unit tests for FuelLib. The CI test checks if the cumulative error of property predictions of a new proposed model are less than or equal to the current model.
baselinePredictions: directory that contains baseline predictions
test_accuracy.py
: unit test used in CI for verifying new model predictions preserve accuracytest_baseline.py
: generates .csv files for the baseline model predictions, which are stored in baselinePredictionstest_functions.py
: collection of functions used bytest_baseline.py
andtest_accuracy.py
.
tutorials: directory containing example scripts that demonstrate how to use FuelLib
basic.py
: example script that demonstrates basic usage of FuelLibcompositionPlots.py
: example script that generates composition plots for a given fuelhefaBlends.py
: example script that calculates properties of HEFA:Jet-A blendsmixtureProperties.py
: validation script that calculates properties of single component fuels and mixture properties of multicomponent fuels.
paths.py
: file that defines paths to various directories and files used in FuelLib
Source Code Auto-Documentation
Click on links below for the full auto-documentation.