Skip to content
@OpenSTEF

OpenSTEF

Open Short Term Energy Forecaster project

OpenSTEF - Open Short Term Energy Forecasting

License: MPL2.0 CI Best Practices Downloads Downloads

OpenSTEF is an open-source Python package for probabilistic short-term energy forecasting. It provides automated machine learning workflows to deliver accurate and explainable forecasts of the load on the grid for any horizon, typically from hours to days ahead. Infused with expert energy knowledge, the package incorporates external predictors such as weather data and market prices, ensuring validation and training of machine learning models to provide precise, probabilistic load predictions.

Table of Contents

Description

The energy transition poses new challenges to all parties within the energy sector. Grid operators, grappling with the upsurge in renewable energy and heightened electrification, find their grid capacities nearing physical limitations. Therefore, it is imperative to forecast grid load in the upcoming hours to days, enabling the anticipation of local congestion and thereby optimal utilization of existing assets.

Given a timeseries of measured (net) load or generation, OpenSTEF executes a forecasting workflow that produces probabilistic predictions. This is applicable to energy consumption, renewable generation, or a combination of the two. See the documentation for a full feature overview and getting started guide.

The Dutch DSO Alliander started the Short Term Forecasting project to anticipate congestion in the distribution grid, to allow for grid safety analysis in the transmission grid and to enable smart grid innovations to locally balance supply and demand within the constraints of the grid. The objective of opensourcing the stack is two-fold: provide an industry standard for generating and evaluating forecasts in the operational time-domain, as well as allow for structured collaboration.

Repository

OpenSTEF: Main repository. Organized as a monorepo with specialized packages for the complete forecasting stack. See the repository README for a full overview of packages, installation instructions, and examples.

Features

  • Workflows: automated machine learning workflows encapsulating the full train/predict cycle: preprocessing, model training and inference, and postprocessing. Configured via a workflow config specifying model type, forecast horizons, quantiles, location metadata, and feature engineering settings.
  • Feature engineering: a modular transform system constructing features for training and forecasting, including time-based lags, rolling aggregates, weather features, and holiday indicators.
  • Machine learning: multiple built-in models including XGBoost, LightGBM, and linear gradient boosting variants.
  • Data validation: checks input data for completeness, flatline periods, and consistency before training or forecasting.
  • Probabilistic forecasting: forecasts are delivered as quantile predictions across configurable confidence levels, providing uncertainty estimates alongside the central prediction.
  • Energy splitting: ability to split the load forecast into solar, wind and load components, using a pluggable component splitter framework.

License

This project is licensed under the Mozilla Public License, version 2.0.

Contributing

Please read CODE_OF_CONDUCT.md, CONTRIBUTING.md and PROJECT_GOVERNANCE.md for details on the process for submitting pull requests to us.

Contact

Please read SUPPORT.md for how to connect and get into contact with the OpenSTEF project.

Sources

Pinned Loading

  1. openstef openstef Public

    Automated Machine Learning pipelines. Builds the Open Short Term Energy Forecasting package.

    Python 148 48

  2. openstef-reference openstef-reference Public

    Deploy the entire OpenSTEF stack on your machine. Provides a reference implementation of the OpenSTEF stack including datamodels, databases and UI

    HTML 30 12

  3. openstef-offline-example openstef-offline-example Public

    Provides Jupyter Notebooks showing how to use OpenSTEF and apply its functionality to your usecase

    12 9

Repositories

Showing 6 of 6 repositories

Top languages

Loading…

Most used topics

Loading…