Published April 20, 2023 | Version v2
Software Open

Code and Data for "Representative Life Cycle Assessment modelling of prospective trajectories: A parametric approach applied to the French heating sector"

Description

The code and data provided in this repository are at the basis of the paper "Representative Life Cycle Assessment modelling of prospective trajectories: A parametric approach applied to the French heating sector" co-authored by Mélanie Douziech, Romain Besseau, Raphaël Jolivet, Bianka Shoai-Tehrani, Jean-Yves Bourmaud, Guillaume Busato, Mathilde Gresset-Bourgeois and Paula Pérez-López.

This paper shows how parameterized foreground and background inventories can be combined using the lca_algebraic library to flexibly estimate the environmental impacts occurring over the life cycle of a system of interest. This methodology was illustrated by estimating the environmental impacts of the planned evolution of the French heating sector until 2050.

The setup and instructions provided below allow to generate the environmental impacts of the French heating sector as presented in the paper. The results can be found in the data/out folder. In addition, the script electricity.ipynb suggests ways to investigate the energy scenarios analysed. Input and output data of this script can be found under data/{in/out}/elec.

The scripts located in the lib folder define all parameterized models developed to represent, on the one hand, the energy production scenarios and, on the other hand, the heat production scenarios. They can be reused and adapted in other contexts if wished. The parameters used to feed into the energy models can be found in the data/in/params folder, the ones for the heat models in data/{in/out}/heat.

This is a snapshot of the public Gitlab repository :
https://git.sophia.mines-paristech.fr/oie/energy-2050

Requirements

To run this code, you will need :

Content

The repository is organised as follow :

  • lib : contains the code of the models
    • param_models : code for the electricity inventories
    • heat : code for the inventories of heat production
  • data :
    • in : input data
      • elec : input data for electricity
        • inventories : electricity inventories
        • scenarios : scenarios of evolution of the electricity mix
      • heat : input data for heat inventories
    • out : output data, as produced by the notebooks
      • elec : output of eletricity notebook
        • graphs environmental impacts, as graphs
        • tables environmental impacts, as CSV files
      • heat : output of heat notebook
        • {LOW, REF, SOBR} : results for 3 separate scenarios of consumption (low, reference and sobriety)
          • {BR50_MO_CC1, BR50_NO3_CC1, FR_STATIC} : results for 3 scenarios of evolution of electricity mix
            • {residential, tertiary} separate results for residential and tertiary buildings
    • literature : Dataset of environmental impacts found in the litterature.

Setup

Dependencies

Create a new conda environment energy2050 with all dependencies, by typing this command into a Conda console :

> conda env create -f environment.yml

Alternatively, you may import the environement via the user interface of Anaconda (for Windows)

Ecoinvent

Unzip Ecoinvent (ecospold 7z archive) within this project, into a folder named ecoinvent3.6. It should contain a sub folder datasets.

Usage

⚠️ The following commands should be executed at the root of this project.

The following commands require to use the conda environment created above. Run this command once :

> conda activate energy2050

First you should import ecoinvent and setup all parametric models & scenarios with :

> python setup.py

Then, you can run the Notebooks (command : jupyter-notebook)

  • electricity.ipynb : Calculation of the environmental impacts of the electricity mix and its future evolution according to several scenarios. This notebook generates the graphs and dataset in data/out/elec.
  • heat.ipynb : Calculation of the environmental impacts of heat generation and its future evolution according to several scenarios. This notebook generates the datasets in data/out/heat
  • figures.ipynb : Generates the figures found in the article.

Translation & Glossary

We tried to translate most of the code from French to English. There are still some variables names and input data that remain in French. We provide the following glossary to translate remaining French words and acronyms.

Electricity

French English
Autre thermique Others thermal
Autre-fioul Other-fuel
Autre-gaz Other-gas
Autres (profilés) Other (profiled)
Batteries (charge) Battery (charge)
Batteries (décharge) Battery (discharge)
Bioénergies Bioenergies
Biogaz (profilé) Biogas (profiled)
Biomasse (pilotable) Biomass (dispatchable)
CCG équilibrage CCG grid-balancing
Centrale équilibrage (total) Balancing plant (total)
Charbon Coal
Cogé-fioul Co-generation-fuel
Cogé-gaz Co-generation-gas
Cogénérations Co-generation
Consommation Consumption
Cycles combinés au gaz Gas combined cycles plant
Déchets (part non renouvelable, profilés) Waste (non renewable share profiled)
Déchets (part renouvelable, profilés) Waste (renewable share profiled)
Déchets (total) Waste (total)
Demande totale Total demand
Effacements Reduction # maybe not the best
Energie déversée Energy discharged
Energie non distribuée Energy non distributed
Energies marines Marine energies
Energies renouvelables Renewables energies
Eolien Wind
Eolien en mer Offshore wind
Eolien terrestre Onshore wind
Exportations Exports
Fil de l'eau run-of-river
Fioul (total) Fuel (total)
Fioul lourd Heavy fuel
Gaz (total) Gas (total)
Gaz conventionnel Conventional gas
Géothermie (profilée) Geothermal (profiled)
Houlomotrice (profilée) Wave energy (profiled)
Hydraulique Hydroelectricity
Hydrolienne (profilée) Hydrokinetic power (profiled)
Importations Imports
Lignite Lignite
Mobilité pilotée Piloted mobility
Nucléaire Nuclear
Offre totale Total offer
Petite biomasse (profilée) Small scale biomass (profiled)
Pompage Pumping
Production totale Total production
Réservoir dam
Solaire Solar
TAC équilibrage Thermal fuel grid-balancing
TAC-fioul Thermal fuel
TAC-gaz Thermal gas
Thermique dispatchable Thermal dispatchable
Turbinage STEP hydrostorage turbining
Turbines à combustion Combustion engine

Heat

French English
Ancien old
Biomasse dont bois biomass including wood
BU = bureau office
C = Commerce trade
CHR = Cafés-hôtels-restaurants bar-hotels-restaurants
CU = Consommation unitaire unitary consumption
Electricité electricity
ER = Enseignement-recherche teaching-research
Fioul fuel
Gaz gas
HC = Habitat communautaire community housing
IC = Immeuble collectif collective building
MI = Maison individuelle individual housing
Neuf new
Récent recent
Réseau de chaleur district heating
Residentiel residential
S = Santé health
SLC = Sport, Loisirs, Culture sport, leisure, culture
Solaire thermique solar heating
Tertiaire tertiary
TR = transport transport

License

Both the code and the data are distributed under the licence Creative Common - CC-by-SA 4.0

Notes

This is a snapshot of the public Gitlab repository : https://git.sophia.mines-paristech.fr/oie/energy-2050

Files

energy-2050.zip

Files (21.6 MB)

Name Size Download all
md5:4cf692dbbf62f1fc06a18088a1e10c96
21.6 MB Preview Download