Skip to main content

DOI

FZJ Logo

bslib - battery storage library

Repository with code to

  • build a database with relevant data from PerMod database (HTW Berlin) and "Stromspeicher-Inspektion"
  • simulate ac- and dc-coupled battery storages with regards to electrical power (ac and dc) and state-of-charge as timeseries.

For the simulation, it is possible to calculate outputs of a specific manufacturer + model or alternatively for one of 2 different generic battery storage types.

For reference purposes:

Documentation

The documentation is still under development.

Usage

Simply install via

  • pip install bslib

or clone repository and create environment via:

  • git clone https://github.com/FZJ-IEK3-VSA/bslib.git
  • conda env create --name bslib --file requirements.txt

Afterwards you're able to create some code with import bslib and use the included functions load_database, get_parameters and simulate.

Battery models and Group IDs

The bslib_database.csv contains the following number of battery storages, sorted by Group ID

[Group ID]: Count Description
[S_ac]: 2 AC-coupled
[S_dc]: 3 DC-coupled
[INV]: 2 PV Inverter

Database

All resulting database CSV file are under License: CC BY 4.0.

The following columns are available for every battery storage of this library

Column Description Comment
.. .. ..

Input-Data and further development

If you find errors or are interested in develop the bslib, please create an ISSUE and/or FORK this repository and create a PULL REQUEST.

License

MIT License

Copyright (c) 2022

You should have received a copy of the MIT License along with this program. If not, see https://opensource.org/licenses/MIT

About Us

Institut TSA

We are the Institute of Energy and Climate Research - Techno-economic Systems Analysis (IEK-3) belonging to the Forschungszentrum Jülich. Our interdisciplinary department's research is focusing on energy-related process and systems analyses. Data searches and system simulations are used to determine energy and mass balances, as well as to evaluate performance, emissions and costs of energy systems. The results are used for performing comparative assessment studies between the various systems. Our current priorities include the development of energy strategies, in accordance with the German Federal Government’s greenhouse gas reduction targets, by designing new infrastructures for sustainable and secure energy supply chains and by conducting cost analysis studies for integrating new technologies into future energy market frameworks.

Metadata

Release files for bslib 0.7

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

Source distribution (sdist)

Source distribution for bslib 0.7
File Size Uploaded Provenance
bslib-0.7.tar.gz 30.3 kB Without provenance Details

Built distribution (wheel)

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

Total release size: 41.6 kB

Release files / bslib-0.7.tar.gz

Download URL bslib-0.7.tar.gz
Size 30.3 kB
Tags Source
SHA-256 checksum
How to use checksums
392c554ad21a6fe0d6cda855c2950fdd5698f00ac05f92aba8c5e7ef1fc3bd01
BLAKE2b-256 checksum
How to use checksums
f167f678458d1ec028df4dc9fe33e8b19a6fca9d8410427ccb7fbdd37a1f3e37
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.9.16

Release files / bslib-0.7-py3-none-any.whl

Download URL bslib-0.7-py3-none-any.whl
Size 11.3 kB
Tags Python 3
SHA-256 checksum
How to use checksums
f62ab16dfb550c4006fca5256939cd921067c0f2708bc6ede9aefc18a238e79e
BLAKE2b-256 checksum
How to use checksums
bcf7b5352d08d5b2b1d76bdcf64e21776382fa76b39adddbc2cb068903c3f368
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.9.16

Security for bslib 0.7

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.

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