Skip to content

nomineb/mef

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

28 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Electricity marginal emissions factor estimates project

Setup and Dependencies

This code uses Python 3. To install all Python-related dependencies, use environment.yml file.

conda install git
git clone https://github.com/nomineb/mef.git
conda update conda
cd mef
conda env create -f environment.yml
conda activate mef

Usage

The pipeline to generate formatted CEMS data, aggregated by different spatial options, run for the year of interest (2022 in this case):

cd src
python data_pipeline.py --year 2022

The downloaded raw data will be stored in data/downloads and the process and aggregated data will be in data/outputs.

After that, in order to calculate the factors, run the following command. --factorType argument takes in two options: average or marginal.

python get_factor_estimates.py --factorType marginal --year 2022

The results will be stored in data/results/.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages