Skip to content

transition-zero/tza-V20

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

The Vulnerable Twenty (V20)

TransitionZero has partnered with the V20 group to produce electricity sector data and modelling for a set of developing countries that are acutely vulnerable to climate change. The outputs of this modelling will be used in Climate Prosperity Plans (CPP) to be published by V20. We have developed customised scenarios based on each country’s CPP and in conjunction with Financial Futures Center (FCC), as well as regional stakeholders.

Specifically, we have collated data and developed models for:

  1. 🇲🇬 Madagascar
  2. 🇭🇹 Haiti
  3. 🇵🇭 Philippines
  4. 🇵🇰 Pakistan
  5. 🇬🇦 Gabon
  6. 🇬🇲 The Gambia
  7. 🇷🇼 Rwanda

Contributors

The data and code provided here was developed by the following modellers/analysts at TransitionZero:

Getting started

Setup

Firstly, clone or download this repository (or an older version).

Next, create a project environment using the yaml file in the repository as below.

conda:

conda env create --name V20 --file env/V20.yml
conda activate V20

mamba:

mamba env create --name V20 --file env/V20.yml
mamba activate V20

Additionally, install a solver for optimisation. We recommend using HiGHS, which is free and open source.

Usage (running a model)

You can run a model with just three lines of python code. For instance, you can run the Pakistan model as below:

from tz.osemosys import Model
model = Model.from_yaml( path/to/pakistan/directory )
model.solve()

More information can be found in the example notebook here.

Contributing and Support

We strongly welcome anyone interested in contributing to this project. If you have any ideas, suggestions or encounter problems, feel invited to file issues or make pull requests on GitHub.

To discuss ideas for the project, please contact @amanmajid

Licence

Copyright 2020-2023 TransitionZero

This repository is licensed under the open source XXX.