Skip to main content

FlexMeasures Logo Light FlexMeasures Logo Dark

License lint-and-test Pypi Version Code style: black Documentation Status Coverage CII Best Practices

FlexMeasures is an energy scheduling and optimization engine for powerful energy management systems. With FlexMeasures, you can integrate complex, multi-asset, multi-commodity optimization capabilities into your EMS.

The most simple view of FlexMeasures, turning data into schedules

FlexMeasures was created by and continues to be maintained by Seita Energy Flexibility BV in The Netherlands.

We fundamentally believe that the ability to schedule and optimize energy consumption across multiple assets and multiple energy sources is critical to the adoption of renewable energy and for energy diversification in general. At the same time, the models that power energy optimization need to be auditable and transparent, which is why we've created FlexMeasures as an open source project.

Here's why you should integrate FlexMeasures into your Energy Management System:

  • End users expect energy management systems to include scheduling and optimization capabilities, but doing so is complicated and most energy management system creators aren't experts in scheduling and optimization.
  • FlexMeasures makes it easier for EMS creators to provide optimization and scheduling functionality with real-time data intelligence & integrations, uncertainty models and developer support such as API/UI and plugins.

High-level overview of FlexMeasures as an EMS for energy flexibility apps, using plugins to fit a given use case

What's unique about FlexMeasures:

  • Flexibility. With FlexMeasures, you can manage complex optimizations that include multiple asset types, multiple commodities and value-stacking. It's also easy to customize, so you can also integrate your specific business logic into the optimizations.
  • Transparency. FlexMeasures is built using mathematical formulas and is open source and inspectable. You can see how the optimization decisions are made and audit the process.
  • Cost savings. Your customers will save money and reduce their carbon footprint.

FlexMeasures is ideally suited for:

  • Situations where you need to optimize for many different energy use cases, such as batteries, electric vehicles, heating/cooling and more, often simultaneously.
  • Organizations that don't have in-house energy optimization and scheduling expertise
  • Large organizations with enterprise-level requirements around security and auditing
  • End users with complex scheduling and optimization needs.

For developers: frequently asked questions about integrating energy scheduling and optimization into an EMS:

I need help with integrating real-time data and continuously computing new data

FlexMeasures is designed to make decisions based on data in an automated way. Data pipelining and dedicated machine learning tooling is crucial.

  • API/CLI functionality to read in time series data
  • Extensions/Plugins for integrating 3rd party data (e.g. from ENTSO-E, OpenWeatherMap/WeatherAPI) or protocols (e.g. OpenADR)
  • Forecasting for the upcoming hours
  • Schedule optimization for flexible assets

It's hard to correctly model data with different sources, resolutions, horizons and even uncertainties

Much developer time is spent correcting data and treating it correctly, so that you know you are computing on the right knowledge.

FlexMeasures is built on the timely-beliefs framework, so we model this real-world aspect accurately:

  • Expected data properties are explicit (e.g. unit, time resolution)
  • Incoming data is converted to fitting unit and time resolution automatically
  • FlexMeasures also stores who thought that something happened (or that it will happen), and when they thought so
  • Uncertainty can be modelled (useful for forecasting)

I want to build new features quickly, not spend days solving basic problems

Building customer-facing apps & services is where developers make impact. We make their work easy.

  • FlexMeasures has well-documented API endpoints and CLI commands to interact with its model and data
  • You can extend it easily with your own logic by writing plugins
  • A backend UI shows you your assets in maps and your data in plots (try the Replay button!). There is also support for plots to be available per API, for integration in your own frontend
  • Multi-tenancy ― model multiple accounts on one server. Data is only seen/editable by authorized users in the right account

Getting started

Head over to our documentation, e.g. the getting-started guide or the 5-minute tutorial. Or find more information on FlexMeasures.io.

See also Seita's Github profile, e.g. for FlexMeasures plugin examples.

Development & community

FlexMeasures is available under the permissive Apache2.0 licence and it is an incubation project at the Linux Energy Foundation.

Within the FlexMeasures project, we welcome contributions. A list of contributing organizations:

  • Seita Energy Flexibility (NL, maintainer)
  • Thiink (US)
  • ELaad (NL)
  • LUO (BE)

You can also learn more about our governance.

You can connect with the community here on GitHub (e.g. by creating an issue), on the FlexMeasures channel within the LF Energy Slack, on the mailing list or by contacting the current maintainers.

Metadata

Release files for flexmeasures 1.1.1

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

Source distribution (sdist)

Source distribution for flexmeasures 1.1.1
File Size Uploaded Provenance Actions
flexmeasures-1.1.1.tar.gz 3.2 MB With provenance Details for flexmeasures-1.1.1.tar.gz

Built distribution (wheel)

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

Total release size: 6.1 MB

Release files / flexmeasures-1.1.1.tar.gz

Download URL flexmeasures-1.1.1.tar.gz
Size 3.2 MB
Tags Source
SHA-256 checksum
How to use checksums
63482a10d393c930247607a8985ed74f25e29ff707382dbffc7159d644655875
BLAKE2b-256 checksum
How to use checksums
e5aaee1a8cfd66673e9c9c7f013281493b0e70382ba89bc835d529dc362da607
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 11, 2026.

Transparency log

Release files / flexmeasures-1.1.1-py3-none-any.whl

Download URL flexmeasures-1.1.1-py3-none-any.whl
Size 2.9 MB
Tags Python 3
SHA-256 checksum
How to use checksums
07f5287f9f2ca194c0dc25b96f85717f2efec43982b7939e0c027a083bd4194f
BLAKE2b-256 checksum
How to use checksums
e8dc19b7ade951178eb2def81f24b718b76dbf1a07f291653bcad880ed18a31e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 11, 2026.

Transparency log

Security for flexmeasures 1.1.1

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.

Full provenance

Both files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for flexmeasures-1.1.1.tar.gz

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 11, 2026.

Transparency log

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.

Release history Release notifications | RSS feed

This release

1.1.1 This release

2 release files Full provenance

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