FlexMeasures

FlexMeasures logo

Intelligent EMS supporting real-time energy flexibility apps.

FlexMeasures is the intelligent and developer-friendly EMS to support real-time energy flexibility apps, rapidly and scalable.

When we use a lot of renewable energy, flexibility is becoming crucial and valuable, e.g. for demand response.

FlexMeasures is a real-time decision support platform (project operation), but also highly effective as a simulation tool (project design).

Project Lifecycle Stage
Incubation

Project Special Interest Group
Edge Interoperability and Flexibility

When we use a lot of renewable energy, flexibility is becoming crucial and valuable, e.g. for demand response. FlexMeasures is a real-time decision support platform (project operation), but also highly effective as a simulation tool (project design).

The problem it helps to solve is:

What are the best times to run flexible assets, like batteries, heat pumps or industry processes?

In a nutshell, FlexMeasures turns data into optimized schedules for flexible assets:

Why? Planning ahead allows flexible assets to serve the whole system with their flexibility, e.g. by shifting energy consumption to other times. For the asset owners, this creates CO₂ savings but also monetary value (e.g. through self-consumption, dynamic tariffs and grid incentives).

Developing apps & services around energy flexibility is expensive work. FlexMeasures is designed to be developer-friendly, which helps you to go to market quickly, while keeping the costs of software development at bay. FlexMeasures supports:

  • Real-time data integration & intelligence
  • Model data well ― units, time resolution & uncertainty (of forecasts)
  • Faster app-building (API/UI/CLI, plugin & multi-tenancy support)

As for use cases, here are a few relevant areas in which FlexMeasures can help you:

  • E-mobility (smart EV charging, V2G, V2H)
  • Heating (heat pump control)
  • Industry (best running times for processes with buffering capacity)

You decide what to optimize for ― prices, CO₂, peaks.

The FlexMeasures project was initiated by Seita Energy Flexibility (NL) to enable the value of energy flexibility in a world where behind-the-meter setups all over the world become more powerful and complex to manage. For example, in modern domestic/office settings in the built environment which combine solar panels, electric heating and EV charging, in industry settings that optimize for self-consumption of local solar panels, or when consumers can engage with multiple markets simultaneously.

In these cases, our goal is that FlexMeasures helps you to achieve “value stacking”, which is often required to achieve a positive business case. Multiple sources of value can combine with multiple types of assets.

FlexMeasures Architecture

As possible users, we see energy service companies (ESCos) who want to build real-time apps & services around energy flexibility for their customers, or medium/large industrials who are looking for support in their internal digital tooling. However, even small companies and hobby projects might find FlexMeasures useful! We are constantly improving the ease of use.

FlexMeasures can be used as your EMS, but it can also integrate with existing systems as a smart backend, or as an add-on to deal with energy flexibility specifically.

Resources

Related Posts

FlexMeasures v1.0.0: Commercial & Industrial Sites

This post was originally published by FlexMeasures. Version v1.0.0 of FlexMeasures is a big milestone 🎉  - for one, it contains a little more than 100 PRs and adds huge abilities to schedule industry assets! Second, we decided that FlexMeasures is now mature enough to rip off the band-aid and move to major versions. See…

LF Energy Welcomes New Members, Launches Three Projects, and Advances Open Source Grid Technology Across the Portfolio

LF Energy welcomes new members AZX, EcoPhi, and Empa; launches the AINETUS, URPX, and CUPID projects; advances Power Grid Model to Early Adoption; and highlights a TenneT case study demonstrating a 10x performance improvement using PowSyBl. Recent releases across EVerest, OperatorFabric, FlexMeasures, and other projects underscore continued momentum across the LF Energy ecosystem.

Flexmeasures v0.33 Release: copy assets, account sources

This article was originally published by FlexMeasures. Read the original post here: https://flexmeasures.io/v033-copy-asset-account-sources/. TL;DR: FlexMeasures v0.33 introduces asset copying, improved account-linked data sources, a dedicated data ingestion queue, more granular monitoring controls, and more than 30 additional improvements. It is the final release before the project transitions from the 0.x series to version 1.x. v0.33:…

LF Energy Announces New Members, Expanded Governing Board, and Record Event Attendance for 2025

Foundation updates point to continued growth and heightened value of open source software for energy resiliency  SAN FRANCISCO, December 18, 2025 – LF Energy, the open source foundation accelerating the energy transition, celebrates significant growth in 2025, including new members, new projects, and record-setting event attendance. These additions to the LF Energy community strengthen the…

FlexMeasures v0.27 Now Available, With Multi-Asset Scheduling and 2FA

This article was originally posted at FlexMeasures Version v0.27 of FlexMeasures brings a long-overdue feature: ability to schedule multiple flexible assets in one go 👯. Also, a major step towards modern cyber-security 🔐 standards: two-factor authentication. And there is even more: upload data per file, edit users, ... See the changelog for a complete list of…

FlexMeasures Releases v0.26, with Relaxed Scheduling and Cleaner Asset Pages

