Skip to main content

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:

  • 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

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.

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 details)

Uploaded Python 3

File details

Details for the file switch_inputs-0.7.0-py3-none-any.whl.

File metadata

  • Download URL: switch_inputs-0.7.0-py3-none-any.whl
  • Upload date:
  • Size: 22.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/41.0.1 requests-toolbelt/0.9.1 tqdm/4.31.1 CPython/3.7.3

File hashes

Hashes for switch_inputs-0.7.0-py3-none-any.whl
Algorithm Hash digest
SHA256 84127cd46abf62fdc113378933694dce293d5756a42fde07c0e1124cbbc49539
MD5 c0e35f02883d9ce38011e2f280f38344
BLAKE2b-256 02ff958abec943a2df4fb22e54b15af8234dc9a604e51133e3fc0e2160de76fb

See more details on using hashes here.

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