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
-
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:
- Poetry
- Pre-commit
- An LP solver, e.g. the free CBC solver. Clone or download the code and install it as a python package. The tests rely on the GLPK solver.
Install
git clone git@github.com:powergama/powergama.gitcd powergamapoetry installpoetry shellpoetry run pytest tests
GitHub Actions Pipelines
These pipelines are defined:
- Build: Building and testing on multiple OS and python versions. Triggered on any push to GitHub.
- Release: Create a release. Triggered when a version tag v* is created.
- 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)
| File | Size | Uploaded | |
|---|---|---|---|
| powergama-1.5.2.tar.gz | 67.5 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| 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 logRelease 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