This post was originally published at FlexMeasures Version v0.26 of FlexMeasures makes the scheduler more flexible for edge situations (in which the target might be just out of reach, or not all targets can be satisfied). This is an important step in scheduling that behaves according to the priorities of each site. Also, the UI…

Linux Foundation Energy Announces its First US Investor Owned Utility Member, Research into AI for Energy Systems, and Dates for LF Energy Summit

Other recent momentum includes a new open source project for power system optimization and case studies demonstrating real world impact of open source on energy systems SAN FRANCISCO, CA – April 22, 2025 – LF Energy, the open source foundation focused on harnessing the power of collaborative open technologies and standards to accelerate the energy…

FlexMeasures: The Open Source Toolkit for Smart Energy Flexibility Services

By Nicolas Honing, Seita Energy Flexibility The energy sector is undergoing a major transformation, with new challenges and opportunities arising from the rise of renewable energy sources and the electrification of everything from heating to transportation. One of the most pressing challenges is managing the increasing demand for electricity while ensuring grid stability and minimizing…

Related Videos

This video was originally posted at https://fosdem.org/2025/schedule/event/fosdem-2025-6109-overcoming-the-chicken-and-egg-problem-from-the-battlelines-of-the-s2-energy-flexibility-protocol-adoption/ and is provided by FOSDEM under the Creative Commons Attribution 2.0 Belgium Licence. To view a copy of this licence, visit http://creativecommons.org/licenses/by/2.0/be/deed.en

