Welcome to FuelLib’s documentation!
The Fuel Library (FuelLib) is a fuel property prediction package based on group contribution methods (GCMs) and, when available, measurement data. FuelLib represents a fuel as a mixture of individual compounds from its GCxGC composition. The properties of each compound are taken from measured reference data or predicted with GCMs such as those of Constantinou and Gani[1][2], Nannoolal et al.[3], and UNIFAC 2.0[4]. Correlations and mixture rules then give the properties of the compounds and the fuel at other conditions (see Fuel Property Prediction Framework). If you need help or have questions, please use the GitHub discussion. The source code is available at github.com/NatLabRockies/FuelLib.
Citing this work
If you use FuelLib in your research, please cite the following software record:
Montgomery, David, Appukuttan, Sreejith, Yellapantula, Shashank, Perry, Bruce, and Binswanger, Adam. FuelLib (Fuel Library) [SWR-25-26]. Computer Software. https://github.com/NatLabRockies/FuelLib. USDOE Office of Energy Efficiency and Renewable Energy (EERE), Office of Sustainable Transportation. Vehicle Technologies Office (VTO). 27 Feb. 2025. Web. doi:10.11578/dc.20250317.1.
Or in BibTeX format:
@misc{fuellib_2025,
title = {FuelLib (Fuel Library) [SWR-25-26]},
author = {Montgomery, David and Appukuttan, Sreejith and Yellapantula, Shashank and Perry, Bruce and Binswanger, Adam},
doi = {10.11578/dc.20250317.1},
url = {https://doi.org/10.11578/dc.20250317.1},
howpublished = {[Computer Software] \url{https://doi.org/10.11578/dc.20250317.1}},
year = {2025},
month = {feb}
}
Installation
The easiest way to install FuelLib is via pip from pypi.org/project/fuellib:
pip install fuellib
After installation, the fl command-line tool is available for decomposing
SMILES strings, exporting fuel data, plotting fuel properties, and simulating
distillation. See Command-Line Interface (CLI) Tools for usage examples and options.
For a development setup, see Contributing.
Requirements
FuelLib requires Python 3.12 to 3.14 and the following packages, which are
installed automatically by pip:
numpy ≥1.19.0
pandas ≥1.0.0
scipy ≥1.5.0
pyyaml ≥5.0
matplotlib ≥3.0
rdkit ≥2022.3.1
pint ≥0.26.1
pydantic ≥2.13.5
uncertainties ≥3.2.3
Development tools (Sphinx, Ruff, ty, pytest) are available for developers installing from source; see Contributing.
Contents:
- Getting Started
- Fuel Property Prediction Framework
- Group Contribution Methods
- Reference Compounds
- Correlations and Mixture Rules
- Notation
- Individual component properties (
fuellib.correlate.components) - Mixture properties (
fuellib.correlate.mixture)- Conventional mixing rules
- Mixture density
- Mixture kinematic viscosity
- Mixture vapor pressure
- Mixture surface tension
- Mixture thermal conductivity
- Mixture freeze point
- Mixture flash point
- Mixture heat of combustion
- Mixture yield sooting index
- Mixture smoke point
- Mixture derived cetane number
- Mixture aromatics content
- Mixture naphthalenes content
- References
- Simulation
- Tutorials
- Validation
- Source Code
- Units
- GCM Registry
- Public API
- fuellib.fuel.core
- fuellib.fuel.components
- fuellib.fuel.mixture
- fuellib.utils.constants
- fuellib.utils.utility
- fuellib.utils.types
- fuellib.gcm.core
- fuellib.gcm.gani
- fuellib.gcm.gani.alibakhshi_phi
- fuellib.gcm.gani.cp_b
- fuellib.gcm.gani.cp_c
- fuellib.gcm.gani.cp_stp
- fuellib.gcm.gani.gf
- fuellib.gcm.gani.hf
- fuellib.gcm.gani.hv_stp
- fuellib.gcm.gani.omega
- fuellib.gcm.gani.pc
- fuellib.gcm.gani.rd_a
- fuellib.gcm.gani.rd_b
- fuellib.gcm.gani.rd_d
- fuellib.gcm.gani.tb
- fuellib.gcm.gani.tc
- fuellib.gcm.gani.tm
- fuellib.gcm.gani.vc
- fuellib.gcm.gani.vm_stp
- fuellib.gcm.gani.GaniDecomposer
- fuellib.gcm.boehm
- fuellib.gcm.nannoolal
- fuellib.gcm.unifac
- fuellib.rdk.mol
- fuellib.rdk.mol.atom_counts
- fuellib.rdk.mol.count_aromatic_rings
- fuellib.rdk.mol.from_inchi
- fuellib.rdk.mol.from_smiles
- fuellib.rdk.mol.has_aromatic
- fuellib.rdk.mol.has_branch
- fuellib.rdk.mol.has_double_bond
- fuellib.rdk.mol.has_fused_rings
- fuellib.rdk.mol.has_naphthalene
- fuellib.rdk.mol.has_ring
- fuellib.rdk.mol.hill_formula
- fuellib.rdk.mol.inchi
- fuellib.rdk.mol.molecular_weight
- fuellib.rdk.mol.smiles
- fuellib.rdk.mol.smiles_to_inchi
- fuellib.correlate.components
- fuellib.correlate.components.density
- fuellib.correlate.components.diffusion_coeffs_wilke
- fuellib.correlate.components.enthalpy_vaporization_mass
- fuellib.correlate.components.enthalpy_vaporization_molar
- fuellib.correlate.components.flash_point_alibakhshi
- fuellib.correlate.components.flash_point_alqaheem
- fuellib.correlate.components.lower_heating_value
- fuellib.correlate.components.molar_liquid_volume
- fuellib.correlate.components.specific_heat_capacity_mass
- fuellib.correlate.components.specific_heat_capacity_mass_ruzicka
- fuellib.correlate.components.specific_heat_capacity_molar
- fuellib.correlate.components.specific_heat_capacity_molar_ruzicka
- fuellib.correlate.components.surface_tension
- fuellib.correlate.components.thermal_conductivity_latini
- fuellib.correlate.components.vapor_pressure
- fuellib.correlate.components.vapor_pressure_antoine_coeffs
- fuellib.correlate.components.viscosity_dynamic_dutt
- fuellib.correlate.components.viscosity_dynamic_nannoolal
- fuellib.correlate.components.viscosity_kinematic_dutt
- fuellib.correlate.components.viscosity_kinematic_nannoolal
- fuellib.correlate.mixture
- fuellib.correlate.mixture.arithmetic
- fuellib.correlate.mixture.aromatics_content
- fuellib.correlate.mixture.arrhenius
- fuellib.correlate.mixture.density
- fuellib.correlate.mixture.derived_cetane_number
- fuellib.correlate.mixture.flash_point_alibakhshi
- fuellib.correlate.mixture.flash_point_alqaheem
- fuellib.correlate.mixture.freeze_point_boehm
- fuellib.correlate.mixture.geometric
- fuellib.correlate.mixture.heat_of_combustion
- fuellib.correlate.mixture.kendall_monroe
- fuellib.correlate.mixture.mean_molecular_weight
- fuellib.correlate.mixture.naphthalenes_content
- fuellib.correlate.mixture.smoke_point
- fuellib.correlate.mixture.surface_tension
- fuellib.correlate.mixture.thermal_conductivity_latini
- fuellib.correlate.mixture.vapor_pressure
- fuellib.correlate.mixture.vapor_pressure_antoine_coeffs
- fuellib.correlate.mixture.viscosity_dynamic_dutt
- fuellib.correlate.mixture.viscosity_dynamic_nannoolal
- fuellib.correlate.mixture.viscosity_kinematic_dutt
- fuellib.correlate.mixture.viscosity_kinematic_nannoolal
- fuellib.correlate.mixture.yield_sooting_index
- fuellib.correlate.helpers
- fuellib.simulate.distillation.greenfield
- Contributing