Skip to main content

Create input files for switch

Project description


A capacity expansion model for the electricity sector.

Input file creation

forthebadge forthebadge forthebadge

GitHub last commit

SWITCH inputs for Mexico

Update: 05/01/2018

Repo for SWITCH-Mexico including code and data


  • Implement git lfs,
  • Verify switch input files creation,
  • Clean folders,
  • Update switch input creation,
  • Create function that check if folders exists
  • Create sanity check for default inputs
  • Create fuel cost inputs
  • Update switch folder,
  • Publish runs,
  • Write Readme and documentation for the codes.

Collaborators: Sergio, Pedro, Hector and others.

## How to use


With pip:

pip install switch-inputs

With pipenv:

pipenv install switch-inputs

How to run

First we need to download all the default data files:

inputs init

To create the switch inputs and create different scenarios run:

inputs create

The data/switch\_inputs will be copy for switch-model

How to run Renewable Ninja:

Create a file in src/ called secrets.yml with your API_KEY for using renewable ninja API.

The file should look like this:


Project details

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distributions

No source distribution files available for this release. See tutorial on generating distribution archives.

Built Distribution

switch_inputs-0.7.0-py3-none-any.whl (22.8 kB view hashes)

Uploaded py3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page