Skip to content

spixap/powergim

 
 

Repository files navigation

GitHub license Python Code style GitHub tag (latest by date) GitHub Workflow Status GitHub branch checks state

Power Grid Investment Module (PowerGIM)

PowerGIM is a Python package for stochastic power system expansion planning that can consider both transmission and generator investments in a two-stage formulation with uncertain parameters.

Getting started

  • (does not work) Install latest PowerGIM release from PyPi:
pip install powergim

User guide and examples

The online user guide gives more information about how to specify input data and run a simulation case.

Local installation

Prerequisite:

  • Poetry
  • Pre-commit
  • A MILP solver, e.g. the free CBC solver. Clone or download the code and install it as a python package.
  • A working MPI implementation, preferably supporting MPI-3 and built with shared/dynamic libraries

Install dependencies

  1. git clone git@github.com:powergim/powergim.git
  2. cd powergim
  3. poetry install --no-root --no-root to not install the package itself, only the dependencies.
  4. poetry shell
  5. poetry run pytest tests

Installation trhough Anaconda Prompt (Windows)

  1. Clone/fork the github powergim repository.
  2. From anaconda prompt, change directory to the local clone/fork of powergim cd <local-powergim-folder>
  3. Install using pip install -e .

GitHub Actions Pipelines

These pipelines are defined:

  1. Build: Building and testing on multiple OS and python versions. Triggered on any push to GitHub.

Contribute

You are welcome to contribute to the improvement of the code.

  • Use Issues to describe and track needed improvements and bug fixes
  • Use branches for development and pull requests to merge into main
  • Use Pre-commit hooks

Contact

Harald G Svendsen
SINTEF Energy Research

About

A fork to experiment with powerGIM for OceanGrid

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages

  • Python 100.0%