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.
Metadata
Release files for BackboneTools 2026.0.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 | Provenance | Actions |
|---|---|---|---|---|
| backbonetools-2026.0.2.tar.gz | 35.6 kB | Without provenance | Details for backbonetools-2026.0.2.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| backbonetools-2026.0.2-py2.py3-none-any.whl | Python 3, Python 2 | none | any | Details for backbonetools-2026.0.2-py2.py3-none-any.whl |
Total release size: 73.6 kB
Release files / backbonetools-2026.0.2.tar.gz
| Download URL | backbonetools-2026.0.2.tar.gz |
|---|---|
| Size | 35.6 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
f8a731d65ffb7a6db602ca4364e8f7f282e6ea64d710aebc1026fd826e40b761
|
|
BLAKE2b-256 checksum How to use checksums |
a219a70f57b5cd2f9f93de4b56947de6b049bc067b008344adc65099d1e9bd7e
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.13.11
|
Release files / backbonetools-2026.0.2-py2.py3-none-any.whl
| Download URL | backbonetools-2026.0.2-py2.py3-none-any.whl |
|---|---|
| Size | 38.1 kB |
| Tags | Python 2 Python 3 |
|
SHA-256 checksum How to use checksums |
bccd25148e63198977476deb784906721281bca4b6341f4ea4a9def90c9a36e7
|
|
BLAKE2b-256 checksum How to use checksums |
75ee2f3e2c0a05ae5b396dbbd9c8000f479da6763b292697ee212bacd0c6c088
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.13.11
|
Security for BackboneTools 2026.0.2
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.