Getting Started
Requirements
- Python 3.10
- conda (Anaconda or Miniconda)
- Git
Installation
1. Create and activate a virtual environment
2. Clone the repository
3. Install dependencies
Each module has its own requirements file. Install the one(s) you need:
For LigSAF:
For ATJ:
4. Install the package in editable mode
Post-install patch (LigSAF only)
flexsolve==0.5.9 has an import incompatibility with scipy==1.11.4. After installing, apply this one-time fix:
In <env>/lib/site-packages/flexsolve/numerical_analysis.py, replace:
with:
Then delete the compiled cache file:
Restart your Python kernel or terminal after applying the patch.
Quick start
Run the ATJ baseline simulation:
This simulates the full ATJ system and prints the Minimum Jet fuel Selling Price (MJSP) in USD/gal.Run the LigSAF baseline simulation:
Open lignin_saf/rcf_system.ipynb in VS Code or Jupyter and run cells sequentially.
Alternatively, use one of the entry-point scripts under scripts/: