Skip to main content

Backbone Tools

Tools to work with input and output data of the energy system modelling framework Backbone.

An important prerequisite is to have GAMS installed on your system, as this packages calls certain GAMS commands through python.

A detailled documentation can be found here: https://backbonetools.readthedocs.io.

Result parameters as DataFrames

This is likely one of the core use cases. The BackboneResult-class enables easy access to all symbols.

from backbonetools.io import BackboneResult

# load result
result = BackboneResult("path/to/result.gdx")

# any symbol is available as DataFrame
gen_df = result.r_gen_gnuft()
gen_df.head()

This may yield something like this:

grid node unit f t Val
0 elec AT0 0 AT0 0 CCGT f00 6 3295.9
1 elec AT0 0 AT0 0 CCGT f00 7 3295.9
2 elec AT0 0 AT0 0 CCGT f00 8 3295.9
3 elec AT0 0 AT0 0 CCGT f00 9 3295.9
4 elec AT0 0 AT0 0 CCGT f00 10 3295.9

Analysing multiple related results

In a similar manner, multiplep results (e.g., from a Sensitivity analyis) can be analysed. To do so, place all result files in a directory and follow these steps.

from backbonetools.io import BackboneScenarioAnalysis

# load all results in a directory
sa = BackboneScenarioAnalysis("path/to/result_dir")

# result symbols are available similarly
sa_gen_df = sa.r_gen_gnuft()

The difference between sa_gen_df and gen_df from above is that sa_gen_df has an additional column indicating to which result file the values adhere.

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

backbonetools-2026.0.2.tar.gz (35.6 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

backbonetools-2026.0.2-py2.py3-none-any.whl (38.1 kB view details)

Uploaded Python 2Python 3

File details

Details for the file backbonetools-2026.0.2.tar.gz.

File metadata

  • Download URL: backbonetools-2026.0.2.tar.gz
  • Upload date:
  • Size: 35.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.11

File hashes

Hashes for backbonetools-2026.0.2.tar.gz
Algorithm Hash digest
SHA256 f8a731d65ffb7a6db602ca4364e8f7f282e6ea64d710aebc1026fd826e40b761
MD5 d2f8e5228d4b488080c2a78e53bd515b
BLAKE2b-256 a219a70f57b5cd2f9f93de4b56947de6b049bc067b008344adc65099d1e9bd7e

See more details on using hashes here.

File details

Details for the file backbonetools-2026.0.2-py2.py3-none-any.whl.

File metadata

File hashes

Hashes for backbonetools-2026.0.2-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 bccd25148e63198977476deb784906721281bca4b6341f4ea4a9def90c9a36e7
MD5 eaf2ef5b027635e617145de5b621d41d
BLAKE2b-256 75ee2f3e2c0a05ae5b396dbbd9c8000f479da6763b292697ee212bacd0c6c088

See more details on using hashes here.

Release history Release notifications | RSS feed

This release

2026.0.2 This release

2 files

2026.0.1

2 files

2025.0.3

2 files

2025.0.2

2 files

2025.0.1

2 files

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