Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

PyPSA-Colombia

Energy Modeling Case Study for Colombia

Getting Started

Cloning the Repository

This repository uses Git submodules. To clone the repository along with its submodules, use the following command:

git clone --recursive https://github.com/pypsa-meets-earth/pypsa-colombia.git

If you have already cloned the repository without the --recursive flag, you can initialize and update the submodules with:

git submodule update --init --recursive

Installation

  1. Clone the repository as described above.

  2. Navigate to the project directory:

    cd pypsa-colombia
  3. Install the necessary dependencies using conda or mamba:

    mamba env create -f submodules/pypsa-earth-osm/envs/environment.yaml

  4. You can check the (documentation)(https://pypsa-earth.readthedocs.io/en/latest/installation.html#install-dependencies) to install using lockfiles for your OS.

  5. Activate pypsa-earth environment:

    conda activate pypsa-earth

Note! At the moment, head of the PyPSA-Earth-osm submodule points to main branch of PyPSA-meets-Earth/pypsa-earth-osm repository.

Running the model

This project utilizes snakemake to automate the execution of scripts, ensuring efficient and reproducible workflows.

To run the power model for the base scenario, use the following command from the root directory:

(Optional) For a dry-run, use the following command snakemake -call solve_all_networks --configfile configs/config.base.yaml -n

snakemake -call solve_all_networks --configfile configs/config.base.yaml  

About

Energy Modeling Case Study for Colombia

Resources

Stars

Watchers

Forks

Releases

Packages

Contributors

Languages