Skip to main content

SHRECC: Smooth Hourly Resolution Electricity Consumption Calculation

Project description

SHRECC

Simple Hourly Resolution Electricity Consumption Calculation

Description

SHRECC package is a python package directly compatible with Brightway2 or Brightway2.5 to create time-aware electricity databases. For any given year and countries (check availability on https://api.energy-charts.info/), download and prepare data for low-voltage electricity consumption.

Features

  • High-resolution electricity mixes – Generates electricity life cycle inventories (LCIs) with hourly resolution, enhancing accuracy for life cycle assessment (LCA).
  • Brightway2/2.5 compatibility – Seamlessly integrates with Brightway, allowing direct use in existing LCA models.
  • Dynamic temporal representation – Users can select electricity mixes by hour, month, or season, addressing fluctuations in renewable energy generation and consumption.
  • Automated data retrieval – Pulls electricity production, trade, and consumption data from the Energy Charts API, ensuring up-to-date datasets.
  • Ecoinvent matching – Aligns with ecoinvent classifications, converting from ENTSO-E datasets.
  • User-controlled updates – Enables one-time or recurring updates, allowing continuous tracking of electricity mix evolution over time.
  • Optimized impact assessments – Helps reduce uncertainty and improve decision-making for electricity-intensive technologies by considering real-time electricity mix variations.

Documentation

The full documentation is hosted at Read the Docs page for shrecc

Installation

shrecc can be installed from pypi or from source.

From pypi

The package is published at pypi.org/projects/shrecc. You can install it with pip (or any other pypi compatible util like uv or poetry as follows:

pip install shrecc

From source

To install shrecc from source, clone the code and then install the package and if necessary the dependencies manually.

Usage

You can find usage examples in the Jupyter notebook in this repo: notebooks/example.ipynb and in the documentation at read the docs.

Contributing

Please take a look at the DEVELOPPING.md file for details on how to contribute code to the repository.

License

Copyright © 2025 Luxembourg Institute of Science and Technology Licensed under the MIT License.

Authors

Project details


Download files

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

Source Distribution

shrecc-0.0.5.dev2.tar.gz (80.1 kB view details)

Uploaded Source

Built Distribution

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

shrecc-0.0.5.dev2-py3-none-any.whl (145.0 kB view details)

Uploaded Python 3

File details

Details for the file shrecc-0.0.5.dev2.tar.gz.

File metadata

  • Download URL: shrecc-0.0.5.dev2.tar.gz
  • Upload date:
  • Size: 80.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.13

File hashes

Hashes for shrecc-0.0.5.dev2.tar.gz
Algorithm Hash digest
SHA256 f5d111022ea3d9be38090e7b2e843d3e9229973cc4228d3b6abfcf76e4755044
MD5 f708e342c669c739eb1481a896fb88e3
BLAKE2b-256 c222f3862418fb7b2e1dba47189aec1bb0d110103b0ee4e71d742685324dbe39

See more details on using hashes here.

File details

Details for the file shrecc-0.0.5.dev2-py3-none-any.whl.

File metadata

  • Download URL: shrecc-0.0.5.dev2-py3-none-any.whl
  • Upload date:
  • Size: 145.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.13

File hashes

Hashes for shrecc-0.0.5.dev2-py3-none-any.whl
Algorithm Hash digest
SHA256 e9bae5b522c41ebbf72f4d2d6e705627bc0f189409c527b9f7971e469c0bd8bc
MD5 368ed7b015c2b798e6ae73a04a75ae72
BLAKE2b-256 7ac22bcc6e7415a42ce8d5720003f49cc61de23d976c8e054f576f939962a46d

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page