Skip to content

This repository contains the code to reproduce the environmental life cycle assessment study of a novel pilot scale Spirulina biorefinery. This work was performed in the frame of the Circular Bio-based Europe project "SpiralG" from 2019 to 2022.

License

Notifications You must be signed in to change notification settings

leabrd/spiralgorithm

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Copy of sustainity(2)

This repository contains the code that was used to perform the environmental life cycle assessment (LCA) of the SpiralG biorefinery. This work was conducted in the frame of the Circular Bio-based Europe Joint Undertaking (CBE-JU) project "SpiralG" that started in 2018 and ended in 2023.

This project aimed at revisiting the Spirulina value chain to convert the residual biomass obtained after phycocyanin extraction into ingredients for food, feed, cosmetics, and agricultural products. The work on LCA corresponded to the work package 5 of SpiralG and aimed at (1) identifying hotpsots in the Spirulina value chain and (2) evaluate whether the technological improvements and knowledge gained on the biomass and conversion processes led to a reduction of the climate impacts between 2019 and 2022 by at least 10%.

This repository contains all the code, data, and documents required to reproduce the following studies (submitted for publication):

  • L. Braud, K. McDonnell and F. Murphy (2025). Beyond phycocyanin: Environmental life cycle assessment of a European pilot scale Spirulina biorefinery, Bioresource Technology Reports, https://doi.org/10.1016/j.biteb.2025.102027
  • L. Braud, K. McDonnell and F. Murphy (2025).Integration of a pilot scale Spirulina biorefinery into a local bioeconomy: Comparative life cycle assessment of potential environmental mitigation strategies (under review)

This GitHub repository is linked to a Zenodo repository in which the life cycle inventory (LCI) datasets and supplementary documents associated with the two articles are shared: https://doi.org/10.5281/zenodo.14718128.

Schematic diagram of the SpiralG biorefinery (case study 1):

schematic_diagram_BITEB_jan25

How to conduct the SpiralG LCA case studies?

📂 Project Setup

Required folder structure:

📁 Your_Parent_Folder/        # Example: /home/username/Documents/
├── 📁 spiralgorithm/         # REQUIRED: Must be in the SAME parent folder
│   ├── 📁 anadig_model/      # Anaerobic digestion modules
│   ├── 📁 bioref2lca/        # Biorefinery-to-LCA modules
│   ├── 📁 bioref_model/      # Biorefinery modules
│   ├── 📁 datasets/          # Datasets for analysis (for the AD model)
│   ├── 📁 lca_calc/          # LCA calculation modules
│   ├── 📁 packages/          # Additional packages for uncertainty analysis 
│   ├── 📁 uncertainties/     # Uncertainty analysis modules
└── 📁 LCASpiralG1/           # REPOSITORY FOR PAPER 1 (your working directory)
│   ├── your_notebook.ipynb   # Main Jupyter notebook to perform the LCA of paper 1
│   └── ...  
└── 📁 LCASpiralg2/           # REPOSITORY FOR PAPER 2 (your working directory)
│   ├── your_notebook.ipynb   # Main Jupyter notebook
│   ├── scripts/              # Python scripts specific to the second LCA study (scenario analysis, paper 2)
│   └── ...                   # Other project files (e.g., Excel files for scenario analysis)

🚀 Setup instructions

  1. Download this repository to your computer
  2. Place the spiralgorithm/ folder in the same parent directory as LCASpiralG1/ and LCASpiralG2/
    • Example: If LCASpiralG1/ is in /home/username/Documents/, then spiralgorithm/ must also be in /home/username/Documents/
  3. Open the Jupyter notebook or run scripts from the LCASpiralG1/ or LCASpiralG2/ directory depending which LCA study is performed (paper 1 or paper 2).

⚠️ Important notes

  • The code automatically looks for spiralgorithm/ in the parent directory
  • If the folders aren't in the correct locations, you'll get ModuleNotFoundError
  • For Windows users: Make sure to use forward slashes / or raw strings r"path\with\backslashes"

🔧 Troubleshooting

If you get errors about missing modules:

  1. Check your folder structure matches the diagram above
  2. Verify the paths in your code match your actual directory structure
  3. Run this in your notebook to check your working directory:
    from pathlib import Path
    print("Current working directory:", Path.cwd())

About

This repository contains the code to reproduce the environmental life cycle assessment study of a novel pilot scale Spirulina biorefinery. This work was performed in the frame of the Circular Bio-based Europe project "SpiralG" from 2019 to 2022.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published