Skip to content

A soft linking approach for energy system models and ENBIOS

Notifications You must be signed in to change notification settings

LIVENlab/Sparks

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Introduction

ENBIOS is an analytical framework for the estimation of environmental impacts of energy system configurations as calculated by energy system optimization models. More information about ENBIOS can be found here

Sparks is an open source repository to soft-link LCA data and energy system configurations from Calliope, generating an input file for ENBIOS.

Install requirements

pip install -r /path/to/requirements.txt

Create inputs for enbios

from Sparks.util.base import SoftLink

enbios_mod = SoftLink(r'testing/data_test',
                    'BW25_project name')

enbios_mod.preprocess()
enbios_mod.data_for_ENBIOS(smaller_vers=False, path_save=r'test.json')

The SoftLink class requires a path to a folder with different files. First, you need to include the basefile (see an example here. It's an Excel file describing the energy technologies, inventory data, file sources, methods, conversion factors and the dendrogram.

run the preprocess function will transform the data into an enbios like-file, while also adapting the units according to the conversion factors.

License

Creative Commons License This work is licensed under a Creative Commons Attribution-ShareAlike 4.0 International License.

About

A soft linking approach for energy system models and ENBIOS

Topics

Resources

Stars

Watchers

Forks

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •  

Languages