Skip to main content

GitHub license Python Ruff pre-commit build GitHub version PyPI version codecov

PowerGAMA - Power Grid And Market Analysis

Introduction

PowerGAMA is an open-source Python package for power system grid and market analyses.

Since some generators may have an energy storage (hydro power with reservoir and concentrated solar power with thermal storage) the optimal solution in one timestep depends on the previous timestep, and the problem should therefore be solved sequentially. A realistic utilisation of energy storage is ensured through the use of storage values.

PowerGAMA does not include any power market subtleties (such as start-up costs, limited ramp rates, forecast errors, unit commitments) and as such will tend to overestimate the ability to accommodate large amounts of variable renewable energy. Essentially it assumes a perfect market based on nodal pricing without barriers between different countries. This is naturally a gross oversimplification of the real power system, but gives nonetheless very useful information to guide the planning of grid developments and to assess broadly the impacts of new generation and new interconnections.

Documentation

  • Online user guide

  • HG Svendsen and OC Spro, PowerGAMA: A new simplified modelling approach for analyses of large interconnected power systems, applied to a 2030 Western Mediterranean case study, J. Renewable and Sustainable Energy 8 (2016), doi.org/10.1063/1.4962415

Install use-only version

Install latest PowerGAMA release from PyPi:

pip install powergama

Install development version

Prerequisite:

Install

  1. git clone git@github.com:powergama/powergama.git
  2. cd powergama
  3. poetry install
  4. poetry shell
  5. poetry run pytest tests

GitHub Actions Pipelines

These pipelines are defined:

  1. Build: Building and testing on multiple OS and python versions. Triggered on any push to GitHub.
  2. Release: Create a release. Triggered when a version tag v* is created.
  3. Publish: Publish to PyPI. Triggered when a release is published

Contribute to the code

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

Metadata

Release files for powergama 1.5.2

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

Source distribution (sdist)

Source distribution for powergama 1.5.2
File Size Uploaded
powergama-1.5.2.tar.gz 67.5 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for powergama 1.5.2
File Interpreter ABI Platform
powergama-1.5.2-py3-none-any.whl Python 3 none any Details

Total release size: 140.4 kB

Release files / powergama-1.5.2.tar.gz

Download URL powergama-1.5.2.tar.gz
Size 67.5 kB
Tags Source
SHA-256 checksum
How to use checksums
940234c9cf7405ee47b09e0878c6f03631b368f2cccf9cc23ecdf204c617b383
BLAKE2b-256 checksum
How to use checksums
b6f4c86ae79b1d080371fdab713f5dd01ba26b95883817ff2bc47b838993e1f2
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Sep 29, 2026.

Transparency log

Release files / powergama-1.5.2-py3-none-any.whl

Download URL powergama-1.5.2-py3-none-any.whl
Size 72.9 kB
Tags Python 3
SHA-256 checksum
How to use checksums
0deddd168ad4f2882917eea945102b32de0a2a3070d0277570f50b8db4ea94f9
BLAKE2b-256 checksum
How to use checksums
a454f3983e966894572f9283fdf8709de831a971e3af9d505cf742b626e0c662
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Sep 29, 2026.

Transparency log

Release history Release notifications | RSS feed

This release

1.5.2 This release

2 release files

1.5.1

2 release files

1.5.0

2 release files

1.4.3

2 release files

1.4.2

2 release files

1.4.1

2 release files

1.4.0

2 release files

1.3.0

2 release files

1.2.0

2 release files

1.1.4

2 release files

1.1.3

1 release file

1.1.2

2 release files

1.1.1

1 release file

1.1.0

1 release file

1.0.3

2 release files

1.0.2

1 release file

1.0.1

1 release file

0.8.0

2 release files

0.7.0

1 release file

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