Abstract:
Open communication protocols and open source software go hand in hand and fuel each other. But there is a potential chicken-and-egg problem: Should the OEMs support it first, or are they waiting for widespread support of the protocol in EMS implementations (who are hesitant if the OEMs don't support it)?

The only forward is to start showing real solutions and implementations with front-runners from both sides. Then, these smaller showcases can become an avalanche and lift the sector up in an open way. Both steps are difficult and need partnerships.

Energy flexibility optimization behind the meter is already deployed in practice. However, networking protocols and definitions of flexibility are used which are not standardized and not openly available. This makes building new solutions with new flexible energy assets (like EVs, batteries, heat pumps and also solar inverters) a chore and drives up costs. Each new energy asset (or new brand) has to be integrated with their specific protocols and patterns. New protocols attempt to standardize these concepts, such as the S2 protocol. It targets an international audience for both existing and new/future energy assets. See https://s2standard.org/

S2 is approved as European standard, but the next batteline is to showcase that implementations can work and that both sides, OEMs and EMS, are willing to get to work. Open source implementations will provide building blocks and serve as reference.

This presentation will show the efforts and experiences of two different consortia, from different implementation projects, with adopting the protocol and creating tools to spur adoption by other innovators and OEMs. Of course, we will also briefly outline the protocol itself, and address differences and shared features in other existing protocols in this space, like EEBus and OpenADR.

We hope this talk can spur more interest and collaboration in this space and towards a lift for open efforts in the industry.

Join our presentation if you want to learn more about protocol standardization efforts within the energy transition and S2 specifically!

Speakers:
Nicolas Höning, Seita Energy Flexibility 17:59

This video was originally posted at https://fosdem.org/2025/schedule/event/fosdem-2025-6109-overcoming-the-chicken-and-egg-problem-from-the-battlelines-of-the-s2-energy-flexibility-protocol-adoption/ and is provided by FOSDEM under the Creative Commons Attribution 2.0 Belgium Licence. To view a copy of this licence, visit http://creativecommons.org/licenses/by/2.0/be/deed.en

Abstract:
Open communication protocols and open source software go hand in hand and fuel each other. But there is a potential chicken-and-egg problem: Should the OEMs support it first, or are they waiting for widespread support of the protocol in EMS implementations (who are hesitant if the OEMs don't support it)?

The only forward is to start showing real solutions and implementations with front-runners from both sides. Then, these smaller showcases can become an avalanche and lift the sector up in an open way. Both steps are difficult and need partnerships.

Energy flexibility optimization behind the meter is already deployed in practice. However, networking protocols and definitions of flexibility are used which are not standardized and not openly available. This makes building new solutions with new flexible energy assets (like EVs, batteries, heat pumps and also solar inverters) a chore and drives up costs. Each new energy asset (or new brand) has to be integrated with their specific protocols and patterns. New protocols attempt to standardize these concepts, such as the S2 protocol. It targets an international audience for both existing and new/future energy assets. See https://s2standard.org/

S2 is approved as European standard, but the next batteline is to showcase that implementations can work and that both sides, OEMs and EMS, are willing to get to work. Open source implementations will provide building blocks and serve as reference.

This presentation will show the efforts and experiences of two different consortia, from different implementation projects, with adopting the protocol and creating tools to spur adoption by other innovators and OEMs. Of course, we will also briefly outline the protocol itself, and address differences and shared features in other existing protocols in this space, like EEBus and OpenADR.

We hope this talk can spur more interest and collaboration in this space and towards a lift for open efforts in the industry.

Join our presentation if you want to learn more about protocol standardization efforts within the energy transition and S2 specifically!

Speakers:
Nicolas Höning, Seita Energy Flexibility

YouTube Video UExLeUZmMUo5WGtwdHNXLTAzZ0VRaVFUaTRzSEZoQ2NyNS41MjE1MkI0OTQ2QzJGNzNG

FOSDEM 2025 Energy Devroom: From the battlelines of the S2 energy flexibility protocol adoption

February 14, 2025 4:12 am

Knowledge Transfer Between Past to Current Projects - from Interflex to FlexMeasures- Nicolas Höning

September 25, 2024 9:02 am

This video was originally posted to https://fosdem.org/2024/schedule/event/fosdem-2024-2509-using-flexmeasures-to-build-a-climate-tech-startup-in-15-minutes/. Thank you to FOSDEM for sharing under CC-BY-2.0-BE-DEED (http://creativecommons.org/licenses/by/2.0/be/deed.en).

FlexMeasures is the intelligent & developer-friendly EMS to support real-time energy flexibility apps, rapidly and scalable.

In this talk, presented by Nicolas Höning of Seita, we want to focus on the "developer-friendly" part, and demonstrate the steps it takes to turn FlexMeasures into a smart backend, for instance to power the intelligent scheduling in your new climate tech startup! (you can also tinker with this at home, of course)

In this highly relevant example, we assume you control the heating for your customers' buildings. There is a heat pump and solar panels. You promise your customers to heat their home with their own solar power if possible. You even promise to use the cheapest grid power when the sun isn't shining. Green building, low energy bill!

Our tutorial will turn this promise into reality ― in any case, the data-driven optimal computations you'd need (measuring and on/off control of hardware not included).

FlexMeasures is a Flask web server, so this tutorial will use Python. We will use the FlexMeasures API, but also its CLI and the Python client ― the possibilities are rich. We also show how to add custom logic in a FlexMeasures plugin.

In short, we will:
-create a new customer account with the relevant asset models for this use case (via a new API endpoint, e.g. called from your CRM)
-feed local measurements (e.g. solar, temperature) regularly into your FlexMeasures server, using the FlexMeasures Python client
-get the latest price and weather forecast data from third-party-APIs (regularly via cron jobs), using existing FlexMeasures plugins
-create forecasts for solar data and prices (regularly via cron jobs)
-call the FlexMeasures scheduler to compute when to draw green & cheap electricity for heating (via the FlexMeasures API) which you can out to use in the building
-define a cost reporter and let it run (regularly via cron jobs)
-configure a FlexMeasures dashboard to show the relevant data in one place

Learn more about the LF Energy FlexMeasures Project at https://lfenergy.org/projects/flexmeasures/. 16:19

This video was originally posted to https://fosdem.org/2024/schedule/event/fosdem-2024-2509-using-flexmeasures-to-build-a-climate-tech-startup-in-15-minutes/. Thank you to FOSDEM for sharing under CC-BY-2.0-BE-DEED (http://creativecommons.org/licenses/by/2.0/be/deed.en).

FlexMeasures is the intelligent & developer-friendly EMS to support real-time energy flexibility apps, rapidly and scalable.

In this talk, presented by Nicolas Höning of Seita, we want to focus on the "developer-friendly" part, and demonstrate the steps it takes to turn FlexMeasures into a smart backend, for instance to power the intelligent scheduling in your new climate tech startup! (you can also tinker with this at home, of course)

In this highly relevant example, we assume you control the heating for your customers' buildings. There is a heat pump and solar panels. You promise your customers to heat their home with their own solar power if possible. You even promise to use the cheapest grid power when the sun isn't shining. Green building, low energy bill!

Our tutorial will turn this promise into reality ― in any case, the data-driven optimal computations you'd need (measuring and on/off control of hardware not included).

FlexMeasures is a Flask web server, so this tutorial will use Python. We will use the FlexMeasures API, but also its CLI and the Python client ― the possibilities are rich. We also show how to add custom logic in a FlexMeasures plugin.

In short, we will:
-create a new customer account with the relevant asset models for this use case (via a new API endpoint, e.g. called from your CRM)
-feed local measurements (e.g. solar, temperature) regularly into your FlexMeasures server, using the FlexMeasures Python client
-get the latest price and weather forecast data from third-party-APIs (regularly via cron jobs), using existing FlexMeasures plugins
-create forecasts for solar data and prices (regularly via cron jobs)
-call the FlexMeasures scheduler to compute when to draw green & cheap electricity for heating (via the FlexMeasures API) which you can out to use in the building
-define a cost reporter and let it run (regularly via cron jobs)
-configure a FlexMeasures dashboard to show the relevant data in one place

Learn more about the LF Energy FlexMeasures Project at https://lfenergy.org/projects/flexmeasures/.

YouTube Video UExLeUZmMUo5WGtwdHNXLTAzZ0VRaVFUaTRzSEZoQ2NyNS4wMTcyMDhGQUE4NTIzM0Y5

FOSDEM 2024 Energy Devroom - Using FlexMeasures to Build a Climate Tech Startup in 15 Minutes

February 14, 2024 8:54 am