Skip to main content

Tools to manipulate energy time-series and contracts, and to perform forecasts.

Project description

enda

PyPI Poetry Imports: isort Code style: black pre-commit

What is it?

enda is a Python package that provides tools to manipulate timeseries data in conjunction with contracts data for analysis and forecasting.

Initially, it has been developed to help Rescoop.eu members build various applications, such as short-term electricity load and production forecasts, specifically for the RescoopVPP project. Hence some tools in this package perform TSO (transmission network operator) and DNO (distribution network operator) data wrangling as well as weather data management. enda is mainly developed by Enercoop.

Main Features

Here are some things enda does well:

  • Provide robust machine learning algorithms for short-term electricity load and production forecasts. enda provides a convenient wrapper around the popular multipurpose machine-learning backends Scikit and H2O. The load forecast was originally based on Komi Nagbe's thesis (http://www.theses.fr/s148364).
  • Manipulate timeseries data, such as load curves. enda handles timeseries-specific detection of missing data, like time gaps, frequency changes, extra values, as well as various resampling methods.
  • Provide several backtesting and scoring methods to ensure the quality of the trained algorithm on almost real conditions.
  • Manipulate contracts data coming from your ERP and turn it into timeseries you can use for analysis, visualisation and machine learning.
  • Date-time feature engineering robust to timezone hazards.

Where to get it

The source code is currently hosted on GitHub at: https://github.com/enercoop/enda. If you wish to run the examples it contains, you can clone enda from the Github repository

Binary installers for the latest released version are available at the Python Package Index (PyPI) (for now it is not directly on Conda).

pip install enda

or using poetry:

poetry add enda

Documentation and API

The complete API is available online here.

How to get started?

For a more comprehensive approach to enda, several Jupyter notebooks have been proposed in the [guides](https://github.com/enercoop/enda/tree/main/guides.). Some dependencies are needed to run these examples, that you can easily install with poetry, running poetry install enda[examples]

Dependencies

Hard dependencies

Optional dependencies

If you want to run the examples, you may need extra dependencies. These dependencies can be installed using poetry:

poetry install --with examples

or manually:

pip install numexpr bottleneck pandas enda jupyter h2o scikit-learn statsmodels joblib matplotlib

Accordingly, if you wish to develop into enda, we suggest some tools and linters that can be used.

poetry install --with dev

License

MIT

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

enda-1.0.5.tar.gz (59.5 kB view details)

Uploaded Source

Built Distribution

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

enda-1.0.5-py3-none-any.whl (70.6 kB view details)

Uploaded Python 3

File details

Details for the file enda-1.0.5.tar.gz.

File metadata

  • Download URL: enda-1.0.5.tar.gz
  • Upload date:
  • Size: 59.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/2.2.1 CPython/3.14.2 Darwin/24.6.0

File hashes

Hashes for enda-1.0.5.tar.gz
Algorithm Hash digest
SHA256 e6c7d322f41c573e1ba91245f525d3c3c1713957d81ba662a2ebcadfb6892c0a
MD5 7e063063dabc0b26a570b9d3c0f84e33
BLAKE2b-256 f22f7246f91d81fc8e78573e26878947e6a1512408b3551d6425f739abf1e6c1

See more details on using hashes here.

File details

Details for the file enda-1.0.5-py3-none-any.whl.

File metadata

  • Download URL: enda-1.0.5-py3-none-any.whl
  • Upload date:
  • Size: 70.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/2.2.1 CPython/3.14.2 Darwin/24.6.0

File hashes

Hashes for enda-1.0.5-py3-none-any.whl
Algorithm Hash digest
SHA256 e8914529bc6bc1c9076db3066d0108f26a68ce8d5094fc191cf2bc89ba067460
MD5 1c52fc637046b671fa72f8df7166d51a
BLAKE2b-256 35ebc5c32d2be94b2f46b422a641f7a99130c827493a123f74c3f3e4926e8930

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