Skip to main content

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"

Metadata

Release files for switch-inputs 0.7.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Built distribution (wheel)

Table of built distributions (wheels) for switch-inputs 0.7.0
File Interpreter ABI Platform
switch_inputs-0.7.0-py3-none-any.whl Python 3 none any Details

Release files / switch_inputs-0.7.0-py3-none-any.whl

Download URL switch_inputs-0.7.0-py3-none-any.whl
Size 22.8 kB
Tags Python 3
SHA-256 checksum
How to use checksums
84127cd46abf62fdc113378933694dce293d5756a42fde07c0e1124cbbc49539
BLAKE2b-256 checksum
How to use checksums
02ff958abec943a2df4fb22e54b15af8234dc9a604e51133e3fc0e2160de76fb
Upload date
Uploaded using Trusted Publishing?
What is 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

Security for switch-inputs 0.7.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page