Skip to main content
Join the official 2019 Python Developers SurveyStart the survey!

Create input files for switch

Project description

SWITCH

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

Todo:

  • [x] Implement git lfs,
  • [x] Verify switch input files creation,
  • [x] Clean folders,
  • [x] Update switch input creation,
  • [x] 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

Installation

With pip:

pip install switch-inputs

With pipenv:

```bash
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:

API_KEY: "YOUR_API_KEY"

Project details


Download files

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

Files for switch-inputs, version 0.7.0
Filename, size File type Python version Upload date Hashes
Filename, size switch_inputs-0.7.0-py3-none-any.whl (22.8 kB) File type Wheel Python version py3 Upload date Hashes View hashes

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN SignalFx SignalFx Supporter DigiCert DigiCert EV certificate StatusPage StatusPage Status page